VTK  9.7.20260817
vtkDataSetTriangleFilter.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
46
47#ifndef vtkDataSetTriangleFilter_h
48#define vtkDataSetTriangleFilter_h
49
50#include "vtkFiltersGeneralModule.h" // For export macro
52
53VTK_ABI_NAMESPACE_BEGIN
55
56class VTKFILTERSGENERAL_EXPORT vtkDataSetTriangleFilter : public vtkUnstructuredGridAlgorithm
57{
58public:
61 void PrintSelf(ostream& os, vtkIndent indent) override;
62
64
70 vtkBooleanMacro(TetrahedraOnly, vtkTypeBool);
72
73protected:
76
77 // Usual data generation method
79
80 int FillInputPortInformation(int port, vtkInformation* info) override;
81
82 // Used to triangulate 3D cells
84
85 // Different execute methods depending on whether input is structured or not
88
90
91private:
93 void operator=(const vtkDataSetTriangleFilter&) = delete;
94};
95
96VTK_ABI_NAMESPACE_END
97#endif
void UnstructuredExecute(vtkDataSet *, vtkUnstructuredGrid *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void StructuredExecute(vtkDataSet *, vtkUnstructuredGrid *)
vtkOrderedTriangulator * Triangulator
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkDataSetTriangleFilter() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkDataSetTriangleFilter * New()
abstract class to specify dataset behavior
Definition vtkDataSet.h:165
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
helper class to generate triangulations
dataset represents arbitrary combinations of all possible cell types
int vtkTypeBool
Definition vtkABI.h:64