51 #ifndef vtkClipDataSet_h
52 #define vtkClipDataSet_h
54 #include "vtkFiltersGeneralModule.h"
57 VTK_ABI_NAMESPACE_BEGIN
81 vtkSetMacro(Value,
double);
82 vtkGetMacro(Value,
double);
91 vtkSetMacro(UseValueAsOffset,
bool);
92 vtkGetMacro(UseValueAsOffset,
bool);
93 vtkBooleanMacro(UseValueAsOffset,
bool);
149 vtkSetClampMacro(MergeTolerance,
double, 0.0001, 0.25);
150 vtkGetMacro(MergeTolerance,
double);
184 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
185 vtkGetMacro(OutputPointsPrecision,
int);
192 vtkGetMacro(StableClipNonLinear,
bool);
193 vtkSetMacro(StableClipNonLinear,
bool);
194 vtkBooleanMacro(StableClipNonLinear,
bool);
228 bool StableClipNonLinear =
true;
235 VTK_ABI_NAMESPACE_END
Superclass for all sources, filters, and sinks in VTK.
supports function callbacks
clip any dataset with user-specified implicit function or input scalar data
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTypeBool GenerateClippedOutput
vtkCallbackCommand * InternalProgressObserver
virtual void SetClipFunction(vtkImplicitFunction *)
Specify the implicit function with which to perform the clipping.
~vtkClipDataSet() override
static void InternalProgressCallbackFunction(vtkObject *, unsigned long, void *clientdata, void *)
vtkUnstructuredGrid * GetClippedOutput()
Return the Clipped output.
void ClipVolume(vtkDataSet *input, vtkUnstructuredGrid *output)
vtkIncrementalPointLocator * Locator
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetLocator(vtkIncrementalPointLocator *locator)
Specify a spatial locator for merging points.
int ClipPoints(vtkDataSet *input, vtkUnstructuredGrid *output, vtkInformationVector **inputVector)
vtkImplicitFunction * ClipFunction
vtkClipDataSet(vtkImplicitFunction *cf=nullptr)
vtkMTimeType GetMTime() override
Return the mtime also considering the locator and clip function.
int OutputPointsPrecision
void InternalProgressCallback(vtkAlgorithm *algorithm)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void CreateDefaultLocator()
Create default locator.
static vtkClipDataSet * New()
Construct with user-specified implicit function; InsideOut turned off; value set to 0....
vtkTypeBool GenerateClipScalars
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
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types
vtkTypeUInt32 vtkMTimeType