Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TShape Class Reference

#include <TShape.h>

Inheritance diagram for TShape:

Inheritance graph
[legend]
Collaboration diagram for TShape:

Collaboration graph
[legend]
List of all members.

Public Methods

 TShape ()
 TShape (const char *name, const char *title, const char *material)
virtual ~TShape ()
TMaterialGetMaterial () const
virtual Int_t GetNumber () const
Int_t GetVisibility () const
virtual void Paint (Option_t *option="")
virtual void PaintGLPoints (Float_t *vertex)
virtual void PaintShape (X3DBuffer *buff, Bool_t rangeView=kFALSE)
virtual void SetName (const char *name)
virtual void SetPoints (Float_t *buffer)
virtual void SetVisibility (Int_t vis)

Protected Methods

Int_t ShapeDistancetoPrimitive (Int_t numPoints, Int_t px, Int_t py)

Protected Attributes

Int_t fNumber
Int_t fVisibility
TMaterialfMaterial

Constructor & Destructor Documentation

TShape::TShape  
 

TShape::TShape const char *    name,
const char *    title,
const char *    material
 

virtual TShape::~TShape   [virtual]
 


Member Function Documentation

Int_t TShape::ShapeDistancetoPrimitive Int_t    numPoints,
Int_t    px,
Int_t    py
[protected]
 

TMaterial* TShape::GetMaterial   const
 

Definition at line 68 of file TShape.h.

virtual Int_t TShape::GetNumber   const [virtual]
 

Definition at line 69 of file TShape.h.

References fNumber.

Int_t TShape::GetVisibility   const
 

Definition at line 70 of file TShape.h.

References fVisibility.

virtual void TShape::Paint Option_t *    option = "" [virtual]
 

Reimplemented from TObject.

Reimplemented in TBRIK, TPCON, TSPHE, TTUBE, TTUBS, and TXTRU.

void TShape::PaintGLPoints Float_t *    vertex [virtual]
 

Reimplemented in TBRIK, TPCON, TSPHE, TTUBE, TTUBS, and TXTRU.

Definition at line 83 of file TShape.h.

virtual void TShape::PaintShape X3DBuffer *    buff,
Bool_t    rangeView = kFALSE
[virtual]
 

void TShape::SetName const char *    name [virtual]
 

Reimplemented from TNamed.

Definition at line 84 of file TShape.h.

virtual void TShape::SetPoints Float_t *    buffer [virtual]
 

Reimplemented in TBRIK, TCONE, TCONS, TCTUB, TGTRA, TPARA, TPCON, TSPHE, TTRAP, TTRD1, TTRD2, TTUBE, TTUBS, and TXTRU.

virtual void TShape::SetVisibility Int_t    vis [virtual]
 

Definition at line 76 of file TShape.h.

References fVisibility.


Member Data Documentation

Int_t TShape::fNumber [protected]
 

Definition at line 58 of file TShape.h.

Referenced by GetNumber().

Int_t TShape::fVisibility [protected]
 

Definition at line 59 of file TShape.h.

Referenced by GetVisibility(), and SetVisibility().

TMaterial* TShape::fMaterial [protected]
 

Definition at line 60 of file TShape.h.


The documentation for this class was generated from the following file:
Generated on Thu Dec 18 15:06:42 2003 for ROOT by doxygen1.2.16