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 =========================================================================*/ 00028 #ifndef __vtkExtractEdges_h 00029 #define __vtkExtractEdges_h 00030 00031 #include "vtkPolyDataAlgorithm.h" 00032 00033 class vtkPointLocator; 00034 00035 class VTK_GRAPHICS_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm 00036 { 00037 public: 00038 static vtkExtractEdges *New(); 00039 vtkTypeRevisionMacro(vtkExtractEdges,vtkPolyDataAlgorithm); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00045 void SetLocator(vtkPointLocator *locator); 00046 vtkGetObjectMacro(Locator,vtkPointLocator); 00048 00050 void CreateDefaultLocator(); 00051 00053 unsigned long GetMTime(); 00054 00055 protected: 00056 vtkExtractEdges(); 00057 ~vtkExtractEdges(); 00058 00059 // Usual data generation method 00060 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00061 00062 virtual int FillInputPortInformation(int port, vtkInformation *info); 00063 00064 vtkPointLocator *Locator; 00065 private: 00066 vtkExtractEdges(const vtkExtractEdges&); // Not implemented. 00067 void operator=(const vtkExtractEdges&); // Not implemented. 00068 }; 00069 00070 #endif 00071 00072