Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <Geant4_SoPolyhedron.h>
Public Member Functions | |
Geant4_SoPolyhedron () | |
Geant4_SoPolyhedron (const G4Polyhedron &) | |
Geant4_SoPolyhedron (G4Polyhedron *) | |
virtual void | generateAlternateRep () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual void | clearAlternateRep () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
Static Public Member Functions | |
static void | initClass () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
Public Attributes | |
SoSFBool | solid |
SoSFBool | reducedWireFrame |
SoSFNode | alternateRep |
Protected Member Functions | |
virtual void | computeBBox (SoAction *, SbBox3f &, SbVec3f &) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual void | generatePrimitives (SoAction *) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual void | doAction (SoAction *) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual | ~Geant4_SoPolyhedron () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
SoPolyhedron is an Inventor encapsulation of the G4Polyedron class written by E.Chernyaev. In particular SoPolyhedron permits to represent boolean operations over solids. To avoid clashes with other libraries (Geant4) where the G4Polyhedron classes may be found, the G4Polyhedron (through usage of CPP macros) had been renamed G4Polyhedron in the HEPVis lib. The solids are modeled with G4Polyedron objects. The G4Polyhedron permits to produce a new G4Polyhedron according to the boolean operation done on them. The resulting G4Polyhedron 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 54 of file Geant4_SoPolyhedron.h.
Geant4_SoPolyhedron::Geant4_SoPolyhedron | ( | ) |
Definition at line 71 of file SoPolyhedron.cc.
Geant4_SoPolyhedron::Geant4_SoPolyhedron | ( | const G4Polyhedron & | aPolyhedron | ) |
Definition at line 83 of file SoPolyhedron.cc.
Geant4_SoPolyhedron::Geant4_SoPolyhedron | ( | G4Polyhedron * | aPolyhedron | ) |
Definition at line 98 of file SoPolyhedron.cc.
|
protectedvirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 111 of file SoPolyhedron.cc.
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 539 of file SoPolyhedron.cc.
|
protectedvirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 252 of file SoPolyhedron.cc.
|
protectedvirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 547 of file SoPolyhedron.cc.
|
virtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 323 of file SoPolyhedron.cc.
|
protectedvirtual |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 119 of file SoPolyhedron.cc.
|
static |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 59 of file SoPolyhedron.cc.
Referenced by G4OpenInventor::InitNodes().
SoSFNode Geant4_SoPolyhedron::alternateRep |
Definition at line 62 of file Geant4_SoPolyhedron.h.
Referenced by clearAlternateRep(), Geant4_SoPolyhedron(), Geant4_SoPolyhedron(), Geant4_SoPolyhedron(), and generateAlternateRep().
SoSFBool Geant4_SoPolyhedron::reducedWireFrame |
Definition at line 61 of file Geant4_SoPolyhedron.h.
Referenced by G4OpenInventorSceneHandler::AddPrimitive(), Geant4_SoPolyhedron(), Geant4_SoPolyhedron(), Geant4_SoPolyhedron(), generateAlternateRep(), and generatePrimitives().
SoSFBool Geant4_SoPolyhedron::solid |
Definition at line 60 of file Geant4_SoPolyhedron.h.
Referenced by G4OpenInventorSceneHandler::AddPrimitive(), Geant4_SoPolyhedron(), Geant4_SoPolyhedron(), Geant4_SoPolyhedron(), generateAlternateRep(), and generatePrimitives().