Geant4-11
|
#include <SoCons.h>
Public Member Functions | |
virtual void | clearAlternateRep () |
We better be able to clear it, too! More... | |
virtual void | generateAlternateRep () |
SoCons () | |
Constructor, required. More... | |
Static Public Member Functions | |
static void | initClass () |
Class Initializer, required. More... | |
Data Fields | |
SoSFNode | alternateRep |
Alternate rep required - for use by users without HEPVis shared objects. More... | |
SoSFFloat | fDPhi |
Delta-angle, in radians. More... | |
SoSFFloat | fDz |
Half-length along Z. More... | |
SoSFFloat | fRmax1 |
Outside radius at -fDz. More... | |
SoSFFloat | fRmax2 |
Outside radius at +fDz. More... | |
SoSFFloat | fRmin1 |
Inside radius at -fDz. More... | |
SoSFFloat | fRmin2 |
Inside radius at +fDz. More... | |
SoSFFloat | fSPhi |
Starting angle, in radians. More... | |
SoSFBool | smoothDraw |
An Inventor option - slightly better render, worse performance. 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 | ~SoCons () |
Destructor, required. More... | |
Private Member Functions | |
void | generateChildren () |
void | inc (double &sinPhi, double &cosPhi, double sinDeltaPhi, double cosDeltaPhi) const |
help with trigonometry. increments sines an cosines by an angle. More... | |
SO_NODE_HEADER (SoCons) | |
void | updateChildren () |
Private Attributes | |
SoChildList * | children |
ChildList. Required whenever the class has hidden children. More... | |
SoCons::SoCons | ( | ) |
Constructor, required.
Definition at line 60 of file SoCons.cc.
|
protectedvirtual |
|
virtual |
We better be able to clear it, too!
Definition at line 442 of file SoCons.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 431 of file SoCons.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 407 of file SoCons.cc.
References children.
Referenced by generateAlternateRep().
|
protectedvirtual |
Generate Primitives, required.
Definition at line 95 of file SoCons.cc.
References geant4_check_module_cycles::action, fDPhi, fDz, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, GEN_VERTEX, inc(), M_PI, and CLHEP::normal().
|
protectedvirtual |
|
inlineprivate |
help with trigonometry. increments sines an cosines by an angle.
Definition at line 185 of file SoCons.h.
Referenced by generatePrimitives().
|
static |
Class Initializer, required.
Definition at line 84 of file SoCons.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 254 of file SoCons.cc.
References children, FATAN, FCOS, fDPhi, fDz, fRmax1, fRmax2, fRmin1, fRmin2, FSIN, fSPhi, G4InuclParticleNames::pp, and smoothDraw.
Referenced by generateAlternateRep().
SoSFNode SoCons::alternateRep |
Alternate rep required - for use by users without HEPVis shared objects.
Definition at line 113 of file SoCons.h.
Referenced by clearAlternateRep(), and generateAlternateRep().
|
private |
ChildList. Required whenever the class has hidden children.
Definition at line 180 of file SoCons.h.
Referenced by generateAlternateRep(), generateChildren(), getChildren(), updateChildren(), and ~SoCons().
SoSFFloat SoCons::fDPhi |
Delta-angle, in radians.
Definition at line 105 of file SoCons.h.
Referenced by generatePrimitives(), and updateChildren().
SoSFFloat SoCons::fDz |
Half-length along Z.
Definition at line 97 of file SoCons.h.
Referenced by computeBBox(), generatePrimitives(), and updateChildren().
SoSFFloat SoCons::fRmax1 |
Outside radius at -fDz.
Definition at line 89 of file SoCons.h.
Referenced by computeBBox(), generatePrimitives(), and updateChildren().
SoSFFloat SoCons::fRmax2 |
Outside radius at +fDz.
Definition at line 93 of file SoCons.h.
Referenced by computeBBox(), generatePrimitives(), and updateChildren().
SoSFFloat SoCons::fRmin1 |
Inside radius at -fDz.
Definition at line 81 of file SoCons.h.
Referenced by generatePrimitives(), and updateChildren().
SoSFFloat SoCons::fRmin2 |
Inside radius at +fDz.
Definition at line 85 of file SoCons.h.
Referenced by generatePrimitives(), and updateChildren().
SoSFFloat SoCons::fSPhi |
Starting angle, in radians.
Definition at line 101 of file SoCons.h.
Referenced by generatePrimitives(), and updateChildren().
SoSFBool SoCons::smoothDraw |
An Inventor option - slightly better render, worse performance.
Definition at line 109 of file SoCons.h.
Referenced by updateChildren().