54#include <Inventor/SbVec.h>
55#include <Inventor/SbBox.h>
56#include <Inventor/fields/SoSFBitMask.h>
57#include <Inventor/fields/SoSFFloat.h>
58#include <Inventor/nodes/SoShape.h>
71SO_PIMPL_PUBLIC_DECLARATION(
SoCone );
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);
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.