vtk
Class vtkXYPlotWidget
java.lang.Object
vtk.vtkObjectBase
vtk.vtkObject
vtk.vtkInteractorObserver
vtk.vtkXYPlotWidget
- All Implemented Interfaces:
- java.io.Serializable
- public class vtkXYPlotWidget
- extends vtkInteractorObserver
- implements java.io.Serializable
vtkXYPlotWidget - 2D widget for manipulating a XY plot.
This class provides support for interactively manipulating the position,
size, and orientation of a XY Plot. It listens to Left mouse events and
mouse movement. It will change the cursor shape based on its location. If
the cursor is over an edge of thea XY plot it will change the cursor shape
to a resize edge shape. If the position of a XY plot is moved to be close to
the center of one of the four edges of the viewport, then the XY plot will
change its orientation to align with that edge. This orientation is sticky
in that it will stay that orientation until the position is moved close to
another edge.
JavaBean wrapper for vtkXYPlotWidget object.
- Author:
- vtk2jbean Automatic JavaBean wrapper for VTK.
- See Also:
- Serialized Form
Field Summary |
protected java.beans.PropertyChangeSupport |
changes
|
Methods inherited from class vtk.vtkInteractorObserver |
enabledOff, enabledOn, getCurrentRenderer, getDefaultRenderer, getEnabled, getInteractor, getKeyPressActivation, getKeyPressActivationValue, getPriority, getPriorityMaxValue, getPriorityMinValue, getThisInteractorObserver, keyPressActivationOff, keyPressActivationOn, off, on, onChar, setCurrentRenderer, setDefaultRenderer, setInteractor, 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 java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
changes
protected java.beans.PropertyChangeSupport changes
vtkXYPlotWidget
public vtkXYPlotWidget()
vtkXYPlotWidget
protected vtkXYPlotWidget(int dmy)
getThisXYPlotWidget
public vtkXYPlotWidget getThisXYPlotWidget()
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 vtkInteractorObserver
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 vtkInteractorObserver
setXYPlotActor
public void setXYPlotActor(vtkXYPlotActor id0)
- Get the XY plot used by this Widget. One is created automatically.
getXYPlotActor
public vtkXYPlotActor getXYPlotActor()
- Get the XY plot used by this Widget. One is created automatically.
setEnabled
public void setEnabled(int id0)
- Methods for turning the interactor observer on and off.
- Overrides:
setEnabled
in class vtkInteractorObserver
VTKInit
public void VTKInit()
- Overrides:
VTKInit
in class vtkObject
VTKCastInit
protected void VTKCastInit()
- Overrides:
VTKCastInit
in class vtkInteractorObserver
Copyright © 2004 Sydney ViSLAB. All Rights Reserved.