Page MenuHomePhabricator

Surface 2D Mapper and Geometry (fun)
Closed, ResolvedPublic


The new SurfaceVtkMapper2D does not work corretly, if the object has a modified geometry (e.g. BoundingObject of the ImageCropper).

We tried to modify UpdateVtkTransform, but it did not work yet.

Event Timeline

I wrote a core change request and will push the solution now.

User kilgus has pushed new remote branch:


The solution is explained in the core change request and in the documentation of the SurfaceVtkMapper2D.

I discovered that the PointSetVtkMapper2D has the same issues. There it is solved with a manual transformation of each point. This can be done via the UpdateVtkTransform method of VtkMapper if a vtkAssembly would be used. However, the vtkTextActors have to be replaced by some 3D actor in this case. Christoph and I will have a look at this next Wednesday.

[68193a]: Merge branch 'bug-18578-AngleFix'

Merged commits:

2015-01-16 10:25:27 Thomas Kilgus [25425b]
Changing Ascii code to keyboard degree sign.

2015-01-08 14:07:35 Thomas Kilgus [b69f26]
Cosmetic fixes and docu. 3D mapper uses smartpointers now.

2015-01-08 13:01:29 Thomas Kilgus [4d5415]
Delete old tests which are now in new test suite.

2015-01-08 12:31:16 Thomas Kilgus [60f434]
Improved documentation.

2015-01-08 11:57:53 Thomas Kilgus [57400d]
Added new test suite for the surface 2D mapper. It replaces all the former tests. New helper class for argv/argc in rendering test helper.

2015-01-08 11:56:50 Thomas Kilgus [a95432]
Fixed geometry issue of the 2D mapper.

2015-01-07 13:54:05 Thomas Kilgus [f55c5e]
Cosmetic fixes.

[e72c59]: Merge branch 'bug-18578-FixWarning'

Merged commits:

2015-01-16 10:48:41 Thomas Kilgus [3da38f]
COMP: removed unused member.

[90b332]: Merge branch 'bug-18578-FixWarning'

Merged commits:

2015-01-16 11:08:22 Thomas Kilgus [3fa666]
COMP: mitkSurfaceVtkMapper2DTest is only build if the cmake flag is set.

[84dd55]: Merge branch 'bug-18578-FixWarning'

Merged commits:

2015-01-16 12:11:49 Thomas Kilgus [d536ad]
COMP: Fixed UpdateVtkTransform.