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

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

+ Inheritance diagram for SoTubs:
+ Collaboration diagram for SoTubs:

Public Member Functions

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

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 ~SoTubs ()
 Destructor, required.
 

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.
 

Private Attributes

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

Detailed Description

Definition at line 71 of file SoTubs.h.

View newest version in sPHENIX GitHub at line 71 of file SoTubs.h

Constructor & Destructor Documentation

SoTubs::SoTubs ( )

Constructor, required.

virtual SoTubs::~SoTubs ( )
protectedvirtual

Destructor, required.

Member Function Documentation

virtual void SoTubs::clearAlternateRep ( )
virtual

We better be able to clear it, too!

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

compute bounding Box, required

virtual void SoTubs::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 SoTubs::generateChildren ( )
private

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

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

Generate Primitives, required.

virtual SoChildList* SoTubs::getChildren ( ) const
protectedvirtual

GetChildList, required whenever the class has hidden children.

void SoTubs::inc ( double &  sinPhi,
double &  cosPhi,
double  sinDeltaPhi,
double  cosDeltaPhi 
) const
inlineprivate

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

Definition at line 173 of file SoTubs.h.

View newest version in sPHENIX GitHub at line 173 of file SoTubs.h

static void SoTubs::initClass ( )
static

Class Initializer, required.

SoTubs::SO_NODE_HEADER ( SoTubs  )
private
void SoTubs::updateChildren ( )
private

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

Member Data Documentation

SoSFNode SoTubs::alternateRep

Alternate rep - required.

Definition at line 101 of file SoTubs.h.

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

SoChildList* SoTubs::children
private

ChildList. Required whenever the class has hidden children.

Definition at line 168 of file SoTubs.h.

View newest version in sPHENIX GitHub at line 168 of file SoTubs.h

SoSFFloat SoTubs::pDPhi

Delta-angle, in radians.

Definition at line 97 of file SoTubs.h.

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

SoSFFloat SoTubs::pDz

Half-length in Z.

Definition at line 89 of file SoTubs.h.

View newest version in sPHENIX GitHub at line 89 of file SoTubs.h

SoSFFloat SoTubs::pRMax

Outside radius of the tube.

Definition at line 85 of file SoTubs.h.

View newest version in sPHENIX GitHub at line 85 of file SoTubs.h

SoSFFloat SoTubs::pRMin

Inside radius of the tube.

Definition at line 81 of file SoTubs.h.

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

SoSFFloat SoTubs::pSPhi

Starting angle, in radians.

Definition at line 93 of file SoTubs.h.

View newest version in sPHENIX GitHub at line 93 of file SoTubs.h


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