35#ifndef HEPVis_SoTrap_h
36#define HEPVis_SoTrap_h
39#include <Inventor/nodes/SoShape.h>
41#include <Inventor/fields/SoSFNode.h>
42#include <Inventor/fields/SoSFBool.h>
43#include <Inventor/fields/SoSFFloat.h>
47#include <SoWinEnterScope.h>
53#include <SoWinLeaveScope.h>
79#define SoTrap Geant4_SoTrap
87#if defined(WIN32) && defined(BUILDING_DLL)
176 virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er );
199 void generateChildren();
205 void updateChildren();
210 SoChildList *children;
215#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.