vtk
Class vtkInteractorStyleJoystickCamera

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkInteractorObserver
              extended byvtk.vtkInteractorStyle
                  extended byvtk.vtkInteractorStyleJoystickCamera
All Implemented Interfaces:
java.io.Serializable

public class vtkInteractorStyleJoystickCamera
extends vtkInteractorStyle
implements java.io.Serializable

vtkInteractorStyleJoystickCamera - interactive manipulation of the camera. vtkInteractorStyleJoystickCamera allows the user to move (rotate, pan, etc.) the camera, the point of view for the scene. The position of the mouse relative to the center of the scene determines the speed at which the camera moves, and the speed of the mouse movement determines the acceleration of the camera, so the camera continues to move even if the mouse if not moving. For a 3-button mouse, the left button is for rotation, the right button for zooming, the middle button for panning, and ctrl + left button for spinning. (With fewer mouse buttons, ctrl + shift + left button is for zooming, and shift + left button is for panning.) JavaBean wrapper for vtkInteractorStyleJoystickCamera object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
vtkInteractorStyleJoystickActor, vtkInteractorStyleTrackballCamera, Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkInteractorStyleJoystickCamera()
           
protected vtkInteractorStyleJoystickCamera(int dmy)
           
 
Method Summary
 void dolly()
          These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion.
 java.lang.String getClassName()
          Return the class name as a string.
 vtkInteractorStyleJoystickCamera getThisInteractorStyleJoystickCamera()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void onLeftButtonDown()
          Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
 void onLeftButtonUp()
          Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
 void onMiddleButtonDown()
          Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
 void onMiddleButtonUp()
          Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
 void onMouseMove()
          Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
 void onRightButtonDown()
          Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
 void onRightButtonUp()
          Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
 void pan()
          These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion.
 void rotate()
          These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion.
 void spin()
          These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkInteractorStyle
autoAdjustCameraClippingRangeOff, autoAdjustCameraClippingRangeOn, endDolly, endPan, endRotate, endSpin, endTimer, endUniformScale, endZoom, findPokedRenderer, getAutoAdjustCameraClippingRange, getAutoAdjustCameraClippingRangeMaxValue, getAutoAdjustCameraClippingRangeMinValue, getHandleObservers, getPickColor, getState, getThisInteractorStyle, getUseTimers, handleObserversOff, handleObserversOn, highlightActor2D, highlightProp, highlightProp3D, onChar, onConfigure, onEnter, onExpose, onKeyDown, onKeyPress, onKeyRelease, onKeyUp, onLeave, onTimer, setAutoAdjustCameraClippingRange, setEnabled, setHandleObservers, setInteractor, setPickColor, setPickColor, setUseTimers, startAnimate, startDolly, startPan, startRotate, startSpin, startState, startTimer, startUniformScale, startZoom, stopAnimate, stopState, uniformScale, useTimersOff, useTimersOn, zoom
 
Methods inherited from class vtk.vtkInteractorObserver
enabledOff, enabledOn, getCurrentRenderer, getDefaultRenderer, getEnabled, getInteractor, getKeyPressActivation, getKeyPressActivationValue, getPriority, getPriorityMaxValue, getPriorityMinValue, getThisInteractorObserver, keyPressActivationOff, keyPressActivationOn, off, on, setCurrentRenderer, setDefaultRenderer, setKeyPressActivation, setKeyPressActivationValue, setPriority
 
Methods inherited from class vtk.vtkObject
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister
 
Methods inherited from class vtk.vtkObjectBase
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changes

protected java.beans.PropertyChangeSupport changes
Constructor Detail

vtkInteractorStyleJoystickCamera

public vtkInteractorStyleJoystickCamera()

vtkInteractorStyleJoystickCamera

protected vtkInteractorStyleJoystickCamera(int dmy)
Method Detail

getThisInteractorStyleJoystickCamera

public vtkInteractorStyleJoystickCamera getThisInteractorStyleJoystickCamera()

getClassName

public java.lang.String getClassName()
Description copied from class: vtkObjectBase
Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
getClassName in class vtkInteractorStyle

isA

public int isA(java.lang.String id0)
Description copied from class: vtkObjectBase
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
isA in class vtkInteractorStyle

onMouseMove

public void onMouseMove()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Overrides:
onMouseMove in class vtkInteractorStyle

onLeftButtonDown

public void onLeftButtonDown()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Overrides:
onLeftButtonDown in class vtkInteractorStyle

onLeftButtonUp

public void onLeftButtonUp()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Overrides:
onLeftButtonUp in class vtkInteractorStyle

onMiddleButtonDown

public void onMiddleButtonDown()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Overrides:
onMiddleButtonDown in class vtkInteractorStyle

onMiddleButtonUp

public void onMiddleButtonUp()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Overrides:
onMiddleButtonUp in class vtkInteractorStyle

onRightButtonDown

public void onRightButtonDown()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Overrides:
onRightButtonDown in class vtkInteractorStyle

onRightButtonUp

public void onRightButtonUp()
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Overrides:
onRightButtonUp in class vtkInteractorStyle

rotate

public void rotate()
Description copied from class: vtkInteractorStyle
These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion. Since they might be called from OnTimer, they do not have mouse coord parameters (use interactor's GetEventPosition and GetLastEventPosition)

Overrides:
rotate in class vtkInteractorStyle

spin

public void spin()
Description copied from class: vtkInteractorStyle
These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion. Since they might be called from OnTimer, they do not have mouse coord parameters (use interactor's GetEventPosition and GetLastEventPosition)

Overrides:
spin in class vtkInteractorStyle

pan

public void pan()
Description copied from class: vtkInteractorStyle
These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion. Since they might be called from OnTimer, they do not have mouse coord parameters (use interactor's GetEventPosition and GetLastEventPosition)

Overrides:
pan in class vtkInteractorStyle

dolly

public void dolly()
Description copied from class: vtkInteractorStyle
These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion. Since they might be called from OnTimer, they do not have mouse coord parameters (use interactor's GetEventPosition and GetLastEventPosition)

Overrides:
dolly in class vtkInteractorStyle

VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkInteractorStyle

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkInteractorStyle


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.