VTK  9.5.20250904
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
67
68VTK_ABI_NAMESPACE_BEGIN
71
74{
75public:
77
82 void PrintSelf(ostream& os, vtkIndent indent) override;
84
86
92 vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
94
96
100 vtkSetMacro(CopyPointData, bool);
101 vtkGetMacro(CopyPointData, bool);
102 vtkBooleanMacro(CopyPointData, bool);
104
106
110 vtkSetMacro(CopyCellData, bool);
111 vtkGetMacro(CopyCellData, bool);
112 vtkBooleanMacro(CopyCellData, bool);
114
116
124 vtkSetMacro(RemoveUnusedPoints, bool);
125 vtkGetMacro(RemoveUnusedPoints, bool);
126 vtkBooleanMacro(RemoveUnusedPoints, bool);
128
134
136
141 void SetOutputPointsPrecision(int precision);
144
146
154 vtkSetMacro(SequentialProcessing, bool);
155 vtkGetMacro(SequentialProcessing, bool);
156 vtkBooleanMacro(SequentialProcessing, bool);
158
163 int GetNumberOfThreadsUsed() { return this->NumberOfThreadsUsed; }
164
172
173protected:
176
184
185 // Process the data: input unstructured grid and output an unstructured grid
187
189 vtkInformationVector* outputVector) override;
191 vtkInformationVector* outputVector) override;
192 int FillInputPortInformation(int port, vtkInformation* info) override;
193
194private:
196 void operator=(const vtk3DLinearGridCrinkleExtractor&) = delete;
197};
198
199VTK_ABI_NAMESPACE_END
200#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:287
#define VTK_MARSHALAUTO