Page MenuHomePhabricator

Add CopyDeep method to PlanarFigure
Closed, ResolvedPublic

Description

The class mitk::PlanarFigure has not method to create a copy of an instance.

Thus, a CopyDeep method should be added.

Event Timeline

User engelm has pushed new remote branch:

bug-18556-add-copydeep-for-planarFigure

[ecfb75]: Merge branch 'bug-18556-add-copydeep-for-planarFigure'

Merged commits:

2014-12-17 16:19:00 Markus Engel [1b4ace]
added copyDeep for PlanarFigures

New method PlanarFigure::DeepCopy() has been implemented.

Marcus, this method was declared deprectaed and was just recently removed (for good reason ;-)). Use the Clone method instead and revert your changes please.

[786c26]: Merge branch 'bug-18556-add-copydeep-for-planarFigure'

Merged commits:

2014-12-18 13:36:56 Markus Engel [71535c]
extended unittest for PlanarArrow with cloning


2014-12-18 13:35:04 Markus Engel [6b4839]
Revert "added copyDeep for PlanarFigures"

This reverts commit 1b4aceab0b0b94eb29131afc9210369e780ae272.

Oops, that explains why I wasn't able to find the method.

I reverted the changes and added a test for the Clone() method to the PlanarArrowTest..

Sorry, Dashboard is red because of your changes. Reopened bug.

[64f5c6]: COMP: Merge branch 'bug-18556-add-copydeep-for-planarFigure'

Merged commits:

2014-12-19 14:28:42 Markus Engel [814a0f]
fixed warnings treated as error

[48342d]: COMP: Merge branch 'bug-18556-add-copydeep-for-planarFigure'

Merged commits:

2014-12-19 14:44:23 Markus Engel [60e769]
fixed another warning