VTK  9.7.1
vtkConvertToPolyhedra.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
30 #ifndef vtkConvertToPolyhedra_h
31 #define vtkConvertToPolyhedra_h
32 
33 #include "vtkFiltersCoreModule.h" // For export macro
35 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
36 
37 VTK_ABI_NAMESPACE_BEGIN
38 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkConvertToPolyhedra
40 {
41 public:
43 
47  static vtkConvertToPolyhedra* New();
48  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
53 
61  vtkSetMacro(OutputAllCells, bool);
62  vtkGetMacro(OutputAllCells, bool);
63  vtkBooleanMacro(OutputAllCells, bool);
65 
66 protected:
68  ~vtkConvertToPolyhedra() override = default;
69 
70  // Usual data generation method
72 
73  // Control output of cells
75 
76 private:
78  void operator=(const vtkConvertToPolyhedra&) = delete;
79 };
80 
81 VTK_ABI_NAMESPACE_END
82 #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:28
Superclass for algorithms that produce only unstructured grid as output.
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO