Page MenuHomePhabricator

Make mapper VTK-props in local storages accessible from ReleaseGraphicsResources method
Closed, ResolvedPublic

Description

VTK-props of mappers should reside in local storages. To access a local storage one needs a pointer to the renderer. There is currently no possibility to retrieve this pointer inside the ReleaseGraphicsResources method.

Event Timeline

The method should be used in order to release external resources such as OpenGL resources or external textures.

Our method signature must be changed to:

ReleaseGraphicsResource(BaseRenderer *)

The vtkWindow can be accessed in the following way: BaseRenderer -> MitkRenderWindow -> VtkWindow

An Additional hint concerning the usage of this method on the concept page should be added.

New remote branch pushed: bug-15536-ReleaseGraphicsResources

[fa649d]: Merge branch 'bug-15536-ReleaseGraphicsResources'

Merged commits:

2013-10-09 14:36:35 Sandy Engelhardt [adbfbd]
minor code change using instance of baserenderer


2013-10-02 15:04:19 Sandy Engelhardt [c33e1f]
ReleaseGraphicsResources(vtkWin) deprecated use ReleaseGraphicsResources(BaseRen) insteas