|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.javagl.simplerenderer.DefaultSimpleObject
public class DefaultSimpleObject
Default implementation of a SimpleObject
| Constructor Summary | |
|---|---|
DefaultSimpleObject(java.nio.IntBuffer indices,
java.nio.FloatBuffer vertices,
java.nio.FloatBuffer normals,
java.nio.FloatBuffer colors,
int stride)
Creates a new simple object |
|
| Method Summary | |
|---|---|
java.nio.FloatBuffer |
getColors()
Return the colors of this object |
java.nio.IntBuffer |
getIndices()
Return the indices of this object. |
java.nio.FloatBuffer |
getNormals()
Return the normals of this object |
int |
getStride()
Return the stride of the attributes of this object. |
java.nio.FloatBuffer |
getVertices()
Return the vertices of this object |
boolean |
isOutlineRendering()
Return whether outline rendering is enabled for this object |
void |
setOutlineRendering(boolean outline)
Set the outline rendering flag for this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSimpleObject(java.nio.IntBuffer indices,
java.nio.FloatBuffer vertices,
java.nio.FloatBuffer normals,
java.nio.FloatBuffer colors,
int stride)
indices - The indicesvertices - The verticesnormals - The normalscolors - The colorsstride - The stride| Method Detail |
|---|
public java.nio.IntBuffer getIndices()
SimpleObject
getIndices in interface SimpleObjectpublic java.nio.FloatBuffer getVertices()
SimpleObject
getVertices in interface SimpleObjectpublic java.nio.FloatBuffer getNormals()
SimpleObject
getNormals in interface SimpleObjectpublic java.nio.FloatBuffer getColors()
SimpleObject
getColors in interface SimpleObjectpublic int getStride()
SimpleObject
getStride in interface SimpleObjectpublic void setOutlineRendering(boolean outline)
SimpleObject
setOutlineRendering in interface SimpleObjectoutline - The outline rendering flagpublic boolean isOutlineRendering()
SimpleObject
isOutlineRendering in interface SimpleObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||