public class SparseGrid2DPortrayal3D extends SparseGridPortrayal3D
Modifier and Type | Field and Description |
---|---|
double |
zScale |
classPortrayals, field, immutableField, portrayalForAll, portrayalForNonNull, portrayalForNull, portrayalForRemainder, portrayals
Constructor and Description |
---|
SparseGrid2DPortrayal3D()
Creates a SparseGrid2DPortrayal3D with scale = 1.0
|
SparseGrid2DPortrayal3D(double zScale)
Creates a SparseGrid2DPortrayal3D with the provided scale
|
Modifier and Type | Method and Description |
---|---|
javax.media.j3d.TransformGroup |
createModel()
Returns a tree structure of the form
InternalTransformGroup[model info].
|
void |
setField(java.lang.Object field)
Sets the field, and sets the dirtyField flag to true.
|
void |
updateModel(javax.media.j3d.TransformGroup globalTG)
Returns a tree structure of the form
InternalTransformGroup[model info].
|
completedWrapper, getLocationOfObjectAsVector3d
wrapModelForNewObject
getCurrentDisplay, getCurrentGUIState, getDefaultPortrayal, getDefaultTransform, getModel, getObjectLocation, getTransform, polygonAttributes, resetTransform, rotateX, rotateY, rotateZ, scale, scale, setCurrentDisplay, setObjectLocation, setTransform, transform, translate
getDefaultNullPortrayal, getField, getInspector, getName, getPortrayalForAll, getPortrayalForNonNull, getPortrayalForNull, getPortrayalForObject, getPortrayalForRemainder, getStatus, isDirtyField, isImmutableField, reset, setDirtyField, setImmutableField, setPortrayalForAll, setPortrayalForClass, setPortrayalForNonNull, setPortrayalForNull, setPortrayalForObject, setPortrayalForRemainder, setSelected, setSelected
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInspector, getName, getStatus, setSelected
public SparseGrid2DPortrayal3D(double zScale)
public SparseGrid2DPortrayal3D()
public void setField(java.lang.Object field)
FieldPortrayal
setField
in class SparseGridPortrayal3D
public javax.media.j3d.TransformGroup createModel()
FieldPortrayal3D
...where InternalTransformGroup is an identity transformgroup whose transform will be modified elsewhere (create it but don't play with it).
createModel
in class SparseFieldPortrayal3D
public void updateModel(javax.media.j3d.TransformGroup globalTG)
FieldPortrayal3D
...where InternalTransformGroup is an identity transformgroup whose transform will be modified elsewhere (don't play with it). By default, this function does nothing. Override it to update the model when it's called.
updateModel
in class SparseFieldPortrayal3D