Geant4  10.02.p03
SoTrd Class Reference

#include <SoTrd.h>

Inheritance diagram for SoTrd:
Collaboration diagram for SoTrd:

Public Member Functions

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

Private Member Functions

 SO_NODE_HEADER (SoTrd)
 This is required. More...
 
void generateChildren ()
 
void updateChildren ()
 

Private Attributes

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

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.

◆ generateChildren()

void SoTrd::generateChildren ( )
private

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

◆ 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.

◆ SO_NODE_HEADER()

SoTrd::SO_NODE_HEADER ( SoTrd  )
private

This is required.

◆ updateChildren()

void SoTrd::updateChildren ( )
private

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

Member Data Documentation

◆ alternateRep

SoSFNode SoTrd::alternateRep

Alternate rep - required.

Definition at line 100 of file SoTrd.h.

◆ children

SoChildList* SoTrd::children
private

ChildList. Required whenever the class has hidden children.

Definition at line 168 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: