VTK  9.0.1
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 
73 #include "vtkDataObjectAlgorithm.h"
74 #include "vtkFiltersCoreModule.h" // For export macro
75 
78 
79 class VTKFILTERSCORE_EXPORT vtk3DLinearGridCrinkleExtractor : public vtkDataObjectAlgorithm
80 {
81 public:
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 
139  vtkMTimeType GetMTime() override;
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 
179 protected:
182 
190 
191  // Process the data: input unstructured grid and output an unstructured grid
193 
195  vtkInformationVector* outputVector) override;
196  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
197  vtkInformationVector* outputVector) override;
199 
200 private:
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.
static vtk3DLinearGridCrinkleExtractor * New()
Standard methods for construction, type info, and printing.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
int ProcessPiece(vtkUnstructuredGrid *input, vtkImplicitFunction *f, vtkUnstructuredGrid *grid)
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
Methods invoked by print to print information about the object including superclasses.
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
Definition: vtkDataObject.h:60
abstract interface for implicit functions
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dataset represents arbitrary combinations of all possible cell types
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:293