51 #ifndef vtkClipDataSet_h
52 #define vtkClipDataSet_h
54 #include "vtkFiltersGeneralModule.h"
57 VTK_ABI_NAMESPACE_BEGIN
84 vtkSetMacro(Value,
double);
85 vtkGetMacro(Value,
double);
94 vtkSetMacro(UseValueAsOffset,
bool);
95 vtkGetMacro(UseValueAsOffset,
bool);
96 vtkBooleanMacro(UseValueAsOffset,
bool);
142 vtkBooleanMacro(GenerateClippedOutput,
vtkTypeBool);
152 vtkSetClampMacro(MergeTolerance,
double, 0.0001, 0.25);
153 vtkGetMacro(MergeTolerance,
double);
174 void CreateDefaultLocator();
187 vtkSetClampMacro(OutputPointsPrecision,
int, SINGLE_PRECISION, DEFAULT_PRECISION);
188 vtkGetMacro(OutputPointsPrecision,
int);
195 vtkGetMacro(StableClipNonLinear,
bool);
196 vtkSetMacro(StableClipNonLinear,
bool);
197 vtkBooleanMacro(StableClipNonLinear,
bool);
217 static void InternalProgressCallbackFunction(
vtkObject*,
unsigned long,
void* clientdata,
void*);
231 bool StableClipNonLinear =
true;
242 std::vector<vtkIdType>& clippingCellIds,
double clipValue,
vtkDataArray* clipScalars,
243 std::array<std::vector<vtkIdType>, 2>& intactCellIds);
248 void FillIntactCells(
vtkDataSet* input,
int numOutputs,
249 std::array<std::vector<vtkIdType>, 2>& intactCellIds, std::vector<vtkIdType>& pointMap,
254 VTK_ABI_NAMESPACE_END
abstract interface for implicit functions
vtkIncrementalPointLocator * Locator
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
abstract base class for most VTK objects
vtkTypeUInt32 vtkMTimeType
abstract class to specify dataset behavior
represent and manipulate cell attribute data
static vtkUnstructuredGridAlgorithm * New()
Abstract class in support of both point location and point insertion.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTypeBool GenerateClipScalars
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
supports function callbacks
Superclass for all sources, filters, and sinks in VTK.
a simple class to control print indentation
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
vtkImplicitFunction * ClipFunction
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkTypeBool GenerateClippedOutput
Superclass for algorithms that produce only unstructured grid as output.
dynamic, self-adjusting array of unsigned char
object to represent cell connectivity
vtkCallbackCommand * InternalProgressObserver
clip any dataset with user-specified implicit function or input scalar data
int OutputPointsPrecision