ITK
4.3.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ITK
Modules
Core
Common
include
itkImageVectorOptimizerParametersHelper.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright Insight Software Consortium
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef __itkImageVectorOptimizerParametersHelper_h
19
#define __itkImageVectorOptimizerParametersHelper_h
20
21
#include "
itkOptimizerParametersHelper.h
"
22
#include "
itkImage.h
"
23
24
namespace
itk
25
{
34
/* Can we template of Image type instead, but require that Image be of type
35
* Image< Vector< TValueType, NVectorDimension >, VImageDimension > ? */
36
template
<
typename
TValueType,
37
unsigned
int
NVectorDimension,
38
unsigned
int
VImageDimension >
39
class
ImageVectorOptimizerParametersHelper
40
:
public
OptimizerParametersHelper
< TValueType >
41
{
42
public
:
43
45
typedef
TValueType
ValueType
;
46
typedef
ImageVectorOptimizerParametersHelper
Self
;
47
typedef
OptimizerParametersHelper< TValueType >
Superclass
;
48
50
typedef
Image< Vector<TValueType, NVectorDimension>
,
51
VImageDimension >
52
ParameterImageType
;
53
typedef
typename
ParameterImageType::Pointer
ParameterImagePointer
;
54
56
typedef
typename
Superclass::CommonContainerType
CommonContainerType
;
57
59
ImageVectorOptimizerParametersHelper
();
60
66
virtual
void
MoveDataPointer
(
CommonContainerType
* container,
67
TValueType * pointer );
68
76
virtual
void
SetParametersObject
(
CommonContainerType
* container,
77
LightObject
* );
78
79
virtual
~ImageVectorOptimizerParametersHelper
(){}
80
81
private
:
83
ParameterImagePointer
m_ParameterImage
;
84
85
};
86
87
}
//namespace itk
88
89
#ifndef ITK_MANUAL_INSTANTIATION
90
#include "itkImageVectorOptimizerParametersHelper.hxx"
91
#endif
92
93
#endif
94
Generated on Sun Dec 9 2012 01:10:20 for ITK by
1.8.2