de.jreality.plugin.content
Class ContentTools
java.lang.Object
Plugin
de.jreality.plugin.content.ContentTools
public class ContentTools
- extends Plugin
A plugin that adds tools to the viewer: rotate, drag, encompass, snap to grid, and pick faces, edges,
and vertices to the scene; and corresponding enable/disable buttons to the tool bar and to the "Content" menu.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentTools
public ContentTools()
install
public void install()
setSnapToGrid
public void setSnapToGrid(boolean b)
isSnapToGrid
public boolean isSnapToGrid()
setPickVertices
public void setPickVertices(boolean b)
setPickEdges
public void setPickEdges(boolean b)
setPickFaces
public void setPickFaces(boolean b)
isDragEnabled
public boolean isDragEnabled()
setDragEnabled
public void setDragEnabled(boolean b)
isRotationEnabled
public boolean isRotationEnabled()
setRotationEnabled
public void setRotationEnabled(boolean b)
isPickFaces
public boolean isPickFaces()
isPickEdges
public boolean isPickEdges()
isPickVertices
public boolean isPickVertices()
isEncompassEnabled
public boolean isEncompassEnabled()
setEncompassEnabled
public void setEncompassEnabled(boolean b)
install
public void install(Controller c)
throws java.lang.Exception
- Throws:
java.lang.Exception
uninstall
public void uninstall(Controller c)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPluginInfo
public PluginInfo getPluginInfo()
restoreStates
public void restoreStates(Controller c)
throws java.lang.Exception
- Throws:
java.lang.Exception
storeStates
public void storeStates(Controller c)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPerspective
public java.lang.Class<? extends PerspectiveFlavor> getPerspective()