SoPointSet — point set shape node
Contents
Action Behavior
SoGLRenderAction
Draws points based on the current coordinates, normals, materials, drawing style, and so on.
SoRayPickAction
Picks points based on the current coordinates and transformation. Details about the intersection are
returned in an SoPointDetail.
SoGetBoundingBoxAction
Computes the bounding box that encloses all points in the set with the current transformation applied
to them. Sets the center to the average of the coordinates of all points.
SoCallbackAction
If any point callbacks are registered with the action, they will be invoked for each point in the set.
Description
This node represents a set of points located at the coordinates specified by the vertexProperty field
(from SoVertexShape) or the current inherited coordinates. For optimal performance, the vertexProperty
field is recommended.
SoPointSet uses the coordinates in order, starting with the first one. The number of points in the set is
specified by the numPoints field.
The coordinates of the point set are transformed by the current cumulative transformation. The points are
drawn with the current light model and drawing style (drawing styles FILLED and LINES are treated as
POINTS).
Treatment of the current material and normal binding is as follows: PER_PART, PER_FACE, and PER_VERTEX
bindings bind one material or normal to each point. The default material binding is OVERALL. The default
normal binding is PER_VERTEX.
Fields
SoSFInt32numPoints
Number of points.
File Format/Defaults
PointSet{vertexPropertyNULLstartIndex0numPoints-1}Inherits From
SoBase > SoFieldContainer > SoNode > SoShape > SoVertexShape > SoNonIndexedShape > SoPointSet
Methods
SoPointSet()
Creates a point set node with default settings.
staticSoTypegetClassTypeId()
Returns type identifier for this class.
Name
SoPointSet — point set shape node
See Also
SoCoordinate3,SoDrawStyle,SoPointDetail,SoVertexPropertySoPointSet(3IV)()
Synopsis
#include<Inventor/nodes/SoPointSet.h>
Fields from class SoPointSet:
SoSFInt32numPoints
Fields from class SoNonIndexedShape:
SoSFInt32startIndex
Fields from class SoVertexShape:
SoSFNodevertexProperty
Methods from class SoPointSet:
SoPointSet()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