VTK
dox/Filters/Core/vtkTriangleFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkTriangleFilter.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00030 #ifndef __vtkTriangleFilter_h
00031 #define __vtkTriangleFilter_h
00032 
00033 #include "vtkFiltersCoreModule.h" // For export macro
00034 #include "vtkPolyDataAlgorithm.h"
00035 
00036 class VTKFILTERSCORE_EXPORT vtkTriangleFilter : public vtkPolyDataAlgorithm
00037 {
00038 public:
00039   static vtkTriangleFilter *New();
00040   vtkTypeMacro(vtkTriangleFilter,vtkPolyDataAlgorithm);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00048   vtkBooleanMacro(PassVerts,int);
00049   vtkSetMacro(PassVerts,int);
00050   vtkGetMacro(PassVerts,int);
00052 
00054 
00058   vtkBooleanMacro(PassLines,int);
00059   vtkSetMacro(PassLines,int);
00060   vtkGetMacro(PassLines,int);
00062 
00063 protected:
00064   vtkTriangleFilter() : PassVerts(1), PassLines(1) {}
00065   ~vtkTriangleFilter() {}
00066 
00067   // Usual data generation method
00068   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00069 
00070   int PassVerts;
00071   int PassLines;
00072 private:
00073   vtkTriangleFilter(const vtkTriangleFilter&);  // Not implemented.
00074   void operator=(const vtkTriangleFilter&);  // Not implemented.
00075 };
00076 
00077 #endif