protected static class RigidShape.ShapeData extends AbstractShape.AbstractShapeData
AbstractShape.render(DrawContext)
. See AbstractShape
.Modifier and Type | Field and Description |
---|---|
protected java.util.List<Geometry> |
meshes
Holds the computed tessellation of the shape in model coordinates.
|
protected boolean |
refillIndexBuffer
Indicates whether the index buffer needs to be filled because a new buffer is used or some other reason.
|
protected boolean |
refillIndexVBO
Indicates whether the index buffer's VBO needs to be filled because a new buffer is used or other reason.
|
protected java.util.Map<java.lang.Integer,java.lang.Object> |
vboCacheKeys
The GPU-resource cache keys to use for this entry's VBOs (one for eack LOD), if VBOs are used.
|
frameNumber, referenceDistance, referencePoint, vboCacheKey
extent, eyeDistance, globeStateKey, lastUsed, timer, timerAdjustedEyeDistance, verticalExaggeration
Constructor and Description |
---|
ShapeData(DrawContext dc,
RigidShape shape) |
Modifier and Type | Method and Description |
---|---|
void |
addMesh(Geometry mesh) |
void |
addMesh(int index,
Geometry mesh) |
Geometry |
getMesh() |
Geometry |
getMesh(int index) |
java.util.List<Geometry> |
getMeshes() |
java.lang.Object |
getVboCacheKey(int index) |
int |
getVboCacheSize() |
void |
setMesh(Geometry mesh) |
void |
setMeshes(java.util.List<Geometry> meshes) |
void |
setVboCacheKey(int index,
java.lang.Object vboCacheKey) |
getFrameNumber, getReferenceDistance, getReferencePoint, getVboCacheKey, setFrameNumber, setReferenceDistance, setReferencePoint, setVboCacheKey
adjustTimer, getExtent, getEyeDistance, getGlobeStateKey, getTimer, getVerticalExaggeration, isExpired, isValid, restartTimer, setExpired, setExtent, setEyeDistance, setGlobeStateKey, setTimer, setVerticalExaggeration
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
protected java.util.List<Geometry> meshes
protected boolean refillIndexBuffer
protected boolean refillIndexVBO
protected java.util.Map<java.lang.Integer,java.lang.Object> vboCacheKeys
public ShapeData(DrawContext dc, RigidShape shape)
public void addMesh(Geometry mesh)
public void addMesh(int index, Geometry mesh)
public Geometry getMesh()
public Geometry getMesh(int index)
public java.util.List<Geometry> getMeshes()
public java.lang.Object getVboCacheKey(int index)
public int getVboCacheSize()
public void setMesh(Geometry mesh)
public void setMeshes(java.util.List<Geometry> meshes)
public void setVboCacheKey(int index, java.lang.Object vboCacheKey)