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
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 stride,
int count,
FloatBuffer src)
|
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 |
setElementData(int mode,
int count,
IntBuffer src)
|
void |
setMode(int type,
int mode)
|
void |
setNormalData(int count,
float[] src)
|
void |
setNormalData(int count,
FloatBuffer src)
|
void |
setTextureCoordData(int count,
float[] src)
|
void |
setTextureCoordData(int count,
FloatBuffer src)
|
void |
setVertexData(int count,
float[] src)
|
void |
setVertexData(int count,
FloatBuffer src)
|
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT
public static final int ELEMENT
- See Also:
- Constant Field Values
NORMAL
public static final int NORMAL
- See Also:
- Constant Field Values
TEXTURE
public static final int TEXTURE
- See Also:
- Constant Field Values
VERTEX
public 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 stride,
int count,
FloatBuffer src)
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)
setElementData
public void setElementData(int mode,
int count,
IntBuffer src)
setMode
public void setMode(int type,
int mode)
setNormalData
public void setNormalData(int count,
float[] src)
setNormalData
public void setNormalData(int count,
FloatBuffer src)
setTextureCoordData
public void setTextureCoordData(int count,
float[] src)
setTextureCoordData
public void setTextureCoordData(int count,
FloatBuffer src)
setVertexData
public void setVertexData(int count,
float[] src)
setVertexData
public void setVertexData(int count,
FloatBuffer src)