|  | ATLAS Offline Software
    | 
#include <SbPolyhedron.h>
| Public Member Functions | |
| SbPolyhedron (int Nvert=0, int Nface=0) | |
| SbPolyhedron (const SbPolyhedron &from) | |
| virtual | ~SbPolyhedron () | 
| virtual SbPolyhedron & | operator= (const SbPolyhedron &from) | 
| int | GetNoVertices () const | 
| int | GetNoFacets () const | 
| SbPolyhedron & | Transform (const HEPVis::SbRotation &rot, const SbVec3d &trans) | 
| bool | GetNextVertexIndex (int &index, int &edgeFlag) const | 
| HVPoint3D | GetVertex (int index) const | 
| const HVPoint3D & | GetVertexFast (int index) const | 
| bool | GetNextVertex (HVPoint3D &vertex, int &edgeFlag) const | 
| bool | GetNextVertex (HVPoint3D &vertex, int &edgeFlag, HVNormal3D &normal) const | 
| bool | GetNextEdgeIndeces (int &i1, int &i2, int &edgeFlag, int &iface1, int &iface2) const | 
| bool | GetNextEdgeIndeces (int &i1, int &i2, int &edgeFlag) const | 
| bool | GetNextEdge (HVPoint3D &p1, HVPoint3D &p2, int &edgeFlag) const | 
| bool | GetNextEdge (HVPoint3D &p1, HVPoint3D &p2, int &edgeFlag, int &iface1, int &iface2) const | 
| void | GetFacet (int iFace, int &n, int *iNodes, int *edgeFlags=0, int *iFaces=0) const | 
| void | GetFacet (int iFace, int &n, HVPoint3D *nodes, int *edgeFlags=0, HVNormal3D *normals=0) const | 
| bool | GetNextFacet (int &n, HVPoint3D *nodes, int *edgeFlags=0, HVNormal3D *normals=0) const | 
| HVNormal3D | GetNormal (int iFace) const | 
| HVNormal3D | GetUnitNormal (int iFace) const | 
| bool | GetNextNormal (HVNormal3D &normal) const | 
| bool | GetNextUnitNormal (HVNormal3D &normal) const | 
| SbPolyhedron | add (const SbPolyhedron &p) const | 
| SbPolyhedron | subtract (const SbPolyhedron &p) const | 
| SbPolyhedron | intersect (const SbPolyhedron &p) const | 
| double | GetSurfaceArea () const | 
| double | GetVolume () const | 
| Static Public Member Functions | |
| static int | GetNumberOfRotationSteps () | 
| static void | SetNumberOfRotationSteps (int n) | 
| static void | ResetNumberOfRotationSteps () | 
| Protected Member Functions | |
| void | AllocateMemory (int Nvert, int Nface) | 
| int | FindNeighbour (int iFace, int iNode, int iOrder) const | 
| HVNormal3D | FindNodeNormal (int iFace, int iNode) const | 
| void | CreatePrism () | 
| void | RotateEdge (int k1, int k2, double r1, double r2, int v1, int v2, int vEdge, bool ifWholeCircle, int ns, int &kface) | 
| void | SetSideFacets (int ii[4], int vv[4], int *kk, double *r, double dphi, int ns, int &kface) | 
| void | RotateAroundZ (int nstep, double phi, double dphi, int np1, int np2, const double *z, double *r, int nodeVis, int edgeVis) | 
| void | SetReferences () | 
| void | InvertFacets () | 
| Protected Attributes | |
| int | m_nvert | 
| int | m_nface | 
| HVPoint3D * | m_pV | 
| SbFacet * | m_pF | 
| Static Private Attributes | |
| static int | s_numberOfRotationSteps = DEFAULT_NUMBER_OF_STEPS | 
| Friends | |
| std::ostream & | operator<< (std::ostream &, const SbPolyhedron &ph) | 
Definition at line 231 of file SbPolyhedron.h.
| 
 | inline | 
| SbPolyhedron::SbPolyhedron | ( | const SbPolyhedron & | from | ) | 
Definition at line 140 of file SbPolyhedron.cxx.
| 
 | inlinevirtual | 
Definition at line 287 of file SbPolyhedron.h.
| SbPolyhedron SbPolyhedron::add | ( | const SbPolyhedron & | p | ) | const | 
| 
 | protected | 
| 
 | protected | 
Definition at line 286 of file SbPolyhedron.cxx.
| 
 | protected | 
Definition at line 189 of file SbPolyhedron.cxx.
| 
 | protected | 
Definition at line 217 of file SbPolyhedron.cxx.
| void SbPolyhedron::GetFacet | ( | int | iFace, | 
| int & | n, | ||
| HVPoint3D * | nodes, | ||
| int * | edgeFlags = 0, | ||
| HVNormal3D * | normals = 0 | ||
| ) | const | 
| void SbPolyhedron::GetFacet | ( | int | iFace, | 
| int & | n, | ||
| int * | iNodes, | ||
| int * | edgeFlags = 0, | ||
| int * | iFaces = 0 | ||
| ) | const | 
Definition at line 1117 of file SbPolyhedron.cxx.
Definition at line 1076 of file SbPolyhedron.cxx.
| bool SbPolyhedron::GetNextEdge | ( | HVPoint3D & | p1, | 
| HVPoint3D & | p2, | ||
| int & | edgeFlag, | ||
| int & | iface1, | ||
| int & | iface2 | ||
| ) | const | 
Definition at line 1097 of file SbPolyhedron.cxx.
| bool SbPolyhedron::GetNextEdgeIndeces | ( | int & | i1, | 
| int & | i2, | ||
| int & | edgeFlag | ||
| ) | const | 
Definition at line 1060 of file SbPolyhedron.cxx.
| bool SbPolyhedron::GetNextEdgeIndeces | ( | int & | i1, | 
| int & | i2, | ||
| int & | edgeFlag, | ||
| int & | iface1, | ||
| int & | iface2 | ||
| ) | const | 
Definition at line 1007 of file SbPolyhedron.cxx.
| bool SbPolyhedron::GetNextFacet | ( | int & | n, | 
| HVPoint3D * | nodes, | ||
| int * | edgeFlags = 0, | ||
| HVNormal3D * | normals = 0 | ||
| ) | const | 
Definition at line 1173 of file SbPolyhedron.cxx.
| bool SbPolyhedron::GetNextNormal | ( | HVNormal3D & | normal | ) | const | 
Definition at line 1255 of file SbPolyhedron.cxx.
| bool SbPolyhedron::GetNextUnitNormal | ( | HVNormal3D & | normal | ) | const | 
Definition at line 1276 of file SbPolyhedron.cxx.
| bool SbPolyhedron::GetNextVertex | ( | HVPoint3D & | vertex, | 
| int & | edgeFlag | ||
| ) | const | 
Definition at line 957 of file SbPolyhedron.cxx.
| bool SbPolyhedron::GetNextVertex | ( | HVPoint3D & | vertex, | 
| int & | edgeFlag, | ||
| HVNormal3D & | normal | ||
| ) | const | 
Definition at line 975 of file SbPolyhedron.cxx.
| bool SbPolyhedron::GetNextVertexIndex | ( | int & | index, | 
| int & | edgeFlag | ||
| ) | const | 
Definition at line 902 of file SbPolyhedron.cxx.
| 
 | inline | 
Definition at line 296 of file SbPolyhedron.h.
| HVNormal3D SbPolyhedron::GetNormal | ( | int | iFace | ) | const | 
Definition at line 1203 of file SbPolyhedron.cxx.
| 
 | inline | 
Definition at line 293 of file SbPolyhedron.h.
| 
 | inlinestatic | 
Definition at line 375 of file SbPolyhedron.h.
| double SbPolyhedron::GetSurfaceArea | ( | ) | const | 
Definition at line 1292 of file SbPolyhedron.cxx.
| HVNormal3D SbPolyhedron::GetUnitNormal | ( | int | iFace | ) | const | 
Definition at line 1228 of file SbPolyhedron.cxx.
| HVPoint3D SbPolyhedron::GetVertex | ( | int | index | ) | const | 
Definition at line 950 of file SbPolyhedron.cxx.
| double SbPolyhedron::GetVolume | ( | ) | const | 
Definition at line 1314 of file SbPolyhedron.cxx.
| SbPolyhedron SbPolyhedron::intersect | ( | const SbPolyhedron & | p | ) | const | 
Definition at line 1860 of file SbPolyhedron.cxx.
| 
 | protected | 
Definition at line 819 of file SbPolyhedron.cxx.
| 
 | virtual | 
Reimplemented in SbPolyhedronGenericTrap, SbPolyhedronArbitrary, SbPolyhedronPolygonXSect, SbPolyhedronTorus, SbPolyhedronSphere, SbPolyhedronPcon, SbPolyhedronPgon, SbPolyhedronTube, SbPolyhedronTubs, SbPolyhedronCone, SbPolyhedronCons, SbPolyhedronPara, SbPolyhedronTrap, SbPolyhedronBox, SbPolyhedronTrd1, and SbPolyhedronTrd2.
Definition at line 161 of file SbPolyhedron.cxx.
| 
 | inlinestatic | 
Definition at line 381 of file SbPolyhedron.h.
| 
 | protected | 
Definition at line 438 of file SbPolyhedron.cxx.
| 
 | protected | 
Definition at line 306 of file SbPolyhedron.cxx.
| 
 | static | 
Definition at line 245 of file SbPolyhedron.cxx.
| 
 | protected | 
Definition at line 682 of file SbPolyhedron.cxx.
| 
 | protected | 
Definition at line 368 of file SbPolyhedron.cxx.
| SbPolyhedron SbPolyhedron::subtract | ( | const SbPolyhedron & | p | ) | const | 
Definition at line 1878 of file SbPolyhedron.cxx.
| SbPolyhedron & SbPolyhedron::Transform | ( | const HEPVis::SbRotation & | rot, | 
| const SbVec3d & | trans | ||
| ) | 
Definition at line 878 of file SbPolyhedron.cxx.
| 
 | friend | 
Definition at line 125 of file SbPolyhedron.cxx.
| 
 | protected | 
Definition at line 238 of file SbPolyhedron.h.
| 
 | protected | 
Definition at line 238 of file SbPolyhedron.h.
| 
 | protected | 
Definition at line 240 of file SbPolyhedron.h.
| 
 | protected | 
Definition at line 239 of file SbPolyhedron.h.
| 
 | staticprivate | 
Definition at line 235 of file SbPolyhedron.h.
 1.8.18
 1.8.18