VTK  9.5.2
vtkCellLocator.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
35
36#ifndef vtkCellLocator_h
37#define vtkCellLocator_h
38
40#include "vtkCommonDataModelModule.h" // For export macro
41#include "vtkNew.h" // For vtkNew
42
43VTK_ABI_NAMESPACE_BEGIN
44class vtkIntArray;
45
46class VTKCOMMONDATAMODEL_EXPORT vtkCellLocator : public vtkAbstractCellLocator
47{
48public:
50
54 void PrintSelf(ostream& os, vtkIndent indent) override;
56
62
68
69 // Reuse any superclass signatures that we don't override.
74
81 int IntersectWithLine(const double p1[3], const double p2[3], double tol, double& t, double x[3],
82 double pcoords[3], int& subId, vtkIdType& cellId, vtkGenericCell* cell) override;
83
93 int IntersectWithLine(const double p1[3], const double p2[3], double tol, vtkPoints* points,
94 vtkIdList* cellIds, vtkGenericCell* cell)