|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mesh
The Mesh interface represents an object which is defined by a set of control vertices.
Field Summary | |
---|---|
static int |
APPROXIMATING
|
static int |
INTERPOLATING
|
static int |
NO_SMOOTHING
|
static int |
SMOOTH_SHADING
|
Method Summary | |
---|---|
void |
copyObject(Object3D obj)
Copy all the properties of another object, to make this one identical to it. |
MeshViewer |
createMeshViewer(MeshEditController controller,
RowContainer options)
Get a MeshViewer which can be used for viewing this mesh. |
Object3D |
duplicate()
Create a new object which is an exact duplicate of this one. |
BoundingBox |
getBounds()
Get a bounding box for the mesh. |
Vec3[] |
getNormals()
Get an array of normal vectors, one for each vertex. |
TextureParameter[] |
getParameters()
Get an array of TextureParameters which are defined on this mesh. |
ParameterValue[] |
getParameterValues()
Get the values of the TextureParameters which are defined on this mesh. |
Skeleton |
getSkeleton()
Get the skeleton for the object. |
Vec3[] |
getVertexPositions()
Get a list of the positions of all vertices which define the mesh. |
MeshVertex[] |
getVertices()
Get the list of vertices which define the mesh. |
void |
setSkeleton(Skeleton s)
Set the skeleton for the object. |
void |
setVertexPositions(Vec3[] v)
Set the positions for all the vertices of the mesh. |
Field Detail |
---|
static final int NO_SMOOTHING
static final int SMOOTH_SHADING
static final int INTERPOLATING
static final int APPROXIMATING
Method Detail |
---|
MeshVertex[] getVertices()
Vec3[] getVertexPositions()
void setVertexPositions(Vec3[] v)
BoundingBox getBounds()
Vec3[] getNormals()
TextureParameter[] getParameters()
ParameterValue[] getParameterValues()
Object3D duplicate()
void copyObject(Object3D obj)
Skeleton getSkeleton()
void setSkeleton(Skeleton s)
MeshViewer createMeshViewer(MeshEditController controller, RowContainer options)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |