VTK
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=========================================================================*/
31#ifndef vtkTriangleFilter_h
32#define vtkTriangleFilter_h
33
34#include "vtkFiltersCoreModule.h" // For export macro
36
37class VTKFILTERSCORE_EXPORT vtkTriangleFilter : public vtkPolyDataAlgorithm
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
43
45
51 vtkBooleanMacro(PassVerts,int);
52 vtkSetMacro(PassVerts,int);
53 vtkGetMacro(PassVerts,int);
55
57
63 vtkBooleanMacro(PassLines,int);
64 vtkSetMacro(PassLines,int);
65 vtkGetMacro(PassLines,int);
67
68protected:
69 vtkTriangleFilter() : PassVerts(1), PassLines(1) {}
70 ~vtkTriangleFilter() VTK_OVERRIDE {}
71
72 // Usual data generation method
74
77private:
78 vtkTriangleFilter(const vtkTriangleFilter&) VTK_DELETE_FUNCTION;
79 void operator=(const vtkTriangleFilter&) VTK_DELETE_FUNCTION;
80};
81
82#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
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
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.