VTK  9.2.6
vtkConvertToPolyhedra.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkConvertToPolyhedra.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 =========================================================================*/
42 #ifndef vtkConvertToPolyhedra_h
43 #define vtkConvertToPolyhedra_h
44 
45 #include "vtkFiltersCoreModule.h" // For export macro
47 
48 class VTKFILTERSCORE_EXPORT vtkConvertToPolyhedra : public vtkUnstructuredGridAlgorithm
49 {
50 public:
52 
56  static vtkConvertToPolyhedra* New();
57  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
62 
70  vtkSetMacro(OutputAllCells, bool);
71  vtkGetMacro(OutputAllCells, bool);
72  vtkBooleanMacro(OutputAllCells, bool);
74 
75 protected:
77  ~vtkConvertToPolyhedra() override = default;
78 
79  // Usual data generation method
81 
82  // Control output of cells
84 
85 private:
87  void operator=(const vtkConvertToPolyhedra&) = delete;
88 };
89 
90 #endif
convert 3D linear cells to vtkPolyhedra
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store vtkAlgorithm input/output information.
static vtkUnstructuredGridAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
Superclass for algorithms that produce only unstructured grid as output.
Store zero or more vtkInformation instances.