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=========================================================================*/
34#ifndef vtkNonMergingPointLocator_h
35#define vtkNonMergingPointLocator_h
36
37#include "vtkCommonDataModelModule.h" // For export macro
38#include "vtkPointLocator.h"
39
40class vtkPoints;
41
42class VTKCOMMONDATAMODEL_EXPORT vtkNonMergingPointLocator : public vtkPointLocator
43{
44public:
46
48 void PrintSelf( ostream & os, vtkIndent indent ) VTK_OVERRIDE;
49
55 vtkIdType IsInsertedPoint( const double [3] ) VTK_OVERRIDE
56 { return -1; }
57 vtkIdType IsInsertedPoint( double, double, double ) VTK_OVERRIDE
58 { return -1; }
59
66 int InsertUniquePoint( const double x[3], vtkIdType & ptId ) VTK_OVERRIDE;
67
68protected:
70 ~vtkNonMergingPointLocator() VTK_OVERRIDE { };
71
72private:
73 vtkNonMergingPointLocator( const vtkNonMergingPointLocator & ) VTK_DELETE_FUNCTION;
74 void operator = ( const vtkNonMergingPointLocator & ) VTK_DELETE_FUNCTION;
75};
76
77#endif
78
79
a simple class to control print indentation
Definition: vtkIndent.h:40
direct / check-free point insertion.
int InsertUniquePoint(const double x[3], vtkIdType &ptId) override
Determine whether a given point x has been inserted into the points list.
vtkIdType IsInsertedPoint(const double[3]) override
Determine whether a given point x has been inserted into the points list.
vtkIdType IsInsertedPoint(double, double, double) override
Determine whether or not a given point has been inserted.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkNonMergingPointLocator * New()
quickly locate points in 3-space
represent and manipulate 3D points
Definition: vtkPoints.h:40
int vtkIdType
Definition: vtkType.h:287