vtkPointLocator - quickly locate points in 3-space
Super Class: vtkLocator
Description:
vtkPointLocator is a spatial search object to quickly locate points in 3D. vtkPointLocator works by dividing a specified region of space into a regular array of "rectangular" buckets, and then keeping a list of points that lie in each bucket. Typical operation involves giving a position in 3D and finding the closest point. vtkPointLocator has two distinct methods of interaction. In the first method, you suppy it with a dataset, and it operates on the points in the dataset. In the second method, you supply it with an array of points, and the object operates on the array.
Caveats:
Many other types of spatial locators have been developed such as octrees and kd-trees. These are often more efficient for the operations described here.
See Also:
Methods:
void vtkPointLocator () | |
void vtkPointLocator () | |
static vtkPointLocator *New () | |
const char *GetClassName () | |
void PrintSelf (unknown & ,vtkIndent ) | |
void SetDivisions (int ,int ,int ) | |
void SetDivisions (int *) | |
int *GetDivisions () | |
void SetNumberOfPointsPerBucket (int ) | |
int GetNumberOfPointsPerBucket () | |
int FindClosestPoint (float ) | |
int InitPointInsertion (vtkPoints * ,float ) | |
int InitPointInsertion (vtkPoints * ,float ,int ) | |
void InsertPoint (int ,float ) | |
int InsertNextPoint (float ) | |
int IsInsertedPoint (float ) | |
int FindClosestInsertedPoint (float ) | |
void Initialize () | |
void FreeSearchStructure () | |
void BuildLocator () | |
void GenerateRepresentation (int ,vtkPolyData *) | |
void GetBucketNeighbors (int ,int ,int ) | |
void GetOverlappingBuckets (float ,int ,float ) | |
void GenerateFace (int ,int ,int ,int ,vtkPoints * ,vtkCellArray *) |
Detailed Method Descriptions:
void vtkPointLocator () |
void SetDivisions (int ,int ,int ) | |
void SetDivisions (int *) | |
int *GetDivisions () |
void SetNumberOfPointsPerBucket (int ) | |
int GetNumberOfPointsPerBucket () |
int FindClosestPoint (float ) |
int InitPointInsertion (vtkPoints * ,float ) | |
int InitPointInsertion (vtkPoints * ,float ,int ) |
void InsertPoint (int ,float ) |
int InsertNextPoint (float ) |
int IsInsertedPoint (float ) |
int FindClosestInsertedPoint (float ) |
void Initialize () | |
void FreeSearchStructure () | |
void BuildLocator () | |
void GenerateRepresentation (int ,vtkPolyData *) |