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 =========================================================================*/
30 #ifndef vtkTriangleFilter_h
31 #define vtkTriangleFilter_h
32 
33 #include "vtkFiltersCoreModule.h" // For export macro
34 #include "vtkPolyDataAlgorithm.h"
35 
37 {
38 public:
39  static vtkTriangleFilter *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
48  vtkBooleanMacro(PassVerts,int);
49  vtkSetMacro(PassVerts,int);
50  vtkGetMacro(PassVerts,int);
52 
54 
58  vtkBooleanMacro(PassLines,int);
59  vtkSetMacro(PassLines,int);
60  vtkGetMacro(PassLines,int);
62 
63 protected:
64  vtkTriangleFilter() : PassVerts(1), PassLines(1) {}
66 
67  // Usual data generation method
69 
70  int PassVerts;
71  int PassLines;
72 private:
73  vtkTriangleFilter(const vtkTriangleFilter&); // Not implemented.
74  void operator=(const vtkTriangleFilter&); // Not implemented.
75 };
76 
77 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKFILTERSCORE_EXPORT
convert input polygons and strips to triangles
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.