41#ifndef vtkLinearTransformCellLocator_h
42#define vtkLinearTransformCellLocator_h
45#include "vtkFiltersFlowPathsModule.h"
80 vtkSetMacro(UseAllPoints,
bool);
81 vtkBooleanMacro(UseAllPoints,
bool);
82 vtkGetMacro(UseAllPoints,
bool);
89 vtkGetMacro(IsLinearTransformation,
bool);
103 int IntersectWithLine(
const double p1[3],
const double p2[3],
double tol,
double& t,
double x[3],
126 vtkIdType& cellId,
int& subId,
double& dist2)
override
128 this->Superclass::FindClosestPoint(x, closestPoint, cell, cellId, subId, dist2);
159 const double p1[3],
const double p2[3],
double tolerance,
vtkIdList* cellsIds)
override
161 this->Superclass::FindCellsAlongLine(p1, p2, tolerance, cellsIds);
171 const double o[3],
const double n[3],
double tolerance,
vtkIdList* cells)
override;
181 double pcoords[3],
double* weights)
override;
214 bool IsLinearTransformation =
false;
215 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.