TGLObject Class Reference

#include <TGLObject.h>

Inheritance diagram for TGLObject:

TGLLogicalShape TGLLogicalShape TEveArrowGL TEveArrowGL TEveBoxGL TEveBoxGL TEveBoxProjectedGL TEveBoxProjectedGL TEveCalo2DGL TEveCalo2DGL TEveCalo3DGL TEveCalo3DGL TEveCaloLegoGL TEveCaloLegoGL TEveDigitSetGL TEveDigitSetGL TEveJetConeGL TEveJetConeGL TEvePlot3DGL TEvePlot3DGL TEvePolygonSetProjectedGL TEvePolygonSetProjectedGL TEveProjectionAxesGL TEveProjectionAxesGL TEveStraightLineSetGL TEveStraightLineSetGL TEveTextGL TEveTextGL TEveTriangleSetGL TEveTriangleSetGL TGLPlot3D TGLPlot3D TPointSet3DGL TPointSet3DGL List of all members.

Public Member Functions

 TGLObject ()
virtual ~TGLObject ()
virtual Bool_t ShouldDLCache (const TGLRnrCtx &rnrCtx) const
virtual Bool_t KeepDuringSmartRefresh () const
virtual void UpdateBoundingBox ()
virtual Bool_t SetModel (TObject *obj, const Option_t *opt=0)=0
virtual void SetBBox ()=0
 ClassDef (TGLObject, 0)
 TGLObject ()
virtual ~TGLObject ()
virtual Bool_t ShouldDLCache (const TGLRnrCtx &rnrCtx) const
virtual Bool_t KeepDuringSmartRefresh () const
virtual void UpdateBoundingBox ()
virtual Bool_t SetModel (TObject *obj, const Option_t *opt=0)=0
virtual void SetBBox ()=0
 ClassDef (TGLObject, 0)

Static Public Member Functions

static TClassGetGLRenderer (TClass *isa)
static TClassGetGLRenderer (TClass *isa)

Protected Member Functions

Bool_t SetModelCheckClass (TObject *obj, TClass *cls)
void SetAxisAlignedBBox (Float_t xmin, Float_t xmax, Float_t ymin, Float_t ymax, Float_t zmin, Float_t zmax)
void SetAxisAlignedBBox (const Float_t *p)
template<class TT>
TT * SetModelDynCast (TObject *obj)
template<class TT>
TT * DynCast (TObject *obj)
Bool_t SetModelCheckClass (TObject *obj, TClass *cls)
void SetAxisAlignedBBox (Float_t xmin, Float_t xmax, Float_t ymin, Float_t ymax, Float_t zmin, Float_t zmax)
void SetAxisAlignedBBox (const Float_t *p)
template<class TT>
TT * SetModelDynCast (TObject *obj)
template<class TT>
TT * DynCast (TObject *obj)

Protected Attributes

Bool_t fMultiColor

Static Private Member Functions

static TClassSearchGLRenderer (TClass *cls)
static TClassSearchGLRenderer (TClass *cls)

Static Private Attributes

static TMap fgGLClassMap

Detailed Description

Definition at line 21 of file TGLObject.h.


Constructor & Destructor Documentation

TGLObject::TGLObject (  )  [inline]

Definition at line 53 of file TGLObject.h.

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

Definition at line 54 of file TGLObject.h.

TGLObject::TGLObject (  )  [inline]

Definition at line 53 of file TGLObject.h.

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

Definition at line 54 of file TGLObject.h.


Member Function Documentation

TClass * TGLObject::SearchGLRenderer ( TClass cls  )  [static, private]

Definition at line 108 of file TGLObject.cxx.

References c, TClass::GetClass(), TBaseClass::GetClassPointer(), TClass::GetListOfBases(), and TCollection::IsEmpty().

Referenced by GetGLRenderer().

Bool_t TGLObject::SetModelCheckClass ( TObject obj,
TClass cls 
) [protected]

Definition at line 70 of file TGLObject.cxx.

References TGLLogicalShape::fExternalObj, kFALSE, kTRUE, and Warning().

Referenced by TPointSet3DGL::SetModel().

void TGLObject::SetAxisAlignedBBox ( Float_t  xmin,
Float_t  xmax,
Float_t  ymin,
Float_t  ymax,
Float_t  zmin,
Float_t  zmax 
) [protected]

Definition at line 86 of file TGLObject.cxx.

References TGLLogicalShape::fBoundingBox, and TGLBoundingBox::SetAligned().

Referenced by SetAxisAlignedBBox(), TEveBoxGL::SetBBox(), TEveCaloLegoGL::SetBBox(), TEveTriangleSetGL::SetBBox(), TEveJetConeGL::SetBBox(), TEveArrowGL::SetBBox(), TEveJetConeProjectedGL::SetBBox(), TEveCalo2DGL::SetBBox(), TEveCalo3DGL::SetBBox(), TEveProjectionAxesGL::SetBBox(), TEvePolygonSetProjectedGL::SetBBox(), TEveDigitSetGL::SetBBox(), TEveBoxProjectedGL::SetBBox(), TPointSet3DGL::SetBBox(), and TEveStraightLineSetGL::SetBBox().

void TGLObject::SetAxisAlignedBBox ( const Float_t p  )  [protected]

Definition at line 98 of file TGLObject.cxx.

References SetAxisAlignedBBox().

template<class TT>
TT* TGLObject::SetModelDynCast ( TObject obj  )  [inline, protected]

Definition at line 37 of file TGLObject.h.

References TGLLogicalShape::fExternalObj.

template<class TT>
TT* TGLObject::DynCast ( TObject obj  )  [inline, protected]

Definition at line 45 of file TGLObject.h.

Bool_t TGLObject::ShouldDLCache ( const TGLRnrCtx rnrCtx  )  const [virtual]

Reimplemented from TGLLogicalShape.

Definition at line 41 of file TGLObject.cxx.

References TGLLogicalShape::AlwaysSecondarySelect(), TGLLogicalShape::fDLCache, fMultiColor, TGLLogicalShape::fScene, TGLRnrCtx::Highlight(), TGLRnrCtx::HighlightOutline(), TGLRnrCtx::IsDrawPassOutlineLine(), kFALSE, kTRUE, TGLRnrCtx::SecSelection(), and TGLLogicalShape::SupportsSecondarySelect().

Referenced by TEveStraightLineSetGL::ShouldDLCache(), TEveBoxSetGL::ShouldDLCache(), TEveCalo3DGL::ShouldDLCache(), and TPointSet3DGL::ShouldDLCache().

virtual Bool_t TGLObject::KeepDuringSmartRefresh (  )  const [inline, virtual]

Reimplemented from TGLLogicalShape.

Definition at line 62 of file TGLObject.h.

References kTRUE.

void TGLObject::UpdateBoundingBox (  )  [virtual]

Reimplemented from TGLLogicalShape.

Definition at line 59 of file TGLObject.cxx.

References SetBBox(), and TGLLogicalShape::UpdateBoundingBoxesOfPhysicals().

virtual Bool_t TGLObject::SetModel ( TObject obj,
const Option_t opt = 0 
) [pure virtual]

Referenced by TGLScenePad::AttemptDirectRenderer().

virtual void TGLObject::SetBBox (  )  [pure virtual]

Referenced by TGLScenePad::AttemptDirectRenderer(), and UpdateBoundingBox().

TClass * TGLObject::GetGLRenderer ( TClass isa  )  [static]

Definition at line 135 of file TGLObject.cxx.

References TMap::Add(), fgGLClassMap, TMap::FindObject(), p, and SearchGLRenderer().

Referenced by TGLScenePad::AttemptDirectRenderer(), TGLScene::FindLogicalSmartRefresh(), G__G__GL_205_0_11(), and G__setup_memfuncTGLObject().

TGLObject::ClassDef ( TGLObject  ,
 
)

static TClass* TGLObject::SearchGLRenderer ( TClass cls  )  [static, private]

Bool_t TGLObject::SetModelCheckClass ( TObject obj,
TClass cls 
) [protected]

void TGLObject::SetAxisAlignedBBox ( Float_t  xmin,
Float_t  xmax,
Float_t  ymin,
Float_t  ymax,
Float_t  zmin,
Float_t  zmax 
) [protected]

void TGLObject::SetAxisAlignedBBox ( const Float_t p  )  [protected]

template<class TT>
TT* TGLObject::SetModelDynCast ( TObject obj  )  [inline, protected]

Definition at line 37 of file TGLObject.h.

References TGLLogicalShape::fExternalObj.

template<class TT>
TT* TGLObject::DynCast ( TObject obj  )  [inline, protected]

Definition at line 45 of file TGLObject.h.

virtual Bool_t TGLObject::ShouldDLCache ( const TGLRnrCtx rnrCtx  )  const [virtual]

Reimplemented from TGLLogicalShape.

virtual Bool_t TGLObject::KeepDuringSmartRefresh (  )  const [inline, virtual]

Reimplemented from TGLLogicalShape.

Definition at line 62 of file TGLObject.h.

References kTRUE.

virtual void TGLObject::UpdateBoundingBox (  )  [virtual]

Reimplemented from TGLLogicalShape.

virtual Bool_t TGLObject::SetModel ( TObject obj,
const Option_t opt = 0 
) [pure virtual]

virtual void TGLObject::SetBBox (  )  [pure virtual]

static TClass* TGLObject::GetGLRenderer ( TClass isa  )  [static]

TGLObject::ClassDef ( TGLObject  ,
 
)


Member Data Documentation

static TMap TGLObject::fgGLClassMap [static, private]

Definition at line 24 of file TGLObject.h.

Referenced by GetGLRenderer().

Bool_t TGLObject::fMultiColor [mutable, protected]

Definition at line 28 of file TGLObject.h.

Referenced by TEveBoxProjectedGL::DirectDraw(), TEvePolygonSetProjectedGL::DirectDraw(), TEveJetConeProjectedGL::DirectDraw(), TEveBoxGL::DirectDraw(), ShouldDLCache(), TEveBoxSetGL::TEveBoxSetGL(), TEveCalo2DGL::TEveCalo2DGL(), TEveCalo3DGL::TEveCalo3DGL(), TEveLineGL::TEveLineGL(), TEvePolygonSetProjectedGL::TEvePolygonSetProjectedGL(), TEveQuadSetGL::TEveQuadSetGL(), TEveStraightLineSetGL::TEveStraightLineSetGL(), and TEveTriangleSetGL::TEveTriangleSetGL().


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