VTK
vtkMergePoints.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMergePoints.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkMergePoints_h
30 #define vtkMergePoints_h
31 
32 #include "vtkCommonDataModelModule.h" // For export macro
33 #include "vtkPointLocator.h"
34 
36 {
37 public:
38  static vtkMergePoints *New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
46  vtkIdType IsInsertedPoint(const double x[3]);
47  vtkIdType IsInsertedPoint(double x, double y, double z)
48  {return this->vtkPointLocator::IsInsertedPoint(x, y, z); };
50 
57  int InsertUniquePoint(const double x[3], vtkIdType &ptId);
58 
59 protected:
62 
63 private:
64  vtkMergePoints(const vtkMergePoints&); // Not implemented.
65  void operator=(const vtkMergePoints&); // Not implemented.
66 };
67 
68 #endif
69 
70 
quickly locate points in 3-space
vtkIdType IsInsertedPoint(double x, double y, double z)
int vtkIdType
Definition: vtkType.h:275
static vtkPointLocator * New()
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
merge exactly coincident points
virtual int InsertUniquePoint(const double x[3], vtkIdType &ptId)
#define VTKCOMMONDATAMODEL_EXPORT
vtkIdType IsInsertedPoint(double x, double y, double z)