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

#include <SoTrd.h>

+ Inheritance diagram for SoTrd:

Public Member Functions

 SoTrd ()
 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 fDx1
 half-length of x, at -fDz
 
SoSFFloat fDx2
 half-length of x, at +fDz
 
SoSFFloat fDy1
 half-length of y, at -fDz
 
SoSFFloat fDy2
 half-length of y, at +fDz
 
SoSFFloat fDz
 half-length along Z
 
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 ~SoTrd ()
 Destructor, required.
 

Detailed Description

Definition at line 63 of file SoTrd.h.

Constructor & Destructor Documentation

◆ SoTrd()

SoTrd::SoTrd ( )

Constructor, required.

◆ ~SoTrd()

virtual SoTrd::~SoTrd ( )
protectedvirtual

Destructor, required.

Member Function Documentation

◆ clearAlternateRep()

virtual void SoTrd::clearAlternateRep ( )
virtual

We better be able to clear it, too!

◆ computeBBox()

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

compute bounding Box, required

◆ generateAlternateRep()

virtual void SoTrd::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 SoTrd::generatePrimitives ( SoAction *  action)
protectedvirtual

Generate Primitives, required.

◆ getChildren()

virtual SoChildList * SoTrd::getChildren ( ) const
protectedvirtual

GetChildList, required whenever the class has hidden children.

◆ initClass()

static void SoTrd::initClass ( )
static

Class Initializer, required.

Member Data Documentation

◆ alternateRep

SoSFNode SoTrd::alternateRep

Alternate rep - required.

Definition at line 100 of file SoTrd.h.

◆ fDx1

SoSFFloat SoTrd::fDx1

half-length of x, at -fDz

Definition at line 75 of file SoTrd.h.

◆ fDx2

SoSFFloat SoTrd::fDx2

half-length of x, at +fDz

Definition at line 80 of file SoTrd.h.

◆ fDy1

SoSFFloat SoTrd::fDy1

half-length of y, at -fDz

Definition at line 85 of file SoTrd.h.

◆ fDy2

SoSFFloat SoTrd::fDy2

half-length of y, at +fDz

Definition at line 90 of file SoTrd.h.

◆ fDz

SoSFFloat SoTrd::fDz

half-length along Z

Definition at line 95 of file SoTrd.h.


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