vtk
Class vtkSpatialRepresentationFilter

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

public class vtkSpatialRepresentationFilter
extends vtkPolyDataSource
implements java.io.Serializable

vtkSpatialRepresentationFilter - generate polygonal model of spatial search object (i.e., a vtkLocator). vtkSpatialRepresentationFilter generates an polygonal representation of a spatial search (vtkLocator) object. The representation varies depending upon the nature of the spatial search object. For example, the representation for vtkOBBTree is a collection of oriented bounding boxes. Ths input to this filter is a dataset of any type, and the output is polygonal data. You must also specify the spatial search object to use. Generally spatial search objects are used for collision detection and other geometric operations, but in this filter one or more levels of spatial searchers can be generated to form a geometric approximation to the input data. This is a form of data simplification, generally used to accelerate the rendering process. Or, this filter can be used as a debugging/ visualization aid for spatial search objects. This filter can generate one or more output vtkPolyData corresponding to different levels in the spatial search tree. The output data is retrieved using the GetOutput(id) method, where id ranges from 0 (root level) to Level. Note that the output for level "id" is not computed unless a GetOutput(id) method is issued. Thus, if you desire three levels of output (say 2,4,7), you would have to invoke GetOutput(2), GetOutput(4), and GetOutput(7). (Also note that the Level ivar is computed automatically depending on the size and nature of the input data.) There is also another GetOutput() method that takes no parameters. This method returns the leafs of the spatial search tree, which may be at different levels. JavaBean wrapper for vtkSpatialRepresentationFilter object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
vtkLocator, vtkPointLocator, vtkCellLocator, vtkOBBTree, Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkSpatialRepresentationFilter()
           
protected vtkSpatialRepresentationFilter(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 vtkDataSet getInput()
          Set / get the input data or filter.
 int getLevel()
          Get the maximum number of outputs actually available.
 vtkPolyData getOutput()
          Output of terminal nodes/leaves.
 vtkPolyData getOutput(int id0)
          A special form of the GetOutput() method that returns multiple outputs.
 vtkLocator getSpatialRepresentation()
          Set/Get the locator that will be used to generate the representation.
 vtkSpatialRepresentationFilter getThisSpatialRepresentationFilter()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void resetOutput()
          Reset requested output levels
 void setInput(vtkDataSet id0)
          Set / get the input data or filter.
 void setSpatialRepresentation(vtkLocator id0)
          Set/Get the locator that will be used to generate the representation.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkPolyDataSource
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

vtkSpatialRepresentationFilter

public vtkSpatialRepresentationFilter()

vtkSpatialRepresentationFilter

protected vtkSpatialRepresentationFilter(int dmy)
Method Detail

getThisSpatialRepresentationFilter

public vtkSpatialRepresentationFilter getThisSpatialRepresentationFilter()

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

setSpatialRepresentation

public void setSpatialRepresentation(vtkLocator id0)
Set/Get the locator that will be used to generate the representation.


getSpatialRepresentation

public vtkLocator getSpatialRepresentation()
Set/Get the locator that will be used to generate the representation.


getLevel

public int getLevel()
Get the maximum number of outputs actually available.


getOutput

public vtkPolyData getOutput(int id0)
A special form of the GetOutput() method that returns multiple outputs.

Overrides:
getOutput in class vtkPolyDataSource

getOutput

public vtkPolyData getOutput()
Output of terminal nodes/leaves.

Overrides:
getOutput in class vtkPolyDataSource

resetOutput

public void resetOutput()
Reset requested output levels


setInput

public void setInput(vtkDataSet id0)
Set / get the input data or filter.


getInput

public vtkDataSet getInput()
Set / get the input data or filter.


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.