31 template<
unsigned int VIndexDimension >
70 template<
unsigned int VIndexDimension = 2 >
82 itkStaticConstMacro(
Dimension,
unsigned int, VIndexDimension);
103 for (
unsigned int i = 0; i < VIndexDimension; i++ )
112 for (
unsigned int i = 0; i < VIndexDimension; i++ )
125 for (
unsigned int i = 0; i < VIndexDimension; i++ )
134 for (
unsigned int i = 0; i < VIndexDimension; i++ )
146 for (
unsigned int i = 0; i < VIndexDimension; i++ )
147 { result[i] =
m_Index[i] + offset[i]; }
155 for (
unsigned int i = 0; i < VIndexDimension; i++ )
165 for (
unsigned int i = 0; i < VIndexDimension; i++ )
177 for (
unsigned int i = 0; i < VIndexDimension; i++ )
188 for (
unsigned int i = 0; i < VIndexDimension; i++ )
200 for (
unsigned int i = 0; i < VIndexDimension; i++ )
211 for (
unsigned int i = 0; i < VIndexDimension && same; i++ )
222 for (
unsigned int i = 0; i < VIndexDimension && same; i++ )
279 {
for (
unsigned int i = 0; i < VIndexDimension; ++i ) {
m_Index[i] = value; } }
289 template<
class TCoordRep >
292 itkForLoopRoundingAndAssignmentMacro(
IndexType,
309 template<
class TCoordRep >
312 for (
unsigned int i = 0; i < VIndexDimension; ++i )
321 #if defined( CABLE_CONFIGURATION )
324 void operator=(
const Self &);
339 template<
unsigned int VIndexDimension >
340 class IndexLexicographicCompare
346 for (
unsigned int i = 0; i < VIndexDimension; ++i )
362 template<
unsigned int VIndexDimension >
363 Index< VIndexDimension >
374 template<
unsigned int VIndexDimension >
375 std::ostream & operator<<(std::ostream & os, const Index< VIndexDimension > & ind)
378 for (
unsigned int i = 0; i + 1 < VIndexDimension; ++i )
380 os << ind[i] <<
", ";
382 if ( VIndexDimension >= 1 )
384 os << ind[VIndexDimension - 1];