TEveGeoPolyShape Class Reference

#include <TEveGeoPolyShape.h>

Inheritance diagram for TEveGeoPolyShape:

TGeoBBox TGeoBBox TGeoShape TGeoShape TGeoShape TGeoShape TNamed TNamed TNamed TNamed TNamed TNamed TNamed TNamed List of all members.

Public Member Functions

 TEveGeoPolyShape ()
virtual ~TEveGeoPolyShape ()
void SetFromFaceSet (TGLFaceSet *fs)
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual TBuffer3DMakeBuffer3D () const
 ClassDef (TEveGeoPolyShape, 1)
 TEveGeoPolyShape ()
virtual ~TEveGeoPolyShape ()
void SetFromFaceSet (TGLFaceSet *fs)
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual TBuffer3DMakeBuffer3D () const
 ClassDef (TEveGeoPolyShape, 1)

Static Public Member Functions

static TEveGeoPolyShapeConstruct (TGeoCompositeShape *cshp, Int_t n_seg)
static TEveGeoPolyShapeConstruct (TGeoCompositeShape *cshp, Int_t n_seg)

Protected Member Functions

virtual void FillBuffer3D (TBuffer3D &buffer, Int_t reqSections, Bool_t localFrame) const
virtual void FillBuffer3D (TBuffer3D &buffer, Int_t reqSections, Bool_t localFrame) const

Protected Attributes

std::vector< Double_tfVertices
std::vector< Int_tfPolyDesc
UInt_t fNbPols
std::vector< Double_tfVertices
std::vector< Int_tfPolyDesc

Private Member Functions

 TEveGeoPolyShape (const TEveGeoPolyShape &)
TEveGeoPolyShapeoperator= (const TEveGeoPolyShape &)
 TEveGeoPolyShape (const TEveGeoPolyShape &)
TEveGeoPolyShapeoperator= (const TEveGeoPolyShape &)

Friends

class TEveGeoPolyShapeGL

Classes

struct  Edge_t

Detailed Description

Definition at line 21 of file TEveGeoPolyShape.h.


Constructor & Destructor Documentation

TEveGeoPolyShape::TEveGeoPolyShape ( const TEveGeoPolyShape  )  [private]

TEveGeoPolyShape::TEveGeoPolyShape (  ) 

Definition at line 35 of file TEveGeoPolyShape.cxx.

virtual TEveGeoPolyShape::~TEveGeoPolyShape (  )  [inline, virtual]

Definition at line 56 of file TEveGeoPolyShape.h.

TEveGeoPolyShape::TEveGeoPolyShape ( const TEveGeoPolyShape  )  [private]

TEveGeoPolyShape::TEveGeoPolyShape (  ) 

virtual TEveGeoPolyShape::~TEveGeoPolyShape (  )  [inline, virtual]

Definition at line 56 of file TEveGeoPolyShape.h.


Member Function Documentation

TEveGeoPolyShape& TEveGeoPolyShape::operator= ( const TEveGeoPolyShape  )  [private]

void TEveGeoPolyShape::FillBuffer3D ( TBuffer3D buffer,
Int_t  reqSections,
Bool_t  localFrame 
) const [protected, virtual]

Reimplemented from TGeoBBox.

Definition at line 116 of file TEveGeoPolyShape.cxx.

References b, fNbPols, fPolyDesc, fVertices, i, j, TBuffer3D::kCore, kFALSE, TBuffer3D::kRaw, TBuffer3D::kRawSizes, kTRUE, pd, and pi.

Referenced by GetBuffer3D(), and MakeBuffer3D().

TEveGeoPolyShape * TEveGeoPolyShape::Construct ( TGeoCompositeShape cshp,
Int_t  n_seg 
) [static]

Definition at line 43 of file TEveGeoPolyShape.cxx.

References TList::Add(), TGLScenePad::BeginScene(), TBuffer3D::DecCSLevel(), TGLScenePad::EndScene(), TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, TBuffer3D::fID, TGLScene::FindLogical(), TBuffer3D::fLocalFrame, TGeoBBox::fOrigin, TGeoCompositeShape::GetBoolNode(), TBuffer3D::GetCSLevel(), TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TEveGeoShape::GetGeoMangeur(), TPad::GetListOfPrimitives(), TGeoShape::GetName(), TGeoBBox::GetOrigin(), TGeoShape::GetTransform(), gPad, TBuffer3D::IncCSLevel(), TBuffer3D::kBoundingBox, TBuffer3DTypes::kComposite, TBuffer3D::kCore, kFALSE, kTRUE, TGeoBoolNode::Paint(), TBuffer3D::SetAABoundingBox(), SetFromFaceSet(), TBuffer3D::SetLocalMasterIdentity(), TBuffer3D::SetSectionsValid(), TGeoShape::SetTransform(), TPad::SetViewer3D(), and TObject::Warning().

Referenced by G__G__Eve2_583_0_5(), G__setup_memfuncTEveGeoPolyShape(), and TEveGeoShape::MakePolyShape().

void TEveGeoPolyShape::SetFromFaceSet ( TGLFaceSet fs  ) 

Definition at line 106 of file TEveGeoPolyShape.cxx.

References fNbPols, fPolyDesc, fVertices, TGLFaceSet::GetNbPols(), TGLFaceSet::GetPolyDesc(), and TGLFaceSet::GetVertices().

Referenced by Construct(), and TEveGeoNode::DumpShapeTree().

const TBuffer3D & TEveGeoPolyShape::GetBuffer3D ( Int_t  reqSections,
Bool_t  localFrame 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 191 of file TEveGeoPolyShape.cxx.

References buf, FillBuffer3D(), and TBuffer3DTypes::kGeneric.

TBuffer3D * TEveGeoPolyShape::MakeBuffer3D (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 203 of file TEveGeoPolyShape.cxx.

References buf, FillBuffer3D(), TBuffer3D::kCore, kFALSE, TBuffer3DTypes::kGeneric, TBuffer3D::kRaw, and TBuffer3D::kRawSizes.

TEveGeoPolyShape::ClassDef ( TEveGeoPolyShape  ,
 
)

TEveGeoPolyShape& TEveGeoPolyShape::operator= ( const TEveGeoPolyShape  )  [private]

virtual void TEveGeoPolyShape::FillBuffer3D ( TBuffer3D buffer,
Int_t  reqSections,
Bool_t  localFrame 
) const [protected, virtual]

Reimplemented from TGeoBBox.

static TEveGeoPolyShape* TEveGeoPolyShape::Construct ( TGeoCompositeShape cshp,
Int_t  n_seg 
) [static]

void TEveGeoPolyShape::SetFromFaceSet ( TGLFaceSet fs  ) 

virtual const TBuffer3D& TEveGeoPolyShape::GetBuffer3D ( Int_t  reqSections,
Bool_t  localFrame 
) const [virtual]

Reimplemented from TGeoBBox.

virtual TBuffer3D* TEveGeoPolyShape::MakeBuffer3D (  )  const [virtual]

Reimplemented from TGeoBBox.

TEveGeoPolyShape::ClassDef ( TEveGeoPolyShape  ,
 
)


Friends And Related Function Documentation

TEveGeoPolyShapeGL [friend]

Definition at line 23 of file TEveGeoPolyShape.h.


Member Data Documentation

std::vector<Double_t> TEveGeoPolyShape::fVertices [protected]

Definition at line 30 of file TEveGeoPolyShape.h.

Referenced by FillBuffer3D(), and SetFromFaceSet().

std::vector<Int_t> TEveGeoPolyShape::fPolyDesc [protected]

Definition at line 31 of file TEveGeoPolyShape.h.

Referenced by FillBuffer3D(), and SetFromFaceSet().

UInt_t TEveGeoPolyShape::fNbPols [protected]

Definition at line 32 of file TEveGeoPolyShape.h.

Referenced by FillBuffer3D(), and SetFromFaceSet().

std::vector<Double_t> TEveGeoPolyShape::fVertices [protected]

Definition at line 30 of file TEveGeoPolyShape.h.

std::vector<Int_t> TEveGeoPolyShape::fPolyDesc [protected]

Definition at line 31 of file TEveGeoPolyShape.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:36:51 2011 for ROOT_528-00b_version by  doxygen 1.5.1