@@ -591,7 +591,6 @@ \subsection{Naming Classes}
591
591
\item \code {ScalarImageRegionIterator}
592
592
\item \code {NeighborhoodIterator}
593
593
\item \code {MapContainer}
594
- \item \code {DefaultImageTraits}
595
594
\item \code {BackwardDifferenceOperator}
596
595
\end {itemize }
597
596
@@ -1757,10 +1756,16 @@ \subsection{Class Layout}
1757
1756
#ifndef itkImage_h
1758
1757
#define itkImage_h
1759
1758
1760
- #include "itkImageBase.h"
1761
- #include "itkPixelTraits.h"
1762
- #include "itkDefaultImageTraits.h"
1763
- #include "itkDefaultDataAccessor.h"
1759
+ #include "itkImageRegion.h"
1760
+ #include "itkImportImageContainer.h"
1761
+ #include "itkDefaultPixelAccessor.h"
1762
+ #include "itkDefaultPixelAccessorFunctor.h"
1763
+ #include "itkPoint.h"
1764
+ #include "itkFixedArray.h"
1765
+ #include "itkWeakPointer.h"
1766
+ #include "itkNeighborhoodAccessorFunctor.h"
1767
+
1768
+ #include <type_traits>
1764
1769
1765
1770
namespace itk
1766
1771
{
@@ -1771,9 +1776,8 @@ \subsection{Class Layout}
1771
1776
* Detailed documentation...
1772
1777
*/
1773
1778
1774
- template< typename TPixel, unsigned int VImageDimension=2,
1775
- typename TImageTraits=DefaultImageTraits< TPixel, VImageDimension > >
1776
- class Image: public ImageBase< VImageDimension >
1779
+ template< typename TPixel, unsigned int VImageDimension = 2 >
1780
+ class ITK_TEMPLATE_EXPORT Image: public ImageBase< VImageDimension >
1777
1781
{
1778
1782
public:
1779
1783
...
@@ -1910,10 +1914,10 @@ \subsection{Method Definition}
1910
1914
1911
1915
\small
1912
1916
\begin {minted }[baselinestretch=1,fontsize=\footnotesize ,linenos=false,bgcolor=ltgray]{cpp}
1913
- template< typename TPixel, unsigned int VImageDimension, typename TImageTraits >
1914
- const double *
1915
- Image< TPixel, VImageDimension, TImageTraits >
1916
- ::GetSpacing () const
1917
+ template< typename TPixel, unsigned int VImageDimension >
1918
+ unsigned int
1919
+ Image< TPixel, VImageDimension >
1920
+ ::GetNumberOfComponentsPerPixel () const
1917
1921
{
1918
1922
...
1919
1923
}
@@ -2406,9 +2410,8 @@ \subsection{Alignment}
2406
2410
* Detailed documentation...
2407
2411
*/
2408
2412
2409
- template< typename TPixel, unsigned int VImageDimension=2,
2410
- typename TImageTraits=DefaultImageTraits< TPixel, VImageDimension > >
2411
- class Image: public ImageBase< VImageDimension >
2413
+ template< typename TPixel, unsigned int VImageDimension = 2 >
2414
+ class ITK_TEMPLATE_EXPORT Image: public ImageBase< VImageDimension >
2412
2415
{
2413
2416
public:
2414
2417
...
@@ -2440,10 +2443,10 @@ \subsection{Alignment}
2440
2443
2441
2444
\small
2442
2445
\begin {minted }[baselinestretch=1,fontsize=\footnotesize ,linenos=false,bgcolor=ltgray]{cpp}
2443
- template< typename TPixel, unsigned int VImageDimension, typename TImageTraits >
2444
- const double *
2445
- Image< TPixel, VImageDimension, TImageTraits >
2446
- ::GetSpacing () const
2446
+ template< typename TPixel, unsigned int VImageDimension >
2447
+ unsigned int
2448
+ Image< TPixel, VImageDimension >
2449
+ ::GetNumberOfComponentsPerPixel () const
2447
2450
{
2448
2451
...
2449
2452
}
0 commit comments