[Insight-users] How to copy ITK objects?
Luis Ibanez
luis.ibanez at kitware.com
Tue Aug 9 15:55:02 EDT 2005
Hi Tobias,
It is because, most of the time, what you actually want is a
copy of the SmartPointer, and to have two or more Smart Pointers
pointing to the same object.
Note that some classes have a "Copy" or "Clone" method defined.
Regards Luis,
---------------------
Tobias Heimann wrote:
> Hi all,
>
> Why is it that most ITK objects don't have usable assignment operators?
> In the classes that I'm interested in (e.g. itk::Mesh), the assignment
> operator is declared private and "purposely not implemented"... I
> suspect there is a method behind that, but I don't get it.
> Any help?
>
> Thanks,
> Tobias
>
More information about the Insight-users
mailing list