[Insight-users] const question according to
itkSegmentationLevelSetFunction
Christoph Palm
christoph.palm at web.de
Mon Aug 8 04:50:45 EDT 2005
Hi all,
is there a good reason, that the function
GetSpeedImage()
is non-const, whereas e.g. the function
GetAdvectionImage() is a const-function?
In the const function PropagationSpeed(...)
a pixel value of m_SpeedImage is returned via
m_SpeedImage->GetPixel(idx)
which would result in a compiler error, if this
would be done via
this->GetSpeedImage()->GetPixel(idx).
Thanks for clarifications.
Christoph
More information about the Insight-users
mailing list