Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Filtering/vtkMergePoints.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMergePoints.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 =========================================================================*/
00043 #ifndef __vtkMergePoints_h
00044 #define __vtkMergePoints_h
00045 
00046 #include "vtkPointLocator.h"
00047 
00048 class VTK_FILTERING_EXPORT vtkMergePoints : public vtkPointLocator
00049 {
00050 public:
00051   static vtkMergePoints *New();
00052   vtkTypeRevisionMacro(vtkMergePoints,vtkPointLocator);
00053   void PrintSelf(ostream& os, vtkIndent indent);
00054 
00056 
00059   vtkIdType IsInsertedPoint(const float x[3]);
00060   vtkIdType IsInsertedPoint(float x, float  y, float z)
00061     {return this->vtkPointLocator::IsInsertedPoint(x, y, z); };
00063 
00070   int InsertUniquePoint(const float x[3], vtkIdType &ptId);
00071   
00072 protected:
00073   vtkMergePoints() {};
00074   ~vtkMergePoints() {};
00075   
00076 private:
00077   vtkMergePoints(const vtkMergePoints&);  // Not implemented.
00078   void operator=(const vtkMergePoints&);  // Not implemented.
00079 };
00080 
00081 #endif
00082 
00083