protected static class Path.PathData extends AbstractShape.AbstractShapeData
AbstractShape.render(DrawContext). See AbstractShape.| Modifier and Type | Field and Description | 
|---|---|
| protected int | colorOffsetIndicates the offset in number of floats to the first RGBA color tuple in  renderedPath. | 
| protected boolean | hasExtrusionPointsIndicates whether the rendered path has extrusion points in addition to path points. | 
| protected IntBuffer | path2DIndicesIndices of tessellated path lines when using 2D globe and the path crosses the dateline. | 
| protected IntBuffer | polePositionsIndices to the  renderedPathidentifying the vertices of the originally specified boundary
 positions and their corresponding terrain point. | 
| protected IntBuffer | positionPointsIndices to the  renderedPathidentifying the vertices of the originally specified boundary
 positions. | 
| protected FloatBuffer | renderedPathThe model coordinate vertices to render, all relative to this shape data's reference center. | 
| protected ArrayList<Integer> | splitPositionsIndices of the tessellated positions at which new lines must be formed rather than continuing the previous
 line. | 
| protected ArrayList<Color> | tessellatedColorsThe colors corresponding to each tessellated position, or  nullif the path'spositionColorsisnull. | 
| protected ArrayList<Position> | tessellatedPositionsThe positions formed from applying path type and terrain conformance. | 
| protected int | vertexCountIndicates the number of vertices represented by  renderedPath. | 
| protected int | vertexStrideIndicates the stride in number of floats between the first element of consecutive vertices in
  renderedPath. | 
frameNumber, referenceDistance, referencePoint, vboCacheKeyextent, eyeDistance, globeStateKey, lastUsed, timer, timerAdjustedEyeDistance, verticalExaggeration| Constructor and Description | 
|---|
| PathData(DrawContext dc,
        Path shape) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getColorOffset()Indicates the offset in number of floats to the first RGBA color tuple in  renderedPath. | 
| IntBuffer | getPolePositions()Returns a buffer of indices into the rendered path ( renderedPaththat identify the top and bottom
 vertices of this path's vertical line segments. | 
| IntBuffer | getPositionPoints()Returns a buffer of indices into the rendered path ( renderedPaththat identify the originally
 specified positions that remain after tessellation. | 
| FloatBuffer | getRenderedPath()The Cartesian coordinates of the tessellated positions. | 
| List<Color> | getTessellatedColors()Indicates the colors corresponding to each position in  tessellatedPositions, ornullif the path does not have per-position colors. | 
| List<Position> | getTessellatedPositions()The positions resulting from tessellating this path. | 
| int | getVertexCount()Indicates the number of vertices in  renderedPath. | 
| int | getVertexStride()Indicates the stride in number of floats between the first element of consecutive vertices in
  renderedPath. | 
| boolean | isHasExtrusionPoints()Indicates whether this path is extruded and the extrusion points have been computed. | 
| void | setColorOffset(int offset)Specifies the offset in number of floats to the first RGBA color tuple in  renderedPath. | 
| void | setHasExtrusionPoints(boolean hasExtrusionPoints) | 
| void | setPolePositions(IntBuffer polePositions) | 
| void | setPositionPoints(IntBuffer posPoints) | 
| void | setRenderedPath(FloatBuffer renderedPath) | 
| void | setTessellatedColors(ArrayList<Color> tessellatedColors)Specifies the colors corresponding to each position in  tessellatedPositions, ornullto specify that the path does not have per-position colors. | 
| void | setTessellatedPositions(ArrayList<Position> tessellatedPositions) | 
| void | setVertexCount(int count)Specifies the number of vertices in  renderedPath. | 
| void | setVertexStride(int stride)Specifies the stride in number of floats between the first element of consecutive vertices in
  renderedPath. | 
getFrameNumber, getReferenceDistance, getReferencePoint, getVboCacheKey, setFrameNumber, setReferenceDistance, setReferencePoint, setVboCacheKeyadjustTimer, getExtent, getEyeDistance, getGlobeStateKey, getTimer, getVerticalExaggeration, isExpired, isValid, restartTimer, setExpired, setExtent, setEyeDistance, setGlobeStateKey, setTimer, setVerticalExaggerationaddPropertyChangeListener, 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, setValuesprotected int colorOffset
renderedPath. This is
 0 if renderedPath has no RGBA color tuples.protected boolean hasExtrusionPoints
protected IntBuffer path2DIndices
protected IntBuffer polePositions
renderedPath identifying the vertices of the originally specified boundary
 positions and their corresponding terrain point. This is used to draw vertical lines at those positions when
 the path is extruded.protected IntBuffer positionPoints
renderedPath identifying the vertices of the originally specified boundary
 positions. (Not their terrain points as well, as polePositions does.)protected FloatBuffer renderedPath
protected ArrayList<Integer> splitPositions
protected ArrayList<Color> tessellatedColors
null if the path's
 positionColors is null.protected ArrayList<Position> tessellatedPositions
protected int vertexCount
renderedPath.protected int vertexStride
renderedPath.public PathData(DrawContext dc, Path shape)
public int getColorOffset()
renderedPath. This
 returns 0 if renderedPath has no RGBA color tuples.renderedPath.public IntBuffer getPolePositions()
renderedPath that identify the top and bottom
 vertices of this path's vertical line segments.public IntBuffer getPositionPoints()
renderedPath that identify the originally
 specified positions that remain after tessellation. These positions are those of the position dots, if
 drawn.public FloatBuffer getRenderedPath()
public List<Color> getTessellatedColors()
tessellatedPositions, or
 null if the path does not have per-position colors.null if the path does not have
 per-position colors.public List<Position> getTessellatedPositions()
public int getVertexCount()
renderedPath.renderedPath.public int getVertexStride()
renderedPath.renderedPath.public boolean isHasExtrusionPoints()
public void setColorOffset(int offset)
renderedPath. Specify
 0 if renderedPath has no RGBA color tuples.offset - the offset in number of floats to the first RGBA color tuple in renderedPath.public void setHasExtrusionPoints(boolean hasExtrusionPoints)
public void setPolePositions(IntBuffer polePositions)
public void setPositionPoints(IntBuffer posPoints)
public void setRenderedPath(FloatBuffer renderedPath)
public void setTessellatedColors(ArrayList<Color> tessellatedColors)
tessellatedPositions, or
 null to specify that the path does not have per-position colors. The entries in the specified
 list must have a one-to-one correspondence with the entries in tessellatedPositions.tessellatedColors - the colors corresponding to each path position, or null if the path
                          does not have per-position colors.public void setTessellatedPositions(ArrayList<Position> tessellatedPositions)
public void setVertexCount(int count)
renderedPath. Specify 0 if renderedPath
 contains no vertices.count - the the number of vertices in renderedPath.public void setVertexStride(int stride)
renderedPath.stride - the stride in number of floats between vertices in in renderedPath.