Hi,

I can not fully comprehend what you did, but it does not look correct.

You need to change the CMake configuration of MITK itself, not of your own project. As I said, use as "binary directory" in the CMake GUI the <...>/MITK-superbuild/MITK-build directory and you will get all the MITK_BUILD_org... options. Enable the MITK_BUILD_org.mitk.gui.qt.pointsetinteraction option and build MITK. Then build your own project.

- Sascha

On 08/31/2011 12:31 PM, Miri Trope wrote:
Hi Sascha,

On Wed, Aug 31, 2011 at 12:32 AM, Sascha Zelzer <[email protected] <mailto:[email protected]>> wrote: You must explicitly enable it in the CMake configuration of MITK (point the CMake GUI to your MITK-superbuild/MITK-build directory) and build MITK (again, use the MITK.sln file in the MITK-superbuild/MITK-build directory).

I enabled it in the CMake configuration by adding the entry MITK_DIR with the path you specified (MITK-superbuild/MITK-build) while in the source code I inserted:MITK_ProjectTemplate, and built it with the solution file. But I didn't see the "PointSet Interaction" View in my application. I also think that some basic instructions would be helpful in my case ... I hope that I mentioned that I want to add only that specified plugin (not all MITK's plugins) to my application which already contains my plugins.

I hope that it helps make my question clearer.
Miri

On Wed, Aug 31, 2011 at 12:32 AM, Sascha Zelzer <[email protected] <mailto:[email protected]>> wrote:

    Hi Miri,

    you can just "use" the org.mitk.gui.qt.pointsetinteraction plug-in
    from MITK in your application. You must explicitly enable it in
    the CMake configuration of MITK (point the CMake GUI to your
    MITK-superbuild/MITK-build directory) and build MITK (again, use
    the MITK.sln file in the MITK-superbuild/MITK-build directory).
    The "PointSet Interaction" View should then show up in your
    application. No need to copy source files.

    Alternatively, you could integrate the QmitkPointListWidget in
    your own View, if you want.

    Best,
    Sascha


    On 08/29/2011 10:20 AM, Miri Trope wrote:

    Another question in the same subject:
    Can I use an existing Mitk's plugin to do the above (enable the
    user to select points) by copy the existing files to my plugin
    directory and use his functions/classes? (for example: to use
    org.mitk.gui.qt.pointsetinteraction which in the path:
    C:\MITK-superbuild\MITK-build\Modules\Bundles)
    If yes, how should I do it? in which file of those that in my
    tree should I use in order to use an existing Mitk's plugin
    variables?


    Many thanks,
    Miri



------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to