Geant4  10.07.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SoCons Class Reference
Inheritance diagram for SoCons:

Public Member Functions

 SoCons ()
 Constructor, required. More...
 
virtual void generateAlternateRep ()
 
virtual void clearAlternateRep ()
 We better be able to clear it, too! More...
 

Static Public Member Functions

static void initClass ()
 Class Initializer, required. More...
 

Public Attributes

SoSFFloat fRmin1
 Inside radius at -fDz. More...
 
SoSFFloat fRmin2
 Inside radius at +fDz. More...
 
SoSFFloat fRmax1
 Outside radius at -fDz. More...
 
SoSFFloat fRmax2
 Outside radius at +fDz. More...
 
SoSFFloat fDz
 Half-length along Z. More...
 
SoSFFloat fSPhi
 Starting angle, in radians. More...
 
SoSFFloat fDPhi
 Delta-angle, in radians. More...
 
SoSFBool smoothDraw
 An Inventor option - slightly better render, worse performance. More...
 
SoSFNode alternateRep
 Alternate rep required - for use by users without HEPVis shared objects. More...
 

Protected Member Functions

virtual void computeBBox (SoAction *action, SbBox3f &box, SbVec3f &center)
 compute bounding Box, required More...
 
virtual void generatePrimitives (SoAction *action)
 Generate Primitives, required. More...
 
virtual SoChildList * getChildren () const
 GetChildList, required whenever the class has hidden children. More...
 
virtual ~SoCons ()
 Destructor, required. More...
 

Private Member Functions

 SO_NODE_HEADER (SoCons)
 
void generateChildren ()
 
void updateChildren ()
 
void inc (double &sinPhi, double &cosPhi, double sinDeltaPhi, double cosDeltaPhi) const
 help with trigonometry. increments sines an cosines by an angle. More...
 

Private Attributes

SoChildList * children
 ChildList. Required whenever the class has hidden children. More...
 

Constructor & Destructor Documentation

SoCons ( )

Constructor, required.

virtual ~SoCons ( )
protectedvirtual

Destructor, required.

Member Function Documentation

SO_NODE_HEADER ( SoCons  )
private
static void initClass ( )
static

Class Initializer, required.

virtual void generateAlternateRep ( )
virtual

Generate AlternateRep, required. Generating an alternate representation must be done upon users request. It allows an Inventor program to read back the file without requiring this code to be dynamically linked. If the users expects that this code will be dynamically linked, he need not invoke this method.

virtual void clearAlternateRep ( )
virtual

We better be able to clear it, too!

virtual void computeBBox ( SoAction *  action,
SbBox3f &  box,
SbVec3f &  center 
)
protectedvirtual

compute bounding Box, required

virtual void generatePrimitives ( SoAction *  action)
protectedvirtual

Generate Primitives, required.

virtual SoChildList* getChildren ( ) const
protectedvirtual

GetChildList, required whenever the class has hidden children.

void generateChildren ( )
private

Generate Children. Used to create the hidden children. Required whenever the node has hidden children.

void updateChildren ( )
private

Used to modify hidden children when a data field is changed. Required whenever the class has hidden children.

void inc ( double &  sinPhi,
double &  cosPhi,
double  sinDeltaPhi,
double  cosDeltaPhi 
) const
private

help with trigonometry. increments sines an cosines by an angle.

Member Data Documentation

SoSFFloat fRmin1

Inside radius at -fDz.

SoSFFloat fRmin2

Inside radius at +fDz.

SoSFFloat fRmax1

Outside radius at -fDz.

SoSFFloat fRmax2

Outside radius at +fDz.

SoSFFloat fDz

Half-length along Z.

SoSFFloat fSPhi

Starting angle, in radians.

SoSFFloat fDPhi

Delta-angle, in radians.

SoSFBool smoothDraw

An Inventor option - slightly better render, worse performance.

SoSFNode alternateRep

Alternate rep required - for use by users without HEPVis shared objects.

SoChildList* children
private

ChildList. Required whenever the class has hidden children.