VTK  9.1.0
vtkArrayInterpolate.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkArrayInterpolate.h
5
6-------------------------------------------------------------------------
7 Copyright 2008 Sandia Corporation.
8 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9 the U.S. Government retains certain rights in this software.
10-------------------------------------------------------------------------
11
12 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13 All rights reserved.
14 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15
16 This software is distributed WITHOUT ANY WARRANTY; without even
17 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18 PURPOSE. See the above copyright notice for more information.
19
20=========================================================================*/
21
44#ifndef vtkArrayInterpolate_h
45#define vtkArrayInterpolate_h
46
47#include "vtkTypedArray.h"
48
49class vtkArrayExtents;
50class vtkArraySlices;
51class vtkArrayWeights;
52
53//
54
55template <typename T>
56void vtkInterpolate(vtkTypedArray<T>* source_array, const vtkArraySlices& source_slices,
57 const vtkArrayWeights& source_weights, const vtkArrayExtents& target_slice,
58 vtkTypedArray<T>* target_array);
59
60#include "vtkArrayInterpolate.txx"
61
62#endif
63
64// 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.
Definition: vtkTypedArray.h:56
void vtkInterpolate(vtkTypedArray< T > *source_array, const vtkArraySlices &source_slices, const vtkArrayWeights &source_weights, const vtkArrayExtents &target_slice, vtkTypedArray< T > *target_array)