|
||||||||||
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.vtkUnstructuredGridSource vtk.vtkDataSetToUnstructuredGridFilter vtk.vtkClipDataSet
vtkClipDataSet - clip any dataset with user-specified implicit function or input scalar data. vtkClipDataSet is a filter that any type of dataset using either any subclass of vtkImplicitFunction, or the input scalar data. Clipping means that it actually "cuts" through the cells of the dataset, returning everything inside of the specified implicit function (or greater than the scalar value) including "pieces" of a cell. (Compare this with vtkExtractGeometry, which pulls out entire, uncut cells.) The output of this filter is an unstructured grid. To use this filter, you must decide if you will be clipping with an implicit function, or whether you will be using the input scalar data. If you want to clip with an implicit function, you must: 1) define an implicit function 2) set it with the SetClipFunction method 3) apply the GenerateClipScalarsOn method If a ClipFunction is not specified, or GenerateClipScalars is off (the default), then the input's scalar data will be used to clip the polydata. You can also specify a scalar value, which is used to decide what is inside and outside of the implicit function. You can also reverse the sense of what inside/outside is by setting the InsideOut instance variable. (The clipping algorithm proceeds by computing an implicit function value or using the input scalar data for each point in the dataset. This is compared to the scalar value to determine inside/outside.) This filter can be configured to compute a second output. The second output is the part of the cell that is clipped away. Set the GenerateClippedData boolean on if you wish to access this output data. JavaBean wrapper for vtkClipDataSet object.
vtkImplicitFunction
,
vtkCutter
,
vtkClipVolume
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkClipDataSet()
|
protected |
vtkClipDataSet(int dmy)
|
Method Summary | |
void |
createDefaultLocator()
Create default locator. |
void |
generateClippedOutputOff()
Control whether a second output is generated. |
void |
generateClippedOutputOn()
Control whether a second output is generated. |
void |
generateClipScalarsOff()
If this flag is enabled, then the output scalar values will be interpolated from the implicit function values, and not the input scalar data. |
void |
generateClipScalarsOn()
If this flag is enabled, then the output scalar values will be interpolated from the implicit function values, and not the input scalar data. |
java.lang.String |
getClassName()
Return the class name as a string. |
vtkImplicitFunction |
getClipFunction()
|
vtkUnstructuredGrid |
getClippedOutput()
Return the Clipped output. |
int |
getGenerateClippedOutput()
Control whether a second output is generated. |
int |
getGenerateClipScalars()
If this flag is enabled, then the output scalar values will be interpolated from the implicit function values, and not the input scalar data. |
java.lang.String |
getInputScalarsSelection()
If you want to clip by an arbitrary array, then set its name here. |
int |
getInsideOut()
Set/Get the InsideOut flag. |
vtkPointLocator |
getLocator()
Specify a spatial locator for merging points. |
double |
getMergeTolerance()
Set the tolerance for merging clip intersection points that are near the vertices of cells. |
double |
getMergeToleranceMaxValue()
Set the tolerance for merging clip intersection points that are near the vertices of cells. |
double |
getMergeToleranceMinValue()
Set the tolerance for merging clip intersection points that are near the vertices of cells. |
int |
getMTime()
Return the mtime also considering the locator and clip function. |
int |
getNumberOfOutputs()
Return the Clipped output. |
vtkClipDataSet |
getThisClipDataSet()
|
double |
getValue()
Set the clipping value of the implicit function (if clipping with implicit function) or scalar value (if clipping with scalars). |
void |
insideOutOff()
Set/Get the InsideOut flag. |
void |
insideOutOn()
Set/Get the InsideOut flag. |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
selectInputScalars(java.lang.String id0)
|
void |
setClipFunction(vtkImplicitFunction id0)
|
void |
setGenerateClippedOutput(int id0)
Control whether a second output is generated. |
void |
setGenerateClipScalars(int id0)
If this flag is enabled, then the output scalar values will be interpolated from the implicit function values, and not the input scalar data. |
void |
setInsideOut(int id0)
Set/Get the InsideOut flag. |
void |
setLocator(vtkPointLocator id0)
Specify a spatial locator for merging points. |
void |
setMergeTolerance(double id0)
Set the tolerance for merging clip intersection points that are near the vertices of cells. |
void |
setValue(double id0)
Set the clipping value of the implicit function (if clipping with implicit function) or scalar value (if clipping with scalars). |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkDataSetToUnstructuredGridFilter |
getInput, getThisDataSetToUnstructuredGridFilter, setInput |
Methods inherited from class vtk.vtkUnstructuredGridSource |
getOutput, getOutput, getThisUnstructuredGridSource, setOutput |
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 |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkClipDataSet()
protected vtkClipDataSet(int dmy)
Method Detail |
public vtkClipDataSet getThisClipDataSet()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkDataSetToUnstructuredGridFilter
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkDataSetToUnstructuredGridFilter
public void setValue(double id0)
public double getValue()
public void setInsideOut(int id0)
public int getInsideOut()
public void insideOutOn()
public void insideOutOff()
public void setClipFunction(vtkImplicitFunction id0)
public vtkImplicitFunction getClipFunction()
public void setGenerateClipScalars(int id0)
public int getGenerateClipScalars()
public void generateClipScalarsOn()
public void generateClipScalarsOff()
public void setGenerateClippedOutput(int id0)
public int getGenerateClippedOutput()
public void generateClippedOutputOn()
public void generateClippedOutputOff()
public void setMergeTolerance(double id0)
public double getMergeToleranceMinValue()
public double getMergeToleranceMaxValue()
public double getMergeTolerance()
public vtkUnstructuredGrid getClippedOutput()
public int getNumberOfOutputs()
getNumberOfOutputs
in class vtkSource
public void setLocator(vtkPointLocator id0)
public vtkPointLocator getLocator()
public void createDefaultLocator()
public int getMTime()
getMTime
in class vtkObject
public java.lang.String getInputScalarsSelection()
public void selectInputScalars(java.lang.String id0)
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkDataSetToUnstructuredGridFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |