|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartofillusion.TriMeshSelectionUtilities
public class TriMeshSelectionUtilities
This class provides a variety of static methods for selecting parts of TriangleMeshes in different ways.
Constructor Summary | |
---|---|
TriMeshSelectionUtilities()
|
Method Summary | |
---|---|
static boolean[] |
convertSelection(TriangleMesh mesh,
int oldMode,
boolean[] selection,
int newMode)
Convert one type of selection (point, edge, or face) to a different one. |
static boolean[] |
findEdgeLoops(TriangleMesh mesh,
boolean[] selection)
Select an edge loop from each edge that is currently selected. |
static boolean[] |
findEdgeStrips(TriangleMesh mesh,
boolean[] selection)
Select an edge strip from each edge that is currently selected. |
static boolean[] |
findSelectionBoundary(TriangleMesh mesh,
int oldMode,
boolean[] selection)
Find the boundary of the current selection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TriMeshSelectionUtilities()
Method Detail |
---|
public static boolean[] convertSelection(TriangleMesh mesh, int oldMode, boolean[] selection, int newMode)
mesh
- the mesh the selection applies tooldMode
- the selection mode of the old selectionselection
- the old selectionnewMode
- the new selection mode
public static boolean[] findSelectionBoundary(TriangleMesh mesh, int oldMode, boolean[] selection)
mesh
- the mesh the selection applies tooldMode
- the selection mode of the old selectionselection
- the old selection
public static boolean[] findEdgeLoops(TriangleMesh mesh, boolean[] selection)
mesh
- the mesh the selection applies toselection
- the current selection (in edge mode)
public static boolean[] findEdgeStrips(TriangleMesh mesh, boolean[] selection)
mesh
- the mesh the selection applies toselection
- the current selection (in edge mode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |