Open Inventor Reference
|
Rational coordinate point node. More...
#include <Inventor/nodes/SoCoordinate4.h>
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 |
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.
Coordinate4 { point 0 0 0 1 }
Definition at line 101 of file SoCoordinate4.h.
SoCoordinate4::SoCoordinate4 | ( | ) |
virtual SoCoordinate4::~SoCoordinate4 | ( | ) | [protected, virtual] |
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.
SoVBO* SoCoordinate4::_vbo [protected] |
Definition at line 130 of file SoCoordinate4.h.
Definition at line 110 of file SoCoordinate4.h.