00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkMergePoints2D.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00041 #ifndef __vtkMergePoints2D_h 00042 #define __vtkMergePoints2D_h 00043 00044 #include "vtkPointLocator2D.h" 00045 00046 class VTK_FILTERING_EXPORT vtkMergePoints2D : public vtkPointLocator2D 00047 { 00048 public: 00049 static vtkMergePoints2D *New(); 00050 vtkTypeRevisionMacro(vtkMergePoints2D,vtkPointLocator2D); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00056 int IsInsertedPoint(float x[2]); 00057 00058 protected: 00059 vtkMergePoints2D() {}; 00060 ~vtkMergePoints2D() {}; 00061 00062 private: 00063 vtkMergePoints2D(const vtkMergePoints2D&); // Not implemented. 00064 void operator=(const vtkMergePoints2D&); // Not implemented. 00065 }; 00066 00067 #endif 00068 00069