39 TT *ret =
dynamic_cast<TT*
>(obj);
40 if (!ret)
throw std::runtime_error(
"Object of wrong type passed.");
47 TT *ret =
dynamic_cast<TT*
>(obj);
48 if (!ret)
throw std::runtime_error(
"Object of wrong type passed.");
#define ClassDef(name, id)
TClass instances represent classes, structs and namespaces in the ROOT type system.
Abstract logical shape - a GL 'drawable' - base for all shapes - faceset sphere etc.
TObject * fExternalObj
first replica
Base-class for direct OpenGL renderers.
static TClass * SearchGLRenderer(TClass *cls)
Recursively search cls and its base classes for a GL-renderer class.
TT * DynCast(TObject *obj)
virtual Bool_t KeepDuringSmartRefresh() const
TT * SetModelDynCast(TObject *obj)
virtual Bool_t ShouldDLCache(const TGLRnrCtx &rnrCtx) const
Decide if display-list should be used for this pass rendering, as determined by rnrCtx.
void SetAxisAlignedBBox(Float_t xmin, Float_t xmax, Float_t ymin, Float_t ymax, Float_t zmin, Float_t zmax)
Set axis-aligned bounding-box.
Bool_t SetModelCheckClass(TObject *obj, TClass *cls)
Checks if obj is of proper class and sets the model.
virtual void UpdateBoundingBox()
Update bounding box from external source.
static TClass * GetGLRenderer(TClass *isa)
Return direct-rendering GL class for class isa.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)=0
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
Mother of all ROOT objects.