|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef HEPVis_SoLAr_h
14 #define HEPVis_SoLAr_h
16 #include <Inventor/C/errors/debugerror.h>
17 #include <Inventor/fields/SoSFFloat.h>
18 #include <Inventor/fields/SoMFFloat.h>
19 #include <Inventor/fields/SoSFInt32.h>
20 #include <Inventor/fields/SoSFNode.h>
21 #include <Inventor/fields/SoSFBool.h>
22 #include <Inventor/nodes/SoShape.h>
147 void inc(
double & sinPhi,
double & cosPhi,
double sinDeltaPhi,
double cosDeltaPhi)
const {
148 double oldSin=sinPhi,oldCos=cosPhi;
149 sinPhi = oldSin*cosDeltaPhi+oldCos*sinDeltaPhi;
150 cosPhi = oldCos*cosDeltaPhi-oldSin*sinDeltaPhi;
SoLAr - Inventor version of the G4Cons Geant Geometry entity.
virtual void generatePrimitives(SoAction *action)
Generate Primitives, required.
SoSFBool smoothDraw
An Inventor option - slightly better render, worse performance.
SoMFFloat fRmax
Outside radii.
virtual SoChildList * getChildren() const
GetChildList, required whenever the class has hidden children.
void generateChildren()
Generate Children.
virtual ~SoLAr()
Destructor, required.
SoLAr()
Constructor, required.
virtual void clearAlternateRep()
We better be able to clear it, too!
SoMFFloat fDz
Z Positions.
SoSFNode alternateRep
Alternate rep required - for use by users without HEPVis shared objects.
SoChildList * m_children
ChildList. Required whenever the class has hidden children.
SoSFFloat fSPhi
Starting angle, in radians.
SoSFFloat fDPhi
Delta-angle, in radians.
void updateChildren()
Used to modify hidden children when a data field is changed.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
compute bounding Box, required
virtual void generateAlternateRep()
Generate AlternateRep, required.
SoSFInt32 pOverrideNPhi
Override number of phi subdivision used for rendering shape (i.e.
void inc(double &sinPhi, double &cosPhi, double sinDeltaPhi, double cosDeltaPhi) const
help with trigonometry. increments sines an cosines by an angle.
SoMFFloat fRmin
Inside radii.
static void initClass()
Class Initializer, required.