Class NRNurbsCurve
java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.nurbs.BaseNurbsCurve
org.web3d.vrml.renderer.norender.nodes.nurbs.NRNurbsCurve
- All Implemented Interfaces:
VRMLNode,FrameStateListener,VRMLBREPCurve3DNode,VRMLBREPNodeType,VRMLChildNodeType,VRMLGeometryNodeType,VRMLNodeType,VRMLParametricGeometryNodeType,VRMLWorldRootChildNodeType,NRVRMLNode
Null-renderer implementation of NurbsCurve.
- Version:
- $Revision: 1.2 $
- Author:
- Justin Couch
-
Field Summary
Fields inherited from class org.web3d.vrml.renderer.common.nodes.nurbs.BaseNurbsCurve
COORDINATE_NODE_MSG, FIELD_CLOSED, FIELD_CONTROL_POINT, FIELD_KNOT, FIELD_ORDER, FIELD_TESSELLATION, FIELD_WEIGHT, geometryData, LAST_CURVE_INDEX, NUM_FIELDS, vfClosed, vfCoord, vfKnot, vfOrder, vfTessellation, vfWeightFields inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
errorReporter, FIELD_METADATA, fieldLocalData, hasChanged, inSetup, isDEF, isStatic, LAST_NODE_INDEX, layerIds, nodeName, pMetadata, refCounts, removedLayerIds, stateManager, STATIC_SCENE_GRAPH, vfMetadata, vrmlMajorVersion, vrmlMinorVersion -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new default instance of the node.NRNurbsCurve(VRMLNodeType node) Construct a new instance of this node based on the details from the given node. -
Method Summary
Methods inherited from class org.web3d.vrml.renderer.common.nodes.nurbs.BaseNurbsCurve
addLocalColorsListener, addTexCoordGenModeChanged, getFieldDeclaration, getFieldIndex, getFieldValue, getNodeFieldIndices, getNumFields, getNumSets, getNurbsImpl, getPrimaryType, getTexCoordGenMode, hasLocalColorAlpha, hasLocalColors, isCCW, isLightingEnabled, isSolid, regenerateCurve, removeLocalColorsListener, removeTexCoordGenModeChanged, sendRoute, setTextureCount, setupFinished, setValue, setValue, setValue, setValueMethods inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
addNodeListener, allEventsComplete, checkNodeType, checkSecondaryType, checkSecondaryType, clearRemovedLayerIds, fireFieldChanged, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, getSecondaryType, getUserData, getVRMLNodeName, hasFieldChanged, isDEF, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, setDEF, setErrorReporter, setFrameStateManager, setMetadataObject, setUserData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setVersion, throwInitOnlyWriteException, throwInputOnlyWriteException, throwInvalidNodeException, throwInvalidProtoException, throwOutputOnlyWriteException, updateRefCount, updateRefsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsCompleteMethods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersionMethods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
-
Constructor Details
-
NRNurbsCurve
public NRNurbsCurve()Create a new default instance of the node. -
NRNurbsCurve
Construct a new instance of this node based on the details from the given node. If the node is not the same type, an exception will be thrown.- Parameters:
node- The node to copy- Throws:
IllegalArgumentException- The node is not the same type
-
-
Method Details
-
render
public void render()- Specified by:
renderin interfaceVRMLBREPNodeType
-
set_renderer
- Specified by:
set_rendererin interfaceVRMLBREPNodeType- Parameters:
renderer-
-