Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound 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 =========================================================================*/
00045 #ifndef __vtkMergePoints_h
00046 #define __vtkMergePoints_h
00047 
00048 #include "vtkPointLocator.h"
00049 
00050 class VTK_FILTERING_EXPORT vtkMergePoints : public vtkPointLocator
00051 {
00052 public:
00053   static vtkMergePoints *New();
00054   vtkTypeRevisionMacro(vtkMergePoints,vtkPointLocator);
00055   void PrintSelf(ostream& os, vtkIndent indent);
00056 
00058 
00061   vtkIdType IsInsertedPoint(const float x[3]);
00062   vtkIdType IsInsertedPoint(float x, float  y, float z)
00063     {return this->vtkPointLocator::IsInsertedPoint(x, y, z); };
00065 
00072   int InsertUniquePoint(const float x[3], vtkIdType &ptId);
00073   
00074 protected:
00075   vtkMergePoints() {};
00076   ~vtkMergePoints() {};
00077   
00078 private:
00079   vtkMergePoints(const vtkMergePoints&);  // Not implemented.
00080   void operator=(const vtkMergePoints&);  // Not implemented.
00081 };
00082 
00083 #endif
00084 
00085