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