29#ifndef vtkLinearTransformCellLocator_h
30#define vtkLinearTransformCellLocator_h
33#include "vtkFiltersFlowPathsModule.h"
36VTK_ABI_NAMESPACE_BEGIN
70 vtkSetMacro(UseAllPoints,
bool);
71 vtkBooleanMacro(UseAllPoints,
bool);
72 vtkGetMacro(UseAllPoints,
bool);
79 vtkGetMacro(IsLinearTransformation,
bool);
93 int IntersectWithLine(
const double p1[3],
const double p2[3],
double tol,
double& t,
double x[3],
116 vtkIdType& cellId,
int& subId,
double& dist2)
override
118 this->Superclass::FindClosestPoint(x, closestPoint, cell, cellId, subId, dist2);
149 const double p1[3],
const double p2[3],
double tolerance,
vtkIdList* cellsIds)
override
151 this->Superclass::FindCellsAlongLine(p1, p2, tolerance, cellsIds);
161 const double o[3],
const double n[3],
double tolerance,
vtkIdList* cells)
override;
171 double pcoords[3],
double* weights)
override;
206 bool IsLinearTransformation =
false;
207 bool UseAllPoints =
false;
an abstract base class for locators which find cells
virtual vtkIdType FindCell(double x[3])
Returns the Id of the cell containing the point, returns -1 if no cell found.
virtual void FindClosestPoint(const double x[3], double closestPoint[3], vtkIdType &cellId, int &subId, double &dist2)
Return the closest point and the cell which is closest to the point x.
virtual vtkIdType FindClosestPointWithinRadius(double x[3], double radius, double closestPoint[3], vtkIdType &cellId, int &subId, double &dist2)
Return the closest point within a specified radius and the cell which is closest to the point x.
virtual int IntersectWithLine(const double p1[3], const double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)
Return intersection point (if any) of finite line with cells contained in cell locator.
provides thread-safe access to cells
list of point or cell ids
a simple class to control print indentation
represent and manipulate 3D points
concrete dataset represents vertices, lines, polygons, and triangle strips
Hold a reference to a vtkObjectBase instance.