VTK  9.3.20240424
vtkNonMergingPointLocator.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
22#ifndef vtkNonMergingPointLocator_h
23#define vtkNonMergingPointLocator_h
24
25#include "vtkCommonDataModelModule.h" // For export macro
26#include "vtkPointLocator.h"
27
28VTK_ABI_NAMESPACE_BEGIN
29class vtkPoints;
30
31class VTKCOMMONDATAMODEL_EXPORT vtkNonMergingPointLocator : public vtkPointLocator
32{
33public:
35
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
44 vtkIdType IsInsertedPoint(const double[3]) override { return -1; }
45 vtkIdType IsInsertedPoint(double, double, double) override { return -1; }
46
53 int InsertUniquePoint(const double x[3], vtkIdType& ptId) override;
54
55protected:
57 ~vtkNonMergingPointLocator() override = default;
58
59private:
61 void operator=(const vtkNonMergingPointLocator&) = delete;
62};
63
64VTK_ABI_NAMESPACE_END
65#endif
a simple class to control print indentation
Definition vtkIndent.h:108
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.
vtkNonMergingPointLocator()=default
vtkIdType IsInsertedPoint(double, double, double) override
Determine whether or not a given point has been inserted.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
~vtkNonMergingPointLocator() override=default
static vtkNonMergingPointLocator * New()
quickly locate points in 3-space
represent and manipulate 3D points
Definition vtkPoints.h:139
int vtkIdType
Definition vtkType.h:315