|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkProcessObject vtk.vtkSource vtk.vtkPolyDataSource vtk.vtkSpatialRepresentationFilter
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.
vtkLocator
,
vtkPointLocator
,
vtkCellLocator
,
vtkOBBTree
,
Serialized FormField 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.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 |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkSpatialRepresentationFilter()
protected vtkSpatialRepresentationFilter(int dmy)
Method Detail |
public vtkSpatialRepresentationFilter getThisSpatialRepresentationFilter()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkPolyDataSource
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkPolyDataSource
public void setSpatialRepresentation(vtkLocator id0)
public vtkLocator getSpatialRepresentation()
public int getLevel()
public vtkPolyData getOutput(int id0)
getOutput
in class vtkPolyDataSource
public vtkPolyData getOutput()
getOutput
in class vtkPolyDataSource
public void resetOutput()
public void setInput(vtkDataSet id0)
public vtkDataSet getInput()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkPolyDataSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |