00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkEdgePoints.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 =========================================================================*/ 00032 #ifndef __vtkEdgePoints_h 00033 #define __vtkEdgePoints_h 00034 00035 #include "vtkPolyDataAlgorithm.h" 00036 00037 class vtkMergePoints; 00038 00039 class VTK_GRAPHICS_EXPORT vtkEdgePoints : public vtkPolyDataAlgorithm 00040 { 00041 public: 00042 vtkTypeMacro(vtkEdgePoints,vtkPolyDataAlgorithm); 00043 void PrintSelf(ostream& os, vtkIndent indent); 00044 00046 static vtkEdgePoints *New(); 00047 00049 00050 vtkSetMacro(Value,double); 00051 vtkGetMacro(Value,double); 00053 00054 protected: 00055 vtkEdgePoints(); 00056 ~vtkEdgePoints(); 00057 00058 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00059 virtual int FillInputPortInformation(int port, vtkInformation *info); 00060 00061 double Value; 00062 vtkMergePoints *Locator; 00063 private: 00064 vtkEdgePoints(const vtkEdgePoints&); // Not implemented. 00065 void operator=(const vtkEdgePoints&); // Not implemented. 00066 }; 00067 00068 #endif