ROOT 6.08/07 Reference Guide |
Helper for management of bounding-box information.
Optionally used by classes that use direct OpenGL rendering via <Class>GL class
.
Definition at line 19 of file TAttBBox.h.
Public Member Functions | |
TAttBBox () | |
virtual | ~TAttBBox () |
Float_t * | AssertBBox () |
virtual void | ComputeBBox ()=0 |
Float_t * | GetBBox () |
Bool_t | GetBBoxOK () const |
TAttBBox & | operator= (const TAttBBox &tab) |
void | ResetBBox () |
void | SetupBBoxCube (Float_t extent, Float_t x, Float_t y, Float_t z) |
Setup bounding box as cube with given extent and center position. More... | |
Protected Member Functions | |
TAttBBox (const TAttBBox &tab) | |
void | AssertBBoxExtents (Float_t epsilon=0.005) |
Assert extents of all sides of the bounding-box are at least epsilon. More... | |
void | BBoxCheckPoint (Float_t x, Float_t y, Float_t z) |
void | BBoxCheckPoint (const Float_t *p) |
void | BBoxClear () |
Remove BBox information. More... | |
void | BBoxInit (Float_t infinity=1e6) |
Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max) More... | |
void | BBoxZero (Float_t epsilon=0, Float_t x=0, Float_t y=0, Float_t z=0) |
Create cube of volume (2*epsilon)^3 at (x,y,z). More... | |
Protected Attributes | |
Float_t * | fBBox |
#include <TAttBBox.h>
|
inlineprotected |
Definition at line 33 of file TAttBBox.h.
|
inline |
Definition at line 38 of file TAttBBox.h.
|
inlinevirtual |
Definition at line 39 of file TAttBBox.h.
|
inline |
Definition at line 47 of file TAttBBox.h.
Assert extents of all sides of the bounding-box are at least epsilon.
Definition at line 62 of file TAttBBox.cxx.
Definition at line 60 of file TAttBBox.h.
Definition at line 70 of file TAttBBox.h.
|
protected |
Remove BBox information.
Definition at line 54 of file TAttBBox.cxx.
Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max)
Allocate and prepare for incremental filling.
Definition at line 29 of file TAttBBox.cxx.
|
protected |
Create cube of volume (2*epsilon)^3 at (x,y,z).
epsilon is zero by default.
Definition at line 42 of file TAttBBox.cxx.
|
pure virtual |
Implemented in TEveCaloLego, TEveCalo2D, TEveCalo3D, TEveQuadSet, TEveStraightLineSet, TEveGeoShapeProjected, TEveJetConeProjected, TEvePolygonSetProjected, TEveBoxProjected, TEveBoxSet, TEveProjectionManager, TEveTrack, TEveText, TEveTriangleSet, TEveProjectionAxes, TEveArrow, TEveGeoShape, TEveJetCone, TPointSet3D, and TEveBox.
|
inline |
Definition at line 46 of file TAttBBox.h.
|
inline |
Definition at line 45 of file TAttBBox.h.
Definition at line 41 of file TAttBBox.h.
|
inline |
Definition at line 48 of file TAttBBox.h.
Setup bounding box as cube with given extent and center position.
Definition at line 76 of file TAttBBox.cxx.
|
protected |
Definition at line 22 of file TAttBBox.h.