36 #ifndef HEPVis_SoTrap_h
37 #define HEPVis_SoTrap_h
40 #include <Inventor/nodes/SoShape.h>
42 #include <Inventor/fields/SoSFNode.h>
43 #include <Inventor/fields/SoSFBool.h>
44 #include <Inventor/fields/SoSFFloat.h>
48 #include <SoWinEnterScope.h>
54 #include <SoWinLeaveScope.h>
80 #define SoTrap Geant4_SoTrap
88 #if defined(WIN32) && defined(BUILDING_DLL)
177 virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er );
216 #include <SoWinEnterScope.h>
SoSFFloat pDx2
Half-length along x of the side at y=+pDy1 of the face at -pDz.
SoChildList * children
ChildList. Required whenever the class has hidden children.
SoSFFloat pTheta
Polar angle of the line joining the centres of the faces at -/+pDz.
virtual ~SoTrap()
Destructor, required.
SoSFFloat pDz
half-length along Z
virtual void clearAlternateRep()
We better be able to clear it, too!
SoSFFloat pDy2
Half-length along y of the face at +pDz.
virtual void generateAlternateRep()
SoSFFloat pDy1
Half-length along y of the face at -pDz.
SoTrap()
Constructor, required.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
compute bounding Box, required
virtual SoChildList * getChildren() const
GetChildList, required whenever the class has hidden children.
SoSFNode alternateRep
Alternate rep - required.
SoSFFloat pDx4
Half-length along x of the side at y=+pDy2 of the face at +pDz.
SoSFFloat pDx1
Half-length along x of the side at y=-pDy1 of the face at -pDz.
virtual void generatePrimitives(SoAction *action)
Generate Primitives, required.
static void initClass()
Class Initializer, required.
SoSFFloat pDx3
Half-length along x of the side at y=-pDy2 of the face at +pDz.