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

vtkMergePoints.h

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