Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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   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 =========================================================================*/
00030 #ifndef __vtkMergePoints_h
00031 #define __vtkMergePoints_h
00032 
00033 #include "vtkPointLocator.h"
00034 
00035 class VTK_FILTERING_EXPORT vtkMergePoints : public vtkPointLocator
00036 {
00037 public:
00038   static vtkMergePoints *New();
00039   vtkTypeRevisionMacro(vtkMergePoints,vtkPointLocator);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00043 
00046   vtkIdType IsInsertedPoint(const float x[3]);
00047   vtkIdType IsInsertedPoint(float x, float  y, float z)
00048     {return this->vtkPointLocator::IsInsertedPoint(x, y, z); };
00050 
00057   int InsertUniquePoint(const float x[3], vtkIdType &ptId);
00058   
00059 protected:
00060   vtkMergePoints() {};
00061   ~vtkMergePoints() {};
00062   
00063 private:
00064   vtkMergePoints(const vtkMergePoints&);  // Not implemented.
00065   void operator=(const vtkMergePoints&);  // Not implemented.
00066 };
00067 
00068 #endif
00069 
00070