TShape


class description - source file - inheritance tree

class TShape : public TNamed, public TAttLine, public TAttFill


    public:
TShape TShape(Text_t* name, Text_t* title, Text_t* material) TShape TShape() TShape TShape(TShape&) virtual void ~TShape() TClass* Class() TMaterial* GetMaterial() virtual Int_t GetNumber() Int_t GetVisibility() virtual Bool_t Is3D() virtual TClass* IsA() virtual void Paint(Option_t* option) virtual void PaintGLPoints(Float_t* vertex) virtual void PaintShape(X3DBuffer* buff) virtual void SetName(Text_t* name) virtual void SetVisibility(Int_t vis) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
Int_t fNumber Shape number Int_t fVisibility Visibility flag TMaterial* fMaterial Pointer to material


See also

TBRIK, TPCON, TSPHE, TTUBE

Class Description

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*
*-*  This is the base class for all geometry shapes.
*-*  The list of shapes currently supported correspond to the shapes
*-*  in Geant version 3:
*-*    TBRIK,TCONE,TCONS,TGTRA,TPARA,TPCON,TPGON
*-*   ,TTRAP,TTRD1,TTRD2,TTUBE and TTUBS.
*-*
*-*  The figure below shows instances of all these shapes. This figure
*-*  is generated by the ROOT 3-D viewer.

/*

*/

*-*
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

TShape()
*-*-*-*-*-*-*-*-*-*-*-*-*Shape default constructor-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      =========================

TShape(Text_t *name,Text_t *title, Text_t *materialname) : TNamed (name, title), TAttLine(), TAttFill()
*-*-*-*-*-*-*-*-*-*-*-*-*Shape normal constructor-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ========================

~TShape()
*-*-*-*-*-*-*-*-*-*-*-*-*Shape default destructor-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ========================

void Paint(Option_t *)
 This method must be overridden by the real shape implementation.

void PaintShape(X3DBuffer *buff)
*-*-*-*-*Paint 3-D shape in current pad with its current attributes*-*-*-*-*
*-*      ==========================================================



Inline Functions


             Bool_t Is3D()
         TMaterial* GetMaterial()
              Int_t GetNumber()
              Int_t GetVisibility()
               void PaintGLPoints(Float_t* vertex)
               void SetName(Text_t* name)
               void SetVisibility(Int_t vis)
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
             TShape TShape(TShape&)


Author: Nenad Buncic 17/09/95
Last update: 2.00/05 15/04/98 09.27.11 by Rene Brun
Copyright (c) 1995-1998, The ROOT System, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.