91 #ifndef vtkTableBasedClipDataSet_h
92 #define vtkTableBasedClipDataSet_h
94 #include "vtkFiltersGeneralModule.h"
138 vtkSetMacro(Value,
double);
139 vtkGetMacro(Value,
double);
148 vtkSetMacro(UseValueAsOffset,
bool);
149 vtkGetMacro(UseValueAsOffset,
bool);
150 vtkBooleanMacro(UseValueAsOffset,
bool);
194 vtkSetClampMacro(MergeTolerance,
double, 0.0001, 0.25);
195 vtkGetMacro(MergeTolerance,
double);
225 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
226 vtkGetMacro(OutputPointsPrecision,
int);
Superclass for all sources, filters, and sinks in VTK.
supports function callbacks
abstract superclass for arrays of numeric data
abstract class to specify dataset behavior
abstract interface for implicit functions
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
abstract base class for most VTK objects
Clip any dataset with a user-specified implicit function or an input scalar point data array.
vtkTableBasedClipDataSet(vtkImplicitFunction *cf=nullptr)
void ClipDataSet(vtkDataSet *pDataSet, vtkDataArray *clipAray, vtkUnstructuredGrid *unstruct)
This function resorts to the sibling class vtkClipDataSet to handle special grids (such as cylinders ...
static vtkTableBasedClipDataSet * New()
Create an instance with a user-specified implicit function, turning off IVARs InsideOut and GenerateC...
void ClipPolyData(vtkDataSet *inputGrd, vtkDataArray *clipAray, double isoValue, vtkUnstructuredGrid *outputUG)
This function clips a vtkPolyData object based on a specified iso-value (isoValue) using a scalar poi...
void ClipStructuredGridData(vtkDataSet *inputGrd, vtkDataArray *clipAray, double isoValue, vtkUnstructuredGrid *outputUG)
This function clips a vtkStructuredGrid based on a specified iso-value (isoValue) using a scalar poin...
~vtkTableBasedClipDataSet() override
void SetLocator(vtkIncrementalPointLocator *locator)
Set/Get a point locator locator for merging duplicate points.
vtkTypeBool GenerateClippedOutput
void ClipUnstructuredGridData(vtkDataSet *inputGrd, vtkDataArray *clipAray, double isoValue, vtkUnstructuredGrid *outputUG)
This function clips a vtkUnstructuredGrid based on a specified iso-value (isoValue) using a scalar po...
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static void InternalProgressCallbackFunction(vtkObject *, unsigned long, void *clientdata, void *)
Register a callback function with the InternalProgressObserver.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkImplicitFunction * ClipFunction
virtual void SetClipFunction(vtkImplicitFunction *)
Set/Get the implicit function with which to perform the clipping operation.
vtkUnstructuredGrid * GetClippedOutput()
Return the clipped output.
int OutputPointsPrecision
vtkTypeBool GenerateClipScalars
vtkMTimeType GetMTime() override
Get the MTime for which the point locator and clip function are considered.
vtkIncrementalPointLocator * Locator
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void InternalProgressCallback(vtkAlgorithm *algorithm)
The actual operation executed by the callback function.
void CreateDefaultLocator()
Create a default point locator when none is specified.
void ClipRectilinearGridData(vtkDataSet *inputGrd, vtkDataArray *clipAray, double isoValue, vtkUnstructuredGrid *outputUG)
This function clips a vtkRectilinearGrid based on a specified iso-value (isoValue) using a scalar poi...
void ClipImageData(vtkDataSet *inputGrd, vtkDataArray *clipAray, double isoValue, vtkUnstructuredGrid *outputUG)
This function takes a vtkImageData as a vtkRectilinearGrid, which is then clipped by ClipRectilinearG...
vtkCallbackCommand * InternalProgressObserver
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types
vtkTypeUInt32 vtkMTimeType