|
| TGLBoundingBox () |
| Construct an empty bounding box. More...
|
|
| TGLBoundingBox (const Double_t vertex[8][3]) |
| Construct a bounding box from provided 8 vertices. More...
|
|
| TGLBoundingBox (const TGLBoundingBox &other) |
| Construct a bounding box as copy of existing one. More...
|
|
| TGLBoundingBox (const TGLVertex3 &lowVertex, const TGLVertex3 &highVertex) |
| Construct an global axis ALIGNED bounding box from provided low/high vertex pair. More...
|
|
| TGLBoundingBox (const TGLVertex3 vertex[8]) |
| Construct a bounding box from provided 8 vertices. More...
|
|
virtual | ~TGLBoundingBox () |
| Destroy bounding box. More...
|
|
const TGLVector3 & | Axis (UInt_t i, Bool_t normalised=kTRUE) const |
|
TGLVertex3 | Center () const |
|
Double_t | Diagonal () const |
|
void | Draw (Bool_t solid=kFALSE) const |
| Draw the bounding box as either wireframe (default) of solid using current GL color. More...
|
|
void | Dump () const |
| Output to std::cout the vertices, center and volume of box. More...
|
|
void | ExpandAligned (const TGLVertex3 &point) |
| Expand current bbox so that it includes the point. More...
|
|
TGLVector3 | Extents () const |
|
const std::vector< UInt_t > & | FaceVertices (EFace face) const |
| return a vector of face vertices y | | |________x / 3----—2 / /| /| z 7----—6 | | 0--—|-1 |/ |/ 4----—5 More...
|
|
TGLPlane | GetNearPlane () const |
| Return the near-plane. More...
|
|
Bool_t | IsEmpty () const |
|
TGLVertex3 | MaxAAVertex () const |
| Find maximum vertex values. More...
|
|
void | MergeAligned (const TGLBoundingBox &other) |
| Expand current bbox so that it includes other's bbox. More...
|
|
TGLVertex3 | MinAAVertex () const |
| Find minimum vertex values. More...
|
|
Int_t | NumVertices () const |
|
TGLBoundingBox & | operator= (const TGLBoundingBox &other) |
|
const TGLVertex3 & | operator[] (UInt_t index) const |
|
Rgl::EOverlap | Overlap (const TGLBoundingBox &box) const |
| Find overlap (Inside, Outside, Partial) of other bounding box c.f. us. More...
|
|
Rgl::EOverlap | Overlap (const TGLPlane &plane) const |
| Find overlap (Inside, Outside, Partial) of plane c.f. bounding box. More...
|
|
void | PlaneSet (TGLPlaneSet_t &planeSet) const |
| Fill out supplied plane set vector with TGLPlane objects representing six faces of box. More...
|
|
void | Scale (Double_t factor) |
| Isotropically scale bounding box along it's LOCAL axes, preserving center. More...
|
|
void | Scale (Double_t xFactor, Double_t yFactor, Double_t zFactor) |
| Asymmetrically scale box along it's LOCAL x,y,z axes, preserving center. More...
|
|
void | Set (const Double_t vertex[8][3]) |
| Set a bounding box from provided 8 vertices. More...
|
|
void | Set (const TGLBoundingBox &other) |
| Set a bounding box from vertices of other. More...
|
|
void | Set (const TGLVertex3 vertex[8]) |
| Set a bounding box from provided 8 vertices. More...
|
|
void | SetAligned (const TGLVertex3 &lowVertex, const TGLVertex3 &highVertex) |
| Set ALIGNED box from two low/high vertices. More...
|
|
void | SetAligned (UInt_t nbPnts, const Double_t *pnts) |
| Set ALIGNED box from one or more points. More...
|
|
void | SetEmpty () |
| Set bounding box empty - all vertices at (0,0,0) More...
|
|
void | Transform (const TGLMatrix &matrix) |
| Transform all vertices with matrix. More...
|
|
void | Translate (const TGLVector3 &offset) |
| Translate all vertices by offset. More...
|
|
const TGLVertex3 & | Vertex (UInt_t index) const |
|
const TGLVertex3 * | Vertices () const |
|
Double_t | Volume () const |
|
Double_t | XMax () const |
|
Double_t | XMin () const |
|
Double_t | YMax () const |
|
Double_t | YMin () const |
|
Double_t | ZMax () const |
|
Double_t | ZMin () const |
|