vtk
Class vtkGenericRenderWindowInteractor

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkRenderWindowInteractor
              extended byvtk.vtkGenericRenderWindowInteractor
All Implemented Interfaces:
java.io.Serializable

public class vtkGenericRenderWindowInteractor
extends vtkRenderWindowInteractor
implements java.io.Serializable

vtkGenericRenderWindowInteractor - platform-independent programmable render window interactor.. vtkGenericRenderWindowInteractor provides a way to translate native mouse and keyboard events into vtk Events. By calling the methods on this class, vtk events will be invoked. This will allow scripting languages to use vtkInteractorStyles and 3D widgets. JavaBean wrapper for vtkGenericRenderWindowInteractor object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkGenericRenderWindowInteractor()
           
protected vtkGenericRenderWindowInteractor(int dmy)
           
 
Method Summary
 void charEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void configureEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 int createTimer(int id0)
          Allow users of the class to add callbacks to handle the creation and destruction of timers.
 int destroyTimer()
          Allow users of the class to add callbacks to handle the creation and destruction of timers.
 void enterEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void exitEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void exposeEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 java.lang.String getClassName()
          Return the class name as a string.
 vtkGenericRenderWindowInteractor getThisGenericRenderWindowInteractor()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void keyPressEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void keyReleaseEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void leaveEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void leftButtonPressEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void leftButtonReleaseEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void middleButtonPressEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void middleButtonReleaseEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void mouseMoveEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void rightButtonPressEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void rightButtonReleaseEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
 void timerEvent()
          Fire various events, SetEventInformation should be called just prior to calling any of these methods.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkRenderWindowInteractor
createDefaultPicker, disable, enable, endPickCallback, exitCallback, findPokedRenderer, flyTo, flyToImage, getControlKey, getDesiredUpdateRate, getDesiredUpdateRateMaxValue, getDesiredUpdateRateMinValue, getDolly, getEnabled, getEventPosition, getEventSize, getInitialized, getInteractorStyle, getKeyCode, getKeySym, getLastEventPosition, getLightFollowCamera, getNumberOfFlyFrames, getNumberOfFlyFramesMaxValue, getNumberOfFlyFramesMinValue, getPicker, getRenderWindow, getRepeatCount, getShiftKey, getSize, getStillUpdateRate, getStillUpdateRateMaxValue, getStillUpdateRateMinValue, getThisRenderWindowInteractor, hideCursor, initialize, lightFollowCameraOff, lightFollowCameraOn, reInitialize, render, setControlKey, setDesiredUpdateRate, setDolly, setEventInformation, setEventInformationFlipY, setEventPosition, setEventPosition, setEventPositionFlipY, setEventPositionFlipY, setEventSize, setEventSize, setInteractorStyle, setKeyCode, setKeyEventInformation, setKeySym, setLightFollowCamera, setNumberOfFlyFrames, setPicker, setRenderWindow, setRepeatCount, setShiftKey, setSize, setSize, setStillUpdateRate, showCursor, start, startPickCallback, terminateApp, unRegister, updateSize, userCallback
 
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
 
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

vtkGenericRenderWindowInteractor

public vtkGenericRenderWindowInteractor()

vtkGenericRenderWindowInteractor

protected vtkGenericRenderWindowInteractor(int dmy)
Method Detail

getThisGenericRenderWindowInteractor

public vtkGenericRenderWindowInteractor getThisGenericRenderWindowInteractor()

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 vtkRenderWindowInteractor

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 vtkRenderWindowInteractor

mouseMoveEvent

public void mouseMoveEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


rightButtonPressEvent

public void rightButtonPressEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


rightButtonReleaseEvent

public void rightButtonReleaseEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


leftButtonPressEvent

public void leftButtonPressEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


leftButtonReleaseEvent

public void leftButtonReleaseEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


middleButtonPressEvent

public void middleButtonPressEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


middleButtonReleaseEvent

public void middleButtonReleaseEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


exposeEvent

public void exposeEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


configureEvent

public void configureEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


enterEvent

public void enterEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


leaveEvent

public void leaveEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


timerEvent

public void timerEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


keyPressEvent

public void keyPressEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


keyReleaseEvent

public void keyReleaseEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


charEvent

public void charEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


exitEvent

public void exitEvent()
Fire various events, SetEventInformation should be called just prior to calling any of these methods. This methods will Invoke the corresponding vtk event.


createTimer

public int createTimer(int id0)
Allow users of the class to add callbacks to handle the creation and destruction of timers. CreateTimer should create a timer event of 10 milliseconds, and at the end of that time, it should call TimerEvent on this class.

Overrides:
createTimer in class vtkRenderWindowInteractor

destroyTimer

public int destroyTimer()
Allow users of the class to add callbacks to handle the creation and destruction of timers. CreateTimer should create a timer event of 10 milliseconds, and at the end of that time, it should call TimerEvent on this class.

Overrides:
destroyTimer in class vtkRenderWindowInteractor

VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkRenderWindowInteractor

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkRenderWindowInteractor


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.