VTK  9.3.0
vtkTriangleFilter.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
16#ifndef vtkTriangleFilter_h
17#define vtkTriangleFilter_h
18
19#include "vtkFiltersCoreModule.h" // For export macro
21
22VTK_ABI_NAMESPACE_BEGIN
23class VTKFILTERSCORE_EXPORT vtkTriangleFilter : public vtkPolyDataAlgorithm
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
31
37 vtkBooleanMacro(PassVerts, vtkTypeBool);
38 vtkSetMacro(PassVerts, vtkTypeBool);
39 vtkGetMacro(PassVerts, vtkTypeBool);
41
43
49 vtkBooleanMacro(PassLines, vtkTypeBool);
50 vtkSetMacro(PassLines, vtkTypeBool);
51 vtkGetMacro(PassLines, vtkTypeBool);
53
55
64 vtkSetMacro(Tolerance, double);
65 vtkGetMacro(Tolerance, double);
67
68protected:
70 : PassVerts(1)
71 , PassLines(1)
72 , Tolerance(-1.0) // use default vtkPolygon::Tolerance
73 {
74 }
75 ~vtkTriangleFilter() override = default;
76
77 // Usual data generation method
79
82 double Tolerance;
83
84private:
85 vtkTriangleFilter(const vtkTriangleFilter&) = delete;
86 void operator=(const vtkTriangleFilter&) = delete;
87};
88
89VTK_ABI_NAMESPACE_END
90#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
convert input polygons and strips to triangles
static vtkTriangleFilter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkTriangleFilter() override=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int vtkTypeBool
Definition vtkABI.h:64