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=========================================================================*/
134#ifndef vtkTriangleFilter_h
135#define vtkTriangleFilter_h
136
137#include "vtkFiltersCoreModule.h" // For export macro
138#include "vtkPolyDataAlgorithm.h"
139
140class VTKFILTERSCORE_EXPORT vtkTriangleFilter : public vtkPolyDataAlgorithm
141{
142public:
145 void PrintSelf(ostream& os, vtkIndent indent) override;
146
148
154 vtkBooleanMacro(PassVerts, vtkTypeBool);
155 vtkSetMacro(PassVerts, vtkTypeBool);
156 vtkGetMacro(PassVerts, vtkTypeBool);
158
160
166 vtkBooleanMacro(PassLines, vtkTypeBool);
167 vtkSetMacro(PassLines, vtkTypeBool);
168 vtkGetMacro(PassLines, vtkTypeBool);
170
171protected:
173 : PassVerts(1)
174 , PassLines(1)
175 {
176 }
177 ~vtkTriangleFilter() override = default;
178
179 // Usual data generation method
181
184
185private:
186 vtkTriangleFilter(const vtkTriangleFilter&) = delete;
187 void operator=(const vtkTriangleFilter&) = delete;
188};
189
190#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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