38#include <Inventor/fields/SoSFFloat.h>
39#include <Inventor/fields/SoSFNode.h>
40#include <Inventor/fields/SoSFBool.h>
41#include <Inventor/nodes/SoShape.h>
60#define SoTrd Geant4_SoTrd
67 SO_NODE_HEADER(
SoTrd);
130 virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er );
156 void generateChildren();
162 void updateChildren();
167 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