Hi Miguel,

without looking at the code, I guess that the transfer function widgets 
all operate on the same transfer function property. This would explain 
the "synchronization" between them.

mitkTransferFunctionProperty properties must be supported by the Mapper 
associated with a data node. For example the default 
mitk::ImageVtkMapper2D for rendering images in 2D supports different 
"rendering modes" [1] and the usage of a transfer function must be 
enabled by the "Image Rendering.Mode" property [2].


Best,
Sascha


[1] "Image Rendering.Mode" in 
http://docs.mitk.org/nightly-qt4/classmitk_1_1ImageVtkMapper2D.html
[2] http://docs.mitk.org/nightly-qt4/classmitk_1_1RenderingModeProperty.html


On 02/04/2014 12:18 PM, Miguel Nunes wrote:
> Hello MITK List,
>
> I have encountered a couple of issues while using your Snippet
> QmitkTransferFunction Widget. Basically, I created my own class based on
> the one exiting in the Volumerendering plugin provided by MITK.
>
> What happens is that, instead of having one TF widget, I have two, and
> these are located in a TabWidget (tab 1 has TF_1 object, and tab 2 has
> the TF_2 object).
>
> A couple of things (dont) happen: whenever I change the transfer
> function, even when I force emit signals, thing in the renderer dont get
> updated.
> When I change tabs I see that all the changes I have made to one TF
> Widget are applied the other TF Widget. Which is rather odd as I suppose
> they are independent objects.
>
> What does the transferfunctiongenerator do? Is it required or is just a
> nice-to-have to get some predefined TFs?
>
> Thank you very much.
>
> Regards,
> Miguel
>
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to