Open Inventor Reference
SoCoordinate4 Class Reference

Rational coordinate point node. More...

#include <Inventor/nodes/SoCoordinate4.h>

Inheritance diagram for SoCoordinate4:
SoNode SoFieldContainer SoBase

List of all members.

Public Member Functions

 SoCoordinate4 ()
 Creates a coordinate node with default settings.
virtual void doAction (SoAction *action)
 This method performs the "typical" operation of a node for any action.
virtual void GLRender (SoGLRenderAction *action)
 These virtual functions implement all of the actions for nodes, Most of the default implementations do nothing.
virtual void getBoundingBox (SoGetBoundingBoxAction *action)
virtual void callback (SoCallbackAction *action)
virtual void pick (SoPickAction *action)

Static Public Member Functions

static void initClass ()
 Initializes base node class.

Public Attributes

Fields
SoMFVec4f point
 Coordinate point(s).

Protected Member Functions

virtual ~SoCoordinate4 ()

Protected Attributes

SoVBO_vbo

Detailed Description

This node defines a set of 3D coordinates to be used by subsequent vertex-based shape nodes (those derived from SoVertexShape) or shape nodes that use them as control points (such as NURBS curves and surfaces). Coordinates are specifed as rational 4-vectors; the corresponding 3D point is computed by dividing the first three components by the fourth. This node does not produce a visible result during rendering; it simply replaces the current coordinates in the rendering state for subsequent nodes to use.

This node exists primarily for use with NURBS curves and surfaces. However, it can be used to define coordinates for any vertex-based shape.

File Format/Default
Coordinate4 {
  point 0 0 0 1
}
Action Behavior
SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction, SoRayPickAction
Sets coordinates in current traversal state.
See Also
SoCoordinate4, SoIndexedNurbsCurve, SoIndexedNurbsSurface, SoNurbsCurve, SoNurbsProfile, SoNurbsSurface, SoVertexShape

Definition at line 101 of file SoCoordinate4.h.


Constructor & Destructor Documentation

SoCoordinate4::SoCoordinate4 ( )
virtual SoCoordinate4::~SoCoordinate4 ( ) [protected, virtual]

Member Function Documentation

virtual void SoCoordinate4::callback ( SoCallbackAction action) [virtual]

Reimplemented from SoNode.

virtual void SoCoordinate4::doAction ( SoAction action) [virtual]

The default implementation does nothing.

Reimplemented from SoNode.

virtual void SoCoordinate4::getBoundingBox ( SoGetBoundingBoxAction action) [virtual]

Reimplemented from SoNode.

virtual void SoCoordinate4::GLRender ( SoGLRenderAction action) [virtual]

Reimplemented from SoNode.

static void SoCoordinate4::initClass ( ) [static]

Reimplemented from SoNode.

virtual void SoCoordinate4::pick ( SoPickAction action) [virtual]

Reimplemented from SoNode.


Member Data Documentation

SoVBO* SoCoordinate4::_vbo [protected]

Definition at line 130 of file SoCoordinate4.h.

Definition at line 110 of file SoCoordinate4.h.


The documentation for this class was generated from the following file: