public abstract class GridFieldBase extends GridCompBase
ModelComponent.NavpanelVisibility
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATING
TRANSPARENT, TWO_DIMENSIONAL
Modifier and Type | Method and Description |
---|---|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
boolean |
getClipToGrid()
Queries whether clip-to-grid is enabled for this grid field.
|
boolean |
getUseFemRestPositions()
Queries whether or not rest positions are used when determining values
for points within an FEM mesh.
|
boolean |
getUseLocalValuesForField()
Queries whether or local values should be used for field queries.
|
void |
setClipToGrid(boolean enable)
Sets whether clip-to-grid is enabled for this grid field.
|
void |
setUseFemRestPositions(boolean enable)
Sets whether or not rest positions are used when determining values for
points within an FEM mesh.
|
void |
setUseLocalValuesForField(boolean enable)
Sets whether or not local values should be used for field queries.
|
addTransformableDependencies, clearCacheIfNecessary, createRenderProps, defaultRenderProps, getGrid, getLocalToWorld, getLocalToWorld, getRenderGrid, getRenderRanges, getRenderRangesRange, getRenderVertices, prerender, render, scaleDistance, scaleMass, setGrid, setLocalToWorld, setRenderGrid, setRenderRanges, setRenderVertices, transformGeometry, transformGeometry, updateBounds
copy, defaultRenderPropsAreNull, getRenderHints, getRenderProps, getSelection, isSelectable, isVisible, numSelectionQueriesNeeded, setRenderProps, setVisible, updateRenderProps
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, hasState, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
transformPriority
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getProperty
getChildren, hasChildren
postscan
isWritable, write
public static PropertyList myProps
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class GridCompBase
public boolean getUseLocalValuesForField()
true
if local values should be used for field queriespublic void setUseLocalValuesForField(boolean enable)
enable
- if true
, enables using local values for field
queriespublic boolean getUseFemRestPositions()
setUseFemRestPositions(boolean)
.true
if rest positions are used for values
within an FEM meshpublic void setUseFemRestPositions(boolean enable)
true
. (Values within an FEM mesh are determined using special methods of
the form getValue(FieldPoint)
, where FemFieldPoint
contains
both spatial and rest positions.)enable
- if true
, enables using rest positions
for values within an FEM meshpublic boolean getClipToGrid()
setClipToGrid(boolean)
.true
if clip-to-grid is enabledpublic void setClipToGrid(boolean enable)
ScalarGridField.OUTSIDE_GRID
for scalar grids and null
for
vector grids. The default value is true
.enable
- if true
, enable clip-to-grid