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 
97  virtual void SetImplicitFunction(vtkImplicitFunction*);
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);
148  int GetOutputPointsPrecision() const;
150 
152 
160  vtkSetMacro(SequentialProcessing, bool);
161  vtkGetMacro(SequentialProcessing, bool);
162  vtkBooleanMacro(SequentialProcessing, bool);
164 
169  int GetNumberOfThreadsUsed() { return this->NumberOfThreadsUsed; }
170 
177  static bool CanFullyProcessDataObject(vtkDataObject* object);
178 
179 protected:
182 
190 
191  // Process the data: input unstructured grid and output an unstructured grid
192  int ProcessPiece(vtkUnstructuredGrid* input, vtkImplicitFunction* f, vtkUnstructuredGrid* grid);
193 
194  int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
195  vtkInformationVector* outputVector) override;
196  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
197  vtkInformationVector* outputVector) override;
198  int FillInputPortInformation(int port, vtkInformation* info) override;
199 
200 private:
202  void operator=(const vtk3DLinearGridCrinkleExtractor&) = delete;
203 };
204 
205 #endif
abstract interface for implicit functions
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:293
static vtkDataObjectAlgorithm * New()
int GetNumberOfThreadsUsed()
Return the number of threads actually used during execution.
a simple class to control print indentation
Definition: vtkIndent.h:33
dataset represents arbitrary combinations of all possible cell types
virtual vtkMTimeType GetMTime()
Return this object's modified time.
fast extraction of cells intersected by a plane
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
general representation of visualization data
Definition: vtkDataObject.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.