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:
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
vtkTriangleFilter::PassVerts
int PassVerts
Definition: vtkTriangleFilter.h:70
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkFiltersCoreModule.h
vtkPolyDataAlgorithm.h
VTKFILTERSCORE_EXPORT
#define VTKFILTERSCORE_EXPORT
Definition: vtkFiltersCoreModule.h:15
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTriangleFilter
convert input polygons and strips to triangles
Definition: vtkTriangleFilter.h:37
vtkTriangleFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkTriangleFilter::PassLines
int PassLines
Definition: vtkTriangleFilter.h:71
vtkTriangleFilter::New
static vtkTriangleFilter * New()
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkTriangleFilter::~vtkTriangleFilter
~vtkTriangleFilter()
Definition: vtkTriangleFilter.h:65
vtkTriangleFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkTriangleFilter::vtkTriangleFilter
vtkTriangleFilter()
Definition: vtkTriangleFilter.h:64
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44