35#ifndef HEPVis_SoCons_h
36#define HEPVis_SoCons_h
38#include <Inventor/fields/SoSFFloat.h>
39#include <Inventor/fields/SoSFNode.h>
40#include <Inventor/fields/SoSFBool.h>
41#include <Inventor/nodes/SoShape.h>
69#define SoCons Geant4_SoCons
144 virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er );
169 void generateChildren();
175 void updateChildren();
180 SoChildList *children;
185 void inc(
double & sinPhi,
double & cosPhi,
double sinDeltaPhi,
double cosDeltaPhi)
const {
186 double oldSin=sinPhi,oldCos=cosPhi;
187 sinPhi = oldSin*cosDeltaPhi+oldCos*sinDeltaPhi;
188 cosPhi = oldCos*cosDeltaPhi-oldSin*sinDeltaPhi;
#define SoCons
SoCons - Inventor version of the G4Cons Geant Geometry entity.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
compute bounding Box, required
SoSFFloat fDPhi
Delta-angle, in radians.
virtual void generateAlternateRep()
virtual void clearAlternateRep()
We better be able to clear it, too!
static void initClass()
Class Initializer, required.
SoSFFloat fSPhi
Starting angle, in radians.
SoSFFloat fRmax2
Outside radius at +fDz.
virtual void generatePrimitives(SoAction *action)
Generate Primitives, required.
SoSFFloat fRmax1
Outside radius at -fDz.
SoSFFloat fRmin1
Inside radius at -fDz.
SoSFFloat fRmin2
Inside radius at +fDz.
SoSFNode alternateRep
Alternate rep required - for use by users without HEPVis shared objects.
SoSFFloat fDz
Half-length along Z.
virtual SoChildList * getChildren() const
GetChildList, required whenever the class has hidden children.
SoSFBool smoothDraw
An Inventor option - slightly better render, worse performance.