149 bool sendNormals,
bool doTextures);
152 void GLRenderVertexArray(
SoGLRenderAction *action,
bool sendNormals,
bool doTextures);
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
Abstract base class for all actions.
Renders a scene graph using OpenGL.
Intersects objects with a ray cast into scene.
Field containing a floating-point value.
Field containing a int32_t integer.
Abstract base class for all shape nodes.
SoSphere()
Creates a sphere node with default settings.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
Computes bounding box of sphere.
SoSFInt32 subdivision
Allows to explicitly specify the subdivision of the sphere.
virtual void rayPick(SoRayPickAction *action)
Implements picking along a ray by intersecting the ray with each primitive generated by subclass.
SoSFFloat radius
Radius of sphere. This must be greater than 0.
virtual void GLRender(SoGLRenderAction *action)
Implements rendering by rendering each primitive generated by subclass.
virtual void generatePrimitives(SoAction *action)
Generates triangles representing a sphere.
Helper struct used by primitive types like cube, sphere, ...