Hi Antoni,

sorry for the late answer.

On 05/10/2012 04:05 PM, Antoni Artigues Barceló wrote:
> Hello,
>
> I want to build a new 3d orthoslice viewer, with this functionallity:
>
> 1.Only one 3d window, I don't want to see the 2d slice windows.
>
Any mitk::RenderWindow can act as a 2d or 3d window, depending on the 
MapperSlotId you assign to the BaseRenderer. You could create your own 
editor ( main window component ) with just one RenderWindow and make it 
a 3d one. You could have a look QmitkAbstractRenderEditor [1] for a 
starting point.

> 2.I only want to paint one volume to each plane. Actually, with MITK, If
> I have two volumes in the dataTree all volumes are rendered in all the
> orthoslices(planes of the 3d scene). I want to control in what plane is
> rendered each volume.

The planes are asssembled in the Geometry2DDataVtkMapper3D . The doxygen 
page [2] contains a nice overview of the mechanism. The way to implement 
your feature would be a new property for image DataNodes that is 
evaluated by that mapper, e.g. "hideIn3DPlanes". If you would like to 
contribute that we would be happy to include it in our codebase. Let us 
know if you start implementing it.


Best regards,

Marco



[1]: http://docs.mitk.org/nightly-qt4/classQmitkAbstractRenderEditor.html

[2]: 
http://docs.mitk.org/nightly-qt4/classmitk_1_1Geometry2DDataVtkMapper3D.html

>
> How is the best way to create the orthoslice planes in the 3d scene? Is
> better to create the 2d windows and then hide it? Or Is there another
> better strategy?
>
> How can I control the volumes that are rendered in each plane? Have I to
> modify the mapper? What is the mapper that do the job?
>
>
> Thanks in advance



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to