Geant4  10.04.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SoTrap Class Reference
Inheritance diagram for SoTrap:

Public Member Functions

 SoTrap ()
 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 pDz
 half-length along Z More...
 
SoSFFloat pTheta
 Polar angle of the line joining the centres of the faces at -/+pDz. More...
 
SoSFFloat pPhi
 
SoSFFloat pDy1
 Half-length along y of the face at -pDz. More...
 
SoSFFloat pDx1
 Half-length along x of the side at y=-pDy1 of the face at -pDz. More...
 
SoSFFloat pDx2
 Half-length along x of the side at y=+pDy1 of the face at -pDz. More...
 
SoSFFloat pDy2
 Half-length along y of the face at +pDz. More...
 
SoSFFloat pDx3
 Half-length along x of the side at y=-pDy2 of the face at +pDz. More...
 
SoSFFloat pDx4
 Half-length along x of the side at y=+pDy2 of the face at +pDz. More...
 
SoSFFloat pAlp1
 
SoSFFloat pAlp2
 
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 ~SoTrap ()
 Destructor, required. More...
 

Private Member Functions

 SO_NODE_HEADER (SoTrap)
 
void generateChildren ()
 
void updateChildren ()
 

Private Attributes

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

Constructor & Destructor Documentation

SoTrap ( )

Constructor, required.

virtual ~SoTrap ( )
protectedvirtual

Destructor, required.

Member Function Documentation

SO_NODE_HEADER ( SoTrap  )
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.

Member Data Documentation

SoSFFloat pDz

half-length along Z

SoSFFloat pTheta

Polar angle of the line joining the centres of the faces at -/+pDz.

SoSFFloat pPhi

Azimuthal angle of the line joing the centre of the face at -pDz to the centre of the face at +pDz

SoSFFloat pDy1

Half-length along y of the face at -pDz.

SoSFFloat pDx1

Half-length along x of the side at y=-pDy1 of the face at -pDz.

SoSFFloat pDx2

Half-length along x of the side at y=+pDy1 of the face at -pDz.

SoSFFloat pDy2

Half-length along y of the face at +pDz.

SoSFFloat pDx3

Half-length along x of the side at y=-pDy2 of the face at +pDz.

SoSFFloat pDx4

Half-length along x of the side at y=+pDy2 of the face at +pDz.

SoSFFloat pAlp1

Angle with respect to the y axis from the centre of the side at y=-pDy1 to the centre at y=+pDy1 of the face at -pDz

SoSFFloat pAlp2

Angle with respect to the y axis from the centre of the side at y=-pDy2 to the centre at y=+pDy2 of the face at +pDz

SoSFNode alternateRep

Alternate rep - required.

SoChildList* children
private

ChildList. Required whenever the class has hidden children.