1 /*============================================================================
3 The Medical Imaging Interaction Toolkit (MITK)
5 Copyright (c) German Cancer Research Center (DKFZ)
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
11 ============================================================================*/
12 #ifndef __itkShortestPathCostFunction_txx
13 #define __itkShortestPathCostFunction_txx
15 #include "itkShortestPathCostFunction.h"
19 template <class TInputImageType>
20 void ShortestPathCostFunction<TInputImageType>::PrintSelf(std::ostream &os, Indent indent) const
22 Superclass::PrintSelf(os, indent);
25 template <class TInputImageType>
26 void ShortestPathCostFunction<TInputImageType>::SetStartIndex(const typename TInputImageType::IndexType &index)
28 for (unsigned int i = 0; i < TInputImageType::ImageDimension; ++i)
30 m_StartIndex[i] = index[i];
34 template <class TInputImageType>
35 void ShortestPathCostFunction<TInputImageType>::SetEndIndex(const typename TInputImageType::IndexType &index)
37 for (unsigned int i = 0; i < TInputImageType::ImageDimension; ++i)
39 m_EndIndex[i] = index[i];
43 } // end namespace itk
45 #endif // __itkShortestPathCostFunction_txx