public class VectorNdVertexField extends VectorVertexField<VectorNd>
VectorNd, defined over a
triangular polygonal mesh, using values set at the mesh's vertices. Values
at other points are obtained by barycentric interpolation on the faces
nearest to those points. Values at vertices for which no explicit value has
been set are given by the field's default value. The VectorNd values must be of a fixed size as specified in the field's
constructor.ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibilitymyPropsenforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesTRANSPARENT, TWO_DIMENSIONAL| Constructor and Description |
|---|
VectorNdVertexField()
This constructor should not be called by applications, unless
ModelComponentBase.scan(maspack.util.ReaderTokenizer, java.lang.Object) is called immediately after. |
VectorNdVertexField(int vecSize,
MeshComponent mcomp)
Constructs a field for a given mesh, with a default value of 0.
|
VectorNdVertexField(int vecSize,
MeshComponent mcomp,
VectorNd defaultValue)
Constructs a field for a given mesh and default value.
|
VectorNdVertexField(java.lang.String name,
int vecSize,
MeshComponent mcomp)
Constructs a named field for a given mesh, with a default value of 0.
|
VectorNdVertexField(java.lang.String name,
int vecSize,
MeshComponent mcomp,
VectorNd defaultValue)
Constructs a named field for a given mesh and default value.
|
| Modifier and Type | Method and Description |
|---|---|
VectorNd |
createTypeInstance()
Create an instance of the VectorObject type associated with this
field.
|
boolean |
hasParameterizedType()
Queries whether this class explicitly utilizes a parameterized type.
|
clearAllValues, clearValue, getValue, getValue, getValue, getValue, isValueSet, postscan, setValuecreateDefaultRenderProps, createRenderProps, getAllPropertyInfo, getDefaultValue, getParameterType, getRenderScale, getValue, prerender, render, setDefaultValue, setRenderScaleclearCacheIfNecessary, createFieldPoint, getHardReferences, getMesh, getMeshComp, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, setRenderProps, updateBoundscheckFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, copy, createTempFlag, disconnectFromHierarchy, getChildren, getGrandParent, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, hasState, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, writeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearCacheIfNecessaryconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetPropertygetChildren, hasChildrenisWritable, writegetSelection, isSelectable, numSelectionQueriesNeededgetRenderHints, updateBoundsgetRenderProps, setRenderPropspublic VectorNdVertexField()
ModelComponentBase.scan(maspack.util.ReaderTokenizer, java.lang.Object) is called immediately after.public VectorNdVertexField(int vecSize,
MeshComponent mcomp)
PolygonalMesh.vecSize - size of the field's VectorNd valuesmcomp - component containing the mesh associated with the fieldpublic VectorNdVertexField(int vecSize,
MeshComponent mcomp,
VectorNd defaultValue)
PolygonalMesh.vecSize - size of the field's VectorNd valuesmcomp - component containing the mesh associated with the fielddefaultValue - default value for vertices which don't have
explicitly set valuespublic VectorNdVertexField(java.lang.String name,
int vecSize,
MeshComponent mcomp)
PolygonalMesh.name - name of the fieldvecSize - size of the field's VectorNd valuesmcomp - component containing the mesh associated with the fieldpublic VectorNdVertexField(java.lang.String name,
int vecSize,
MeshComponent mcomp,
VectorNd defaultValue)
PolygonalMesh.name - name of the fieldvecSize - size of the field's VectorNd valuesmcomp - component containing the mesh associated with the fielddefaultValue - default value for vertices which don't have
explicitly set valuespublic VectorNd createTypeInstance()
createTypeInstance in class VectorMeshField<VectorNd>public boolean hasParameterizedType()
hasParameterizedType in interface ParameterizedClasshasParameterizedType in class VectorMeshField<VectorNd>true if this class utilizes a parameterized type.