36 #ifndef HEPVis_SoTrd_h
37 #define HEPVis_SoTrd_h
39 #include <Inventor/fields/SoSFFloat.h>
40 #include <Inventor/fields/SoSFNode.h>
41 #include <Inventor/fields/SoSFBool.h>
42 #include <Inventor/nodes/SoShape.h>
61 #define SoTrd Geant4_SoTrd
68 SO_NODE_HEADER(
SoTrd);
131 virtual void computeBBox(SoAction *action, SbBox3f &
box, SbVec3f ¢er );
157 void generateChildren();
163 void updateChildren();
168 SoChildList *children;
virtual void generateAlternateRep()
virtual SoChildList * getChildren() const
GetChildList, required whenever the class has hidden children.
virtual ~SoTrd()
Destructor, required.
SoSFFloat fDy1
half-length of y, at -fDz
SoSFNode alternateRep
Alternate rep - required.
SoSFFloat fDx2
half-length of x, at +fDz
static void initClass()
Class Initializer, required.
SoSFFloat fDy2
half-length of y, at +fDz
virtual void clearAlternateRep()
We better be able to clear it, too!
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
compute bounding Box, required
SoTrd()
Constructor, required.
SoSFFloat fDz
half-length along Z
SoSFFloat fDx1
half-length of x, at -fDz
virtual void generatePrimitives(SoAction *action)
Generate Primitives, required.