17 #ifndef __itkSpatialObjectPoint_txx
18 #define __itkSpatialObjectPoint_txx
26 template<
unsigned int TPo
intDimension >
35 for(
unsigned int i=0;i<TPointDimension;i++)
42 template<
unsigned int TPo
intDimension >
49 template<
unsigned int TPo
intDimension >
58 template<
unsigned int TPo
intDimension >
67 template<
unsigned int TPo
intDimension >
79 template<
unsigned int TPo
intDimension >
88 template<
unsigned int TPo
intDimension >
93 return m_Color.GetRed();
97 template<
unsigned int TPo
intDimension >
106 template<
unsigned int TPo
intDimension >
111 return m_Color.GetGreen();
115 template<
unsigned int TPo
intDimension >
124 template<
unsigned int TPo
intDimension >
129 return m_Color.GetBlue();
133 template<
unsigned int TPo
intDimension >
142 template<
unsigned int TPo
intDimension >
147 return m_Color.GetAlpha();
151 template<
unsigned int TPo
intDimension >
160 template<
unsigned int TPo
intDimension >
170 template<
unsigned int TPo
intDimension >
179 template<
unsigned int TPo
intDimension >
188 template<
unsigned int TPo
intDimension >
199 template<
unsigned int TPo
intDimension >
210 template<
unsigned int TPo
intDimension >
223 template<
unsigned int TPo
intDimension >
228 this->PrintSelf(os, 3);
232 template<
unsigned int TPo
intDimension >
237 os << indent <<
"RGBA: "<< m_Color.GetRed() <<
" ";
238 os << m_Color.GetGreen() <<
" ";
239 os << m_Color.GetBlue() <<
" ";
240 os << m_Color.GetAlpha() << std::endl;
241 os << indent <<
"Position: ";
242 for(
unsigned int i=1;i<TPointDimension;i++)
244 os << m_X[i-1] <<
",";
246 os << m_X[TPointDimension-1] << std::endl;