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