gov.nasa.worldwind.render.airspaces
Class Geometry
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.render.airspaces.Geometry
- All Implemented Interfaces:
- AVList, Cacheable
public class Geometry
- extends AVListImpl
- implements Cacheable
|
Field Summary |
protected static int |
ELEMENT
|
protected static int |
NORMAL
|
protected static int |
VERTEX
|
|
Method Summary |
void |
clear(int type)
|
Buffer |
getBuffer(int type)
|
int |
getCount(int type)
|
int |
getGLType(int type)
|
int |
getMode(int object)
|
int |
getSize(int type)
|
long |
getSizeInBytes()
Retrieves the approximate size of this object in bytes. |
int |
getStride(int type)
|
void |
setData(int type,
int size,
int stride,
int count,
float[] src,
int srcPos)
|
void |
setData(int type,
int size,
int glType,
int stride,
int count,
int[] src,
int srcPos)
|
void |
setElementData(int mode,
int count,
int[] src)
|
void |
setMode(int type,
int mode)
|
void |
setNormalData(int count,
float[] src)
|
void |
setVertexData(int count,
float[] src)
|
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT
protected static final int ELEMENT
- See Also:
- Constant Field Values
NORMAL
protected static final int NORMAL
- See Also:
- Constant Field Values
VERTEX
protected static final int VERTEX
- See Also:
- Constant Field Values
Geometry
public Geometry()
clear
public void clear(int type)
getBuffer
public Buffer getBuffer(int type)
getCount
public int getCount(int type)
getGLType
public int getGLType(int type)
getMode
public int getMode(int object)
getSize
public int getSize(int type)
getSizeInBytes
public long getSizeInBytes()
- Description copied from interface:
Cacheable
- Retrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size
for smaller objects, but use approximate values for objects that include such large components that the
approximation would produce an error so small that the extra computation would be wasteful.
- Specified by:
getSizeInBytes in interface Cacheable
- Returns:
- this
Cacheable object's size in bytes
getStride
public int getStride(int type)
setData
public void setData(int type,
int size,
int stride,
int count,
float[] src,
int srcPos)
setData
public void setData(int type,
int size,
int glType,
int stride,
int count,
int[] src,
int srcPos)
setElementData
public void setElementData(int mode,
int count,
int[] src)
setMode
public void setMode(int type,
int mode)
setNormalData
public void setNormalData(int count,
float[] src)
setVertexData
public void setVertexData(int count,
float[] src)