man SoPointSet () - point set shape node
NAME
SoPointSet - point set shape node
INHERITS FROM
SoBase > SoFieldContainer > SoNode > SoShape > SoVertexShape > SoNonIndexedShape > SoPointSet
SYNOPSIS
#include <Inventor/nodes/SoPointSet.h>
Fields from class SoPointSet:
c
}
c
}
numPoints
Fields from class SoNonIndexedShape:
c
}
c
}
startIndex
Fields from class SoVertexShape:
c
}
c
}
vertexProperty
Methods from class SoPointSet:
c
}
c
}
SoPointSet()
c
}
c
}
getClassTypeId()
Methods from class SoNode:
c
}
c
}
setOverride(SbBool state)
c
}
c
}
isOverride() const
c
}
c
}
copy(SbBool copyConnections = FALSE) const
c
}
c
}
affectsState() const
c
}
c
}
getByName(const SbName &name)
c
}
c
}
getByName(const SbName &name, SoNodeList &list)
Methods from class SoFieldContainer:
c
}
c
}
setToDefaults()
c
}
c
}
hasDefaultValues() const
c
}
c
}
fieldsAreEqual(const SoFieldContainer *fc) const
c
}
c
}
copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)
c
}
c
}
set(const char *fieldDataString)
c
}
c
}
get(SbString &fieldDataString)
c
}
c
}
getFields(SoFieldList &resultList) const
c
}
c
}
getField(const SbName &fieldName) const
c
}
c
}
getFieldName(const SoField *field, SbName &fieldName) const
c
}
c
}
isNotifyEnabled() const
c
}
c
}
enableNotify(SbBool flag)
Methods from class SoBase:
c
}
c
}
ref()
c
}
c
}
unref() const
c
}
c
}
unrefNoDelete() const
c
}
c
}
touch()
c
}
c
}
getTypeId() const
c
}
c
}
isOfType(SoType type) const
c
}
c
}
setName(const SbName &name)
c
}
c
}
getName() const
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
c
}
c
}
numPoints
Number of points.
METHODS
c
}
c
}
SoPointSet()
Creates a point set node with default settings.
c
}
c
}
getClassTypeId()
Returns type identifier for this class.
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.
FILE FORMAT/DEFAULTS
PointSet { vertexProperty NULL startIndex 0 numPoints -1 }
SEE ALSO
SoCoordinate3, SoDrawStyle, SoPointDetail, SoVertexProperty