VTK  9.2.6
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 =========================================================================*/
73 #ifndef vtk3DLinearGridCrinkleExtractor_h
74 #define vtk3DLinearGridCrinkleExtractor_h
75 
76 #include "vtkDataObjectAlgorithm.h"
77 #include "vtkFiltersCoreModule.h" // For export macro
78 
81 
82 class VTKFILTERSCORE_EXPORT vtk3DLinearGridCrinkleExtractor : public vtkDataObjectAlgorithm
83 {
84 public:
86 
91  void PrintSelf(ostream& os, vtkIndent indent) override;
93 
95 
100  virtual void SetImplicitFunction(vtkImplicitFunction*);
101  vtkGetObjectMacro(ImplicitFunction, vtkImplicitFunction);
103 
105 
109  vtkSetMacro(CopyPointData, bool);
110  vtkGetMacro(CopyPointData, bool);
111  vtkBooleanMacro(CopyPointData, bool);
113 
115 
119  vtkSetMacro(CopyCellData, bool);
120  vtkGetMacro(CopyCellData, bool);
121  vtkBooleanMacro(CopyCellData, bool);
123 
125 
133  vtkSetMacro(RemoveUnusedPoints, bool);
134  vtkGetMacro(RemoveUnusedPoints, bool);
135  vtkBooleanMacro(RemoveUnusedPoints, bool);
137 
142  vtkMTimeType GetMTime() override;
143 
145 
150  void SetOutputPointsPrecision(int precision);
151  int GetOutputPointsPrecision() const;
153 
155 
163  vtkSetMacro(SequentialProcessing, bool);
164  vtkGetMacro(SequentialProcessing, bool);
165  vtkBooleanMacro(SequentialProcessing, bool);
167 
172  int GetNumberOfThreadsUsed() { return this->NumberOfThreadsUsed; }
173 
180  static bool CanFullyProcessDataObject(vtkDataObject* object);
181 
182 protected:
185 
193 
194  // Process the data: input unstructured grid and output an unstructured grid
195  int ProcessPiece(vtkUnstructuredGrid* input, vtkImplicitFunction* f, vtkUnstructuredGrid* grid);
196 
197  int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
198  vtkInformationVector* outputVector) override;
199  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
200  vtkInformationVector* outputVector) override;
201  int FillInputPortInformation(int port, vtkInformation* info) override;
202 
203 private:
205  void operator=(const vtk3DLinearGridCrinkleExtractor&) = delete;
206 };
207 
208 #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:287
static vtkDataObjectAlgorithm * New()
int GetNumberOfThreadsUsed()
Return the number of threads actually used during execution.
a simple class to control print indentation
Definition: vtkIndent.h:39
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:65
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.