VTK  9.1.0
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=========================================================================*/
34#ifndef vtkTriangleFilter_h
35#define vtkTriangleFilter_h
36
37#include "vtkFiltersCoreModule.h" // For export macro
39
40class VTKFILTERSCORE_EXPORT vtkTriangleFilter : public vtkPolyDataAlgorithm
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
48
54 vtkBooleanMacro(PassVerts, vtkTypeBool);
55 vtkSetMacro(PassVerts, vtkTypeBool);
56 vtkGetMacro(PassVerts, vtkTypeBool);
58
60
66 vtkBooleanMacro(PassLines, vtkTypeBool);
67 vtkSetMacro(PassLines, vtkTypeBool);
68 vtkGetMacro(PassLines, vtkTypeBool);
70
71protected:
73 : PassVerts(1)
74 , PassLines(1)
75 {
76 }
77 ~vtkTriangleFilter() override = default;
78
79 // Usual data generation method
81
84
85private:
86 vtkTriangleFilter(const vtkTriangleFilter&) = delete;
87 void operator=(const vtkTriangleFilter&) = delete;
88};
89
90#endif
a simple class to control print indentation
Definition: vtkIndent.h:43
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:69