public class SoNurbsProfile extends SoProfile
When a NURBS shape is rendered, its NURBS profile is constructed using the NURBS profile information from this node and the current profile coordinates. (Note: Here "current" means at the time the NURBS shape is traversed, not when the SoNurbsProfile
is traversed.)
The curve is defined in the same way as a standard SoNurbsCurve
, except that the control points are constructed from the current set of profile coordinates, using the index field.
When two profiles share the same boundary, the corresponding NURBS surfaces will be joined along these profiles, producing crack-free tessellation. Two profiles share the same boundary when their boundary
fields contain the same SoNurbsBoundary
node. To be rendered crack free, the surfaces must be part of the same SoNurbsGroup
.
Note: Trimmed NURBS are correctly displayed only if an outer boundary is defined (must have counterclockwise orientation).
File format/default:
NurbsProfile {
index | 0 |
linkage | START_FIRST |
knotVector | 0 |
boundary | 0 |
Action behavior:
SoGLRenderAction
, SoCallbackAction
, SoRayPickAction
Adds a profile to the current traversal state.
See also:
SoLinearProfile
, SoNurbsCurve
, SoProfileCoordinate2
, SoProfileCoordinate3
, SoNurbsGroup
, SoNurbsBoundary
SoProfile.Profiles
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFNode |
boundary
Associate the profile with the specified boundary using an
SoNurbsBoundary node. |
SoMFFloat |
knotVector
The knot vector for the NURBS curve.
|
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoNurbsProfile()
Creates a NURBS profile curve node with default settings.
|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, 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, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoMFFloat knotVector
public final SoSFNode boundary
SoNurbsBoundary
node.
All profiles which are associated with the same boundary are joined together.
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com