de.grogra.imp3d.objects
public class NURBSCurve extends ColoredNull implements LineSegmentizable
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType| Modifier and Type | Field and Description |
|---|---|
static Node.NType |
$TYPE |
protected BSplineCurve |
curve |
static Node.NType.Field |
curve$FIELD |
color, color$FIELDtransform, transform$FIELD, TRANSFORMING_MASK, transforming$FIELD, USED_BITSADDITIONAL_FIELDS, bits, DELETED, EXTENT_BIT, EXTENT_MASK, extentIndex$FIELD, extentTail$FIELD, HAS_OBSERVERS, IS_INTERPRETIVE, isInterpretive$FIELD, LAST_EXTENT_INDEX, layer$FIELD, MARK, mark$FIELD, MIME_TYPE, MIN_UNUSED_SPECIAL_OF_SOURCE, MIN_UNUSED_SPECIAL_OF_TARGET, name$FIELDDEFAULT_VALUE, EMPTY_MAP| Constructor and Description |
|---|
NURBSCurve() |
NURBSCurve(BSplineCurve curve) |
| Modifier and Type | Method and Description |
|---|---|
BSplineCurve |
getCurve() |
protected Node.NType |
getNTypeImpl()
This method returns the
Node.NType which describes the managed
fields of the class of this node. |
ContextDependent |
getSegmentizableSource(GraphState gs)
Defines the data source on which the line segmentization
depends.
|
protected Node |
newInstance()
This method returns a new instance of the class of this
node.
|
void |
segmentize(ContextDependent source,
GraphState gs,
LineArray out,
float flatness)
Performs the segmentization of the source into line segments.
|
void |
setCurve(BSplineCurve value) |
getColor, setColor, setColor, setColorgetLocalTransformation, getTransform, getTranslation, isTransforming, postTransform, preTransform, setRotation, setScale, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransforming, setTranslationaddEdgeBitsTo, addReference, appendBranchNode, appendBranchNode, appendReferencesTo, clone, clone, cloneGraph, dump, dumpTree, dup, dupUnmanagedFields, edgeChanged, fieldModified, findAdjacent, findRefinementType, get, getAccessor, getAccessor, getAttributes, getAxisParent, getBoolean, getBranch, getBranchLength, getBranchNode, getBranchTail, getByte, getChar, getCommonAncestor, getCurrentGraphState, getDirectChildCount, getDouble, getEdgeAttributeAccessor, getEdgeAttributes, getEdgeBitsTo, getEdgeTo, getExtentIndex, getFirst, getFirstEdge, getFloat, getGraph, getId, getIndex, getInstantiator, getInt, getLayer, getLong, getManageableType, getName, getNeighbor, getNext, getNType, getObject, getOrCreateEdgeTo, getOrNull, getPersistenceManager, getPredecessor, getProvider, getShort, getSource, getStamp, getSuccessor, getSymbol, getSymbolColor, getTarget, getTransaction, getUserField, getUserFieldCount, getXClass, getXData, hasName, initProvider, initXClass, insertBranchNode, insertBranchNode, instantiateGraph, isAncestorOf, isDirection, isEncoarseOf, isManagingInstance, isMarked, isRoot, isSource, isTarget, manageableReadResolve, manageableWriteReplace, paramString, removeAll, removeEdgeBitsTo, removeFromChain, removeFromChain, removeReference, setBranch, setBranch, setExtentIndex, setGraphForDeserialization, setLayer, setMark, setName, setSuccessor, setSuccessor, specialEdgeAdded, specialEdgeRefModified, specialEdgeRemoved, toString, writeReplaceaddEdgeBits, getBitMark, getEdgeBits, getObjectMark, getSpecialEdgeDescriptor, parseEdgeKeys, remove, removeEdgeBits, setBitMark, setEdgeBits, setObjectMark, testEdgeBitsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetStampgetBitMark, getObjectMark, setBitMark, setObjectMarkpublic static final Node.NType $TYPE
protected BSplineCurve curve
public static final Node.NType.Field curve$FIELD
public NURBSCurve()
public NURBSCurve(BSplineCurve curve)
public BSplineCurve getCurve()
protected Node.NType getNTypeImpl()
NodeNode.NType which describes the managed
fields of the class of this node. This method has to be implemented
in every concrete subclass.getNTypeImpl in class Nullpublic ContextDependent getSegmentizableSource(GraphState gs)
LineSegmentizablegetSegmentizableSource in interface LineSegmentizablegs - the current graph stateprotected Node newInstance()
NodenewInstance in class Nullpublic void segmentize(ContextDependent source, GraphState gs, LineArray out, float flatness)
LineSegmentizableout.userObject is not modified.segmentize in interface LineSegmentizablesource - the data source as reported by a previous invocation of
LineSegmentizable.getSegmentizableSource(GraphState) with the same gsgs - the current graph stateout - the line segments are written to outflatness - a parameter for the degree of flatness, a typical value is 1public void setCurve(BSplineCurve value)