#ifndef ROOT_TGLObject
#define ROOT_TGLObject
#include "TGLLogicalShape.h"
#include <TMap.h>
class TClass;
class TGLObject : public TGLLogicalShape
{
private:
static TMap fgGLClassMap;
static TClass* SearchGLRenderer(TClass* cls);
protected:
mutable Bool_t fMultiColor;
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);
public:
TGLObject() : TGLLogicalShape(0), fMultiColor(kFALSE) {}
virtual ~TGLObject() {}
virtual Bool_t ShouldDLCache(const TGLRnrCtx & rnrCtx) const;
virtual Bool_t KeepDuringSmartRefresh() const { return kTRUE; }
virtual void UpdateBoundingBox();
virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0) = 0;
virtual void SetBBox() = 0;
static TClass* GetGLRenderer(TClass* isa);
ClassDef(TGLObject, 0);
};
#endif
Last change: Wed Jun 25 08:41:05 2008
Last generated: 2008-06-25 08:41
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.