apps.threedmanipulation.tools
Class Monitor

java.lang.Object
  extended by apps.threedmanipulation.tools.Monitor

public class Monitor
extends java.lang.Object

The Class Monitor.


Constructor Summary
Monitor(java.lang.String name, ContentSystem contentSystem, com.jme.scene.Node worldNode, com.jme.scene.Node orthoNode, java.util.List<com.jme.scene.Spatial> manipulatableOjbects, com.jme.math.Vector3f mainCameraPosition, com.jme.math.Vector2f initMonitorPosition, float initCameraZoom, float monitorWidth, java.lang.String skinColor, java.lang.String mode)
          Instantiates a new monitor.
 
Method Summary
 void addToolListener(ToolListener l)
          Adds the tool listener.
 void cleanup()
          Cleanup.
 CameraModel getCameraModel()
          Gets the camera model.
 MonitorScreen getMonitorScreen()
          Gets the monitor screen.
 void removeToolListener(ToolListener l)
          Removes the tool listener.
 void render(com.jme.scene.Node renderedNode)
          Render.
 void setMode(java.lang.String mode)
          Sets the mode.
 void update(float tpf)
          Update.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Monitor

public Monitor(java.lang.String name,
               ContentSystem contentSystem,
               com.jme.scene.Node worldNode,
               com.jme.scene.Node orthoNode,
               java.util.List<com.jme.scene.Spatial> manipulatableOjbects,
               com.jme.math.Vector3f mainCameraPosition,
               com.jme.math.Vector2f initMonitorPosition,
               float initCameraZoom,
               float monitorWidth,
               java.lang.String skinColor,
               java.lang.String mode)
Instantiates a new monitor.

Parameters:
name - the name
contentSystem - the content system
worldNode - the world node
orthoNode - the ortho node
manipulatableOjbects - the manipulatable ojbects
mainCameraPosition - the main camera position
initMonitorPosition - the init monitor position
initCameraZoom - the init camera zoom
monitorWidth - the monitor width
skinColor - the skin color
mode - the mode
Method Detail

addToolListener

public void addToolListener(ToolListener l)
Adds the tool listener.

Parameters:
l - the l

cleanup

public void cleanup()
Cleanup.


getCameraModel

public CameraModel getCameraModel()
Gets the camera model.

Returns:
the camera model

getMonitorScreen

public MonitorScreen getMonitorScreen()
Gets the monitor screen.

Returns:
the monitor screen

removeToolListener

public void removeToolListener(ToolListener l)
Removes the tool listener.

Parameters:
l - the l

render

public void render(com.jme.scene.Node renderedNode)
Render.

Parameters:
renderedNode - the rendered node

setMode

public void setMode(java.lang.String mode)
Sets the mode.

Parameters:
mode - the new mode

update

public void update(float tpf)
Update.

Parameters:
tpf - the tpf