|
||||||||||
| 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.SplineMeshEditorWindow
public class SplineMeshEditorWindow
The SplineMeshEditorWindow class represents the window for editing SplineMesh objects.
| Field Summary |
|---|
| Fields inherited from interface artofillusion.ui.MeshEditController |
|---|
EDGE_MODE, FACE_MODE, POINT_MODE |
| Constructor Summary | |
|---|---|
SplineMeshEditorWindow(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 |
bindSkeletonCommand()
This is overridden to update jointWeightParam after weights are changed. |
void |
deleteCommand()
Delete the current selection. |
void |
extendSelectionCommand()
Extend the selection outward by one edge. |
TextureParameter |
getJointWeightParam()
Get the extra texture parameter which was added to the mesh to keep track of joint weighting. |
ObjectInfo |
getObject()
Get the object being edited in this window. |
boolean[] |
getSelection()
Get an array of flags telling which parts of the mesh are currently selected. |
int[] |
getSelectionDistance()
Get the distance of each vertex from a selected vertex. |
int |
getSelectionMode()
Get the current selection mode. |
void |
invertSelectionCommand()
Invert the current selection. |
void |
removeExtraParameters()
Remove the extra texture parameter from the mesh which was used for keeping track of joint weights. |
void |
selectAllCommand()
Select the entire mesh. |
void |
setMesh(Mesh mesh)
Set the Mesh object for this viewer. |
void |
setObject(Object3D obj)
Set the object being edited in this window. |
void |
setPointsCommand()
This is overridden to update jointWeightParam after weights are changed. |
void |
setSelection(boolean[] sel)
Set an array of flags specifying which parts of the mesh are selected. |
void |
setSelectionMode(int mode)
When the selection mode changes, do our best to convert the old selection to the new mode. |
void |
setTool(EditingTool tool)
Set the currently selected EditingTool. |
void |
updateImage()
Update the image displayed in this window. |
void |
updateMenus()
Update which menus are enabled. |
| Methods inherited from class artofillusion.MeshEditorWindow |
|---|
centerCommand, deleteJointCommand, dispose, editJointCommand, getFaceIndexParameter, getMeshTension, getScene, getTensionDistance, isExtraParameter, isFreehand, objectChanged, randomizeCommand, redoCommand, renderPreviewCommand, setFreehand, setJointParentCommand, setParametersCommand, setTensionCommand, transformPointsCommand, undoCommand |
| Methods inherited from class artofillusion.ObjectEditorWindow |
|---|
confirmClose, getAllViews, getFrame, getToolPalette, getView, setCurrentView, setGridCommand, setHelpText, setModified, setTemplateCommand, setUndoRecord, setVisible, showAxesCommand, showTemplateCommand, toggleViewsCommand |
| 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.EditingWindow |
|---|
confirmClose, getFrame, getScene, getToolPalette, getView, setHelpText, setModified, setUndoRecord |
| Constructor Detail |
|---|
public SplineMeshEditorWindow(EditingWindow parent,
java.lang.String title,
ObjectInfo obj,
java.lang.Runnable onClose,
boolean allowTopology)
| Method Detail |
|---|
public ObjectInfo getObject()
getObject in interface MeshEditControllerpublic void setObject(Object3D obj)
public void setSelectionMode(int mode)
setSelectionMode in interface MeshEditControllerpublic int getSelectionMode()
MeshEditController
getSelectionMode in interface MeshEditControllerpublic boolean[] getSelection()
getSelection in interface MeshEditControllergetSelection in class MeshEditorWindowpublic void setSelection(boolean[] sel)
MeshEditorWindow
setSelection in interface MeshEditControllersetSelection in class MeshEditorWindowpublic int[] getSelectionDistance()
MeshEditorWindow
getSelectionDistance in interface MeshEditControllergetSelectionDistance in class MeshEditorWindowpublic void setMesh(Mesh mesh)
MeshEditorWindow
setMesh in interface MeshEditControllersetMesh in class MeshEditorWindowpublic void setTool(EditingTool tool)
EditingWindow
setTool in interface EditingWindowsetTool in class ObjectEditorWindowpublic void updateImage()
EditingWindow
updateImage in interface EditingWindowupdateImage in class ObjectEditorWindowpublic void updateMenus()
EditingWindow
updateMenus in interface EditingWindowupdateMenus in class MeshEditorWindowpublic void removeExtraParameters()
public TextureParameter getJointWeightParam()
getJointWeightParam in class MeshEditorWindowpublic void bindSkeletonCommand()
bindSkeletonCommand in class MeshEditorWindowpublic void setPointsCommand()
setPointsCommand in class MeshEditorWindowpublic void selectAllCommand()
public void extendSelectionCommand()
public void invertSelectionCommand()
public void deleteCommand()
deleteCommand in class MeshEditorWindowpublic void adjustDeltas(Vec3[] delta)
MeshEditorWindow
adjustDeltas in class MeshEditorWindow
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||