apps.threedmanipulation.tools
Class Telescope

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

public class Telescope
extends java.lang.Object

The Class Telescope.


Constructor Summary
Telescope(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 initTelescopePosition, float initTelescopeZoom, float telescopeRadius)
          Instantiates a new telescope.
 
Method Summary
 void addToolListener(ToolListener l)
          Adds the tool listener.
 void cleanup()
          Cleanup.
 TelescopeLen getTelescopeLens()
          Gets the telescope lens.
 void removeToolListener(ToolListener l)
          Removes the tool listener.
 void render(com.jme.scene.Node renderedNode)
          Render.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Telescope

public Telescope(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 initTelescopePosition,
                 float initTelescopeZoom,
                 float telescopeRadius)
Instantiates a new telescope.

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
initTelescopePosition - the init telescope position
initTelescopeZoom - the init telescope zoom
telescopeRadius - the telescope radius
Method Detail

addToolListener

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

Parameters:
l - the l

cleanup

public void cleanup()
Cleanup.


getTelescopeLens

public TelescopeLen getTelescopeLens()
Gets the telescope lens.

Returns:
the telescope lens

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