VTK  9.1.0
vtk3DLinearGridCrinkleExtractor.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtk3DLinearGridCrinkleExtractor.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
70#ifndef vtk3DLinearGridCrinkleExtractor_h
71#define vtk3DLinearGridCrinkleExtractor_h
72
74#include "vtkFiltersCoreModule.h" // For export macro
75
78
79class VTKFILTERSCORE_EXPORT vtk3DLinearGridCrinkleExtractor : public vtkDataObjectAlgorithm
80{
81public:
83
88 void PrintSelf(ostream& os, vtkIndent indent) override;
90
92
98 vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
100
102
106 vtkSetMacro(CopyPointData, bool);
107 vtkGetMacro(CopyPointData, bool);
108 vtkBooleanMacro(CopyPointData, bool);
110
112
116 vtkSetMacro(CopyCellData, bool);
117 vtkGetMacro(CopyCellData, bool);
118 vtkBooleanMacro(CopyCellData, bool);
120
122
130 vtkSetMacro(RemoveUnusedPoints, bool);
131 vtkGetMacro(RemoveUnusedPoints, bool);
132 vtkBooleanMacro(RemoveUnusedPoints, bool);
134
140
142
147 void SetOutputPointsPrecision(int precision);
150
152
160 vtkSetMacro(SequentialProcessing, bool);
161 vtkGetMacro(SequentialProcessing, bool);
162 vtkBooleanMacro(SequentialProcessing, bool);
164
169 int GetNumberOfThreadsUsed() { return this->NumberOfThreadsUsed; }
170
178
179protected:
182
190
191 // Process the data: input unstructured grid and output an unstructured grid
193
195 vtkInformationVector* outputVector) override;
197 vtkInformationVector* outputVector) override;
198 int FillInputPortInformation(int port, vtkInformation* info) override;
199
200private:
202 void operator=(const vtk3DLinearGridCrinkleExtractor&) = delete;
203};
204
205#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:113
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