Helper for management of bounding-box information.
Optionally used by classes that use direct OpenGL rendering via <Class>GL class
.
Definition at line 17 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 (const Float_t *p) |
void | BBoxCheckPoint (Float_t x, Float_t y, Float_t z) |
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 31 of file TAttBBox.h.
|
inline |
Definition at line 36 of file TAttBBox.h.
|
inlinevirtual |
Definition at line 37 of file TAttBBox.h.
|
inline |
Definition at line 45 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 68 of file TAttBBox.h.
Definition at line 58 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 TEveArrow, TEveBox, TEveBoxProjected, TEveBoxSet, TEveCalo3D, TEveCalo2D, TEveCaloLego, TEveGeoShape, TEveGeoShapeProjected, TEveJetCone, TEveJetConeProjected, TEvePolygonSetProjected, TEveProjectionAxes, TEveProjectionManager, TEveQuadSet, TEveStraightLineSet, TEveText, TEveTrack, TEveTriangleSet, TPointSet3D, ROOT::Experimental::REveGeoShape, ROOT::Experimental::REveGeoShapeProjected, ROOT::Experimental::REveJetCone, ROOT::Experimental::REveJetConeProjected, ROOT::Experimental::REvePointSet, ROOT::Experimental::REvePolygonSetProjected, ROOT::Experimental::REveProjectionManager, ROOT::Experimental::REveStraightLineSet, and ROOT::Experimental::REveTrack.
|
inline |
Definition at line 44 of file TAttBBox.h.
|
inline |
Definition at line 43 of file TAttBBox.h.
Definition at line 39 of file TAttBBox.h.
|
inline |
Definition at line 46 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 20 of file TAttBBox.h.