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.
Description
Description
Event Timeline
Comment Actions
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
Comment Actions
An Additional hint concerning the usage of this method on the concept page should be added.
Comment Actions
[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