[IGSTK-Developers] Application Wizard

Patrick Cheng cheng at isis.georgetown.edu
Mon Nov 21 10:36:56 EST 2005


Hi everyone,

I wrote a application wizard program, not quite finished yet.
The purpose of this program is to provide the user (application 
developer) a skeleton of the application code.

Right now, you need to provide a directory, the name of the application 
class, and the name of the GUI class. it will generate the 
CMakeLists.txt, ApplicationGUI.fl, Application.h, Application.cxx, and 
main.cxx file for you.

The next step is to expending it to the state machine. I have been 
investigating some possible ways to do this.

1. Use my gui and simple combobox to add states, inputs, and transition. 
Drawback: not so intuitive to user.

2. Implement the state machine editor function in my gui so that user 
can draw and edit the state machine in the gui. drawback: too much work 
to do. :(

3. Use third party tool to design state machine and export to xml file. 
and my application can ready in the xml file and generate the code.

I personally prefer the 3rd option. I found FSME can do the job, but it 
requires Qt. There is another StateMachineEditor in MITK, but it's in Java.

Anyone has some suggestions?

Thank you.

Patrick

BTW: to try the code, put them under the Sandbox/Example directory, and 
add a subdir in the upper level CMakeLists.txt


-- 
Peng (Patrick) Cheng
Software Engineer
cheng at isis.georgetown.edu

Imaging Science and Information Systems (ISIS) Center
Department of Radiology, Georgetown University Medical Center
2115 Wisconsin Avenue, Suite 603
Washington, DC, 20007

Work phone: 202-687-2902
Work fax:   202-784-3479
Cell phone: 202-674-5626
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ApplicationWizard.zip
Type: application/octet-stream
Size: 9159 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20051121/b5befae7/attachment.obj>


More information about the IGSTK-Developers mailing list