|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MeshEditController
This interface represents an object which coordinates the editing of a mesh.
Field Summary | |
---|---|
static int |
EDGE_MODE
|
static int |
FACE_MODE
|
static int |
POINT_MODE
|
Method Summary | |
---|---|
double |
getMeshTension()
Get the mesh tension level. |
ObjectInfo |
getObject()
Get the object being edited. |
boolean[] |
getSelection()
Get an array of flags specifying which parts of the object are selected. |
int[] |
getSelectionDistance()
Get the distance of each vertex from the selected part of the object. |
int |
getSelectionMode()
Get the current selection mode. |
int |
getTensionDistance()
Get the distance over which mesh tension applies. |
void |
objectChanged()
This should be called whenever the object has changed. |
void |
setMesh(Mesh mesh)
Set the mesh being edited. |
void |
setSelection(boolean[] selected)
Set an array of flags specifying which parts of the object are selected. |
void |
setSelectionMode(int mode)
Set the selection mode. |
Field Detail |
---|
static final int POINT_MODE
static final int EDGE_MODE
static final int FACE_MODE
Method Detail |
---|
ObjectInfo getObject()
void setMesh(Mesh mesh)
void objectChanged()
int getSelectionMode()
void setSelectionMode(int mode)
boolean[] getSelection()
void setSelection(boolean[] selected)
int[] getSelectionDistance()
double getMeshTension()
int getTensionDistance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |