go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkImageSample.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright UMC Utrecht and contributors
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 
19 #ifndef __ImageSample_h
20 #define __ImageSample_h
21 
22 #include "itkNumericTraits.h"
23 
24 namespace itk
25 {
26 
34 template< class TImage >
36 {
37 public:
38 
39  //ImageSample():m_ImageValue(0.0){};
42 
44  typedef TImage ImageType;
45  typedef typename ImageType::PointType PointType;
46  typedef typename ImageType::PixelType PixelType;
47  typedef typename NumericTraits< PixelType >::RealType RealType;
48 
50  PointType m_ImageCoordinates;
51  RealType m_ImageValue;
52 };
53 
54 } // end namespace itk
55 
56 #endif // end #ifndef __ImageSample_h
PointType m_ImageCoordinates
ImageType::PointType PointType
A class that defines an image sample, which is the coordinates of a point and its value...
ImageType::PixelType PixelType
RealType m_ImageValue
NumericTraits< PixelType >::RealType RealType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo