VTK  9.3.20240425
vtkArrayInterpolate.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
4
27#ifndef vtkArrayInterpolate_h
28#define vtkArrayInterpolate_h
29
30#include "vtkTypedArray.h"
31
32VTK_ABI_NAMESPACE_BEGIN
33class vtkArrayExtents;
34class vtkArraySlices;
35class vtkArrayWeights;
36
37//
38
39template <typename T>
40void vtkInterpolate(vtkTypedArray<T>* source_array, const vtkArraySlices& source_slices,
41 const vtkArrayWeights& source_weights, const vtkArrayExtents& target_slice,
42 vtkTypedArray<T>* target_array);
43
44VTK_ABI_NAMESPACE_END
45#include "vtkArrayInterpolate.txx"
46
47#endif
48
49// VTK-HeaderTest-Exclude: vtkArrayInterpolate.h
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray.
Stores a collection of weighting factors.
Provides a type-specific interface to N-way arrays.
void vtkInterpolate(vtkTypedArray< T > *source_array, const vtkArraySlices &source_slices, const vtkArrayWeights &source_weights, const vtkArrayExtents &target_slice, vtkTypedArray< T > *target_array)