VTK
|
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 =========================================================================*/ 00026 #ifndef __vtkTriangleFilter_h 00027 #define __vtkTriangleFilter_h 00028 00029 #include "vtkPolyDataAlgorithm.h" 00030 00031 class VTK_GRAPHICS_EXPORT vtkTriangleFilter : public vtkPolyDataAlgorithm 00032 { 00033 public: 00034 static vtkTriangleFilter *New(); 00035 vtkTypeRevisionMacro(vtkTriangleFilter,vtkPolyDataAlgorithm); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00039 00040 vtkBooleanMacro(PassVerts,int); 00041 vtkSetMacro(PassVerts,int); 00042 vtkGetMacro(PassVerts,int); 00044 00046 00047 vtkBooleanMacro(PassLines,int); 00048 vtkSetMacro(PassLines,int); 00049 vtkGetMacro(PassLines,int); 00051 00052 protected: 00053 vtkTriangleFilter() : PassVerts(1), PassLines(1) {}; 00054 ~vtkTriangleFilter() {}; 00055 00056 // Usual data generation method 00057 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00058 00059 int PassVerts; 00060 int PassLines; 00061 private: 00062 vtkTriangleFilter(const vtkTriangleFilter&); // Not implemented. 00063 void operator=(const vtkTriangleFilter&); // Not implemented. 00064 }; 00065 00066 #endif