146 SO_PIMPL_PUBLIC_HEADER(
SoCone );
210 static void initClass();
211 static void exitClass();
218 void computeBase(
SoState *state,
221 std::vector<SbVec2f>& baseCoords,
222 std::vector<SbVec3f>& sideNormals )
const;
228 virtual void generatePrimitives(
SoAction *action);
SO_PIMPL_PUBLIC_DECLARATION(SoCone)
#define SO_NODE_HEADER(className)
Abstract base class for all actions.
@ BOTTOM
The bottom circular face.
SoSFFloat height
Specifies the cone's height.
void addPart(SoCone::Part part)
Convenience function to turn on a part of the cone.
SoSFFloat bottomRadius
Specifies the radius of the base circle.
SbBool hasPart(SoCone::Part part) const
Convenience function that returns whether a given part is on or off.
SoCone()
Creates a cone node with default settings.
SoSFBitMask parts
Visible parts of cone.
void removePart(SoCone::Part part)
Convenience function to turn off a part of the cone.
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.