org.xith3d.scenegraph.primitives
Class GeometryConstruct
java.lang.Object
org.xith3d.scenegraph.primitives.GeometryConstruct
public class GeometryConstruct
- extends java.lang.Object
This is nothing more than a container for Geometry construction data.
|
Constructor Summary |
GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord2f[] texCoords2f)
|
GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord2f[] texCoords2f,
org.openmali.vecmath2.Colorf[] colors)
|
GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord2f[] texCoords2f,
org.openmali.vecmath2.Colorf[] colors,
int[] indices,
int[] stripLengths)
|
GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord2f[] texCoords2f,
int[] indices,
int[] stripLengths)
|
GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord3f[] texCoords3f)
|
GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord3f[] texCoords3f,
org.openmali.vecmath2.Colorf[] colors)
|
GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord3f[] texCoords3f,
org.openmali.vecmath2.Colorf[] colors,
int[] indices,
int[] stripLengths)
|
GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord3f[] texCoords3f,
int[] indices,
int[] stripLengths)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeometryConstruct
public GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord2f[] texCoords2f,
org.openmali.vecmath2.Colorf[] colors,
int[] indices,
int[] stripLengths)
GeometryConstruct
public GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord3f[] texCoords3f,
org.openmali.vecmath2.Colorf[] colors,
int[] indices,
int[] stripLengths)
GeometryConstruct
public GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord2f[] texCoords2f,
org.openmali.vecmath2.Colorf[] colors)
GeometryConstruct
public GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord3f[] texCoords3f,
org.openmali.vecmath2.Colorf[] colors)
GeometryConstruct
public GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord2f[] texCoords2f,
int[] indices,
int[] stripLengths)
GeometryConstruct
public GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord3f[] texCoords3f,
int[] indices,
int[] stripLengths)
GeometryConstruct
public GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord2f[] texCoords2f)
GeometryConstruct
public GeometryConstruct(GeometryType geometryTypeHint,
org.openmali.vecmath2.Tuple3f[] vertices,
org.openmali.vecmath2.Vector3f[] normals,
org.openmali.vecmath2.TexCoord3f[] texCoords3f)
getGeometryTypeHint
public GeometryType getGeometryTypeHint()
getVertices
public org.openmali.vecmath2.Tuple3f[] getVertices()
numVertices
public int numVertices()
getNormals
public org.openmali.vecmath2.Vector3f[] getNormals()
numNormals
public int numNormals()
getTextureCoordinates2f
public org.openmali.vecmath2.TexCoord2f[] getTextureCoordinates2f()
numTextureCoordinates2f
public int numTextureCoordinates2f()
getTextureCoordinates3f
public org.openmali.vecmath2.TexCoord3f[] getTextureCoordinates3f()
numTextureCoordinates3f
public int numTextureCoordinates3f()
getColors
public org.openmali.vecmath2.Colorf[] getColors()
numColors
public int numColors()
getIndices
public int[] getIndices()
numIndices
public int numIndices()
getStripLengths
public int[] getStripLengths()
calculateFeatures
public int calculateFeatures()
- Calculates the GeometryArray features.
- Returns:
- the GeometryArray features
check
public void check()