[Insight-users] example style

Zein Salah salah@gris.uni-tuebingen.de
Fri, 11 Oct 2002 12:51:07 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C27124.DDF382C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hello friends,

I have notices that most (or all) the examples of ITK have the following =
style:

example.cpp
example.h
exampleBASE.cpp
exampleBASE.h
exampleGUI.cpp
exampleGUI.h
exampleGUI.fl

I have no problem in understanding the examples. But I would like to =
understand this style of dividing the program so that I can develope my =
programs in the same style. Can somebody explain to me on what basis the =
program is divided this way. I mean: what should each file contain. =
Mainly, the relation/interaction between the GUI files and the other =
group.


Many thank for any explanations or help,

Zein





->8<------------->8<------------->8<------------->8<------------->8<-----=
-------->8<-
Zein I. Salah=20
Universit=E4t T=FCbingen, WSI-GRIS=20
Sand 14=20
72076 T=FCbingen=20
Email: salah@gris.uni-tuebingen.de  / zeinsalah@hotmail.com
Tel.: (07071) 29 75465 (GRIS) , (07071) 96 44 39 (privat)=20
Fax: (07071) 29 54 66

------=_NextPart_000_000F_01C27124.DDF382C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hello friends,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have notices that most (or all) the =
examples of=20
ITK have the following style:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>example.cpp</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>example.h</FONT></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial =
size=3D2>exampleBASE.cpp</FONT></DIV></FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>exampleBASE.h</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial =
size=3D2>exampleGUI.cpp</FONT></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>exampleGUI.h</FONT></DIV>
<DIV>exampleGUI.fl</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have no problem in understanding the examples. But I would like =
to=20
understand this style of dividing the program so that I can develope my =
programs=20
in the same style. Can somebody explain to me on what basis the program =
is=20
divided this way. I mean: what should each file contain. Mainly, the=20
relation/interaction between the GUI files and the other group.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Many thank for any explanations or help,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Zein</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>
<DIV><FONT face=3DArial=20
size=3D2>-&gt;8&lt;-------------&gt;8&lt;-------------&gt;8&lt;----------=
---&gt;8&lt;-------------&gt;8&lt;-------------&gt;8&lt;-<BR>Zein=20
I. Salah <BR>Universit=E4t T=FCbingen, WSI-GRIS <BR>Sand 14 <BR>72076 =
T=FCbingen=20
<BR>Email: <A=20
href=3D"mailto:salah@gris.uni-tuebingen.de">salah@gris.uni-tuebingen.de</=
A>&nbsp;=20
/ <A =
href=3D"mailto:zeinsalah@hotmail.com">zeinsalah@hotmail.com</A><BR>Tel.: =

(07071) 29 75465 (GRIS) , (07071) 96 44 39 (privat) <BR>Fax: (07071) 29 =
54=20
66</FONT></DIV></BODY></HTML>

------=_NextPart_000_000F_01C27124.DDF382C0--