Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkTriangleFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkTriangleFilter.h,v $
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 =========================================================================*/
00040 #ifndef __vtkTriangleFilter_h
00041 #define __vtkTriangleFilter_h
00042 
00043 #include "vtkPolyDataToPolyDataFilter.h"
00044 
00045 class VTK_GRAPHICS_EXPORT vtkTriangleFilter : public vtkPolyDataToPolyDataFilter
00046 {
00047 public:
00048   static vtkTriangleFilter *New();
00049   vtkTypeRevisionMacro(vtkTriangleFilter,vtkPolyDataToPolyDataFilter);
00050   void PrintSelf(ostream& os, vtkIndent indent);
00051 
00053 
00054   vtkBooleanMacro(PassVerts,int);
00055   vtkSetMacro(PassVerts,int);
00056   vtkGetMacro(PassVerts,int);
00058 
00060 
00061   vtkBooleanMacro(PassLines,int);
00062   vtkSetMacro(PassLines,int);
00063   vtkGetMacro(PassLines,int);
00065 
00066 protected:
00067   vtkTriangleFilter() : PassVerts(1), PassLines(1) {};
00068   ~vtkTriangleFilter() {};
00069 
00070   // Usual data generation method
00071   void Execute();
00072 
00073   int PassVerts;
00074   int PassLines;
00075 private:
00076   vtkTriangleFilter(const vtkTriangleFilter&);  // Not implemented.
00077   void operator=(const vtkTriangleFilter&);  // Not implemented.
00078 };
00079 
00080 #endif