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