VTK
vtkNonMergingPointLocator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkNonMergingPointLocator.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 =========================================================================*/
33 #ifndef __vtkNonMergingPointLocator_h
34 #define __vtkNonMergingPointLocator_h
35 
36 #include "vtkPointLocator.h"
37 
38 class vtkPoints;
39 
40 class VTK_FILTERING_EXPORT vtkNonMergingPointLocator : public vtkPointLocator
41 {
42 public:
43  static vtkNonMergingPointLocator * New();
44 
45  vtkTypeMacro( vtkNonMergingPointLocator, vtkPointLocator );
46  void PrintSelf( ostream & os, vtkIndent indent );
47 
48 //BTX
50 
54  virtual vtkIdType IsInsertedPoint( const double [3] ) { return -1; }
55  virtual vtkIdType IsInsertedPoint( double, double, double ) { return -1; }
56 //ETX
58 
63  virtual int InsertUniquePoint( const double x[3], vtkIdType & ptId );
64 
65 protected:
68 
69 private:
70  vtkNonMergingPointLocator( const vtkNonMergingPointLocator & ); // Not implemented.
71  void operator = ( const vtkNonMergingPointLocator & ); // Not implemented.
72 };
73 
74 #endif
75 
76 
#define VTK_FILTERING_EXPORT
direct / check-free point insertion.
int vtkIdType
Definition: vtkType.h:255
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual vtkIdType IsInsertedPoint(const double[3])
virtual vtkIdType IsInsertedPoint(double, double, double)
represent and manipulate 3D points
Definition: vtkPoints.h:38