vtk
Class vtkSelectVisiblePoints

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

public class vtkSelectVisiblePoints
extends vtkDataSetToPolyDataFilter
implements java.io.Serializable

vtkSelectVisiblePoints - extract points that are visible (based on z-buffer calculation). vtkSelectVisiblePoints is a filter that selects points based on whether they are visible or not. Visibility is determined by accessing the z-buffer of a rendering window. (The position of each input point is converted into display coordinates, and then the z-value at that point is obtained. If within the user-specified tolerance, the point is considered visible.) Points that are visible (or if the ivar SelectInvisible is on, invisible points) are passed to the output. Associated data attributes are passed to the output as well. This filter also allows you to specify a rectangular window in display (pixel) coordinates in which the visible points must lie. This can be used as a sort of local "brushing" operation to select just data within a window. JavaBean wrapper for vtkSelectVisiblePoints 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
  vtkSelectVisiblePoints()
           
protected vtkSelectVisiblePoints(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 int getMTime()
          Return MTime also considering the renderer.
 vtkRenderer getRenderer()
          Set/Get the flag which enables selection in a rectangular display region.
 int getSelectInvisible()
          Set/Get the flag which enables inverse selection; i.e., invisible points are selected.
 int[] getSelection()
          Specify the selection window in display coordinates.
 int getSelectionWindow()
          Set/Get the flag which enables selection in a rectangular display region.
 vtkSelectVisiblePoints getThisSelectVisiblePoints()
           
 double getTolerance()
          Set/Get a tolerance to use to determine whether a point is visible.
 double getToleranceMaxValue()
          Set/Get a tolerance to use to determine whether a point is visible.
 double getToleranceMinValue()
          Set/Get a tolerance to use to determine whether a point is visible.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void selectInvisibleOff()
          Set/Get the flag which enables inverse selection; i.e., invisible points are selected.
 void selectInvisibleOn()
          Set/Get the flag which enables inverse selection; i.e., invisible points are selected.
 void selectionWindowOff()
          Set/Get the flag which enables selection in a rectangular display region.
 void selectionWindowOn()
          Set/Get the flag which enables selection in a rectangular display region.
 void setRenderer(vtkRenderer id0)
          Specify the renderer in which the visibility computation is to be performed.
 void setSelectInvisible(int id0)
          Set/Get the flag which enables inverse selection; i.e., invisible points are selected.
 void setSelection(int[] id0)
          Specify the selection window in display coordinates.
 void setSelection(int id0, int id1, int id2, int id3)
          Specify the selection window in display coordinates.
 void setSelectionWindow(int id0)
          Set/Get the flag which enables selection in a rectangular display region.
 void setTolerance(double id0)
          Set/Get a tolerance to use to determine whether a point is visible.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkDataSetToPolyDataFilter
computeInputUpdateExtents, getInput, getThisDataSetToPolyDataFilter, setInput
 
Methods inherited from class vtk.vtkPolyDataSource
getOutput, getOutput, getThisPolyDataSource, setOutput
 
Methods inherited from class vtk.vtkSource
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, 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

vtkSelectVisiblePoints

public vtkSelectVisiblePoints()

vtkSelectVisiblePoints

protected vtkSelectVisiblePoints(int dmy)
Method Detail

getThisSelectVisiblePoints

public vtkSelectVisiblePoints getThisSelectVisiblePoints()

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 vtkDataSetToPolyDataFilter

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 vtkDataSetToPolyDataFilter

setRenderer

public void setRenderer(vtkRenderer id0)
Specify the renderer in which the visibility computation is to be performed.


getRenderer

public vtkRenderer getRenderer()
Set/Get the flag which enables selection in a rectangular display region.


setSelectionWindow

public void setSelectionWindow(int id0)
Set/Get the flag which enables selection in a rectangular display region.


getSelectionWindow

public int getSelectionWindow()
Set/Get the flag which enables selection in a rectangular display region.


selectionWindowOn

public void selectionWindowOn()
Set/Get the flag which enables selection in a rectangular display region.


selectionWindowOff

public void selectionWindowOff()
Set/Get the flag which enables selection in a rectangular display region.


setSelection

public void setSelection(int id0,
                         int id1,
                         int id2,
                         int id3)
Specify the selection window in display coordinates. You must specify a rectangular region using (xmin,xmax,ymin,ymax).


setSelection

public void setSelection(int[] id0)
Specify the selection window in display coordinates. You must specify a rectangular region using (xmin,xmax,ymin,ymax).


getSelection

public int[] getSelection()
Specify the selection window in display coordinates. You must specify a rectangular region using (xmin,xmax,ymin,ymax).


setSelectInvisible

public void setSelectInvisible(int id0)
Set/Get the flag which enables inverse selection; i.e., invisible points are selected.


getSelectInvisible

public int getSelectInvisible()
Set/Get the flag which enables inverse selection; i.e., invisible points are selected.


selectInvisibleOn

public void selectInvisibleOn()
Set/Get the flag which enables inverse selection; i.e., invisible points are selected.


selectInvisibleOff

public void selectInvisibleOff()
Set/Get the flag which enables inverse selection; i.e., invisible points are selected.


setTolerance

public void setTolerance(double id0)
Set/Get a tolerance to use to determine whether a point is visible. A tolerance is usually required because the conversion from world space to display space during rendering introduces numerical round-off.


getToleranceMinValue

public double getToleranceMinValue()
Set/Get a tolerance to use to determine whether a point is visible. A tolerance is usually required because the conversion from world space to display space during rendering introduces numerical round-off.


getToleranceMaxValue

public double getToleranceMaxValue()
Set/Get a tolerance to use to determine whether a point is visible. A tolerance is usually required because the conversion from world space to display space during rendering introduces numerical round-off.


getTolerance

public double getTolerance()
Set/Get a tolerance to use to determine whether a point is visible. A tolerance is usually required because the conversion from world space to display space during rendering introduces numerical round-off.


getMTime

public int getMTime()
Return MTime also considering the renderer.

Overrides:
getMTime in class vtkObject

VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkDataSetToPolyDataFilter


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.