vtk
Class vtkGeometryFilter

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

public class vtkGeometryFilter
extends vtkDataSetToPolyDataFilter
implements java.io.Serializable

vtkGeometryFilter - extract geometry from data (or convert data to polygonal type). vtkGeometryFilter is a general-purpose filter to extract geometry (and associated data) from any type of dataset. Geometry is obtained as follows: all 0D, 1D, and 2D cells are extracted. All 2D faces that are used by only one 3D cell (i.e., boundary faces) are extracted. It also is possible to specify conditions on point ids, cell ids, and on bounding box (referred to as "Extent") to control the extraction process. This filter also may be used to convert any type of data to polygonal type. The conversion process may be less than satisfactory for some 3D datasets. For example, this filter will extract the outer surface of a volume or structured grid dataset. (For structured data you may want to use vtkImageDataGeometryFilter, vtkStructuredGridGeometryFilter, vtkExtractUnstructuredGrid, vtkRectilinearGridGeometryFilter, or vtkExtractVOI.) JavaBean wrapper for vtkGeometryFilter object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
vtkImageDataGeometryFilter, vtkStructuredGridGeometryFilter, vtkExtractGeometry, Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkGeometryFilter()
           
protected vtkGeometryFilter(int dmy)
           
 
Method Summary
 void cellClippingOff()
          Turn on/off selection of geometry by cell id.
 void cellClippingOn()
          Turn on/off selection of geometry by cell id.
 void createDefaultLocator()
          Create default locator.
 void extentClippingOff()
          Turn on/off selection of geometry via bounding box.
 void extentClippingOn()
          Turn on/off selection of geometry via bounding box.
 int getCellClipping()
          Turn on/off selection of geometry by cell id.
 int getCellMaximum()
          Specify the maximum cell id for point id selection.
 int getCellMaximumMaxValue()
          Specify the maximum cell id for point id selection.
 int getCellMaximumMinValue()
          Specify the maximum cell id for point id selection.
 int getCellMinimum()
          Specify the minimum cell id for point id selection.
 int getCellMinimumMaxValue()
          Specify the minimum cell id for point id selection.
 int getCellMinimumMinValue()
          Specify the minimum cell id for point id selection.
 java.lang.String getClassName()
          Return the class name as a string.
 double[] getExtent()
          Set / get a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.
 int getExtentClipping()
          Turn on/off selection of geometry via bounding box.
 vtkPointLocator getLocator()
          Set / get a spatial locator for merging points.
 int getMerging()
          Turn on/off merging of coincident points.
 int getMTime()
          Return the MTime also considering the locator.
 int getPointClipping()
          Turn on/off selection of geometry by point id.
 int getPointMaximum()
          Specify the maximum point id for point id selection.
 int getPointMaximumMaxValue()
          Specify the maximum point id for point id selection.
 int getPointMaximumMinValue()
          Specify the maximum point id for point id selection.
 int getPointMinimum()
          Specify the minimum point id for point id selection.
 int getPointMinimumMaxValue()
          Specify the minimum point id for point id selection.
 int getPointMinimumMinValue()
          Specify the minimum point id for point id selection.
 vtkGeometryFilter getThisGeometryFilter()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void mergingOff()
          Turn on/off merging of coincident points.
 void mergingOn()
          Turn on/off merging of coincident points.
 void pointClippingOff()
          Turn on/off selection of geometry by point id.
 void pointClippingOn()
          Turn on/off selection of geometry by point id.
 void setCellClipping(int id0)
          Turn on/off selection of geometry by cell id.
 void setCellMaximum(int id0)
          Specify the maximum cell id for point id selection.
 void setCellMinimum(int id0)
          Specify the minimum cell id for point id selection.
 void setExtent(double[] id0)
          Set / get a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.
 void setExtent(double id0, double id1, double id2, double id3, double id4, double id5)
          Specify a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.
 void setExtentClipping(int id0)
          Turn on/off selection of geometry via bounding box.
 void setLocator(vtkPointLocator id0)
          Set / get a spatial locator for merging points.
 void setMerging(int id0)
          Turn on/off merging of coincident points.
 void setPointClipping(int id0)
          Turn on/off selection of geometry by point id.
 void setPointMaximum(int id0)
          Specify the maximum point id for point id selection.
 void setPointMinimum(int id0)
          Specify the minimum point id for point id selection.
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

vtkGeometryFilter

public vtkGeometryFilter()

vtkGeometryFilter

protected vtkGeometryFilter(int dmy)
Method Detail

getThisGeometryFilter

public vtkGeometryFilter getThisGeometryFilter()

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

setPointClipping

public void setPointClipping(int id0)
Turn on/off selection of geometry by point id.


getPointClipping

public int getPointClipping()
Turn on/off selection of geometry by point id.


pointClippingOn

public void pointClippingOn()
Turn on/off selection of geometry by point id.


pointClippingOff

public void pointClippingOff()
Turn on/off selection of geometry by point id.


setCellClipping

public void setCellClipping(int id0)
Turn on/off selection of geometry by cell id.


getCellClipping

public int getCellClipping()
Turn on/off selection of geometry by cell id.


cellClippingOn

public void cellClippingOn()
Turn on/off selection of geometry by cell id.


cellClippingOff

public void cellClippingOff()
Turn on/off selection of geometry by cell id.


setExtentClipping

public void setExtentClipping(int id0)
Turn on/off selection of geometry via bounding box.


getExtentClipping

public int getExtentClipping()
Turn on/off selection of geometry via bounding box.


extentClippingOn

public void extentClippingOn()
Turn on/off selection of geometry via bounding box.


extentClippingOff

public void extentClippingOff()
Turn on/off selection of geometry via bounding box.


setPointMinimum

public void setPointMinimum(int id0)
Specify the minimum point id for point id selection.


getPointMinimumMinValue

public int getPointMinimumMinValue()
Specify the minimum point id for point id selection.


getPointMinimumMaxValue

public int getPointMinimumMaxValue()
Specify the minimum point id for point id selection.


getPointMinimum

public int getPointMinimum()
Specify the minimum point id for point id selection.


setPointMaximum

public void setPointMaximum(int id0)
Specify the maximum point id for point id selection.


getPointMaximumMinValue

public int getPointMaximumMinValue()
Specify the maximum point id for point id selection.


getPointMaximumMaxValue

public int getPointMaximumMaxValue()
Specify the maximum point id for point id selection.


getPointMaximum

public int getPointMaximum()
Specify the maximum point id for point id selection.


setCellMinimum

public void setCellMinimum(int id0)
Specify the minimum cell id for point id selection.


getCellMinimumMinValue

public int getCellMinimumMinValue()
Specify the minimum cell id for point id selection.


getCellMinimumMaxValue

public int getCellMinimumMaxValue()
Specify the minimum cell id for point id selection.


getCellMinimum

public int getCellMinimum()
Specify the minimum cell id for point id selection.


setCellMaximum

public void setCellMaximum(int id0)
Specify the maximum cell id for point id selection.


getCellMaximumMinValue

public int getCellMaximumMinValue()
Specify the maximum cell id for point id selection.


getCellMaximumMaxValue

public int getCellMaximumMaxValue()
Specify the maximum cell id for point id selection.


getCellMaximum

public int getCellMaximum()
Specify the maximum cell id for point id selection.


setExtent

public void setExtent(double id0,
                      double id1,
                      double id2,
                      double id3,
                      double id4,
                      double id5)
Specify a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.


setExtent

public void setExtent(double[] id0)
Set / get a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.


getExtent

public double[] getExtent()
Set / get a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.


setMerging

public void setMerging(int id0)
Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.


getMerging

public int getMerging()
Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.


mergingOn

public void mergingOn()
Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.


mergingOff

public void mergingOff()
Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.


setLocator

public void setLocator(vtkPointLocator id0)
Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.


getLocator

public vtkPointLocator getLocator()
Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.


createDefaultLocator

public void createDefaultLocator()
Create default locator. Used to create one when none is specified.


getMTime

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

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.