217 static void initClass();
218 static void exitClass();
223 void computeRing(
SoState* state,
int& numSides,
int& numSections, std::vector<SbVec2f>& ringCoords )
const;
229 virtual void generatePrimitives(
SoAction *action);
SO_PIMPL_PUBLIC_DECLARATION(SoCylinder)
#define SO_NODE_HEADER(className)
Abstract base class for all actions.
void addPart(SoCylinder::Part part)
Convenience function to turn on a part of the cylinder.
@ BOTTOM
The bottom circular face.
@ SIDES
The cylindrical part.
@ TOP
The top circular face.
SoSFBitMask parts
Visible parts of cylinder.
SbBool hasPart(SoCylinder::Part part) const
Convenience function that returns whether a given part is on or off.
SoSFFloat height
Specifies the cylinder's height.
void removePart(SoCylinder::Part part)
Convenience function to turn off a part of the cylinder.
SoCylinder()
Creates a cylinder node with default settings.
SoSFFloat radius
Specifies the cylinder's radius.
Renders a scene graph using Open Inventor's Render Engine.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Counts number of...
Intersects objects with a ray cast into scene.
Single-value field containing a set of bit flags.
Field containing a floating-point value.
Abstract base class for all shape nodes.