00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkExtractEdges.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 =========================================================================*/ 00044 #ifndef __vtkExtractEdges_h 00045 #define __vtkExtractEdges_h 00046 00047 #include "vtkDataSetToPolyDataFilter.h" 00048 00049 class vtkPointLocator; 00050 00051 class VTK_GRAPHICS_EXPORT vtkExtractEdges : public vtkDataSetToPolyDataFilter 00052 { 00053 public: 00054 static vtkExtractEdges *New(); 00055 vtkTypeRevisionMacro(vtkExtractEdges,vtkDataSetToPolyDataFilter); 00056 void PrintSelf(ostream& os, vtkIndent indent); 00057 00059 00061 void SetLocator(vtkPointLocator *locator); 00062 vtkGetObjectMacro(Locator,vtkPointLocator); 00064 00066 void CreateDefaultLocator(); 00067 00069 unsigned long GetMTime(); 00070 00071 protected: 00072 vtkExtractEdges(); 00073 ~vtkExtractEdges(); 00074 00075 // Usual data generation method 00076 void Execute(); 00077 00078 vtkPointLocator *Locator; 00079 private: 00080 vtkExtractEdges(const vtkExtractEdges&); // Not implemented. 00081 void operator=(const vtkExtractEdges&); // Not implemented. 00082 }; 00083 00084 #endif 00085 00086