VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkArrayInterpolate.h 00005 00006 ------------------------------------------------------------------------- 00007 Copyright 2008 Sandia Corporation. 00008 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00009 the U.S. Government retains certain rights in this software. 00010 ------------------------------------------------------------------------- 00011 00012 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00013 All rights reserved. 00014 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00015 00016 This software is distributed WITHOUT ANY WARRANTY; without even 00017 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00018 PURPOSE. See the above copyright notice for more information. 00019 00020 =========================================================================*/ 00021 00043 #ifndef __vtkArrayInterpolate_h 00044 #define __vtkArrayInterpolate_h 00045 00046 #include "vtkTypedArray.h" 00047 00048 class vtkArrayExtents; 00049 class vtkArraySlices; 00050 class vtkArrayWeights; 00051 00052 // 00053 00054 template<typename T> 00055 void vtkInterpolate( 00056 vtkTypedArray<T>* source_array, 00057 const vtkArraySlices& source_slices, 00058 const vtkArrayWeights& source_weights, 00059 const vtkArrayExtents& target_slice, 00060 vtkTypedArray<T>* target_array); 00061 00062 #include "vtkArrayInterpolate.txx" 00063 00064 #endif 00065 00066 // VTK-HeaderTest-Exclude: vtkArrayInterpolate.h