public class SoIndexedNurbsCurve extends SoShape
knotVectorfield specifies a floating-point array of values; the values are the coordinates of the knot points in the curve, and you must enter them in non-decreasing order. The
numControlPointsfield specifies the number of control points the curve will have and will use the current coordinates that are indexed from the
You can get a curve of minimum order (2) by specifying two more knots than control points and having at least two control points. This curve would be a set of line segments connecting the control points together.
You can get a curve of maximum order (8) by specifying 8 more knots than control points and having at least 8 control points. In this curve, each control point would have influence on a larger portion of the curve than with curves of lesser order.
The control points of the curve are transformed by the current transformation matrix. The curve is drawn with the current lighting model and drawing style (drawing style FILLED is treated as LINES). The coordinates, normals, and texture coordinates of a NURBS curve are generated, so you cannot bind explicit normals or texture coordinates to a NURBS curve.
The approximation of the curve by line segments is affected by the current complexity value.
Shape Antialiasing type is
Draws the curve based on the current coordinates, material, and so on.
Picks the curve based on the current coordinates and transformation.
Computes the bounding box that encloses all control points of the curve with the current transformation applied to them. Sets the center to the average of the control points.
If any line segment callbacks are registered with the action, they will be invoked for each successive segment approximating the curve.
|Modifier and Type||Field and Description|
Coordinate indices for the control points.
The knot vector for the curve.
Number of control points for the curve.
boundingBoxIgnoring, LINES, POINTS, POLYGONS, TEXT
|Constructor and Description|
Creates an indexed NURBS curve node with default settings.
getShapeType, isPrimitiveRestartAvailable, isPrimitiveRestartAvailable
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoSFInt32 numControlPoints
public final SoMFInt32 coordIndex
public final SoMFFloat knotVector
Generated on January 29, 2020, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com