|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBFrame
artofillusion.ObjectEditorWindow
artofillusion.MeshEditorWindow
artofillusion.CurveEditorWindow
public class CurveEditorWindow
The CurveEditorWindow class represents the window for editing Curve objects.
Field Summary |
---|
Fields inherited from interface artofillusion.ui.MeshEditController |
---|
EDGE_MODE, FACE_MODE, POINT_MODE |
Constructor Summary | |
---|---|
CurveEditorWindow(EditingWindow parent,
java.lang.String title,
ObjectInfo obj,
java.lang.Runnable onClose,
boolean allowTopology)
|
Method Summary | |
---|---|
void |
adjustDeltas(Vec3[] delta)
Given a list of deltas which will be added to the selected vertices, calculate the corresponding deltas for the unselected vertices according to the mesh tension. |
void |
deleteCommand()
Delete any parts of the mesh which are currently selected. |
void |
extendSelectionCommand()
Extend the selection outward by one edge. |
ObjectInfo |
getObject()
Get the object being edited in this window. |
boolean[] |
getSelection()
Get an array of flags telling which vertices are currently selected. |
int[] |
getSelectionDistance()
Get the distance of each vertex from a selected vertex. |
int |
getSelectionMode()
The return value has no meaning, since there is only one selection mode in this window. |
void |
invertSelectionCommand()
Invert the current selection. |
void |
selectAllCommand()
Select the entire curve. |
void |
setMesh(Mesh mesh)
Set the Mesh object for this viewer. |
void |
setObject(Object3D obj)
Set the object being edited in this window. |
void |
setSelection(boolean[] sel)
Set an array of flags specifying which parts of the mesh are selected. |
void |
setSelectionMode(int mode)
This is ignored, since there is only one selection mode in this window. |
void |
setSmoothnessCommand()
|
void |
subdivideCommand()
|
void |
toggleClosedCommand()
|
void |
updateMenus()
Update which menus are enabled. |
Methods inherited from class artofillusion.ObjectEditorWindow |
---|
confirmClose, getAllViews, getFrame, getToolPalette, getView, setCurrentView, setGridCommand, setHelpText, setModified, setTemplateCommand, setTool, setUndoRecord, setVisible, showAxesCommand, showTemplateCommand, toggleViewsCommand, updateImage |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface artofillusion.ui.EditingWindow |
---|
confirmClose, getAllViews, getFrame, getScene, getToolPalette, getView, setHelpText, setModified, setTool, setUndoRecord, updateImage |
Constructor Detail |
---|
public CurveEditorWindow(EditingWindow parent, java.lang.String title, ObjectInfo obj, java.lang.Runnable onClose, boolean allowTopology)
Method Detail |
---|
public ObjectInfo getObject()
getObject
in interface MeshEditController
public void setObject(Object3D obj)
public void setMesh(Mesh mesh)
MeshEditorWindow
setMesh
in interface MeshEditController
setMesh
in class MeshEditorWindow
public boolean[] getSelection()
getSelection
in interface MeshEditController
getSelection
in class MeshEditorWindow
public void setSelection(boolean[] sel)
MeshEditorWindow
setSelection
in interface MeshEditController
setSelection
in class MeshEditorWindow
public int[] getSelectionDistance()
MeshEditorWindow
getSelectionDistance
in interface MeshEditController
getSelectionDistance
in class MeshEditorWindow
public int getSelectionMode()
getSelectionMode
in interface MeshEditController
public void setSelectionMode(int mode)
setSelectionMode
in interface MeshEditController
public void updateMenus()
EditingWindow
updateMenus
in interface EditingWindow
updateMenus
in class MeshEditorWindow
public void selectAllCommand()
public void extendSelectionCommand()
public void invertSelectionCommand()
public void deleteCommand()
MeshEditorWindow
deleteCommand
in class MeshEditorWindow
public void subdivideCommand()
public void setSmoothnessCommand()
public void toggleClosedCommand()
public void adjustDeltas(Vec3[] delta)
adjustDeltas
in class MeshEditorWindow
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |