public class Vector3dFaceField extends VectorFaceField<Vector3d>
Vector3d, defined over a
triangular polygonal mesh, using values set at the mesh's faces. Values at
other points are obtained by finding the faces nearest to those
points. Values at faces for which no explicit value has been set are
associated with the field's default value. Since values are assumed
to be constant over a given face, this field is not continuous.ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibilitymyPropsenforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesTRANSPARENT, TWO_DIMENSIONAL| Constructor and Description |
|---|
Vector3dFaceField()
This constructor should not be called by applications, unless
ModelComponentBase.scan(maspack.util.ReaderTokenizer, java.lang.Object) is called immediately after. |
Vector3dFaceField(MeshComponent mcomp)
Constructs a field for a given mesh, with a default value of 0.
|
Vector3dFaceField(MeshComponent mcomp,
Vector3d defaultValue)
Constructs a field for a given mesh and default value.
|
Vector3dFaceField(java.lang.String name,
MeshComponent mcomp)
Constructs a named field for a given mesh, with a default value of 0.
|
Vector3dFaceField(java.lang.String name,
MeshComponent mcomp,
Vector3d defaultValue)
Constructs a named field for a given mesh and default value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasParameterizedType()
Queries whether this class explicitly utilizes a parameterized type.
|
clearAllValues, clearValue, getValue, getValue, getValue, getValue, isValueSet, postscan, setValuecreateDefaultRenderProps, createRenderProps, createTypeInstance, 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 Vector3dFaceField()
ModelComponentBase.scan(maspack.util.ReaderTokenizer, java.lang.Object) is called immediately after.public Vector3dFaceField(MeshComponent mcomp)
PolygonalMesh.mcomp - component containing the mesh associated with the fieldpublic Vector3dFaceField(MeshComponent mcomp, Vector3d defaultValue)
PolygonalMesh.mcomp - component containing the mesh associated with the fielddefaultValue - default value for faces which don't have
explicitly set valuespublic Vector3dFaceField(java.lang.String name,
MeshComponent mcomp)
PolygonalMesh.name - name of the fieldmcomp - component containing the mesh associated with the fieldpublic Vector3dFaceField(java.lang.String name,
MeshComponent mcomp,
Vector3d defaultValue)
PolygonalMesh.name - name of the fieldmcomp - component containing the mesh associated with the fielddefaultValue - default value for faces which don't have
explicitly set valuespublic boolean hasParameterizedType()
hasParameterizedType in interface ParameterizedClasshasParameterizedType in class VectorMeshField<Vector3d>true if this class utilizes a parameterized type.