Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
SoTubs Class Reference

#include <SoTubs.h>

+ Inheritance 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.
 

Detailed Description

Definition at line 71 of file SoTubs.h.

Constructor & Destructor Documentation

◆ SoTubs()

SoTubs::SoTubs ( )

Constructor, required.

◆ ~SoTubs()

virtual SoTubs::~SoTubs ( )
protectedvirtual

Destructor, required.

Member Function Documentation

◆ clearAlternateRep()

virtual void SoTubs::clearAlternateRep ( )
virtual

We better be able to clear it, too!

◆ computeBBox()

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

compute bounding Box, required

◆ generateAlternateRep()

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.

◆ generatePrimitives()

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

Generate Primitives, required.

◆ getChildren()

virtual SoChildList * SoTubs::getChildren ( ) const
protectedvirtual

GetChildList, required whenever the class has hidden children.

◆ initClass()

static void SoTubs::initClass ( )
static

Class Initializer, required.

Member Data Documentation

◆ alternateRep

SoSFNode SoTubs::alternateRep

Alternate rep - required.

Definition at line 101 of file SoTubs.h.

◆ pDPhi

SoSFFloat SoTubs::pDPhi

Delta-angle, in radians.

Definition at line 97 of file SoTubs.h.

◆ pDz

SoSFFloat SoTubs::pDz

Half-length in Z.

Definition at line 89 of file SoTubs.h.

◆ pRMax

SoSFFloat SoTubs::pRMax

Outside radius of the tube.

Definition at line 85 of file SoTubs.h.

◆ pRMin

SoSFFloat SoTubs::pRMin

Inside radius of the tube.

Definition at line 81 of file SoTubs.h.

◆ pSPhi

SoSFFloat SoTubs::pSPhi

Starting angle, in radians.

Definition at line 93 of file SoTubs.h.


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