Geant4-11
|
#include <SoBox.h>
Public Member Functions | |
virtual void | clearAlternateRep () |
We better be able to clear it, too! More... | |
virtual void | generateAlternateRep () |
SoBox () | |
Constructor, required. More... | |
Static Public Member Functions | |
static void | initClass () |
Class Initializer, required. More... | |
Data Fields | |
SoSFNode | alternateRep |
Alternate rep - for use by users without HEPVis shared objects. More... | |
SoSFFloat | fDx |
Half-length along X. More... | |
SoSFFloat | fDy |
Half-length along Y. 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 | ~SoBox () |
Destructor, required. More... | |
Private Member Functions | |
void | generateChildren () |
SO_NODE_HEADER (SoBox) | |
void | updateChildren () |
Private Attributes | |
SoChildList * | children |
ChildList. Required whenever the class has hidden children. More... | |
SoBox::SoBox | ( | ) |
Constructor, required.
Definition at line 58 of file SoBox.cc.
|
protectedvirtual |
|
virtual |
We better be able to clear it, too!
Definition at line 278 of file SoBox.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 267 of file SoBox.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 251 of file SoBox.cc.
References children.
Referenced by generateAlternateRep().
|
protectedvirtual |
Generate Primitives, required.
Definition at line 88 of file SoBox.cc.
References geant4_check_module_cycles::action, fDx, fDy, fDz, GEN_VERTEX, and CLHEP::normal().
|
protectedvirtual |
|
static |
Class Initializer, required.
Definition at line 77 of file SoBox.cc.
Referenced by G4OpenInventor::InitNodes().
|
private |
|
private |
Used to modify hidden children when a data field is changed. Required whenever the class has hidden children.
Definition at line 238 of file SoBox.cc.
References children, fDx, fDy, and fDz.
Referenced by generateAlternateRep().
SoSFNode SoBox::alternateRep |
Alternate rep - for use by users without HEPVis shared objects.
Definition at line 85 of file SoBox.h.
Referenced by clearAlternateRep(), and generateAlternateRep().
|
private |
ChildList. Required whenever the class has hidden children.
Definition at line 152 of file SoBox.h.
Referenced by generateAlternateRep(), generateChildren(), getChildren(), updateChildren(), and ~SoBox().
SoSFFloat SoBox::fDx |
Half-length along X.
Definition at line 73 of file SoBox.h.
Referenced by computeBBox(), generatePrimitives(), and updateChildren().
SoSFFloat SoBox::fDy |
Half-length along Y.
Definition at line 77 of file SoBox.h.
Referenced by computeBBox(), generatePrimitives(), and updateChildren().
SoSFFloat SoBox::fDz |
Half-length along Z.
Definition at line 81 of file SoBox.h.
Referenced by computeBBox(), generatePrimitives(), and updateChildren().