Hi,

it looks like "GetRenderWindowPart()" returns an invalid/NULL pointer 
(if there is no render window available yet) or the dynamic cast returns 
NULL (e.g. the org.mitk.gui.qt.stdmultiwidgeteditor plug-in is not build 
or no instance of the QmitkStdMultiWidget editor is available).

Any way, you should check the return value of "GetRenderWindowPart()" 
and of the dynamic cast (the generated code should do the same).

- Sascha

On 02/15/2013 11:02 AM, Martin Tatzber wrote:
> QmitkStdMultiWidgetEditor* qSMWE = 
> dynamic_cast<QmitkStdMultiWidgetEditor*>(GetRenderWindowPart());


------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to