ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SoTrap Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/OpenInventor/include/HEPVis/nodes/SoTrap.h>

+ Inheritance diagram for SoTrap:
+ Collaboration diagram for SoTrap:

Public Member Functions

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

Static Public Member Functions

static void initClass ()
 Class Initializer, required.
 

Public Attributes

SoSFFloat pDz
 half-length along Z
 
SoSFFloat pTheta
 Polar angle of the line joining the centres of the faces at -/+pDz.
 
SoSFFloat pPhi
 
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
 
SoSFFloat pAlp2
 
SoSFNode alternateRep
 Alternate rep - required.
 

Protected Member Functions

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

Private Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 81 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 81 of file SoTrap.h

Constructor & Destructor Documentation

SoTrap::SoTrap ( )

Constructor, required.

virtual SoTrap::~SoTrap ( )
protectedvirtual

Destructor, required.

Member Function Documentation

virtual void SoTrap::clearAlternateRep ( )
virtual

We better be able to clear it, too!

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

compute bounding Box, required

virtual void SoTrap::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.

void SoTrap::generateChildren ( )
private

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

virtual void SoTrap::generatePrimitives ( SoAction *  action)
protectedvirtual

Generate Primitives, required.

virtual SoChildList* SoTrap::getChildren ( ) const
protectedvirtual

GetChildList, required whenever the class has hidden children.

static void SoTrap::initClass ( )
static

Class Initializer, required.

SoTrap::SO_NODE_HEADER ( SoTrap  )
private
void SoTrap::updateChildren ( )
private

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

Member Data Documentation

SoSFNode SoTrap::alternateRep

Alternate rep - required.

Definition at line 145 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 145 of file SoTrap.h

SoChildList* SoTrap::children
private

ChildList. Required whenever the class has hidden children.

Definition at line 210 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 210 of file SoTrap.h

SoSFFloat SoTrap::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

Definition at line 135 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 135 of file SoTrap.h

SoSFFloat SoTrap::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

Definition at line 140 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 140 of file SoTrap.h

SoSFFloat SoTrap::pDx1

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

Definition at line 114 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 114 of file SoTrap.h

SoSFFloat SoTrap::pDx2

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

Definition at line 118 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 118 of file SoTrap.h

SoSFFloat SoTrap::pDx3

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

Definition at line 126 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 126 of file SoTrap.h

SoSFFloat SoTrap::pDx4

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

Definition at line 130 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 130 of file SoTrap.h

SoSFFloat SoTrap::pDy1

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

Definition at line 110 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 110 of file SoTrap.h

SoSFFloat SoTrap::pDy2

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

Definition at line 122 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 122 of file SoTrap.h

SoSFFloat SoTrap::pDz

half-length along Z

Definition at line 97 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 97 of file SoTrap.h

SoSFFloat SoTrap::pPhi

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

Definition at line 106 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 106 of file SoTrap.h

SoSFFloat SoTrap::pTheta

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

Definition at line 101 of file SoTrap.h.

View newest version in sPHENIX GitHub at line 101 of file SoTrap.h


The documentation for this class was generated from the following file: