VTK  9.2.6
vtkTriangleFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTriangleFilter.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=========================================================================*/
24
25#ifndef vtkTriangleFilter_h
26#define vtkTriangleFilter_h
27
28#include "vtkFiltersCoreModule.h" // For export macro
30
31class VTKFILTERSCORE_EXPORT vtkTriangleFilter : public vtkPolyDataAlgorithm
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
45 vtkBooleanMacro(PassVerts, vtkTypeBool);
46 vtkSetMacro(PassVerts, vtkTypeBool);
47 vtkGetMacro(PassVerts, vtkTypeBool);
49
51
57 vtkBooleanMacro(PassLines, vtkTypeBool);
58 vtkSetMacro(PassLines, vtkTypeBool);
59 vtkGetMacro(PassLines, vtkTypeBool);
61
63
72 vtkSetMacro(Tolerance, double);
73 vtkGetMacro(Tolerance, double);
75
76protected:
78 : PassVerts(1)
79 , PassLines(1)
80 , Tolerance(-1.0) // use default vtkPolygon::Tolerance
81 {
82 }
83 ~vtkTriangleFilter() override = default;
84
85 // Usual data generation method
87
90 double Tolerance;
91
92private:
93 vtkTriangleFilter(const vtkTriangleFilter&) = delete;
94 void operator=(const vtkTriangleFilter&) = delete;
95};
96
97#endif
a simple class to control print indentation
Definition vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
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:69