|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCustomWidget
artofillusion.ViewerCanvas
artofillusion.ObjectViewer
artofillusion.MeshViewer
public abstract class MeshViewer
MeshViewer is an abstract subclass of ViewerCanvas used for displaying Mesh objects.
Field Summary | |
---|---|
static int |
HANDLE_SIZE
|
Fields inherited from class artofillusion.ViewerCanvas |
---|
backgroundColor, disabledColor, handleColor, highlightColor, highValueColor, lineColor, lowValueColor, RENDER_FLAT, RENDER_RENDERED, RENDER_SMOOTH, RENDER_TEXTURED, RENDER_TRANSPARENT, RENDER_WIREFRAME, specialHighlightColor, surfaceColor, surfaceRGBColor, transparentColor, VIEW_BACK, VIEW_BOTTOM, VIEW_FRONT, VIEW_LEFT, VIEW_OTHER, VIEW_RIGHT, VIEW_TOP |
Constructor Summary | |
---|---|
MeshViewer(MeshEditController controller,
RowContainer p)
|
Method Summary | |
---|---|
double[] |
estimateDepthRange()
Estimate the range of depth values that the camera will need to render. |
boolean[] |
getLockedJoints()
Get an array of size [# joints in skeleton] specifyiing which ones are locked. |
boolean |
getMeshVisible()
Get whether the control mesh is visible. |
int |
getSelectedJoint()
Get the ID of the selected joint. |
boolean |
getSkeletonDetached()
Get whether the mesh is detached from the skeleton. |
boolean |
getSkeletonVisible()
Get whether the skeleton is visible. |
TextureParameter |
getSurfaceTextureParameter()
Get the parameter by which the surface is colored. |
boolean |
getSurfaceVisible()
Get whether the surface is visible. |
boolean |
isJointLocked(int id)
Determine whether a particular joint is locked. |
void |
lockJoint(int id)
Lock the joint with the specified ID. |
void |
setMeshVisible(boolean visible)
Set whether the control mesh is visible. |
void |
setSelectedJoint(int id)
Set the selected joint. |
void |
setSkeletonDetached(boolean detached)
Set whether the mesh is detached from the skeleton. |
void |
setSkeletonVisible(boolean visible)
Set whether the skeleton is visible. |
void |
setSurfaceTextureParameter(TextureParameter param)
Set the parameter by which the surface is colored. |
void |
setSurfaceVisible(boolean visible)
Set whether the surface is visible. |
void |
unlockJoint(int id)
Unlock the joint with the specified ID. |
Methods inherited from class artofillusion.ObjectViewer |
---|
beginDraggingSelection, endDraggingSelection, getController, getDisplayCoordinates, getFreehandSelection, getScene, getSceneVisible, getUseWorldCoords, previewObject, selectionRegionContains, selectionRegionIntersects, setFreehandSelection, setScene, setSceneVisible, setUseWorldCoords, updateImage, viewChanged |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int HANDLE_SIZE
Constructor Detail |
---|
public MeshViewer(MeshEditController controller, RowContainer p)
Method Detail |
---|
public int getSelectedJoint()
public void setSelectedJoint(int id)
public boolean[] getLockedJoints()
public boolean isJointLocked(int id)
public void lockJoint(int id)
public void unlockJoint(int id)
public boolean getMeshVisible()
public void setMeshVisible(boolean visible)
public boolean getSurfaceVisible()
public void setSurfaceVisible(boolean visible)
public boolean getSkeletonVisible()
public void setSkeletonVisible(boolean visible)
public boolean getSkeletonDetached()
public void setSkeletonDetached(boolean detached)
public TextureParameter getSurfaceTextureParameter()
public void setSurfaceTextureParameter(TextureParameter param)
public double[] estimateDepthRange()
estimateDepthRange
in class ObjectViewer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |