2424namespace itk
2525{
2626
27- template <class TInputImage , class TOutputPath >
27+ template <typename TInputImage, typename TOutputPath>
2828ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
2929::ArrivalFunctionToPathFilter ()
3030{
@@ -33,13 +33,13 @@ ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
3333}
3434
3535
36- template <class TInputImage , class TOutputPath >
36+ template <typename TInputImage, typename TOutputPath>
3737ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
3838::~ArrivalFunctionToPathFilter ()
3939{
4040}
4141
42- template <class TInputImage , class TOutputPath >
42+ template <typename TInputImage, typename TOutputPath>
4343void
4444ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
4545::SetPathEndPoint (const PointType &point)
@@ -48,7 +48,7 @@ ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
4848 this ->AddPathEndPoint ( point );
4949}
5050
51- template <class TInputImage , class TOutputPath >
51+ template <typename TInputImage, typename TOutputPath>
5252void
5353ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
5454::AddPathEndPoint (const PointType &point)
@@ -60,7 +60,7 @@ ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
6060}
6161
6262
63- template <class TInputImage , class TOutputPath >
63+ template <typename TInputImage, typename TOutputPath>
6464void
6565ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
6666::ClearPathEndPoints ()
@@ -73,7 +73,7 @@ ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
7373}
7474
7575
76- template <class TInputImage , class TOutputPath >
76+ template <typename TInputImage, typename TOutputPath>
7777void
7878ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
7979::GenerateInputRequestedRegion ()
@@ -88,23 +88,23 @@ ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
8888}
8989
9090
91- template <class TInputImage , class TOutputPath >
91+ template <typename TInputImage, typename TOutputPath>
9292unsigned int
9393ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
9494::GetNumberOfPathsToExtract () const
9595{
9696 return m_PointList.size ();
9797}
9898
99- template <class TInputImage , class TOutputPath >
99+ template <typename TInputImage, typename TOutputPath>
100100const typename ArrivalFunctionToPathFilter<TInputImage,TOutputPath>::PointsContainerType &
101101ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
102102::GetNextEndPoint ()
103103{
104104 return m_PointList[m_CurrentOutput];
105105}
106106
107- template <class TInputImage , class TOutputPath >
107+ template <typename TInputImage, typename TOutputPath>
108108typename ArrivalFunctionToPathFilter<TInputImage,TOutputPath>::InputImageType *
109109ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
110110::ComputeArrivalFunction ()
@@ -113,7 +113,7 @@ ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
113113 return function;
114114}
115115
116- template <class TInputImage , class TOutputPath >
116+ template <typename TInputImage, typename TOutputPath>
117117void
118118ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
119119::GenerateData ( void )
@@ -213,7 +213,7 @@ ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
213213 m_Optimizer->RemoveObserver ( observerTag );
214214}
215215
216- template <class TInputImage , class TOutputPath >
216+ template <typename TInputImage, typename TOutputPath>
217217void
218218ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
219219::Execute ( const Object * object, const EventObject & event )
@@ -267,7 +267,7 @@ ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
267267 output->AddVertex ( cindex );
268268}
269269
270- template <class TInputImage , class TOutputPath >
270+ template <typename TInputImage, typename TOutputPath>
271271void
272272ArrivalFunctionToPathFilter<TInputImage,TOutputPath>
273273::PrintSelf (std::ostream& os, Indent indent) const
0 commit comments