Geant4-11
|
#include <SoTrd.h>
Public Member Functions | |
virtual void | clearAlternateRep () |
We better be able to clear it, too! More... | |
virtual void | generateAlternateRep () |
SoTrd () | |
Constructor, required. More... | |
Static Public Member Functions | |
static void | initClass () |
Class Initializer, required. More... | |
Data Fields | |
SoSFNode | alternateRep |
Alternate rep - required. More... | |
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... | |
Protected Member Functions | |
virtual void | computeBBox (SoAction *action, SbBox3f &box, SbVec3f ¢er) |
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 | |
void | generateChildren () |
SO_NODE_HEADER (SoTrd) | |
This is required. More... | |
void | updateChildren () |
Private Attributes | |
SoChildList * | children |
ChildList. Required whenever the class has hidden children. More... | |
SoTrd::SoTrd | ( | ) |
Constructor, required.
Definition at line 67 of file SoTrd.cc.
References alternateRep, children, fDx1, fDx2, fDy1, fDy2, and fDz.
|
protectedvirtual |
|
virtual |
We better be able to clear it, too!
Definition at line 343 of file SoTrd.cc.
References alternateRep.
|
protectedvirtual |
|
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.
Definition at line 332 of file SoTrd.cc.
References alternateRep, children, generateChildren(), and updateChildren().
|
private |
Generate Children. Used to create the hidden children. Required whenever the node has hidden children.
Definition at line 308 of file SoTrd.cc.
References children.
Referenced by generateAlternateRep().
|
protectedvirtual |
Generate Primitives, required.
Definition at line 84 of file SoTrd.cc.
References geant4_check_module_cycles::action, FATAN, FCOS, fDx1, fDx2, fDy1, fDy2, fDz, FSIN, GEN_VERTEX, and CLHEP::normal().
|
protectedvirtual |
|
static |
Class Initializer, required.
Definition at line 59 of file SoTrd.cc.
Referenced by G4OpenInventor::InitNodes().
|
private |
This is required.
|
private |
Used to modify hidden children when a data field is changed. Required whenever the class has hidden children.
Definition at line 247 of file SoTrd.cc.
References children, FATAN, FCOS, fDx1, fDx2, fDy1, fDy2, fDz, and FSIN.
Referenced by generateAlternateRep().
SoSFNode SoTrd::alternateRep |
Alternate rep - required.
Definition at line 99 of file SoTrd.h.
Referenced by clearAlternateRep(), generateAlternateRep(), and SoTrd().
|
private |
ChildList. Required whenever the class has hidden children.
Definition at line 167 of file SoTrd.h.
Referenced by generateAlternateRep(), generateChildren(), getChildren(), SoTrd(), updateChildren(), and ~SoTrd().
SoSFFloat SoTrd::fDx1 |
half-length of x, at -fDz
Definition at line 74 of file SoTrd.h.
Referenced by computeBBox(), generatePrimitives(), SoTrd(), and updateChildren().
SoSFFloat SoTrd::fDx2 |
half-length of x, at +fDz
Definition at line 79 of file SoTrd.h.
Referenced by computeBBox(), generatePrimitives(), SoTrd(), and updateChildren().
SoSFFloat SoTrd::fDy1 |
half-length of y, at -fDz
Definition at line 84 of file SoTrd.h.
Referenced by computeBBox(), generatePrimitives(), SoTrd(), and updateChildren().
SoSFFloat SoTrd::fDy2 |
half-length of y, at +fDz
Definition at line 89 of file SoTrd.h.
Referenced by computeBBox(), generatePrimitives(), SoTrd(), and updateChildren().
SoSFFloat SoTrd::fDz |
half-length along Z
Definition at line 94 of file SoTrd.h.
Referenced by computeBBox(), generatePrimitives(), SoTrd(), and updateChildren().