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 |
virtual TClass * | IsA () 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. | |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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. | |
void | BBoxCheckPoint (const Float_t *p) |
void | BBoxCheckPoint (Float_t x, Float_t y, Float_t z) |
void | BBoxClear () |
Remove BBox information. | |
void | BBoxInit (Float_t infinity=1e6) |
Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max) | |
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). | |
Protected Attributes | |
Float_t * | fBBox |
#include <TAttBBox.h>
|
inlineprotected |
Definition at line 31 of file TAttBBox.h.
|
inline |
Definition at line 40 of file TAttBBox.h.
|
inlinevirtual |
Definition at line 41 of file TAttBBox.h.
|
inline |
Definition at line 56 of file TAttBBox.h.
|
protected |
Assert extents of all sides of the bounding-box are at least epsilon.
Definition at line 62 of file TAttBBox.cxx.
|
inlineprotected |
Definition at line 79 of file TAttBBox.h.
Definition at line 69 of file TAttBBox.h.
|
protected |
Remove BBox information.
Definition at line 54 of file TAttBBox.cxx.
|
protected |
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.
|
static |
|
inlinestaticconstexpr |
Definition at line 63 of file TAttBBox.h.
|
pure virtual |
Implemented in TEveArrow, TEveBox, TEveBoxProjected, TEveBoxSet, TEveCalo3D, TEveCalo2D, TEveCaloLego, TEveGeoShape, TEveGeoShapeProjected, TEveJetCone, TEveJetConeProjected, TEvePolygonSetProjected, TEveProjectionAxes, TEveProjectionManager, TEveQuadSet, TEveStraightLineSet, TEveText, TEveTrack, TEveTriangleSet, ROOT::Experimental::REveBox, ROOT::Experimental::REveBoxProjected, ROOT::Experimental::REveBoxSet, ROOT::Experimental::REveCalo3D, ROOT::Experimental::REveCalo2D, ROOT::Experimental::REveCaloLego, ROOT::Experimental::REveGeoShape, ROOT::Experimental::REveGeoShapeProjected, ROOT::Experimental::REveJetCone, ROOT::Experimental::REveJetConeProjected, ROOT::Experimental::REvePointSet, ROOT::Experimental::REvePolygonSetProjected, ROOT::Experimental::REveProjectionManager, ROOT::Experimental::REveStraightLineSet, ROOT::Experimental::REveTrack, and TPointSet3D.
|
inlinestatic |
Definition at line 63 of file TAttBBox.h.
|
inline |
Definition at line 55 of file TAttBBox.h.
|
inline |
Definition at line 54 of file TAttBBox.h.
|
inlinevirtual |
Reimplemented in TEveArrow, TEveBox, TEveBoxProjected, TEveBoxSet, TEveCaloViz, TEveCalo3D, TEveCalo2D, TEveCaloLego, TEveDigitSet, TEveGeoShape, TEveGeoShapeProjected, TEveJetCone, TEveJetConeProjected, TEveLine, TEveLineProjected, TEvePointSet, TEvePointSetProjected, TEvePolygonSetProjected, TEveProjectionAxes, TEveProjectionManager, TEveQuadSet, TEveScalableStraightLineSet, TEveShape, TEveStraightLineSet, TEveStraightLineSetProjected, TEveText, TEveTrack, TEveTrackProjected, TEveTriangleSet, and TPointSet3D.
Definition at line 63 of file TAttBBox.h.
Definition at line 43 of file TAttBBox.h.
|
inline |
Definition at line 57 of file TAttBBox.h.
Setup bounding box as cube with given extent and center position.
Definition at line 76 of file TAttBBox.cxx.
|
virtual |
Reimplemented in TEveArrow, TEveBox, TEveBoxProjected, TEveBoxSet, TEveCaloViz, TEveCalo3D, TEveCalo2D, TEveCaloLego, TEveDigitSet, TEveGeoShape, TEveGeoShapeProjected, TEveJetCone, TEveJetConeProjected, TEveLine, TEveLineProjected, TEvePointSet, TEvePointSetProjected, TEvePolygonSetProjected, TEveProjectionAxes, TEveProjectionManager, TEveQuadSet, TEveScalableStraightLineSet, TEveShape, TEveStraightLineSet, TEveStraightLineSetProjected, TEveText, TEveTrack, TEveTrackProjected, TEveTriangleSet, and TPointSet3D.
|
inline |
Definition at line 63 of file TAttBBox.h.
|
protected |
Definition at line 20 of file TAttBBox.h.