|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbuoy.event.EventSource
buoy.widget.Widget
buoy.widget.WidgetContainer
buoy.widget.WindowWidget
buoy.widget.BFrame
artofillusion.ObjectEditorWindow
artofillusion.MeshEditorWindow
artofillusion.animation.distortion.SkeletonShapeEditorWindow
public class SkeletonShapeEditorWindow
The SkeletonShapeEditorWindow class represents the window for editing SkeletonShapeKeyframes.
| Field Summary |
|---|
| Fields inherited from interface artofillusion.ui.MeshEditController |
|---|
EDGE_MODE, FACE_MODE, POINT_MODE |
| Constructor Summary | |
|---|---|
SkeletonShapeEditorWindow(EditingWindow parent,
java.lang.String title,
SkeletonShapeTrack track,
int keyIndex,
java.lang.Runnable onClose)
|
|
| 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()
This method does nothing, since it is not permitted to modify the mesh topology. |
ObjectInfo |
getObject()
Get the object being edited in this window. |
boolean[] |
getSelection()
Get an array of flags specifying which vertices are selected. |
int[] |
getSelectionDistance()
Selection distance is not used for anything in this window, so this simply returns 0 for selected vertices and -1 for unselected vertices. |
int |
getSelectionMode()
Get the selection mode. |
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[] selected)
Set which vertices are selected. |
void |
setSelectionMode(int mode)
This is ignored, since this window only supports one selection mode. |
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 buoy.widget.BFrame |
|---|
getChildCount, getChildren, getComponent, getFrames, getIcon, getMenuBar, getTitle, isIconified, isMaximized, isResizable, remove, removeAll, setIcon, setIconified, setMaximized, setMenuBar, setResizable, setTitle |
| Methods inherited from class buoy.widget.WindowWidget |
|---|
getContent, getDefaultButton, isVisible, layoutChildren, pack, setBounds, setContent, setDefaultButton, toBack, toFront |
| Methods inherited from class buoy.widget.WidgetContainer |
|---|
isOpaque, setOpaque |
| Methods inherited from class buoy.widget.Widget |
|---|
addEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName |
| Methods inherited from class buoy.event.EventSource |
|---|
addEventLink, addEventLink, removeEventLink |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface artofillusion.ui.MeshEditController |
|---|
getMeshTension, getTensionDistance, objectChanged |
| Methods inherited from interface artofillusion.ui.EditingWindow |
|---|
confirmClose, getFrame, getToolPalette, getView, setHelpText, setModified, setTool, setUndoRecord, updateImage |
| Constructor Detail |
|---|
public SkeletonShapeEditorWindow(EditingWindow parent,
java.lang.String title,
SkeletonShapeTrack track,
int keyIndex,
java.lang.Runnable onClose)
| Method Detail |
|---|
public void updateMenus()
EditingWindow
updateMenus in interface EditingWindowupdateMenus in class MeshEditorWindowpublic ObjectInfo getObject()
getObject in interface MeshEditControllerpublic void setObject(Object3D obj)
public void setMesh(Mesh mesh)
MeshEditorWindow
setMesh in interface MeshEditControllersetMesh in class MeshEditorWindowpublic int getSelectionMode()
getSelectionMode in interface MeshEditControllerpublic void setSelectionMode(int mode)
setSelectionMode in interface MeshEditControllerpublic boolean[] getSelection()
getSelection in interface MeshEditControllergetSelection in class MeshEditorWindowpublic void setSelection(boolean[] selected)
setSelection in interface MeshEditControllersetSelection in class MeshEditorWindowpublic int[] getSelectionDistance()
getSelectionDistance in interface MeshEditControllergetSelectionDistance in class MeshEditorWindowpublic void adjustDeltas(Vec3[] delta)
adjustDeltas in class MeshEditorWindowpublic void deleteCommand()
deleteCommand in class MeshEditorWindow
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||