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

Public Member Functions

 SoTubs ()
 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 pRMin
 Inside radius of the tube. More...
 
SoSFFloat pRMax
 Outside radius of the tube. More...
 
SoSFFloat pDz
 Half-length in Z. More...
 
SoSFFloat pSPhi
 Starting angle, in radians. More...
 
SoSFFloat pDPhi
 Delta-angle, in radians. More...
 
SoSFNode alternateRep
 Alternate rep - required. 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 ~SoTubs ()
 Destructor, required. More...
 

Private Member Functions

 SO_NODE_HEADER (SoTubs)
 
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

SoTubs ( )

Constructor, required.

virtual ~SoTubs ( )
protectedvirtual

Destructor, required.

Member Function Documentation

SO_NODE_HEADER ( SoTubs  )
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 pRMin

Inside radius of the tube.

SoSFFloat pRMax

Outside radius of the tube.

SoSFFloat pDz

Half-length in Z.

SoSFFloat pSPhi

Starting angle, in radians.

SoSFFloat pDPhi

Delta-angle, in radians.

SoSFNode alternateRep

Alternate rep - required.

SoChildList* children
private

ChildList. Required whenever the class has hidden children.