I'll try to be more specific by asking a basic question:

How can I add two plugins by using CTK template? I've already implemented
one plugin as described in my tree (see attached), how should I add another
plugin (that does different things) ?

On Mon, Aug 29, 2011 at 10:20 AM, Miri Trope <[email protected]> wrote:

> Dear Mitk-users,
>
> I want to enable the user to interactively select a seed point on an image.
> I use the project's template which can be seen by the tree in the attached
> file (my filter which can be run by a press button is implemented in
> Filter_Implementation.cpp).
> In which file of those in my tree should I add the following lines of
> selecting points?
>
>   mitk::PointSet::Pointer pointSet = mitk::PointSet::New();
>   mitk::DataNode::Pointer pointSetNode = mitk::DataNode::New();
>   pointSetNode->SetData(pointSet);
>   ds->Add(pointSetNode);
>   mitk::GlobalInteraction::GetInstance()->AddInteractor(
>     mitk::PointSetInteractor::New("pointsetinteractor", pointSetNode)
>   );
>
> 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