class TEveBoxSetGL: public TGLObject


 A GL rendering class for TEveBoxSet.

Function Members (Methods)

public:
TEveBoxSetGL()
virtual~TEveBoxSetGL()
voidTGLLogicalShape::AddRef(TGLPhysicalShape* phys) 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
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 voidProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec)
virtual Short_tTGLLogicalShape::QuantizeShapeLOD(Short_t shapeLOD, Short_t combiLOD) const
UInt_tTGLLogicalShape::Ref() const
virtual voidRender(TGLRnrCtx& rnrCtx)
virtual voidSetBBox()
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, char* parent)
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_tSupportsSecondarySelect() const
UInt_tTGLLogicalShape::UnrefFirstPhysical()
virtual voidTGLObject::UpdateBoundingBox()
voidTGLLogicalShape::UpdateBoundingBoxesOfPhysicals()
protected:
voidMakeDisplayList() const
voidMakeOriginBox(Float_t* p, Float_t dx, Float_t dy, Float_t dz) const
Int_tPrimitiveType() const
voidTGLLogicalShape::PurgeDLRange(UInt_t base, Int_t size) const
voidRenderBox(const Float_t* p) 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_tSetupColor(const TEveDigitSet::DigitBase_t& q) const
private:
TEveBoxSetGL(const TEveBoxSetGL&)
TEveBoxSetGL&operator=(const TEveBoxSetGL&)

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
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(const TEveBoxSetGL& )
 Default constructor.
~TEveBoxSetGL()
 Destructor.
Int_t PrimitiveType()
 Return GL primitive used to render the boxes, based on the
 render-mode specified in the model object.
Bool_t SetupColor(const TEveDigitSet::DigitBase_t& q) const
 Set GL color for given primitive.
void MakeOriginBox(Float_t* p, Float_t dx, Float_t dy, Float_t dz) const
 Fill array p to represent a box (0,0,0) - (dx,dy,dz).
void RenderBox(const Float_t* p) const
 Render a box specified by points in array p.
void MakeDisplayList()
 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 SetBBox()
 Fill the bounding-box data of the logical-shape.
 Virtual from TGLObject.
void DirectDraw(TGLRnrCtx& rnrCtx) const
 Actual rendering code.
 Virtual from TGLLogicalShape.
void ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec)
 Processes secondary selection from TGLViewer.
 Calls TPointSet3D::PointSelected(Int_t) with index of selected
 point as an argument.
void Render(TGLRnrCtx& rnrCtx)
 Interface for direct rendering from classes that include TEveBoxSet
 as a member.
TEveBoxSetGL(const TEveBoxSetGL& )
TEveBoxSetGL& operator=(const TEveBoxSetGL& )
Bool_t SupportsSecondarySelect()
{ return kTRUE; }

Last change: root/eve:$Id: TEveBoxSetGL.h 26250 2008-11-17 20:56:44Z matevz $
Last generated: 2008-11-24 08:18
Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *

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.