On 11/05/2010 09:42 AM, Michael Emmersberger wrote:
> Dear all,
> 
> I am trying to extend the segmentation plugin with my own tool. So far
> it works fine, since it is found and loaded via ITK_AUTOLOAD_PATH. But
> now I'm a little confused why it appears twice in the plugin's GUI.
> 
> There is only one DLL in my tools folder. A batch file
> that starts my plugin project (VS) sets the path
> @SETX ITK_AUTOLOAD_PATH "E:\Scratch\NewTool\build\Debug"
> 
> The tool is then specified in QmitkSegmentationView with
> m_Controls->m_ManualToolSelectionBox->SetDisplayedToolGroups("TestTool");


Hi Michael,

this could happen if the ITK object factory knows two plugins which
instantiate your tool.

How does your project setup look like?

- one binary tree for the ExtApp?
- another tree for your tool?
- do you have any relevant modifications to ExtApp?

If you could please file a bug at bugs.mitk.org that contains your
project code (esp. CMakeLists.txt) and that compiles on Linux (without
too many changes), I will look into this -- assign the bug to me.

But please try to reduce the code to a minimum. I don't need/want to see
your private image processing/interaction code but I am only interested
in the way the tool is instantiated.

Regards,
Daniel

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to