|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkInteractorObserver vtk.vtkInteractorStyle vtk.vtkInteractorStyleFlight
vtkInteractorStyleFlight - provides flight motion routines. Left mouse button press produces forward motion. Right mouse button press produces reverse motion. Moving mouse during motion steers user in desired direction. Keyboard controls are: Left/Right/Up/Down Arrows for steering direction 'A' forward, 'Z' reverse motion Ctrl Key causes sidestep instead of steering in mouse and key modes Shift key is accelerator in mouse and key modes Ctrl and Shift together causes Roll in mouse and key modes By default, one "step" of motion corresponds to 1/250th of the diagonal of bounding box of visible actors, '+' and '-' keys allow user to increase or decrease step size. JavaBean wrapper for vtkInteractorStyleFlight object.
Field Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkInteractorStyleFlight()
|
protected |
vtkInteractorStyleFlight(int dmy)
|
Method Summary | |
void |
disableMotionOff()
Disable motion (temporarily - for viewing etc) |
void |
disableMotionOn()
Disable motion (temporarily - for viewing etc) |
void |
endForwardFly()
Concrete implementation of Keyboard event bindings for flight |
void |
endReverseFly()
Concrete implementation of Keyboard event bindings for flight |
void |
forwardFly()
Concrete implementation of Keyboard event bindings for flight |
double |
getAngleAccelerationFactor()
Set angular acceleration when shift key is applied : default 5 |
double |
getAngleStepSize()
Set the basic angular unit for turning : default 1 degree |
java.lang.String |
getClassName()
Return the class name as a string. |
double[] |
getDefaultUpVector()
|
int |
getDisableMotion()
Disable motion (temporarily - for viewing etc) |
double |
getMotionAccelerationFactor()
Set acceleration factor when shift key is applied : default 10 |
double |
getMotionStepSize()
Set the basic unit step size : by default 1/250 of bounding diagonal |
int |
getRestoreUpVector()
When flying, apply a restorative force to the "Up" vector. |
vtkInteractorStyleFlight |
getThisInteractorStyleFlight()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
jumpTo(double[] id0,
double[] id1)
Move the Eye/Camera to a specific location (no intermediate steps are taken |
void |
onChar()
Concrete implementation of Keyboard event bindings for flight |
void |
onKeyDown()
Concrete implementation of Keyboard event bindings for flight |
void |
onKeyUp()
Concrete implementation of Keyboard event bindings for flight |
void |
onLeftButtonDown()
Concrete implementation of Mouse event bindings for flight |
void |
onLeftButtonUp()
Concrete implementation of Mouse event bindings for flight |
void |
onMiddleButtonDown()
Concrete implementation of Mouse event bindings for flight |
void |
onMiddleButtonUp()
Concrete implementation of Mouse event bindings for flight |
void |
onMouseMove()
Concrete implementation of Mouse event bindings for flight |
void |
onRightButtonDown()
Concrete implementation of Mouse event bindings for flight |
void |
onRightButtonUp()
Concrete implementation of Mouse event bindings for flight |
void |
onTimer()
Concrete implementation of Keyboard event bindings for flight |
void |
restoreUpVectorOff()
When flying, apply a restorative force to the "Up" vector. |
void |
restoreUpVectorOn()
When flying, apply a restorative force to the "Up" vector. |
void |
reverseFly()
Concrete implementation of Keyboard event bindings for flight |
void |
setAngleAccelerationFactor(double id0)
Set angular acceleration when shift key is applied : default 5 |
void |
setAngleStepSize(double id0)
Set the basic angular unit for turning : default 1 degree |
void |
setDefaultUpVector(double[] id0)
|
void |
setDisableMotion(int id0)
Disable motion (temporarily - for viewing etc) |
void |
setMotionAccelerationFactor(double id0)
Set acceleration factor when shift key is applied : default 10 |
void |
setMotionStepSize(double id0)
Set the basic unit step size : by default 1/250 of bounding diagonal |
void |
setRestoreUpVector(int id0)
When flying, apply a restorative force to the "Up" vector. |
void |
startForwardFly()
Concrete implementation of Keyboard event bindings for flight |
void |
startReverseFly()
Concrete implementation of Keyboard event bindings for flight |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
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 |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkInteractorStyleFlight()
protected vtkInteractorStyleFlight(int dmy)
Method Detail |
public vtkInteractorStyleFlight getThisInteractorStyleFlight()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkInteractorStyle
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkInteractorStyle
public void jumpTo(double[] id0, double[] id1)
public void setMotionStepSize(double id0)
public double getMotionStepSize()
public void setMotionAccelerationFactor(double id0)
public double getMotionAccelerationFactor()
public void setAngleStepSize(double id0)
public double getAngleStepSize()
public void setAngleAccelerationFactor(double id0)
public double getAngleAccelerationFactor()
public void setDisableMotion(int id0)
public int getDisableMotion()
public void disableMotionOn()
public void disableMotionOff()
public void setRestoreUpVector(int id0)
public int getRestoreUpVector()
public void restoreUpVectorOn()
public void restoreUpVectorOff()
public double[] getDefaultUpVector()
public void setDefaultUpVector(double[] id0)
public void onMouseMove()
onMouseMove
in class vtkInteractorStyle
public void onLeftButtonDown()
onLeftButtonDown
in class vtkInteractorStyle
public void onLeftButtonUp()
onLeftButtonUp
in class vtkInteractorStyle
public void onMiddleButtonDown()
onMiddleButtonDown
in class vtkInteractorStyle
public void onMiddleButtonUp()
onMiddleButtonUp
in class vtkInteractorStyle
public void onRightButtonDown()
onRightButtonDown
in class vtkInteractorStyle
public void onRightButtonUp()
onRightButtonUp
in class vtkInteractorStyle
public void onChar()
onChar
in class vtkInteractorStyle
public void onKeyDown()
onKeyDown
in class vtkInteractorStyle
public void onKeyUp()
onKeyUp
in class vtkInteractorStyle
public void onTimer()
onTimer
in class vtkInteractorStyle
public void forwardFly()
public void reverseFly()
public void startForwardFly()
public void endForwardFly()
public void startReverseFly()
public void endReverseFly()
public void VTKInit()
VTKInit
in class vtkInteractorStyle
protected void VTKCastInit()
VTKCastInit
in class vtkInteractorStyle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |