Go to the documentation of this file.
63 #ifndef vtkClipDataSet_h
64 #define vtkClipDataSet_h
66 #include "vtkFiltersGeneralModule.h"
92 vtkSetMacro(Value,
double);
93 vtkGetMacro(Value,
double);
102 vtkSetMacro(UseValueAsOffset,
bool);
103 vtkGetMacro(UseValueAsOffset,
bool);
104 vtkBooleanMacro(UseValueAsOffset,
bool);
160 vtkSetClampMacro(MergeTolerance,
double,0.0001,0.25);
161 vtkGetMacro(MergeTolerance,
double);
195 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
196 vtkGetMacro(OutputPointsPrecision,
int);
217 void* clientdata,
void*);
vtkMTimeType GetMTime() override
Return the mtime also considering the locator and clip function.
virtual void SetClipFunction(vtkImplicitFunction *)
Specify the implicit function with which to perform the clipping.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Superclass for all sources, filters, and sinks in VTK.
static void InternalProgressCallbackFunction(vtkObject *, unsigned long, void *clientdata, void *)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
abstract base class for most VTK objects
vtkUnstructuredGrid * GetClippedOutput()
Return the Clipped output.
void InternalProgressCallback(vtkAlgorithm *algorithm)
clip any dataset with user-specified implicit function or input scalar data
vtkIncrementalPointLocator * Locator
vtkImplicitFunction * ClipFunction
void SetLocator(vtkIncrementalPointLocator *locator)
Specify a spatial locator for merging points.
vtkTypeBool GenerateClipScalars
~vtkClipDataSet() override
void ClipVolume(vtkDataSet *input, vtkUnstructuredGrid *output)
abstract interface for implicit functions
vtkCallbackCommand * InternalProgressObserver
int ClipPoints(vtkDataSet *input, vtkUnstructuredGrid *output, vtkInformationVector **inputVector)
a simple class to control print indentation
Abstract class in support of both point location and point insertion.
vtkTypeBool GenerateClippedOutput
void CreateDefaultLocator()
Create default locator.
static vtkClipDataSet * New()
Construct with user-specified implicit function; InsideOut turned off; value set to 0....
abstract class to specify dataset behavior
vtkClipDataSet(vtkImplicitFunction *cf=nullptr)
supports function callbacks
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int OutputPointsPrecision
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types
vtkTypeUInt32 vtkMTimeType