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 computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
compute bounding Box, required
SoSFFloat fDx2
half-length of x, at +fDz
virtual void generateAlternateRep()
virtual void clearAlternateRep()
We better be able to clear it, too!
SoTrd()
Constructor, required.
virtual void generatePrimitives(SoAction *action)
Generate Primitives, required.
virtual ~SoTrd()
Destructor, required.
SoSFFloat fDy2
half-length of y, at +fDz
SoSFFloat fDy1
half-length of y, at -fDz
SoSFNode alternateRep
Alternate rep - required.
static void initClass()
Class Initializer, required.
SoSFFloat fDx1
half-length of x, at -fDz
virtual SoChildList * getChildren() const
GetChildList, required whenever the class has hidden children.
SoSFFloat fDz
half-length along Z