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, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
voidAssertBBoxExtents(Float_t epsilon = 0.005)
voidBBoxCheckPoint(const Float_t* p)
voidBBoxCheckPoint(Float_t x, Float_t y, Float_t z)
voidBBoxClear()
voidBBoxInit(Float_t infinity = 1e6)
voidBBoxZero(Float_t epsilon = 0, Float_t x = 0, Float_t y = 0, Float_t z = 0)

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 = 1e6)
 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.005)
 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)
virtual ~TAttBBox()
{ BBoxClear(); }
TAttBBox& operator=(const TAttBBox& tab)
Bool_t GetBBoxOK()
{ 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()

Author: Matevz Tadel 7/4/2006
Last change: root/base:$Id: TAttBBox.h 20877 2007-11-19 11:17:07Z rdm $
Last generated: 2008-06-25 08:34
Copyright (C) 1995-2006, 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.