fixed issue by reworking the planarfigure interaction statemachine
Get an own instance of the ToolManager to avoid unwanted dependencies with the segmentation view.
Complemented the WriteStatisticToGui function for a check if the closed planar figure is out of bounds and so no intensity profile can be calculated.
Merge branch 'bug-16077-planarfigure-controlpoints-only-movable-after-hovering'
Add a error message to the handling with out of bounds planar figures.
Merge branch 'bug-16172-PlanarFigureOutOfBoundsCrash'
Merge branch 'bug-16156-ClippingPlaneToolManager'
Fixed crash when using some 3D segmentation tools with 4D images
Merge branch 'bug-16187-crash-with-4d-image-using-3d-segmentation-tools'
Fixed build error by using a different cmake function for checking the compiler flags
Fixed linker error on Mac. For clang this check does not recognize that these linkerflags are not support and due to that it gives a linker error
Merge branch 'bug-16208-build-error-on-mac'
Renamed duplicate function which may cause build errors
COMP Fixed build error for mac gcc which does not support some gnu linker flags
Merge branch 'bug-16208-build-error-on-mac'
Merge branch 'bug-16082-2D-interpolation-menu-names-instead-of-ids'
Merge branch 'master' of https://github.com/MITK/MITK
Merge branch 'master' into niftk