VTK
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 
43 #ifndef vtkArrayInterpolate_h
44 #define vtkArrayInterpolate_h
45 
46 #include "vtkTypedArray.h"
47 
48 class vtkArrayExtents;
49 class vtkArraySlices;
50 class vtkArrayWeights;
51 
52 //
53 
54 template<typename T>
55 void vtkInterpolate(
56  vtkTypedArray<T>* source_array,
57  const vtkArraySlices& source_slices,
58  const vtkArrayWeights& source_weights,
59  const vtkArrayExtents& target_slice,
60  vtkTypedArray<T>* target_array);
61 
62 #include "vtkArrayInterpolate.txx"
63 
64 #endif
65 
66 // VTK-HeaderTest-Exclude: vtkArrayInterpolate.h
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray...
void vtkInterpolate(vtkTypedArray< T > *source_array, const vtkArraySlices &source_slices, const vtkArrayWeights &source_weights, const vtkArrayExtents &target_slice, vtkTypedArray< T > *target_array)
Provides a type-specific interface to N-way arrays.
Definition: vtkTypedArray.h:58
Stores a collection of weighting factors.