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