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>
#define SoTrap
SoTrap - Inventor version of the G4Trap Geant Geometry entity.
SoSFFloat pDx2
Half-length along x of the side at y=+pDy1 of the face at -pDz.
SoSFFloat pDz
half-length along Z
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.
SoSFFloat pDy1
Half-length along y of the face at -pDz.
virtual void generateAlternateRep()
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
compute bounding Box, 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.
SoSFFloat pDx1
Half-length along x of the side at y=-pDy1 of the face at -pDz.
static void initClass()
Class Initializer, required.
virtual SoChildList * getChildren() const
GetChildList, required whenever the class has hidden children.
virtual void generatePrimitives(SoAction *action)
Generate Primitives, required.
SoSFFloat pDy2
Half-length along y of the face at +pDz.
SoSFNode alternateRep
Alternate rep - required.