vtk
Class vtkCursor3D

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkSource
                  extended byvtk.vtkPolyDataSource
                      extended byvtk.vtkCursor3D
All Implemented Interfaces:
java.io.Serializable

public class vtkCursor3D
extends vtkPolyDataSource
implements java.io.Serializable

vtkCursor3D - generate a 3D cursor representation. vtkCursor3D is an object that generates a 3D representation of a cursor. The cursor consists of a wireframe bounding box, three intersecting axes lines that meet at the cursor focus, and "shadows" or projections of the axes against the sides of the bounding box. Each of these components can be turned on/off. This filter generates two output datasets. The first (Output) is just the geometric representation of the cursor. The second (Focus) is a single point at the focal point. JavaBean wrapper for vtkCursor3D 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
  vtkCursor3D()
           
protected vtkCursor3D(int dmy)
           
 
Method Summary
 void allOff()
          Turn every part of the 3D cursor on or off.
 void allOn()
          Turn every part of the 3D cursor on or off.
 void axesOff()
          Turn on/off the wireframe axes.
 void axesOn()
          Turn on/off the wireframe axes.
 int getAxes()
          Turn on/off the wireframe axes.
 java.lang.String getClassName()
          Return the class name as a string.
 double[] getFocalPoint()
          Set/Get the position of cursor focus.
 vtkPolyData getFocus()
          Get the focus for this filter.
 double[] getModelBounds()
          Set / get the boundary of the 3D cursor.
 int getOutline()
          Turn on/off the wireframe bounding box.
 vtkCursor3D getThisCursor3D()
           
 int getTranslationMode()
          Enable/disable the translation mode.
 int getWrap()
          Turn on/off cursor wrapping.
 int getXShadows()
          Turn on/off the wireframe x-shadows.
 int getYShadows()
          Turn on/off the wireframe y-shadows.
 int getZShadows()
          Turn on/off the wireframe z-shadows.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void outlineOff()
          Turn on/off the wireframe bounding box.
 void outlineOn()
          Turn on/off the wireframe bounding box.
 void setAxes(int id0)
          Turn on/off the wireframe axes.
 void setFocalPoint(double[] id0)
          Set/Get the position of cursor focus.
 void setFocalPoint(double id0, double id1, double id2)
          Set/Get the position of cursor focus.
 void setModelBounds(double[] id0)
          Set / get the boundary of the 3D cursor.
 void setModelBounds(double id0, double id1, double id2, double id3, double id4, double id5)
          Set / get the boundary of the 3D cursor.
 void setOutline(int id0)
          Turn on/off the wireframe bounding box.
 void setTranslationMode(int id0)
          Enable/disable the translation mode.
 void setWrap(int id0)
          Turn on/off cursor wrapping.
 void setXShadows(int id0)
          Turn on/off the wireframe x-shadows.
 void setYShadows(int id0)
          Turn on/off the wireframe y-shadows.
 void setZShadows(int id0)
          Turn on/off the wireframe z-shadows.
 void translationModeOff()
          Enable/disable the translation mode.
 void translationModeOn()
          Enable/disable the translation mode.
protected  void VTKCastInit()
           
 void VTKInit()
           
 void wrapOff()
          Turn on/off cursor wrapping.
 void wrapOn()
          Turn on/off cursor wrapping.
 void xShadowsOff()
          Turn on/off the wireframe x-shadows.
 void xShadowsOn()
          Turn on/off the wireframe x-shadows.
 void yShadowsOff()
          Turn on/off the wireframe y-shadows.
 void yShadowsOn()
          Turn on/off the wireframe y-shadows.
 void zShadowsOff()
          Turn on/off the wireframe z-shadows.
 void zShadowsOn()
          Turn on/off the wireframe z-shadows.
 
Methods inherited from class vtk.vtkPolyDataSource
getOutput, getOutput, getThisPolyDataSource, setOutput
 
Methods inherited from class vtk.vtkSource
computeInputUpdateExtents, getNumberOfOutputs, getOutputIndex, getReleaseDataFlag, getThisSource, inRegisterLoop, propagateUpdateExtent, releaseDataFlagOff, releaseDataFlagOn, setReleaseDataFlag, triggerAsynchronousUpdate, unRegister, unRegisterAllOutputs, update, updateData, updateInformation, updateWholeExtent
 
Methods inherited from class vtk.vtkProcessObject
abortExecuteOff, abortExecuteOn, getAbortExecute, getErrorCode, getNumberOfInputs, getProgress, getProgressMaxValue, getProgressMinValue, getProgressText, getThisProcessObject, removeAllInputs, setAbortExecute, setProgress, setProgressText, squeezeInputArray, updateProgress
 
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

vtkCursor3D

public vtkCursor3D()

vtkCursor3D

protected vtkCursor3D(int dmy)
Method Detail

getThisCursor3D

public vtkCursor3D getThisCursor3D()

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 vtkPolyDataSource

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 vtkPolyDataSource

setModelBounds

public void setModelBounds(double id0,
                           double id1,
                           double id2,
                           double id3,
                           double id4,
                           double id5)
Set / get the boundary of the 3D cursor.


setModelBounds

public void setModelBounds(double[] id0)
Set / get the boundary of the 3D cursor.


getModelBounds

public double[] getModelBounds()
Set / get the boundary of the 3D cursor.


setFocalPoint

public void setFocalPoint(double[] id0)
Set/Get the position of cursor focus. If translation mode is on, then the entire cursor (including bounding box, cursor, and shadows) is translated. Otherwise, the focal point will either be clamped to the bounding box, or wrapped, if Wrap is on. (Note: this behavior requires that the bounding box is set prior to the focal point.)


setFocalPoint

public void setFocalPoint(double id0,
                          double id1,
                          double id2)
Set/Get the position of cursor focus. If translation mode is on, then the entire cursor (including bounding box, cursor, and shadows) is translated. Otherwise, the focal point will either be clamped to the bounding box, or wrapped, if Wrap is on. (Note: this behavior requires that the bounding box is set prior to the focal point.)


getFocalPoint

public double[] getFocalPoint()
Set/Get the position of cursor focus. If translation mode is on, then the entire cursor (including bounding box, cursor, and shadows) is translated. Otherwise, the focal point will either be clamped to the bounding box, or wrapped, if Wrap is on. (Note: this behavior requires that the bounding box is set prior to the focal point.)


setOutline

public void setOutline(int id0)
Turn on/off the wireframe bounding box.


getOutline

public int getOutline()
Turn on/off the wireframe bounding box.


outlineOn

public void outlineOn()
Turn on/off the wireframe bounding box.


outlineOff

public void outlineOff()
Turn on/off the wireframe bounding box.


setAxes

public void setAxes(int id0)
Turn on/off the wireframe axes.


getAxes

public int getAxes()
Turn on/off the wireframe axes.


axesOn

public void axesOn()
Turn on/off the wireframe axes.


axesOff

public void axesOff()
Turn on/off the wireframe axes.


setXShadows

public void setXShadows(int id0)
Turn on/off the wireframe x-shadows.


getXShadows

public int getXShadows()
Turn on/off the wireframe x-shadows.


xShadowsOn

public void xShadowsOn()
Turn on/off the wireframe x-shadows.


xShadowsOff

public void xShadowsOff()
Turn on/off the wireframe x-shadows.


setYShadows

public void setYShadows(int id0)
Turn on/off the wireframe y-shadows.


getYShadows

public int getYShadows()
Turn on/off the wireframe y-shadows.


yShadowsOn

public void yShadowsOn()
Turn on/off the wireframe y-shadows.


yShadowsOff

public void yShadowsOff()
Turn on/off the wireframe y-shadows.


setZShadows

public void setZShadows(int id0)
Turn on/off the wireframe z-shadows.


getZShadows

public int getZShadows()
Turn on/off the wireframe z-shadows.


zShadowsOn

public void zShadowsOn()
Turn on/off the wireframe z-shadows.


zShadowsOff

public void zShadowsOff()
Turn on/off the wireframe z-shadows.


setTranslationMode

public void setTranslationMode(int id0)
Enable/disable the translation mode. If on, changes in cursor position cause the entire widget to translate along with the cursor. By default, translation mode is off.


getTranslationMode

public int getTranslationMode()
Enable/disable the translation mode. If on, changes in cursor position cause the entire widget to translate along with the cursor. By default, translation mode is off.


translationModeOn

public void translationModeOn()
Enable/disable the translation mode. If on, changes in cursor position cause the entire widget to translate along with the cursor. By default, translation mode is off.


translationModeOff

public void translationModeOff()
Enable/disable the translation mode. If on, changes in cursor position cause the entire widget to translate along with the cursor. By default, translation mode is off.


setWrap

public void setWrap(int id0)
Turn on/off cursor wrapping. If the cursor focus moves outside the specified bounds, the cursor will either be restrained against the nearest "wall" (Wrap=off), or it will wrap around (Wrap=on).


getWrap

public int getWrap()
Turn on/off cursor wrapping. If the cursor focus moves outside the specified bounds, the cursor will either be restrained against the nearest "wall" (Wrap=off), or it will wrap around (Wrap=on).


wrapOn

public void wrapOn()
Turn on/off cursor wrapping. If the cursor focus moves outside the specified bounds, the cursor will either be restrained against the nearest "wall" (Wrap=off), or it will wrap around (Wrap=on).


wrapOff

public void wrapOff()
Turn on/off cursor wrapping. If the cursor focus moves outside the specified bounds, the cursor will either be restrained against the nearest "wall" (Wrap=off), or it will wrap around (Wrap=on).


getFocus

public vtkPolyData getFocus()
Get the focus for this filter.


allOn

public void allOn()
Turn every part of the 3D cursor on or off.


allOff

public void allOff()
Turn every part of the 3D cursor on or off.


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkPolyDataSource


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.