[Insight-developers] New Clone method in LightObject
Bradley Lowekamp
blowekamp at mail.nih.gov
Wed Feb 22 09:25:41 EST 2012
Hello,
I think the new Clone method in the LightObject is not a good idea, because it's results will be unexpected. Since in all but mostly the transform classes, this method only calls CreateAnother, and does not copy the data of the actual object the results are going to be unexpected. I think this will confuse many users when they look at the methods available for say the Image class, and they'll assume it does what it conventionally does. Additionally, there is not doxygen documentation to clarify what this misleading class does.
Brad
========================================================
Bradley Lowekamp
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine
blowekamp at mail.nih.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20120222/5284fa72/attachment.htm>
More information about the Insight-developers
mailing list