51#ifndef vtkClipDataSet_h
52#define vtkClipDataSet_h
54#include "vtkFiltersGeneralModule.h"
57VTK_ABI_NAMESPACE_BEGIN
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,
supports function callbacks
object to represent cell connectivity
represent and manipulate cell attribute data
int FillInputPortInformation(int port, vtkInformation *info) override
vtkTypeBool GenerateClippedOutput
vtkUnstructuredGrid * GetClippedOutput()
Return the Clipped output.
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 *)
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
static vtkClipDataSet * New()
Construct with user-specified implicit function; InsideOut turned off; value set to 0....
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.
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
Hold a reference to a vtkObjectBase instance.
dynamic, self-adjusting array of unsigned char
vtkUnstructuredGridAlgorithm()
dataset represents arbitrary combinations of all possible cell types
vtkTypeUInt32 vtkMTimeType