VTK
|
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 "vtkFiltersExtractionModule.h" // For export macro 00035 #include "vtkPolyDataAlgorithm.h" 00036 00037 class vtkIncrementalPointLocator; 00038 00039 class VTKFILTERSEXTRACTION_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm 00040 { 00041 public: 00042 static vtkExtractEdges *New(); 00043 vtkTypeMacro(vtkExtractEdges,vtkPolyDataAlgorithm); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 00049 void SetLocator(vtkIncrementalPointLocator *locator); 00050 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator); 00052 00054 void CreateDefaultLocator(); 00055 00057 unsigned long GetMTime(); 00058 00059 protected: 00060 vtkExtractEdges(); 00061 ~vtkExtractEdges(); 00062 00063 // Usual data generation method 00064 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00065 00066 virtual int FillInputPortInformation(int port, vtkInformation *info); 00067 00068 vtkIncrementalPointLocator *Locator; 00069 private: 00070 vtkExtractEdges(const vtkExtractEdges&); // Not implemented. 00071 void operator=(const vtkExtractEdges&); // Not implemented. 00072 }; 00073 00074 #endif 00075 00076