thank you, but none of those solutions actually worked for me

is the volume render being updated in your segmentation plugin?

i think the problem is that e.g. in GPUVolumeMapper3D::GenerateData(),
when vtkImageData *inputData =
input->GetVtkImageData(this->GetTimestep()) is requested, mitk::Image
retrieves the original vtkImageData and not an updated version

what do you think?

thank you
sebastian

On Thu, Apr 15, 2010 at 11:07 AM, Seitel Mathias
<[email protected]> wrote:
> Hi Sebastian,
>
> Generally, in order to request an update of the rendering at any time, you 
> can call
>
>  mitk::RenderingManager::GetInstance()->RequestUpdateAll();
>
> and the display will update itself at the next possible time point (usually 
> after the current event-processing loop finishes). It is also possible to 
> issue an update for single render windows (see documentation).
>
> In case the display update works, but the system does for some reason not 
> recognize that the data has changed, try to call the Modified() method on the 
> object to be rendered (probably the mitk::Image in your case).
>
>
> Hope that helps!
> Mathias
>
>
>
> -----Original Message-----
> From: sebastian ordas [mailto:[email protected]]
> Sent: Thursday, April 15, 2010 4:00 PM
> To: [email protected]
> Subject: [mitk-users] how to force a volume rendering to update?
>
> Hello,
>
> How can I force the volume render of an image (in my case, a binary
> image, a segmentation) to update when its content (data) has changed?
> Is that feature working for you guys in your Segmentation bundle?
>
> thank you!
> sebastian
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to