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 =========================================================================*/
29 #ifndef __vtkTriangleFilter_h
30 #define __vtkTriangleFilter_h
31 
32 #include "vtkPolyDataAlgorithm.h"
33 
35 {
36 public:
37  static vtkTriangleFilter *New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
43  vtkBooleanMacro(PassVerts,int);
44  vtkSetMacro(PassVerts,int);
45  vtkGetMacro(PassVerts,int);
47 
49 
50  vtkBooleanMacro(PassLines,int);
51  vtkSetMacro(PassLines,int);
52  vtkGetMacro(PassLines,int);
54 
55 protected:
56  vtkTriangleFilter() : PassVerts(1), PassLines(1) {};
58 
59  // Usual data generation method
61 
62  int PassVerts;
63  int PassLines;
64 private:
65  vtkTriangleFilter(const vtkTriangleFilter&); // Not implemented.
66  void operator=(const vtkTriangleFilter&); // Not implemented.
67 };
68 
69 #endif