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 pDx2
Half-length along x of the side at y=+pDy1 of the face at -pDz.
SoSFFloat pDz
half-length along Z
SoSFFloat pDx4
Half-length along x of the side at y=+pDy2 of the face at +pDz.
SoSFFloat pDy1
Half-length along y of the face at -pDz.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
compute bounding Box, required
static void initClass()
Class Initializer, required.
virtual void generatePrimitives(SoAction *action)
Generate Primitives, required.
SoTrap()
Constructor, required.
SoSFFloat pTheta
Polar angle of the line joining the centres of the faces at -/+pDz.
SoSFFloat pDx3
Half-length along x of the side at y=-pDy2 of the face at +pDz.
virtual SoChildList * getChildren() const
GetChildList, required whenever the class has hidden children.
SoSFFloat pDx1
Half-length along x of the side at y=-pDy1 of the face at -pDz.
virtual ~SoTrap()
Destructor, required.
virtual void clearAlternateRep()
We better be able to clear it, too!
virtual void generateAlternateRep()
SoSFFloat pDy2
Half-length along y of the face at +pDz.
SoSFNode alternateRep
Alternate rep - required.