VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkMergePoints.h 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 =========================================================================*/ 00029 #ifndef __vtkMergePoints_h 00030 #define __vtkMergePoints_h 00031 00032 #include "vtkCommonDataModelModule.h" // For export macro 00033 #include "vtkPointLocator.h" 00034 00035 class VTKCOMMONDATAMODEL_EXPORT vtkMergePoints : public vtkPointLocator 00036 { 00037 public: 00038 static vtkMergePoints *New(); 00039 vtkTypeMacro(vtkMergePoints,vtkPointLocator); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00046 vtkIdType IsInsertedPoint(const double x[3]); 00047 vtkIdType IsInsertedPoint(double x, double y, double z) 00048 {return this->vtkPointLocator::IsInsertedPoint(x, y, z); }; 00050 00057 int InsertUniquePoint(const double 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