VTK: Common/Core/vtkArrayInterpolate.h Source File

| VTK 9.3.1

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
32 VTK_ABI_NAMESPACE_BEGIN
33 class vtkArrayExtents;
34 class vtkArraySlices;
35 class vtkArrayWeights;
36
37 //
38
39 template <typename T>
40 void vtkInterpolate(vtkTypedArray<T>* source_array, const vtkArraySlices& source_slices,
41 const vtkArrayWeights& source_weights, const vtkArrayExtents& target_slice,
42 vtkTypedArray<T>* target_array);
43
44 VTK_ABI_NAMESPACE_END
45 #include "vtkArrayInterpolate.txx"
46
47 #endif
48
49 // VTK-HeaderTest-Exclude: vtkArrayInterpolate.h
vtkArrayExtents
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray.
Definition: vtkArrayExtents.h:56
vtkArrayWeights
Stores a collection of weighting factors.
Definition: vtkArrayWeights.h:40
vtkTypedArray
Provides a type-specific interface to N-way arrays.
Definition: vtkTypedArray.h:43
vtkInterpolate
void vtkInterpolate(vtkTypedArray< T > *source_array, const vtkArraySlices &source_slices, const vtkArrayWeights &source_weights, const vtkArrayExtents &target_slice, vtkTypedArray< T > *target_array)
vtkTypedArray.h