VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkImageBSplineInternals.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageBSplineInternals.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
35
#ifndef __vtkImageBSplineInternals_h
36
#define __vtkImageBSplineInternals_h
37
38
#include "
vtkSystemIncludes.h
"
39
40
class
VTK_FILTERING_EXPORT
vtkImageBSplineInternals
41
{
42
public
:
46
static
int
GetPoleValues(
double
poles[4],
long
&numPoles,
long
degree
);
47
49
50
static
void
ConvertToInterpolationCoefficients(
51
double
data
[],
long
size
,
long
border,
double
poles[4],
long
numPoles,
52
double
tol);
54
56
58
static
int
GetInterpolationWeights(
59
double
weights[10],
double
w,
long
degree);
60
static
int
GetInterpolationWeights(
61
float
weights[10],
double
w,
long
degree);
63
65
67
static
int
InterpolatedValue(
68
const
double
*coeffs,
double
*
value
,
69
long
width,
long
height
,
long
slices,
long
depth,
70
double
x,
double
y,
double
z,
long
degree,
long
border);
71
static
int
InterpolatedValue(
72
const
float
*coeffs,
float
*value,
73
long
width,
long
height,
long
slices,
long
depth,
74
double
x,
double
y,
double
z,
long
degree,
long
border);
76
77
protected
:
78
vtkImageBSplineInternals
() {};
79
~vtkImageBSplineInternals
() {};
80
81
static
double
InitialCausalCoefficient(
82
double
data[],
long
size,
long
border,
double
pole,
double
tol);
83
84
static
double
InitialAntiCausalCoefficient(
85
double
data[],
long
size,
long
border,
double
pole,
double
tol);
86
87
private
:
88
vtkImageBSplineInternals
(
const
vtkImageBSplineInternals
&);
// Not implemented.
89
void
operator=(
const
vtkImageBSplineInternals
&);
// Not implemented.
90
};
91
92
#endif
Generated on Tue Jan 8 2013 05:45:25 for VTK by
1.8.1.2