00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkExtractEdges.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00048 #ifndef __vtkExtractEdges_h 00049 #define __vtkExtractEdges_h 00050 00051 #include "vtkDataSetToPolyDataFilter.h" 00052 00053 class vtkPointLocator; 00054 00055 class VTK_GRAPHICS_EXPORT vtkExtractEdges : public vtkDataSetToPolyDataFilter 00056 { 00057 public: 00058 static vtkExtractEdges *New(); 00059 vtkTypeRevisionMacro(vtkExtractEdges,vtkDataSetToPolyDataFilter); 00060 void PrintSelf(ostream& os, vtkIndent indent); 00061 00063 00065 void SetLocator(vtkPointLocator *locator); 00066 vtkGetObjectMacro(Locator,vtkPointLocator); 00068 00070 void CreateDefaultLocator(); 00071 00073 unsigned long GetMTime(); 00074 00075 protected: 00076 vtkExtractEdges(); 00077 ~vtkExtractEdges(); 00078 00079 // Usual data generation method 00080 void Execute(); 00081 00082 vtkPointLocator *Locator; 00083 private: 00084 vtkExtractEdges(const vtkExtractEdges&); // Not implemented. 00085 void operator=(const vtkExtractEdges&); // Not implemented. 00086 }; 00087 00088 #endif 00089 00090