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 ClassDefOverride(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
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)
TT * SetModelDynCast(TObject *obj)
void UpdateBoundingBox() override
Update bounding box from external source.
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 ShouldDLCache(const TGLRnrCtx &rnrCtx) const override
Decide if display-list should be used for this pass rendering, as determined by rnrCtx.
Bool_t SetModelCheckClass(TObject *obj, TClass *cls)
Checks if obj is of proper class and sets the model.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr)=0
static TClass * GetGLRenderer(TClass *isa)
Return direct-rendering GL class for class isa.
Bool_t KeepDuringSmartRefresh() const override
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.