167    static const SbVec3f *verts[6][4];  
 
  182    bool                pickingBoundingBox;
 
  185    bool                isMaterialPerFace(SoAction *action) 
const;
 
  188    int                 computeNumDivisions(SoAction *action) 
const;
 
  191    void                getSize(
float &hWidth,
 
  193                                float &hDepth) 
const;
 
  196    void                GLRenderGeneric(SoGLRenderAction *action,
 
  197                                        bool sendNormals, 
bool doTextures);
 
  198    void                GLRenderNvertTnone(SoGLRenderAction *action);
 
  203                                            const SbBox3f &bbox);
 
  204    void                rayPickBoundingBox(SoRayPickAction *action,
 
  205                                           const SbBox3f &bbox);
 
  207    void GLRenderVertexArray(SoGLRenderAction *action,
 
  208                             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.
 
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
Computes bounding box of cube.
 
SoSFFloat width
Size in x dimension.
 
SoSFFloat depth
Size in z dimension.
 
virtual SoDetail * createTriangleDetail(SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const SoPrimitiveVertex *v3, SoPickedPoint *pp)
Overrides standard method to create an SoCubeDetail instance.
 
friend class SoShape
SoShape needs to get at the above methods.
 
virtual void generatePrimitives(SoAction *action)
Generates triangles representing a cube.
 
virtual void rayPick(SoRayPickAction *action)
Implements picking along a ray by intersecting the ray with each primitive generated by subclass.
 
SoSFFloat height
Size in y dimension.
 
SoCube()
Creates a cube node with default settings.
 
virtual void GLRender(SoGLRenderAction *action)
Implements actions.
 
Base class for describing detail information about a shape node.
 
Renders a scene graph using OpenGL.
 
Represents point on surface of picked object.
 
Represents a vertex of a generated primitive.
 
Intersects objects with a ray cast into scene.
 
Field containing a floating-point value.
 
void GLRenderBoundingBox(SoGLRenderAction *action)
Applies GLRender action to the bounding box surrounding the shape.
 
Helper struct used by primitive types like cube, sphere, ...