SoCoordinate4 — rational coordinate point node
Contents
Action Behavior
SoGLRenderAction,SoCallbackAction,SoGetBoundingBoxAction,SoRayPickAction
Sets coordinates in current traversal state.
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.
Fields
SoMFVec4fpoint
Coordinate point(s).
File Format/Defaults
Coordinate4{point0001}Inherits From
SoBase > SoFieldContainer > SoNode > SoCoordinate4
Methods
SoCoordinate4()
Creates a coordinate node with default settings.
staticSoTypegetClassTypeId()
Returns type identifier for this class.
Name
SoCoordinate4 — rational coordinate point node
See Also
SoCoordinate4,SoIndexedNurbsCurve,SoIndexedNurbsSurface,SoNurbsCurve,SoNurbsProfile,SoNurbsSurface,SoVertexShapeSoCoordinate4(3IV)()
Synopsis
#include<Inventor/nodes/SoCoordinate4.h>
Fields from class SoCoordinate4:
SoMFVec4fpoint
Methods from class SoCoordinate4:
SoCoordinate4()staticSoTypegetClassTypeId()
Methods from class SoNode:
voidsetOverride(SbBoolstate)SbBoolisOverride()constSoNode*copy(SbBoolcopyConnections=FALSE)constvirtualSbBoolaffectsState()conststaticSoNode*getByName(constSbName&name)staticintgetByName(constSbName&name,SoNodeList&list)
Methods from class SoFieldContainer:
voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)SbBoolset(constchar*fieldDataString)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)
Methods from class SoBase:
voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const