Page MenuHomePhabricator

Hackfest: Make Core OpenGL free
Closed, ResolvedPublic

Description

Todo:

  1. Make a new Module "GLMappers" and move everything related there and declare it deprecated
  2. Add dependency to "GLMappers" for Modules like PlanarFigures, ContourModul, MapperExt, Segmentation etc. (todo MBI)
  3. Create new VtkMapper replacements for:

-SurfaceGLMapper2D
-PlaneGeometryDataMapper2D

  1. Remove the OpenGL Hacks from the VtkPropRenderer.
  2. Party! (and Docu)

Event Timeline

Todo:
-RenderWindowFrame uses a vtkMitkRectangleProp to render rectangles with OpenGL. Replace with VTK!

User kilgus has pushed new remote branch:

bug-18528-GLMappersModule

[77f327]: Merge branch 'bug-18528-GLMappersModule'

Merged commits:

2014-12-19 15:21:02 Thomas Kilgus [46fc06]
MultiWidget and gradientbackground refactoring.


2014-12-19 14:37:52 Thomas Kilgus [e90d4c]
Gradientbackground is no longer a basedata and uses vtkSmartPointers.


2014-12-19 14:37:30 Thomas Kilgus [888704]
Fixed typo. Adapted DataNodeTest.


2014-12-19 14:26:20 Christoph Kolb [c0ca4f]
use cornerpoint instead of bounds for the crosshair as it takes 0.5 offset into account


2014-12-19 14:25:36 Christoph Kolb [aa9dd2]
fix line intersection method (bounding boxes are not always sorted)


2014-12-18 17:25:41 Thomas Kilgus [fcac1a]
Reset for preferences and docu for multi widget methods.


2014-12-18 17:12:25 Thomas Kilgus [738d18]
Cleaning up in prop renderer.


2014-12-18 17:05:44 Thomas Kilgus [9c54bf]
Docu and property renaming for the mapper.


2014-12-18 17:05:23 Thomas Kilgus [50842b]
Rectangle prop now correctly uses the viewport.


2014-12-18 17:04:48 Thomas Kilgus [99e33a]
Added module documentation.


2014-12-18 10:28:51 Thomas Kilgus [3fef7b]
Docu and cleaning up.


2014-12-18 17:02:31 Christoph Kolb [1e1e85]
restore old text appearance


2014-12-18 16:59:26 Christoph Kolb [1e547c]
transform text before rendering


2014-12-18 16:59:04 Christoph Kolb [45d6ac]
Restore Transform method in VtkPropRenderer without GL code


2014-12-18 16:58:41 Christoph Kolb [772605]
Add static Transform method to mitkOverlay


2014-12-17 18:00:27 Christoph Kolb [ed3a17]
Add temporary shadow solution to mitkTextOverlay


2014-12-17 17:31:44 Thomas Kilgus [75bccc]
Renamed properties. Added tooltips.


2014-12-17 15:50:56 Thomas Kilgus [e94757]
Set initial color on cancel.


2014-12-17 15:23:59 Christoph Kolb [204411]
fix typo


2014-12-17 15:23:43 Christoph Kolb [f1236f]
Set standard preferences in initialize method


2014-12-17 15:21:23 Christoph Kolb [b8d58e]
apply property for line width


2014-12-16 10:22:43 Thomas Kilgus [48bf09]
Cosmetic changes in std multi widdget.


2014-12-16 10:22:24 Thomas Kilgus [61daff]
Decoration color for image navigator.


2014-12-15 19:14:23 Thomas Kilgus [20e169]
Refactoring, docu and clean up.


2014-12-15 15:06:09 Thomas Kilgus [588181]
Fixed gradient background color issues. Working for each rw now.


2014-12-15 13:27:57 Christoph Kolb [7a9ac3]
fix tag ending in ui file


2014-12-15 13:27:38 Christoph Kolb [e5df6a]
remove overlaymanager include


2014-12-15 12:53:42 Thomas Kilgus [2e4a21]
Merge branch 'bug-18528-GLMappersModule' of mitk.org:MITK into bug-18528-GLMappersModule


2014-12-11 17:10:57 Christoph Kolb [b0fc74]
Add Wrapper for old openGLMappers


2014-12-11 16:05:00 Markus Engel [2c1778]
commented code that causes crashes when closing the application


2014-12-11 16:04:37 Markus Engel [415593]
fixed shadowOffset in TextOverlay


2014-12-11 16:23:12 Markus Engel [ac1cb8]
added Paint() method to vtkOverlay to be used in GLMappers

Conflicts:
Modules/PlanarFigure/Rendering/mitkPlanarFigureMapper2D.cpp


2014-12-11 13:40:21 Markus Engel [b8fbb8]
using TextOverlay instead of WriteSimpleText


2014-12-15 12:51:39 Thomas Kilgus [8a9ff9]
finished drawing annotations with TextOverlays instead of WrtieSimpleText

Conflicts:
Modules/PlanarFigure/Rendering/mitkPlanarFigureMapper2D.cpp


2014-12-15 12:49:50 Thomas Kilgus [1e99da]
Enabled gradient background in 2D renderwindows. WIP.


2014-12-13 19:38:19 Thomas Kilgus [43d023]
Documentation and minor cosmetic fixes.


2014-12-13 18:57:51 Thomas Kilgus [54ed92]
Format commit.


2014-12-13 15:26:39 Thomas Kilgus [831da5]
Fixed crash in vtkLayerController by using smartpointers plus cosmetic changes.

I couldnt see any reason why a RenderWindowFrame should be a basedata, as it is just a special rendering object without any geometry etc.. Therefore I changed the baseclass and removed a senseless test.


2014-12-15 12:47:39 Thomas Kilgus [49c442]
New preferences for crosshair gap size and corner annotations. CRASH WHEN CLOSING.

Added color and text for corner annotations of the 4 render windows to the StdMultiWidget preferences. Also crosshair gap size. There is still a crash when closing the workbench in the VtkLayerController. The controller holds a list of all renderers in a vector. I changed the annotation renderer to a smartpointer which is now automatically deleted. This is however, not propagated to the mitkVtkLayerController.


2014-12-15 12:46:23 Thomas Kilgus [3558bd]
New UI file for multiwidget preferences.

First version of preferences for rectangle and crosshair color is working.


2014-12-11 20:11:41 Thomas Kilgus [047a62]
Fix compiler error and trying to fill first pixel of rectangle.


2014-12-11 17:10:57 Christoph Kolb [7ee554]
Add Wrapper for old openGLMappers


2014-12-11 16:05:00 Markus Engel [e70fbe]
commented code that causes crashes when closing the application


2014-12-11 16:04:37 Markus Engel [2c5d0b]
fixed shadowOffset in TextOverlay


2014-12-11 16:23:12 Markus Engel [6ada8c]
added Paint() method to vtkOverlay to be used in GLMappers

Conflicts:
Modules/PlanarFigure/Rendering/mitkPlanarFigureMapper2D.cpp


2014-12-11 13:40:21 Markus Engel [e2b4a3]
using TextOverlay instead of WriteSimpleText


2014-12-11 13:39:58 Markus Engel [901907]
finished drawing annotations with TextOverlays instead of WrtieSimpleText


2014-12-11 14:02:38 Thomas Kilgus [faa92a]
vtkMitkRectangleProp now uses VTK to render.


2014-12-10 17:33:56 Markus Engel [51c6fa]
using mitkOverlay to render annotations of PlanarFigures


2014-12-10 17:33:33 Markus Engel [1c2a1b]
using vtktextActor to render textoverlay


2014-12-10 17:33:16 Markus Engel [e9ee90]
fixed order of modules in cmake


2014-12-10 13:00:46 Markus Engel [caa7f4]
fixed export macros


2014-12-10 12:45:06 Christoph Kolb [85ceff]
add thick slice mode helperlines


2014-12-10 11:59:14 Christoph Kolb [baf7d1]
fix crosshair gap sizes and add property


2014-12-10 12:31:49 Thomas Kilgus [aab738]
Format commit.


2014-12-10 12:30:32 Thomas Kilgus [8931ce]
Cleaning up in PropRenderer.


2014-12-10 11:37:34 Thomas Kilgus [3590b4]
Minor cosmetic fixes.


2014-12-09 23:36:27 Thomas Kilgus [9a4995]
Renamed test of the mapper. Fixed normals opacity.


2014-12-09 22:53:23 Thomas Kilgus [6e6386]
Cleaning up and docu.


2014-12-09 22:43:50 Thomas Kilgus [98e034]
First version of the normal property.


2014-12-09 12:51:16 Thomas Kilgus [9829aa]
Format commit.


2014-12-09 12:50:00 Thomas Kilgus [faa275]
Cleaning up code.


2014-12-08 19:45:10 Thomas Kilgus [a7cf00]
Renamed GLMappers to LegacyGL. Added first version of SurfaceVtkMapper2D.


2014-12-09 22:44:18 Christoph Kolb [8687c0]
create new vtk based PlaneGeometryMapper


2014-12-05 15:18:30 Thomas Kilgus [791a72]
Created deprecated GLMappers module.

Everything related to OpenGL in MitkCore was moved a new module GLMappers, which has been marked deprecated. OpenGL related code in vtkPropRenderer has been commented out. The Modules (AlgorithmExt, DataTypesExt, MapperExt, ContourModel and PlanarFigures) have a dependency to GLMappers.

[c7bb07]: Merge branch 'bug-18528-FixModuleOrder'

Merged commits:

2014-12-19 15:49:28 Christoph Kolb [1b31f3]
COMP: fix module ordering

[c5d0f1]: Merge branch 'bug-18528-UseWrapperForContourModelMapper'

Merged commits:

2014-12-19 16:11:41 Christoph Kolb [d57ef5]
COMP: use GL mapper wrapper

[cda615]: Merge branch 'bug-18528-GLMappersModule'

Merged commits:

2014-12-19 16:39:46 Christoph Kolb [10bb90]
COMP: remove old method calls

[77f574]: Merge branch 'bug-18528-UnifyStdMultiProperties'

Merged commits:

2014-12-22 13:28:29 Thomas Kilgus [7ba26c]
Even more multi widget refactoring.

[8eecd2]: Merge branch 'bug-18528-CalculateCorrectBoxLineIntersection'

Merged commits:

2014-12-22 16:28:31 Christoph Kolb [4e6662]
transform boundingbox to index coordinates before intersection