dox/Filtering/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 =========================================================================*/
00026 #ifndef __vtkMergePoints_h
00027 #define __vtkMergePoints_h
00028 
00029 #include "vtkPointLocator.h"
00030 
00031 class VTK_FILTERING_EXPORT vtkMergePoints : public vtkPointLocator
00032 {
00033 public:
00034   static vtkMergePoints *New();
00035   vtkTypeRevisionMacro(vtkMergePoints,vtkPointLocator);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00039 
00042   vtkIdType IsInsertedPoint(const double x[3]);
00043   vtkIdType IsInsertedPoint(double x, double  y, double z)
00044     {return this->vtkPointLocator::IsInsertedPoint(x, y, z); };
00046 
00053   int InsertUniquePoint(const double x[3], vtkIdType &ptId);
00054   
00055 protected:
00056   vtkMergePoints() {};
00057   ~vtkMergePoints() {};
00058   
00059 private:
00060   vtkMergePoints(const vtkMergePoints&);  // Not implemented.
00061   void operator=(const vtkMergePoints&);  // Not implemented.
00062 };
00063 
00064 #endif
00065 
00066