library: libCore
#include "TAttBBox.h"

TAttBBox


class description - header file - source file
viewCVS header - viewCVS source

class TAttBBox

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
 
    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 Description

 TAttBBox

 Helper for management of bounding-box information.
 Optionally used by classes that use direct OpenGL rendering
 via <Class>GL class.
void BBoxInit(Float_t infinity)
 Allocate and prepare for incremental filling.
void BBoxZero(Float_t epsilon, Float_t x, Float_t y, Float_t z)
 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)
 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 update: root/base:$Name: $:$Id: TAttBBox.cxx,v 1.4 2006/12/09 23:01:13 rdm Exp $
Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.