ROOT » CORE » BASE » TAttBBox

class TAttBBox

 TAttBBox

 Helper for management of bounding-box information.
 Optionally used by classes that use direct OpenGL rendering
 via <Class>GL class.

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TAttBBox()
Float_t*AssertBBox()
static TClass*Class()
virtual voidComputeBBox()
Float_t*GetBBox()
Bool_tGetBBoxOK() const
virtual TClass*IsA() const
TAttBBox&operator=(const TAttBBox& tab)
voidResetBBox()
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TAttBBox()
protected:
voidAssertBBoxExtents(Float_t epsilon = 0.0050000000000000001)
voidBBoxCheckPoint(const Float_t* p)
voidBBoxCheckPoint(Float_t x, Float_t y, Float_t z)
voidBBoxClear()
voidBBoxInit(Float_t infinity = 1.0E+6)
voidBBoxZero(Float_t epsilon = 0, Float_t x = 0, Float_t y = 0, Float_t z = 0)
TAttBBox(const TAttBBox& tab)

Data Members

protected:
Float_t*fBBox! Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void BBoxInit(Float_t infinity = 1.0E+6)
 Allocate and prepare for incremental filling.
void BBoxZero(Float_t epsilon = 0, Float_t x = 0, Float_t y = 0, Float_t z = 0)
 Create cube of volume (2*epsiolon)^3 at (x,y,z).
 epsilon iz zero by default.
void BBoxClear()
 Remove BBox information.
void AssertBBoxExtents(Float_t epsilon = 0.0050000000000000001)
 Assert extents of all sides of the bounding-box are at least epsilon.
void BBoxCheckPoint(Float_t x, Float_t y, Float_t z)
void BBoxCheckPoint(const Float_t* p)
TAttBBox(const TAttBBox& tab)
TAttBBox()
{ }
virtual ~TAttBBox()
{ BBoxClear(); }
TAttBBox& operator=(const TAttBBox& tab)
Bool_t GetBBoxOK() const
{ return fBBox != 0; }
Float_t* GetBBox()
{ return fBBox; }
Float_t* AssertBBox()
{ if(fBBox == 0) ComputeBBox(); return fBBox; }
void ResetBBox()
{ if(fBBox != 0) BBoxClear(); }
void ComputeBBox()