36 #ifndef HEPVis_SoBox_h
37 #define HEPVis_SoBox_h
39 #include <Inventor/fields/SoSFFloat.h>
40 #include <Inventor/fields/SoSFNode.h>
41 #include <Inventor/nodes/SoShape.h>
62 #define SoBox Geant4_SoBox
67 SO_NODE_HEADER(
SoBox);
117 virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er );
142 void generateChildren();
148 void updateChildren();
153 SoChildList *children;
virtual SoChildList * getChildren() const
GetChildList, required whenever the class has hidden children.
SoBox()
Constructor, required.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
compute bounding Box, required
SoSFFloat fDy
Half-length along Y.
static void initClass()
Class Initializer, required.
virtual void generateAlternateRep()
SoSFNode alternateRep
Alternate rep - for use by users without HEPVis shared objects.
virtual void generatePrimitives(SoAction *action)
Generate Primitives, required.
SoSFFloat fDz
Half-length along Z.
virtual ~SoBox()
Destructor, required.
virtual void clearAlternateRep()
We better be able to clear it, too!
SoSFFloat fDx
Half-length along X.