ROOT logo
ROOT » GRAF3D » EVE » TEveBoxSetGL

class TEveBoxSetGL: public TEveDigitSetGL


 A GL rendering class for TEveBoxSet.

Function Members (Methods)

public:
TEveBoxSetGL()
virtual~TEveBoxSetGL()
voidTGLLogicalShape::AddRef(TGLPhysicalShape* phys) const
virtual Bool_tTEveDigitSetGL::AlwaysSecondarySelect() const
const TGLBoundingBox&TGLLogicalShape::BoundingBox() const
static TClass*Class()
voidTGLLogicalShape::DestroyPhysicals()
virtual voidDirectDraw(TGLRnrCtx& rnrCtx) const
virtual voidTGLLogicalShape::DLCacheClear()
virtual voidDLCacheDrop()
virtual voidDLCachePurge()
virtual UInt_tTGLLogicalShape::DLOffset(Short_t) const
virtual voidTGLLogicalShape::Draw(TGLRnrCtx& rnrCtx) const
virtual voidTEveDigitSetGL::DrawHighlight(TGLRnrCtx& rnrCtx, const TGLPhysicalShape* pshp, Int_t lvl = -1) const
TObject*TGLLogicalShape::GetExternal() const
const TGLPhysicalShape*TGLLogicalShape::GetFirstPhysical() const
static TClass*TGLObject::GetGLRenderer(TClass* isa)
TGLScene*TGLLogicalShape::GetScene() const
TObject*TGLLogicalShape::ID() const
virtual Bool_tTGLLogicalShape::IgnoreSizeForOfInterest() const
voidTGLLogicalShape::InvokeContextMenu(TContextMenu& menu, UInt_t x, UInt_t y) const
virtual TClass*IsA() const
virtual Bool_tTGLObject::KeepDuringSmartRefresh() const
virtual voidTEveDigitSetGL::ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec)
virtual Short_tTGLLogicalShape::QuantizeShapeLOD(Short_t shapeLOD, Short_t combiLOD) const
UInt_tTGLLogicalShape::Ref() const
virtual voidRender(TGLRnrCtx& rnrCtx)
virtual voidTEveDigitSetGL::SetBBox()
Bool_tTGLLogicalShape::SetDLCache(Bool_t cached)
virtual Bool_tSetModel(TObject* obj, Option_t* opt = 0)
virtual Bool_tShouldDLCache(const TGLRnrCtx& rnrCtx) const
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGLLogicalShape::StrongRef(Bool_t strong) const
voidTGLLogicalShape::SubRef(TGLPhysicalShape* phys) const
virtual TGLLogicalShape::ELODAxesTGLLogicalShape::SupportedLODAxes() const
virtual Bool_tTEveDigitSetGL::SupportsSecondarySelect() const
UInt_tTGLLogicalShape::UnrefFirstPhysical()
virtual voidTGLObject::UpdateBoundingBox()
voidTGLLogicalShape::UpdateBoundingBoxesOfPhysicals()
protected:
voidMakeDisplayList() const
voidMakeOriginBox(Float_t p[][3], Float_t dx, Float_t dy, Float_t dz) const
Int_tPrimitiveType() const
voidTGLLogicalShape::PurgeDLRange(UInt_t base, Int_t size) const
voidRenderBoxAutoNorm(const Float_t p[][3]) const
voidRenderBoxes(TGLRnrCtx& rnrCtx) const
voidRenderBoxStdNorm(const Float_t p[][3]) const
voidTGLObject::SetAxisAlignedBBox(const Float_t* p)
voidTGLObject::SetAxisAlignedBBox(Float_t xmin, Float_t xmax, Float_t ymin, Float_t ymax, Float_t zmin, Float_t zmax)
Bool_tTGLObject::SetModelCheckClass(TObject* obj, TClass* cls)
Bool_tTEveDigitSetGL::SetupColor(const TEveDigitSet::DigitBase_t& q) const

Data Members

public:
enum TGLLogicalShape::ELODAxes { kLODAxesNone
kLODAxesX
kLODAxesY
kLODAxesZ
kLODAxesAll
};
protected:
TGLBoundingBoxTGLLogicalShape::fBoundingBox! Shape's bounding box.
UInt_tfBoxDLDisplay-list id for a box atom.
UInt_tTGLLogicalShape::fDLBase! display-list id base
Bool_tTGLLogicalShape::fDLCache! use display list caching
Int_tTGLLogicalShape::fDLSize! display-list size for different LODs
UShort_tTGLLogicalShape::fDLValid! display-list validity bit-field
TObject*TGLLogicalShape::fExternalObj! Also plays the role of ID.
TGLPhysicalShape*TGLLogicalShape::fFirstPhysical! first replica
set<Int_t>*TEveDigitSetGL::fHighlightSet
TEveBoxSet*fMModel object.
Bool_tTGLObject::fMultiColorAre multiple colors used for object rendering.
Bool_tTGLLogicalShape::fOwnExtObj! External object is a fake
UInt_tTGLLogicalShape::fRef! physical instance ref counting
Bool_tTGLLogicalShape::fRefStrong! Strong ref (delete on 0 ref); not in scene
TGLScene*TGLLogicalShape::fScene! scene where object is stored (can be zero!)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TEveBoxSetGL()
 Default constructor.
~TEveBoxSetGL()
 Destructor.
Int_t PrimitiveType() const
 Return GL primitive used to render the boxes, based on the
 render-mode specified in the model object.
void MakeOriginBox(Float_t p[][3], Float_t dx, Float_t dy, Float_t dz) const
 Fill array p to represent a box (0,0,0) - (dx,dy,dz).
void RenderBoxStdNorm(const Float_t p[][3]) const
 Render a box specified by points in array p with standard
 axis-aligned normals.
void RenderBoxAutoNorm(const Float_t p[][3]) const
 Render box, calculate normals on the fly from first three points.
void MakeDisplayList() const
 Create a display-list for rendering a single box, based on the
 current box-type.
 Some box-types don't benefit from the display-list rendering and
 so display-list is not created.
Bool_t ShouldDLCache(const TGLRnrCtx& rnrCtx) const
 Determines if display-list will be used for rendering.
 Virtual from TGLLogicalShape.
void DLCacheDrop()
 Called when display lists have been destroyed externally and the
 internal display-list data needs to be cleare.
 Virtual from TGLLogicalShape.
void DLCachePurge()
 Called when display-lists need to be returned to the system.
 Virtual from TGLLogicalShape.
Bool_t SetModel(TObject* obj, Option_t* opt = 0)
 Set model object.
 Virtual from TGLObject.
void RenderBoxes(TGLRnrCtx& rnrCtx) const
 GL rendering for all box-types.
void DirectDraw(TGLRnrCtx& rnrCtx) const
 Actual rendering code.
 Virtual from TGLLogicalShape.
void Render(TGLRnrCtx& rnrCtx)
 Interface for direct rendering from classes that include TEveBoxSet
 as a member.
TEveBoxSetGL(const TEveBoxSetGL& )
TEveBoxSetGL& operator=(const TEveBoxSetGL& )