VTK  9.3.20240420
vtk3DLinearGridCrinkleExtractor.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
61#ifndef vtk3DLinearGridCrinkleExtractor_h
62#define vtk3DLinearGridCrinkleExtractor_h
63
65#include "vtkFiltersCoreModule.h" // For export macro
66
67VTK_ABI_NAMESPACE_BEGIN
70
71class VTKFILTERSCORE_EXPORT vtk3DLinearGridCrinkleExtractor : public vtkDataObjectAlgorithm
72{
73public:
75
80 void PrintSelf(ostream& os, vtkIndent indent) override;
82
84
90 vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
92
94
98 vtkSetMacro(CopyPointData, bool);
99 vtkGetMacro(CopyPointData, bool);
100 vtkBooleanMacro(CopyPointData, bool);
102
104
108 vtkSetMacro(CopyCellData, bool);
109 vtkGetMacro(CopyCellData, bool);
110 vtkBooleanMacro(CopyCellData, bool);
112
114
122 vtkSetMacro(RemoveUnusedPoints, bool);
123 vtkGetMacro(RemoveUnusedPoints, bool);
124 vtkBooleanMacro(RemoveUnusedPoints, bool);
126
132
134
139 void SetOutputPointsPrecision(int precision);
142
144
152 vtkSetMacro(SequentialProcessing, bool);
153 vtkGetMacro(SequentialProcessing, bool);
154 vtkBooleanMacro(SequentialProcessing, bool);
156
161 int GetNumberOfThreadsUsed() { return this->NumberOfThreadsUsed; }
162
170
171protected:
174
182
183 // Process the data: input unstructured grid and output an unstructured grid
185
187 vtkInformationVector* outputVector) override;
189 vtkInformationVector* outputVector) override;
190 int FillInputPortInformation(int port, vtkInformation* info) override;
191
192private:
194 void operator=(const vtk3DLinearGridCrinkleExtractor&) = delete;
195};
196
197VTK_ABI_NAMESPACE_END
198#endif
fast extraction of cells intersected by a plane
int GetNumberOfThreadsUsed()
Return the number of threads actually used during execution.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
static vtk3DLinearGridCrinkleExtractor * New()
Standard methods for construction, type info, and printing.
int ProcessPiece(vtkUnstructuredGrid *input, vtkImplicitFunction *f, vtkUnstructuredGrid *grid)
int GetOutputPointsPrecision() const
Set/get the desired precision for the output points.
static bool CanFullyProcessDataObject(vtkDataObject *object)
Returns true if the data object passed in is fully supported by this filter, i.e.,...
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function which is used to select the output cell faces.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for construction, type info, and printing.
vtkMTimeType GetMTime() override
Overloaded GetMTime() because of delegation to the helper vtkImplicitFunction.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void SetOutputPointsPrecision(int precision)
Set/get the desired precision for the output points.
Superclass for algorithms that produce only data object as output.
general representation of visualization data
abstract interface for implicit functions
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dataset represents arbitrary combinations of all possible cell types
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270