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 );
 
  200   void generateChildren();  
 
  206   void updateChildren();
 
  211   SoChildList *children;
 
  216 #include <SoWinEnterScope.h> 
SoSFFloat pDy2
Half-length along y of the face at +pDz. 
 
SoSFFloat pDz
half-length along Z 
 
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. 
 
SoSFFloat pDy1
Half-length along y of the face at -pDz. 
 
virtual void generateAlternateRep()
 
SoSFNode alternateRep
Alternate rep - required. 
 
SoTrap()
Constructor, required. 
 
SoSFFloat pDx3
Half-length along x of the side at y=-pDy2 of the face at +pDz. 
 
virtual void generatePrimitives(SoAction *action)
Generate Primitives, required. 
 
SoSFFloat pDx2
Half-length along x of the side at y=+pDy1 of the face at -pDz. 
 
virtual ~SoTrap()
Destructor, required. 
 
SoSFFloat pTheta
Polar angle of the line joining the centres of the faces at -/+pDz. 
 
virtual void clearAlternateRep()
We better be able to clear it, too! 
 
SoSFFloat pDx4
Half-length along x of the side at y=+pDy2 of the face at +pDz. 
 
static void initClass()
Class Initializer, required. 
 
SoSFFloat pDx1
Half-length along x of the side at y=-pDy1 of the face at -pDz.