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