Thanks, Ingmar!

-Imran.


Quoting Wegner Ingmar <[email protected]>:

> Hi Imran,
> you are absolutely right, Statemachine.xml is the place where all  
> statemachines are defined.
> This file is loaded during startup of the application. There are  
> three possibilities (see bug #3701):
> 1. Load from mitk/Core/Code/Interaction/Statemachine.xml (done e.g. by Tests)
> 2. Load from file (filename given) (done by tutorial)
> 3. Load from Qt resource in  
> mitk/CoreUI/Bundles/org.mitk.gui.qt.common/resources/Statemachine.xml (done  
> by MITK via activator / BlueBerry based)
> (There will only be one statemachine.xml after the bug is closed.)
>
> There is also the possibility to merge the information into the executable.
> This way no extra file is needed for deploying (installer).
>
> To change the interaction pattern you first have to choose the right  
> pattern. The pattern is specified during initialization of the  
> interactor and given as string ("e.g. "pointsetinteractor" /  
> "pointselectorinteractor" etc). Maybe you first use tutorial step 10  
> to test with. Here you will have to use  
> mitk/Core/Code/Interaction/Statemachine.xml to play with!
>
> Best Regards,
> Ingmar
>
>
> -------------------------
> Dr. Ingmar Wegner
> German Cancer Research Center (Deutsches Krebsforschungszentrum, DKFZ)
> Member of the Helmholtz Association
> Division Medical and Biological Informatics E130
> Im Neuenheimer Feld 280
> D-69120 Heidelberg
> Phone: 49-(0)6221-42-3543
> Fax: 49-(0)6221-42-2345
> E-Mail: [email protected]
> Web: www.dkfz.de
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]]
> Gesendet: Mittwoch, 12. Januar 2011 17:33
> An: Wegner Ingmar
> Cc: [email protected]
> Betreff: Re: [mitk-users] Interaction and StateMachine.xml
>
> Hi Wegner,
>
> Thanks for the response!
>
> I downloaded the source code mitk-0.99.1. I compiled is using MSVC
> 2008. The program works fine. I then tried to understand the
> interaction mechanism. This lead me to the file StateMachine.xml,
> which seems to be the only place where these interactions are defined.
> I started changing the xml file to see if I can make
> "ExecuteAction(...)" for a particular interactor execute an action
> which I defined...that didn't work. Then I just renamed all instances
> of StateMachine.xml file to see if that indeed was the right place to
> define these things... Hmmmm....I was really surprised since that
> meant (at least to me) that StateMachine.xml is not the only place
> where these interaction mechanisms are defined. I got confused so I
> wrote to mitk-users with my question.
>
> I'll have a look at what you sent today to better understand these things.
>
> Thanks!
>
> -Imran.
>
>
> Quoting Wegner Ingmar <[email protected]>:
>
>> Hi Imran,
>> did you install the executable or did you download and build the  
>> svn version?
>>
>> In the code repository there are currently two statemachine.xml.
>> Executing ExtApp will load the one located in
>> mitk\CoreUI\Bundles\org.mitk.gui.qt.common\resources
>> For testing the file located in
>> mitk\QT4\source\mitk\Core\Code\Interactions is used. See bug #307
>> (http://bugs.mitk.org/show_bug.cgi?id=3701) for further details.
>>
>> For documentation on interaction and undo you can also check
>> tutorial step 10 (http://docs.mitk.org/nightly-qt4/Step10Page.html ) .
>> I have uploaded a presentation from a seminar which still has to be
>> entirely set online.
>> It is liked at http://www.mitk.org/wiki/Documentation within section
>> General Information.
>> Direct link:
>> http://www.mitk.org/wiki/Documentation?action=AttachFile&do=view&target=MITK-InteractionAndUndo.pdf
>>
>> Best Regards,
>> Ingmar
>>
>> -----Ursprüngliche Nachricht-----
>> Von: [email protected] [mailto:[email protected]]
>> Gesendet: Dienstag, 11. Januar 2011 01:29
>> An: [email protected]
>> Betreff: [mitk-users] Interaction and StateMachine.xml
>>
>> Hi,
>>
>> I was just playing around with MITK to figure out how the interaction
>> works in MITK. MITK is installed in C:\Program Files\MITK directory on
>> my windows machine. I renamed the StateMachine.xml file to
>> StateMachine1.xml and all occurances of StateMachine.xml file where
>> the source code is kept (for example, in
>> C:\mitk-0.99.1\Core\Code\Interactions directory, and in other places).
>> I was surprised to see that interactions were still well defined! So,
>> it seems that StateMachine.xml is not the only way to define
>> interaction, transitions, events, actions, etc. Is that true (must
>> be!)? Is there any detailed documentation on how this works? I only
>> found these two links: http://docs.mitk.org/0.10/InteractionPage.html
>> and http://www.mitk.org/wiki/Interaction_concept
>>
>> Thanks!
>>
>> -Imran.
>>
>>
>> ------------------------------------------------------------------------------
>> Gaining the trust of online customers is vital for the success of  
>> any company
>> that requires sensitive data to be transmitted over the Web.   Learn how to
>> best implement a security strategy that keeps consumers' information secure
>> and instills the confidence they need to proceed with transactions.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> mitk-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>>
>
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>



------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to