public interface ILcd3DMesh extends ILcdBounded
Modifier and Type | Method and Description |
---|---|
int |
getColorCount()
Returns the number of colors in this mesh
|
void |
getColorSFCT(int aIndex,
float[] aColorSFCT)
Retrieves a vertex color from the pool.
|
int |
getNormalCount()
Returns the number of normal vectors in this mesh
|
void |
getNormalSFCT(int aIndex,
ILcd3DEditablePoint aNormalSFCT)
Retrieves a vertex normal from the pool.
|
ILcd3DPrimitive |
getPrimitive(int aIndex)
Retrieves a primitive from this mesh.
|
int |
getPrimitiveCount()
Returns the number of primitives in this mesh
|
int |
getTexCoordCount()
Returns the number of texture coordinates in this mesh
|
void |
getTexCoordSFCT(int aIndex,
ILcd2DEditablePoint aTexCoordSFCT)
Retrieves a pair of texture mapping coordinates from the pool.
|
int |
getVertexCount()
Returns the number of vertices in this mesh
|
void |
getVertexSFCT(int aIndex,
ILcd3DEditablePoint aVertexSFCT)
Retrieves a vertex position from the pool.
|
getBounds
int getVertexCount()
getVertexSFCT(int, com.luciad.shape.shape3D.ILcd3DEditablePoint)
int getNormalCount()
getNormalSFCT(int, com.luciad.shape.shape3D.ILcd3DEditablePoint)
int getTexCoordCount()
getTexCoordSFCT(int, com.luciad.shape.shape2D.ILcd2DEditablePoint)
int getColorCount()
getColorSFCT(int, float[])
void getVertexSFCT(int aIndex, ILcd3DEditablePoint aVertexSFCT)
aIndex
- the index of the vertex to be retrievedaVertexSFCT
- an ILcd3DEditablePoint to receive the vertex coordinatesvoid getNormalSFCT(int aIndex, ILcd3DEditablePoint aNormalSFCT)
aIndex
- the index of the normal vector to be retrievedaNormalSFCT
- an ILcd3DEditablePoint to receive the normal vector coordinatesvoid getTexCoordSFCT(int aIndex, ILcd2DEditablePoint aTexCoordSFCT)
aIndex
- the index of the texture coordinates to be retrievedaTexCoordSFCT
- an ILcd2DEditablePoint to receive the texture coordinatesvoid getColorSFCT(int aIndex, float[] aColorSFCT)
aIndex
- the index of the color to be retrievedaColorSFCT
- a float array with a length of at least four, to receive the color componentsint getPrimitiveCount()
getPrimitive(int)
ILcd3DPrimitive getPrimitive(int aIndex)
aIndex
- the index of the requested primitiveTLcd3DPrimitiveType