VTK  9.7.20260921
vtkTableToCoordinatesInternal.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
3
4#include "vtkABINamespace.h"
5#include "vtkType.h"
6
7#include <vector>
8
9VTK_ABI_NAMESPACE_BEGIN
10class vtkDataArray;
12class vtkDoubleArray;
13class vtkFieldData;
14class vtkIdTypeArray;
15
17{
24
41
61 vtkIdTypeArray* inputToSpaceMap, vtkIdType invalidMapping);
62
68 vtkFieldData* space, vtkDataSetAttributes* inputPoints, vtkIdType inputPointId);
69
79void GetSurroundingPoints(vtkFieldData* space, const std::vector<double>& point,
80 vtkIdTypeArray* pointIdx, vtkDoubleArray* weights);
81
82}
83VTK_ABI_NAMESPACE_END
represent and manipulate attribute data in a dataset
dynamic, self-adjusting array of double
Represents and manipulates a collection of data arrays.
dynamic, self-adjusting array of vtkIdType
bool ComputeUniqueAndSorted(vtkDataArray *input, vtkDataArray *output)
Fill output array with unique, sorted values from the given input.
void ConstructSpace(vtkFieldData *space, vtkDataSetAttributes *inputPoints)
Construct a N-dimension space from the list of points.
void MapSpaceToInput(vtkFieldData *space, vtkDataSetAttributes *inputPoints, vtkIdTypeArray *inputToSpaceMap, vtkIdType invalidMapping)
Map every point index from space to the randomly ordered and sparsed source arrays from inputPoints.
vtkIdType GetPointIdxInSpace(vtkFieldData *space, vtkDataSetAttributes *inputPoints, vtkIdType inputPointId)
Given a structured N-dimension space, compute the structured coordinates from an inputPoint and retur...
void GetSurroundingPoints(vtkFieldData *space, const std::vector< double > &point, vtkIdTypeArray *pointIdx, vtkDoubleArray *weights)
Given a random point, return its surrounding point in space with associated weight.
#define vtkDataArray
int vtkIdType
Definition vtkType.h:363