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 
vtkgl::z
GLdouble GLdouble z
Definition: vtkgl.h:11754
vtkMergePoints::IsInsertedPoint
vtkIdType IsInsertedPoint(double x, double y, double z)
Definition: vtkMergePoints.h:47
vtkMergePoints::IsInsertedPoint
vtkIdType IsInsertedPoint(const double x[3])
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkCommonDataModelModule.h
vtkPointLocator
quickly locate points in 3-space
Definition: vtkPointLocator.h:53
vtkPointLocator.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkgl::x
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
vtkMergePoints::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkMergePoints::vtkMergePoints
vtkMergePoints()
Definition: vtkMergePoints.h:60
vtkMergePoints::InsertUniquePoint
int InsertUniquePoint(const double x[3], vtkIdType &ptId)
vtkPointLocator::IsInsertedPoint
vtkIdType IsInsertedPoint(double x, double y, double z)
Definition: vtkPointLocator.h:128
vtkMergePoints::~vtkMergePoints
~vtkMergePoints()
Definition: vtkMergePoints.h:61
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkMergePoints::New
static vtkMergePoints * New()
vtkgl::y
GLint GLint GLint GLint GLint GLint y
Definition: vtkgl.h:11318
VTKCOMMONDATAMODEL_EXPORT
#define VTKCOMMONDATAMODEL_EXPORT
Definition: vtkCommonDataModelModule.h:15
vtkMergePoints
merge exactly coincident points
Definition: vtkMergePoints.h:36