Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Common
ImageSamplers
itkImageSample.h
Go to the documentation of this file.
1
/*======================================================================
2
3
This file is part of the elastix software.
4
5
Copyright (c) University Medical Center Utrecht. All rights reserved.
6
See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7
details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notices for more information.
12
13
======================================================================*/
14
15
#ifndef __ImageSample_h
16
#define __ImageSample_h
17
18
#include "itkNumericTraits.h"
19
20
namespace
itk
21
{
22
30
template
<
class
TImage >
31
class
ImageSample
32
{
33
public
:
34
35
//ImageSample():m_ImageValue(0.0){};
36
ImageSample
(){};
37
~ImageSample
() {};
38
40
typedef
TImage
ImageType
;
41
typedef
typename
ImageType::PointType
PointType
;
42
typedef
typename
ImageType::PixelType
PixelType
;
43
typedef
typename
NumericTraits<PixelType>::RealType
RealType
;
44
46
PointType
m_ImageCoordinates
;
47
RealType
m_ImageValue
;
48
};
// end class ImageSample
49
50
51
}
// end namespace itk
52
53
#endif // end #ifndef __ImageSample_h
54
Generated on 21-03-2014 for elastix by
1.8.1.2