Hi Mikhail,

I think that displaying a selected data object is the data object's mapper job. For surfaces, I modified the mitkSurfaceVtkMapper3D to apply a yellow color if the "selected" flag was set for the surface. Alternatively, you can just manually set the color once a node is selected - but the mapper way is more robust.

Regarding the dependencies - it's pretty easy to pull dependencies to your plugin - just add "PACKAGE_DEPENDS VTK" to the MACRO_CREATE_MITK_CTK_PLUGIN in the CMakeLists.txt of your plugin and the dependency will be there - i.e. all headers will be available and libraries will be linked with your plugin. Also, what you're trying to do looks more like VTK's job rather than ITK's.

Rostislav.

On 08/06/2015 07:11, Pukhlikov Mikhail wrote:
Hello,

Is there fast way to draw a contour around the model. I'm trying to implement locally selection mechanism and I think about fast way to display selection on 3D multiwidgety view. I was thinking about applieng some ITK filters maybe but it's way to slow and complicated since I need to get ITK deps into display interactor for doing it and it will work slow. May you suggest fast way how can I show selection of specific data node (model) in 3D view of multiwidget?

Thank you


------------------------------------------------------------------------------


_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to