ATLAS Offline Software
|
SoPolyhedron is an Inventor encapsulation of the HepPolyedron class written by E.Chernyaev. More...
#include <SoPolyhedron.h>
Classes | |
struct | Vertex |
Public Member Functions | |
SoPolyhedron () | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
SoPolyhedron (const SbPolyhedron &) | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
SoPolyhedron (const SbPolyhedron *) | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
long | hasVertex (Vertex *vertices, long len, Vertex &v) |
void | makeShape (SbPolyhedron *) |
virtual void | generateAlternateRep () |
virtual void | clearAlternateRep () |
Static Public Member Functions | |
static void | initClass () |
Public Attributes | |
SoSFNode | alternateRep |
Vertex * | m_vertices {nullptr} |
long * | m_indices {nullptr} |
long | m_vcount {0} |
long | m_icount {0} |
Protected Member Functions | |
virtual void | computeBBox (SoAction *, SbBox3f &, SbVec3f &) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
virtual void | generatePrimitives (SoAction *) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
virtual | ~SoPolyhedron () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// More... | |
Private Member Functions | |
SO_NODE_HEADER (SoPolyhedron) | |
Private Attributes | |
std::unique_ptr< SbPolyhedron > | m_polyhedron |
SoPolyhedron is an Inventor encapsulation of the HepPolyedron class written by E.Chernyaev.
In particular SoPolyhedron permits to represent boolean operations over solids. To avoid clashes with other libraries (Geant4) where the HepPolyhedron classes may be found, the HepPolyhedron (through usage of CPP macros) had been renamed SbPolyhedron in the HEPVis lib. The solids are modeled with SbPolyedron objects. The SbPolyhedron permits to produce a new SbPolyhedron according to the boolean operation done on them. The resulting SbPolyhedron is then given to an SoPolyhedron for rendering. Note that a boolean operation could be rendered in wire frame by drawing the contour of the resulting solid (not by drawing the wire frame of a triangulation). See the applications/Polyhedron example.
Definition at line 49 of file SoPolyhedron.h.
SoPolyhedron::SoPolyhedron | ( | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 56 of file SoPolyhedron.cxx.
SoPolyhedron::SoPolyhedron | ( | const SbPolyhedron & | aPolyhedron | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 68 of file SoPolyhedron.cxx.
SoPolyhedron::SoPolyhedron | ( | const SbPolyhedron * | aPolyhedron | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 84 of file SoPolyhedron.cxx.
|
protectedvirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 100 of file SoPolyhedron.cxx.
|
virtual |
Definition at line 415 of file SoPolyhedron.cxx.
|
protectedvirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 285 of file SoPolyhedron.cxx.
|
virtual |
|
protectedvirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 111 of file SoPolyhedron.cxx.
|
static |
Definition at line 47 of file SoPolyhedron.cxx.
void SoPolyhedron::makeShape | ( | SbPolyhedron * | sp | ) |
Definition at line 517 of file SoPolyhedron.cxx.
|
private |
SoSFNode SoPolyhedron::alternateRep |
Definition at line 56 of file SoPolyhedron.h.
long SoPolyhedron::m_icount {0} |
Definition at line 83 of file SoPolyhedron.h.
long* SoPolyhedron::m_indices {nullptr} |
Definition at line 81 of file SoPolyhedron.h.
|
private |
Definition at line 71 of file SoPolyhedron.h.
long SoPolyhedron::m_vcount {0} |
Definition at line 82 of file SoPolyhedron.h.
Vertex* SoPolyhedron::m_vertices {nullptr} |
Definition at line 80 of file SoPolyhedron.h.