|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimpleGeometry
A Geometry that consists of a rectangular grid of points.
| Method Summary | |
|---|---|
void |
getNormal(int x,
int y,
javax.vecmath.Tuple3f normal)
Store the coordinates of the specified vertex in the given tuple |
int |
getNumPointsX()
Returns the number of vertices of this Geometry in x-direction |
int |
getNumPointsY()
Returns the number of vertices of this Geometry in y-direction |
void |
getTexCoord(int x,
int y,
javax.vecmath.Tuple2f texCoord)
Store the texture coordinates of the specified vertex in the given tuple |
void |
getVertex(int x,
int y,
javax.vecmath.Tuple3f vertex)
Store the coordinates of the specified vertex in the given tuple |
void |
setNormal(int x,
int y,
javax.vecmath.Tuple3f normal)
Set the normal of the specified vertex. |
void |
setTexCoord(int x,
int y,
javax.vecmath.Tuple2f texCoord)
Set the texture coordinates of the specified vertex. |
void |
setVertex(int x,
int y,
javax.vecmath.Tuple3f vertex)
Set the position of the specified vertex. |
| Methods inherited from interface de.javagl.swogl.geometry.Geometry |
|---|
areTexCoordsModified, areVerticesModified, getNormal, getNumTriangles, getNumVertices, getTexCoord, getVertex, getVertexIndex, setNormal, setTexCoord, setTexCoordsModified, setVertex, setVerticesModified |
| Method Detail |
|---|
int getNumPointsX()
int getNumPointsY()
void getVertex(int x,
int y,
javax.vecmath.Tuple3f vertex)
x - The x-index of the vertexy - The y-index of the vertexvertex - The position of the vertex
void setVertex(int x,
int y,
javax.vecmath.Tuple3f vertex)
setVerticesModified(true) should be called, so that the
rendering may take the modified data into account.
x - The x-index of the vertexy - The y-index of the vertexvertex - The position of the vertex
void getTexCoord(int x,
int y,
javax.vecmath.Tuple2f texCoord)
x - The x-index of the vertexy - The y-index of the vertextexCoord - The texture coordinates of the vertex
void setTexCoord(int x,
int y,
javax.vecmath.Tuple2f texCoord)
setTexCoordsModified(true) should be called, so that the
rendering may take the modified data into account.
x - The x-index of the vertexy - The y-index of the vertextexCoord - The texture coordinates of the vertex
void getNormal(int x,
int y,
javax.vecmath.Tuple3f normal)
x - The x-index of the vertexy - The y-index of the vertexnormal - The normal of the vertex
void setNormal(int x,
int y,
javax.vecmath.Tuple3f normal)
setVerticesModified(true) should be called, so that the
rendering may take the modified data into account.
x - The x-index of the vertexy - The y-index of the vertexnormal - The normal of the vertex
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||