]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/include/wxMaracasApp.cxx
Support #1768 CREATIS Licence insertion
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / include / wxMaracasApp.cxx
1 /*# ---------------------------------------------------------------------
2 #
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
4 #                        pour la Sant�)
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
8 #
9 #  This software is governed by the CeCILL-B license under French law and
10 #  abiding by the rules of distribution of free software. You can  use,
11 #  modify and/ or redistribute the software under the terms of the CeCILL-B
12 #  license as circulated by CEA, CNRS and INRIA at the following URL
13 #  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 #  or in the file LICENSE.txt.
15 #
16 #  As a counterpart to the access to the source code and  rights to copy,
17 #  modify and redistribute granted by the license, users are provided only
18 #  with a limited warranty  and the software's author,  the holder of the
19 #  economic rights,  and the successive licensors  have only  limited
20 #  liability.
21 #
22 #  The fact that you are presently reading this means that you have had
23 #  knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
25
26 /*=========================================================================
27
28  Program:   wxMaracas
29  Module:    $RCSfile: wxMaracasApp.cxx,v $
30  Language:  C++
31  Date:      $Date: 2012/11/15 14:14:56 $
32  Version:   $Revision: 1.2 $
33
34   Copyright: (c) 2002, 2003
35   License:
36
37    This software is distributed WITHOUT ANY WARRANTY; without even
38    the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
39    PURPOSE.  See the above copyright notice for more information.
40
41 =========================================================================*/
42
43
44 /*!
45  \mainpage wxMaracas version wxWindows
46
47  \section intro Introduction
48
49  This is the introduction. 
50
51
52
53
54
55
56
57   \dot
58
59
60 digraph example_0 {
61         rankdir=LR
62         graph [ ratio=fill];
63     node [shape=record, fontname=Helvetica, fontsize=10];
64
65         ___wxMaracasFrame03                     [ label="wxMaracasFrame03"      URL="\ref wxMaracasFrame03"];
66         ___wxMaracasApp02                       [ label="wxMaracasApp02"        URL="\ref wxMaracasApp02"];
67         __wxMaracasFrame02                      [ label="wxMaracasFrame02"      URL="\ref wxMaracasFrame02"];
68         __wxMaracasApp02                        [ label="wxMaracasApp02"        URL="\ref wxMaracasApp02"];
69         _wxMaracasFrame                         [ label="wxMaracasFrame"        URL="\ref wxMaracasFrame"];
70         _wxMaracasApp                           [ label="wxMaracasApp"          URL="\ref wxMaracasApp"];
71
72         _wxMaracas3DBrowser                     [ label="wxMaracas3DBrowser"                    URL="\ref wxMaracas3DBrowser"];
73         _wxMaracasQuantification        [ label="wxMaracasQuantification"               URL="\ref wxMaracasQuantification"];
74
75
76         __wxMaracasDataBrowser          [ label="wxMaracasDataBrowser"                  URL="\ref wxMaracasDataBrowser"];
77         __wxMaracasImageBrowser         [ label="wxMaracasImageBrowser"                 URL="\ref wxMaracasImageBrowser"];
78         __wxMaracasImageBrowser02       [ label="wxMaracasImageBrowser02"               URL="\ref wxMaracasImageBrowser02" ];
79         __wxMaracas3DBrowser            [ label="wxMaracas3DBrowser"                    URL="\ref wxMaracas3DBrowser"];
80         __wxMaracasQuantification       [ label="wxMaracasQuantification"               URL="\ref wxMaracasQuantification"];
81         __wxMaracasQuantificationCT     [ label="wxMaracasQuantificationCT"             URL="\ref wxMaracasQuantificationCT"];
82         __wxMaracasMPR                          [ label="wxMaracasMPR"                                  URL="\ref wxMaracasMPR"];
83         __wxMaracasProcessingCT         [ label="wxMaracasProcessingCT"                 URL="\ref wxMaracasProcessingCT"];
84         __wxMaracasEmptyPanel           [ label="wxMaracasEmptyPanel"                   URL="\ref wxMaracasEmptyPanel"];
85         __wxMaracasEmptyPanel_2         [ label="wxMaracasEmptyPanel_2"                 URL="\ref wxMaracasEmptyPanel_2"];
86         __wxSurfaceSTLWidget            [ label="wxSurfaceSTLWidget"                    URL="\ref wxSurfaceSTLWidget"];
87         __wxILPD                                        [ label="wxILPD"                                                URL="\ref wxILPD"];
88
89
90         _wxMaracasApp           -> _wxMaracasFrame                      
91         _wxMaracasFrame         -> _wxMaracas3DBrowser          
92         _wxMaracasFrame         -> _wxMaracasQuantification 
93
94         __wxMaracasApp02        -> __wxMaracasFrame02           
95         __wxMaracasFrame02      -> __wxMaracasDataBrowser       
96         __wxMaracasFrame02      -> __wxMaracasImageBrowser      
97         __wxMaracasFrame02      -> __wxMaracasImageBrowser02 
98         __wxMaracasFrame02      -> __wxMaracas3DBrowser 
99         __wxMaracasFrame02      -> __wxMaracasQuantification
100         __wxMaracasFrame02      -> __wxMaracasQuantificationCT 
101         __wxMaracasFrame02      -> __wxMaracasMPR       
102         __wxMaracasFrame02      -> __wxMaracasProcessingCT 
103         __wxMaracasFrame02      -> __wxMaracasEmptyPanel
104         __wxMaracasFrame02      -> __wxMaracasEmptyPanel_2
105         __wxMaracasFrame02      -> __wxSurfaceSTLWidget 
106         __wxMaracasFrame02      -> __wxILPD 
107
108
109         ___wxMaracasImageBrowser02      [ label="wxMaracasImageBrowser02"               URL="\ref wxMaracasImageBrowser02"];
110         ___wxMaracas3DBrowser           [ label="wxMaracas3DBrowser"                    URL="\ref wxMaracas3DBrowser"];
111         ___wxMaracasQuantification      [ label="wxMaracasQuantification"               URL="\ref wxMaracasQuantification"];
112         ___wxMaracasQuantificationCT[ label="wxMaracasQuantificationCT"         URL="\ref wxMaracasQuantificationCT"];
113         ___wxMaracasMPR                         [ label="wxMaracasMPR"                                  URL="\ref wxMaracasMPR"];
114         ___wxMaracasProcessingCT        [ label="wxMaracasProcessingCT"                 URL="\ref wxMaracasProcessingCT"];
115         ___wxMaracasEmptyPanel_2        [ label="wxMaracasEmptyPanel_2"                 URL="\ref wxMaracasEmptyPanel_2"];
116         ___wxSurfaceSTLWidget           [ label="wxSurfaceSTLWidget"                    URL="\ref wxSurfaceSTLWidget"];
117         ___wxILPDwithImage                      [ label="wxILPDwithImage"                               URL="\ref wxILPDwithImage"];
118         ___wxMaracasEmptyPanel_3        [ label="wxMaracasEmptyPanel_3"                 URL="\ref wxMaracasEmptyPanel_3"];
119
120
121         ___wxMaracasNoteBookPatientLstVoi                       [ label="wxMaracasNoteBookPatientLstVoi"                        URL="\ref wxMaracasNoteBookPatientLstVoi"];
122         ___wxMaracasNoteBookCTQuantification            [ label="wxMaracasNoteBookCTQuantification"                     URL="\ref wxMaracasNoteBookCTQuantification"];
123         ___wxMaracasNoteBookIRMQuantification           [ label="wxMaracasNoteBookIRMQuantification"            URL="\ref wxMaracasNoteBookIRMQuantification"];
124         ___wxMaracasNoteBookSTLFormat                           [ label="wxMaracasNoteBookSTLFormat"                            URL="\ref wxMaracasNoteBookSTLFormat"];
125         ___wxMaracasNoteBookTests                                       [ label="wxMaracasNoteBookTests"                                        URL="\ref wxMaracasNoteBookTests"];
126         ___wxMaracasNoteBookVascularTreeExtraction      [ label="wxMaracasNoteBookVascularTreeExtraction"       URL="\ref wxMaracasNoteBookVascularTreeExtraction"];
127
128
129         ___wxMaracasApp02       -> ___wxMaracasFrame03          
130         ___wxMaracasFrame03     -> ___wxMaracasNoteBookPatientLstVoi            
131         ___wxMaracasFrame03     -> ___wxMaracasNoteBookCTQuantification                 
132         ___wxMaracasFrame03     -> ___wxMaracasNoteBookIRMQuantification                
133         ___wxMaracasFrame03     -> ___wxMaracasNoteBookSTLFormat                
134         ___wxMaracasFrame03     -> ___wxMaracasNoteBookTests            
135         ___wxMaracasFrame03     -> ___wxMaracasNoteBookVascularTreeExtraction           
136
137
138
139         ___wxMaracasNoteBookPatientLstVoi                       -> ___wxILPDwithImage
140         ___wxMaracasNoteBookPatientLstVoi                       -> ___wxMaracasImageBrowser02
141         ___wxMaracasNoteBookPatientLstVoi                       -> ___wxMaracasMPR
142
143         ___wxMaracasNoteBookCTQuantification            -> ___wxMaracasMPR
144         ___wxMaracasNoteBookCTQuantification            -> ___wxMaracasProcessingCT
145         ___wxMaracasNoteBookCTQuantification            -> ___wxMaracasQuantificationCT
146
147         ___wxMaracasNoteBookIRMQuantification           -> ___wxMaracas3DBrowser
148         ___wxMaracasNoteBookIRMQuantification           -> ___wxMaracasQuantification
149
150         ___wxMaracasNoteBookSTLFormat                           -> ___wxMaracas3DBrowser
151         ___wxMaracasNoteBookSTLFormat                           -> ___wxSurfaceSTLWidget
152
153         ___wxMaracasNoteBookTests                                       -> ___wxMaracasEmptyPanel_3
154
155         ___wxMaracasNoteBookVascularTreeExtraction      -> ___wxMaracasEmptyPanel_2
156
157 }
158
159 \enddot
160
161
162
163
164
165
166
167
168
169 \dot
170
171 digraph example {
172         graph [ ratio=fill];
173     node [shape=record, fontname=Helvetica, fontsize=10];
174
175         subgraph subgraph_App {
176                 rank = same;
177                 _wxMaracasApp                   [ label="wxMaracasApp"                          URL="\ref wxMaracasApp"];
178     _wxMaracasApp02                     [ label="wxMaracasApp02"                        URL="\ref wxMaracasApp02"];
179         }
180         subgraph subgraph_Frame {
181                 rank = same;
182                 _wxMaracasFrame                 [ label="wxMaracasFrame"                        URL="\ref wxMaracasFrame"];
183                 _wxMaracasFrame02               [ label="wxMaracasFrame02"                      URL="\ref wxMaracasFrame02"];
184                 _wxMaracasFrame03               [ label="wxMaracasFrame03"                      URL="\ref wxMaracasFrame03"];
185         }
186
187         subgraph cluster_000 {
188                 label = "Interface Pages"
189                 style=filled;
190                 color=lightgrey;
191                 rank = same;
192                 _wxMaracasNoteBookPatientLstVoi                 [ label="wxMaracasNoteBookPatientLstVoi"                        URL="\ref wxMaracasNoteBookPatientLstVoi"];
193                 _wxMaracasNoteBookCTQuantification              [ label="wxMaracasNoteBookCTQuantification"                     URL="\ref wxMaracasNoteBookCTQuantification"];
194                 _wxMaracasNoteBookIRMQuantification             [ label="wxMaracasNoteBookIRMQuantification"            URL="\ref wxMaracasNoteBookIRMQuantification"];
195                 _wxMaracasNoteBookSTLFormat                             [ label="wxMaracasNoteBookSTLFormat"                            URL="\ref wxMaracasNoteBookSTLFormat"];
196                 _wxMaracasNoteBookTests                                 [ label="wxMaracasNoteBookTests"                                        URL="\ref wxMaracasNoteBookTests"];
197                 _wxMaracasNoteBookVascularTreeExtraction[ label="wxMaracasNoteBookVascularTreeExtraction"       URL="\ref wxMaracasNoteBookVascularTreeExtraction"];
198                 _wxMaracasNoteBookManualRegistration    [ label="wxMaracasNoteBookManualRegistration"           URL="\ref wxMaracasNoteBookManualRegistration"];
199         }
200
201         subgraph cluster_PersistanceConfiguration {
202                 label = "Persistance Configuration"
203                 style=filled;
204                 color=lightgrey;
205                 rank = same;
206                 _wxReadWriteConf                                                [ label="wxReadWriteConf"                       URL="\ref wxReadWriteConf"];
207                 _FileInformationModel                                   [ label="FileInformationModel"          URL="\ref FileInformationModel"];
208                 _FileInfoNode                                                   [ label="FileInfoNode"                          URL="\ref FileInfoNode"];
209
210
211         }
212
213         subgraph cluster_001 {
214                 style=filled;
215                 color=lightgrey;
216                 rank = same;
217                 _wxMaracasDataBrowser           [ label="wxMaracasDataBrowser"                  URL="\ref wxMaracasDataBrowser"];
218                 _wxMaracasImageBrowser          [ label="wxMaracasImageBrowser"                 URL="\ref wxMaracasImageBrowser"];
219                 _wxMaracasImageBrowser02        [ label="wxMaracasImageBrowser02"               URL="\ref wxMaracasImageBrowser02"];
220                 _wxMaracas3DBrowser                     [ label="wxMaracas3DBrowser"                    URL="\ref wxMaracas3DBrowser"];
221                 _wxMaracasQuantification        [ label="wxMaracasQuantification"               URL="\ref wxMaracasQuantification"];
222                 _wxMaracasMPR                           [ label="wxMaracasMPR"                                  URL="\ref wxMaracasMPR"];
223                 _wxMaracasEmptyPanel            [ label="wxMaracasEmptyPanel"                   URL="\ref wxMaracasEmptyPanel"];
224                 _wxMaracasEmptyPanel_2          [ label="wxMaracasEmptyPanel_2"                 URL="\ref wxMaracasEmptyPanel_2"];
225                 _wxMaracasEmptyPanel_3          [ label="wxMaracasEmptyPanel_3"                 URL="\ref wxMaracasEmptyPanel_3"];
226                 _wxILPDwithImage                        [ label="wxILPDwithImage"                               URL="\ref wxILPDwithImage"];
227
228                 subgraph cluster_00STL {
229                         rank=same;
230                         _wxSurfaceSTLWidget                     [ label="wxSurfaceSTLWidget"                    URL="\ref wxSurfaceSTLWidget"];
231                         _wxSTLWidget_02                         [ label="wxSTLWidget_02"                                URL="\ref wxSTLWidget_02"];
232                         _wxSTLWidget_03                         [ label="wxSTLWidget_03"                                URL="\ref wxSTLWidget_03"];
233                 }
234
235                 _wxMaracas_ManualTree_MPR       [ label="wxMaracas_ManualTree_MPR"              URL="\ref wxMaracas_ManualTree_MPR"];
236
237                 _wxManualRegistration3D         [ label="wxManualRegistration3D"                URL="\ref wxManualRegistration3D"];
238         
239                 subgraph cluster_00NN {
240                         rank=same;
241                         _wxMaracasQuantificationCT      [ label="wxMaracasQuantificationCT"             URL="\ref wxMaracasQuantificationCT"];
242                         _wxMaracasProcessingCT          [ label="wxMaracasProcessingCT"                 URL="\ref wxMaracasProcessingCT"];
243                 }
244
245         }
246
247
248         subgraph cluster_Widgets {
249                 label = "Imprtant Widgets";
250                 style=filled;
251                 color=lightgrey;
252                 _wxProcessingCTWidget       [ label="wxProcessingCTWidget"              URL="\ref wxProcessingCTWidget" fillcolor=yellow style=filled];
253                 _wxEmptyPanelWidget                     [ label="wxEmptyPanelWidget"            URL="\ref wxEmptyPanelWidget"];
254                 _wxEmptyPanelWidget_2       [ label="wxEmptyPanelWidget_2"              URL="\ref wxEmptyPanelWidget_2"];
255                 _wxManualTree_MPRWidget     [ label="wxManualTree_MPRWidget"    URL="\ref wxManualTree_MPRWidget"];
256                 _wxQuantificationWidget         [ label="wxQuantificationWidget"                        URL="\ref wxQuantificationWidget"];
257                 _wxQuantificationWidgetCT       [ label="wxQuantificationWidgetCT"                      URL="\ref wxQuantificationWidgetCT"  fillcolor=yellow style=filled];
258                 _vtk3DSurfaceSTLWidget          [ label="vtk3DSurfaceSTLWidget"         URL="\ref vtk3DSurfaceSTLWidget"];
259         }
260
261         _wxSurfaceWidget                                                [ label="wxSurfaceWidget"                       URL="\ref wxSurfaceWidget"];
262         _wxVTKRenderWindowInteractor                    [ label=" wxVTKRenderWindowInteractor"  URL="\ref wxVTKRenderWindowInteractor"];
263         _wxVTKRenderWindowInteractorEditContour [ label=" wxVTKRenderWindowInteractorEditContour"       URL="\ref wxVTKRenderWindowInteractorEditContour"];
264         _vtk3DSurfaceWidget                                             [ label="vtk3DSurfaceWidget"            URL="\ref vtk3DSurfaceWidget"];
265         _InterfaceVtkPanelWidgets                               [ label="InterfaceVtkPanelWidgets"      URL="\ref InterfaceVtkPanelWidgets"];
266
267         subgraph cluster_marInterface {
268                 label = "marInterface";
269                 style=filled;
270                 color=lightgrey;
271                 _marInterface                           [ label="marInterface"                          URL="\ref marInterface"];
272                 _marParameters                          [ label="marParameters"                         URL="\ref marParameters"];
273                 _marExperiment                          [ label="marExperiment"                         URL="\ref marExperiment"];
274                 _marObject                                      [ label="marObject"                                     URL="\ref marObject"];
275                 _marDynData                                     [ label="marDynData"                            URL="\ref marDynData"];
276                 _kVolume                                        [ label="kVolume"                                       URL="\ref kVolume"];
277                 _marAxis                                        [ label="marAxis"                                       URL="\ref marAxis"];
278         } 
279
280         subgraph cluster_002 {
281                 label = "Load Dicom Images";
282                 style=filled;
283                 color=lightgrey;
284                 _LoadRangeImage                 [ label="LoadRangeImage"                        URL="\ref LoadRangeImage"];
285                 _marGdcmDicom                   [ label="marGdcmDicom"                          URL="\ref marGdcmDicom"];
286                 _marGdcmDicomILPD               [ label="marGdcmDicomILPD"                      URL="\ref marGdcmDicomILPD"];
287                 _marSimpleDicom                 [ label="marSimpleDicom"                        URL="\ref marSimpleDicom"];
288                 _marRAWFiles                    [ label="marRAWFiles"                           URL="\ref marRAWFiles"];
289                 _marRAW2Files                   [ label="marRAW2Files"                          URL="\ref marRAW2Files"];
290                 _marFilesBase                   [ label="marFilesBase"                          URL="\ref marFilesBase"];
291         }
292
293         subgraph subgraph_003 {
294                 rank = same;
295                 node [style=rounded]
296
297                 _axisExtractor          [ label="axisExtractor"             URL="\ref axisExtractor"   fillcolor=yellow style=filled];
298                 _axisExtractor02                [ label="axisExtractor02"                       URL="\ref axisExtractor02" fillcolor=yellow style=filled];      
299         }
300         _TreeExtraction_MH_JFC          [ label="TreeExtraction_MH_JFC"         URL="\ref TreeExtraction_MH_JFC"                                 ];
301         _carotidaBifurcacion            [ label="carotidaBifurcacion"           URL="\ref carotidaBifurcacion"  fillcolor=yellow style=filled];
302
303 subgraph cluster_MPRxxx {
304                 _wxMPRWidget                                    [ label="wxMPRWidget"                                   URL="\ref wxMPRWidget"];
305                 _wxMPRWidget2                                   [ label="wxMPRWidget2"                                  URL="\ref wxMPRWidget2"];
306                 _wxMaracas_ViewerWidget                 [ label="wxMaracas_ViewerWidget"                URL="\ref wxMaracas_ViewerWidget"];
307                 _wxMaracas_N_ViewersWidget              [ label="wxMaracas_N_ViewersWidget"             URL="\ref wxMaracas_N_ViewersWidget"];
308
309         subgraph cluster_2D3DBaseViewer {
310                 label = "2D 3D Base Viewer (Maracas+VTK+WxWindow)";
311                 style=filled;
312                 color=lightgrey;
313
314                 subgraph cluster_base_base {
315                         label = "base base ";
316                         style=filled;
317                         color=gray71;
318                         _wxVtkBaseView                                  [ label="wxVtkBaseView"                                 URL="\ref wxVtkBaseView"];
319                         _wxVtk2DView_TMP                                [ label="wxVtk2DView_TMP"                               URL="\ref wxVtk2DView_TMP"];
320                         _vtkImageViewer2_XYZ                    [ label="vtkImageViewer2_XYZ"                   URL="\ref vtkImageViewer2_XYZ"];
321                         _wxVtk2DBaseView                                [ label="wxVtk2DBaseView"                               URL="\ref wxVtk2DBaseView"];
322                         _wxVtk3DBaseView                                [ label="wxVtk3DBaseView"                               URL="\ref wxVtk3DBaseView"];
323                 } // cluster_base_base
324
325                 subgraph cluster_2DViewer {
326                         _wxVtkMPR2DView                                 [ label="wxVtkMPR2DView"                                URL="\ref wxVtkMPR2DView"];
327                         _wxSphereView                                   [ label="wxSphereView"                                  URL="\ref wxSphereView"];
328                         _vtkPlane2DView                                 [ label="vtkPlane2DView"                                URL="\ref vtkPlane2DView"];
329                 } // cluster_2DViewer
330
331                 subgraph cluster_Clipping3D {
332                         label = "Clipping 3D Viewer ";
333                         style=filled;
334                         color=gray71;
335                         _vtkClipping3DDataViewer                [ label="vtkClipping3DDataViewer"               URL="\ref vtkClipping3DDataViewer"];
336                         _wxVtkClipping3DViewCntrlPanel  [ label="wxVtkClipping3DViewCntrlPanel" URL="\ref wxVtkClipping3DViewCntrlPanel"];
337                         _wxVtkClipping3DView                    [ label="wxVtkClipping3DView"                   URL="\ref wxVtkClipping3DView"];
338                 } //cluster_Clipping3D
339
340
341                 subgraph cluster_ViewerDATA {
342                         label = "Viewer DATA ";
343                         style=filled;
344                         color=gray71;
345                         _vtkBaseData                            [ label="vtkBaseData"                                   URL="\ref vtkBaseData"];
346                         _vtkMPRBaseData                         [ label="vtkMPRBaseData"                                URL="\ref vtkMPRBaseData"];
347                         _vtkMPR3DDataViewer             [ label="vtkMPR3DDataViewer"                    URL="\ref vtkMPR3DDataViewer"];
348                 } // cluster_ViewerDATA
349
350                 subgraph cluster_MPR3DView {
351                         label = " MPR3D View ";
352                         style=filled;
353                         color=gray71;
354                         _wxVtkMPR3DView                                 [ label="wxVtkMPR3DView"                                URL="\ref wxVtkMPR3DView"];
355                         _wxVtkMPR3DViewCntrlPanel               [ label="wxVtkMPR3DViewCntrlPanel"              URL="\ref wxVtkMPR3DViewCntrlPanel"]; 
356                 } // cluster_MPR3DView
357
358   } // cluster_2D3DBaseViewer
359 } // cluster_MPRxxx
360
361
362         subgraph cluster_3DViewer {
363                 label = "3D Viewer (Maracas+VTK+WxWindow)";
364                 style=filled;
365                 color=lightgrey;
366                 _boxSurfaceObserver                     [ label="boxSurfaceObserver"                    URL="\ref boxSurfaceObserver"];
367                 _boxVolumeObserver                              [ label="boxVolumeObserver"                     URL="\ref boxVolumeObserver"];
368
369                 _vtkmyPWCallback_3DPointWidget  [ label="vtkmyPWCallback_3DPointWidget" URL="\ref vtkmyPWCallback_3DPointWidget"];
370         }
371
372
373         _vtkInteractorStyleCutter               [ label="vtkInteractorStyleCutter"      URL="\ref vtkInteractorStyleCutter"];
374         _vtkImagePolyDataSeedConnectivity       [ label="vtkImagePolyDataSeedConnectivity"              URL="\ref vtkImagePolyDataSeedConnectivity"];
375         _wxImageViewerWidgetRoi                 [ label="wxImageViewerWidgetRoi"        URL="\ref wxImageViewerWidgetRoi"];
376
377         subgraph subgraph_005 {
378                 _marZoomROIObserver                             [ label="marZoomROIObserver"                            URL="\ref marZoomROIObserver"];
379                 _wxImageViewerWidget                            [ label="wxImageViewerWidget"                           URL="\ref wxImageViewerWidget"];
380         }
381
382         _vtk2DQuantSliceWidget                                  [ label="vtk2DQuantSliceWidget"                         URL="\ref vtk2DQuantSliceWidget"];
383
384         subgraph cluster0 {
385                 label = "Manual Contour";
386                 style=filled;
387                 color=lightgrey;
388                 _manualContourModel                                     [ label="manualContourModel"                            URL="\ref manualContourModel"];
389
390                 _manualViewBaseContour                          [ label="manualViewBaseContour"                         URL="\ref manualViewBaseContour"];
391                 _manualViewContour                                      [ label="manualViewContour"                                     URL="\ref manualViewContour"];
392                 _manualView3VContour                            [ label="manualView3VContour"                           URL="\ref manualView3VContour"];
393                 _manualView3DContour                            [ label="manualView3DContour"                           URL="\ref manualView3DContour"];
394                 _manualViewPerpPlaneContour         [ label="manualViewPerpPlaneContour"                URL="\ref manualViewPerpPlaneContour"];
395
396                 
397                 _manualViewRoi                                          [ label="manualViewRoi"                                         URL="\ref manualViewRoi"];
398                   
399
400                 _manualContourBaseControler                     [ label="manualContourBaseControler"            URL="\ref manualContourBaseControler"];
401                 _manualContourControler                         [ label="manualContourControler"                        URL="\ref manualContourControler"];
402                 _manualContour3VControler                       [ label="manualContour3VControler"                      URL="\ref manualContour3VControler"];
403                 _manualContour3DControler                       [ label="manualContour3DControler"                      URL="\ref manualContour3DControler"];
404                 _manualContour3V3DControler                     [ label="manualContour3V3DControler"            URL="\ref manualContour3V3DControler"];
405                 _manualContourPerpPlaneControler        [ label="manualContourPerpPlaneControler"       URL="\ref manualContourPerpPlaneControler"];
406                 _manualRoiControler                                     [ label="manualRoiControler"                            URL="\ref manualRoiControler"];
407
408                 _manualViewPoint                                        [ label="manualViewPoint"                                       URL="\ref manualViewPoint"];
409                 _manualPoint                                            [ label="manualPoint"                                           URL="\ref manualPoint"];
410
411         }               
412
413         subgraph cluster_interactor {
414                 label = "Interactors";
415                 style=filled;
416                 color=lightgrey;
417                 _vtkInteractorStyleBaseView                     [ label="vtkInteractorStyleBaseView"            URL="\ref vtkInteractorStyleBaseView"];
418                 _vtkInteractorStyleBaseView2D           [ label="vtkInteractorStyleBaseView2D"          URL="\ref vtkInteractorStyleBaseView2D"];
419                 _vtkInteractorStyleBaseView3D           [ label="vtkInteractorStyleBaseView3D"          URL="\ref vtkInteractorStyleBaseView3D"];                                       
420                 _vtkInteractorStyle3DView                       [ label="vtkInteractorStyle3DView"                      URL="\ref vtkInteractorStyle3DView"];                   
421                 _vtkInfoTextImageInteractor                     [ label="vtkInfoTextImageInteractor"            URL="\ref vtkInfoTextImageInteractor"];
422                 _vtkInfoTextImageInteractorPlane2D      [ label="vtkInfoTextImageInteractorPlane2D"     URL="\ref vtkInfoTextImageInteractorPlane2D"];
423                 _vtkInfoTextImage                                       [ label="vtkInfoTextImage"                                      URL="\ref vtkInfoTextImage"];
424                 _vtkInteractorStyleMPRView                      [ label="vtkInteractorStyleMPRView"                     URL="\ref vtkInteractorStyleMPRView"];
425                 _vtkInteractorStylePlane2D                      [ label="vtkInteractorStylePlane2D"                     URL="\ref vtkInteractorStylePlane2D"];
426                 _vtkInteractorStyleSphere                       [ label="vtkInteractorStyleSphere"                      URL="\ref vtkInteractorStyleSphere"];
427                 _InteractorStyleMaracas                         [ label="InteractorStyleMaracas"                        URL="\ref InteractorStyleMaracas"];     
428                 _vtkInteractorScrollZ                           [ label="vtkInteractorScrollZ"                          URL="\ref vtkInteractorScrollZ"];                       
429                 _manualInteractorWindowLevel            [ label="manualInteractorWindowLevel"           URL="\ref manualInteractorWindowLevel"];                        
430
431   }
432
433     subgraph cluster_uniandeskernel {
434                 label = "Kernel CT (uniandes)";
435                 style=filled;
436                 color=lightgrey;
437                 _marAxisContours                        [ label="marAxisContours"                       URL="\ref marAxisContours"      fillcolor=yellow style=filled];
438                 _marAxisCT                                      [ label="marAxisCT"                                     URL="\ref marAxisCT"    fillcolor=yellow style=filled];
439                 _marContourVO                           [ label="marContourVO"                                          URL="\ref marContourVO"         fillcolor=yellow style=filled];
440                 _marExperimentCT                        [ label="marExperimentCT"                               URL="\ref marExperimentCT"      fillcolor=yellow style=filled];
441                 _marInterfaceCT                         [ label="marInterfaceCT"                                        URL="\ref marInterfaceCT"       fillcolor=yellow style=filled];
442                 _marIsocontour                          [ label="marIsocontour"                                 URL="\ref marIsocontour"        fillcolor=yellow style=filled];
443                 _marPoint                                       [ label="marPoint"                                      URL="\ref marPoint"     fillcolor=yellow style=filled];
444         }
445
446   subgraph cluster_uniandesvisual {
447                 label = "Visualization CT (uniandes)";
448                 style=filled;
449                 color=lightgrey;
450                 _ContourView                            [ label="ContourView"                   URL="\ref ContourView"  fillcolor=yellow style=filled];
451                 _PointView                                      [ label="PointView"                                     URL="\ref PointView"    fillcolor=yellow style=filled];
452                 _LineView                                       [ label="LineView"                                              URL="\ref LineView"     fillcolor=yellow style=filled];
453                 _wxPnlContourControl            [ label="wxPnlContourControl"                           URL="\ref wxPnlContourControl"  fillcolor=yellow style=filled];
454                 
455         }
456
457 subgraph cluster_006 {
458                 label = "Thread";
459                 style=filled;
460                 color=lightgrey;
461                 _PriorityLoadImageBar                   [ label="PriorityLoadImageBar"                  URL="\ref PriorityLoadImageBar"];
462                 _BarLoading                                             [ label="BarLoading"                                    URL="\ref BarLoading"];
463                 _BarRange                                               [ label="BarRange"                                              URL="\ref BarRange"];
464                 _MyThread                                               [ label="MyThread"                                              URL="\ref MyThread"];
465                 _AdminThreadEED                                 [ label="AdminThreadEED"                                URL="\ref AdminThreadEED"];
466                 _PriorityLoop                                   [ label="PriorityLoop"                                  URL="\ref PriorityLoop"];
467 }
468
469                 _vtkInteractorStyle2DMaracas            [ label="vtkInteractorStyle2DMaracas"           URL="\ref vtkInteractorStyle2DMaracas"];
470                 _wxQuantificationWidget_base            [ label="wxQuantificationWidget_base"           URL="\ref wxQuantificationWidget_base"];
471                 _wxPanelControlsHealthySickSlice2       [ label="wxPanelControlsHealthySickSlice2"      URL="\ref wxPanelControlsHealthySickSlice2"];
472
473
474                 _vtk3DQuantSurfaceWidget                [ label="vtk3DQuantSurfaceWidget"               URL="\ref vtk3DQuantSurfaceWidget"];
475                 _RectangleGuideVtk                              [ label="RectangleGuideVtk"                             URL="\ref RectangleGuideVtk"];
476
477
478 subgraph cluster_figureCutting {
479                 label = "Figure Cutting";
480                 style=filled;
481                 color=lightgrey;
482
483                 _wxPanelCuttingImageData                [ label="wxPanelCuttingImageData"               URL="\ref wxPanelCuttingImageData"];
484                 _figureCuttingModel                             [ label="figureCuttingModel"                    URL="\ref figureCuttingModel"];
485
486                 _figureCuttingCubeModel                 [ label="figureCuttingCubeModel"                URL="\ref figureCuttingCubeModel"];
487                 _figureCuttingCylinderModel             [ label="figureCuttingCylinderModel"    URL="\ref figureCuttingCylinderModel"];
488                 _figureCuttingSphereModel               [ label="figureCuttingSphereModel"              URL="\ref figureCuttingSphereModel"];
489 }
490                 
491
492 subgraph cluster_mesure_tools {
493                 label = "Mesure tools widgets";
494                 style=filled;
495                 color=lightgrey;
496
497                 _wxWidgetMesure2D                               [ label="wxWidgetMesure2D"                              URL="\ref wxWidgetMesure2D"];
498                 _wxWidgetMesure2D_Plane                 [ label="wxWidgetMesure2D_Plane"                URL="\ref wxWidgetMesure2D_Plane"];
499                 _wxWidgetMesure2D_Plane_in_MPR  [ label="wxWidgetMesure2D_Plane_in_MPR" URL="\ref wxWidgetMesure2D_Plane_in_MPR"];
500 }
501
502                 _marImageData   [ label="marImageData"  URL="\ref marImageData"];
503
504
505           _wxMaracasApp         -> _wxMaracasFrame                              [ arrowhead="open", style="dashed" ];
506       _wxMaracasFrame   -> _wxMaracas3DBrowser                  [ arrowhead="open", style="dashed" ];
507       _wxMaracasFrame   -> _wxMaracasQuantification             [ arrowhead="open", style="dashed" ];
508
509       _wxMaracasApp02   -> _wxMaracasFrame02                    [ arrowhead="open", style="dashed" ];
510
511 //      _wxMaracasFrame02       -> _wxMaracasDataBrowser                [ arrowhead="open", style="dashed" ];
512 //      _wxMaracasFrame02       -> _wxMaracasImageBrowser               [ arrowhead="open", style="dashed" ];
513 //      _wxMaracasFrame02       -> _wxMaracasImageBrowser02             [ arrowhead="open", style="dashed" ];
514 //      _wxMaracasFrame02       -> _wxMaracas3DBrowser                  [ arrowhead="open", style="dashed" ];
515 //      _wxMaracasFrame02       -> _wxMaracasQuantification             [ arrowhead="open", style="dashed" ];
516 //      _wxMaracasFrame02       -> _wxMaracasQuantificationCT   [ arrowhead="open", style="dashed" ];
517 //      _wxMaracasFrame02       -> _wxMaracasMPR                                [ arrowhead="open", style="dashed" ];
518 //      _wxMaracasFrame02       -> _wxMaracasProcessingCT               [ arrowhead="open", style="dashed" ];
519 //      _wxMaracasFrame02       -> _wxMaracasEmptyPanel                 [ arrowhead="open", style="dashed" ];
520 //      _wxMaracasFrame02       -> _wxMaracasEmptyPanel_2               [ arrowhead="open", style="dashed" ];
521 //      _wxMaracasFrame02       -> _wxSurfaceSTLWidget                  [ arrowhead="open", style="dashed" ];
522 //              _wxMaracasFrame02       -> _ILPDViewListPatient                 [ arrowhead="open", style="dashed" ];
523 //              _wxMaracasFrame02       -> _wxILPD                                              [ arrowhead="open", style="dashed" ];
524
525
526
527         _wxMaracasApp02         -> _wxMaracasFrame03                                                    [ arrowhead="open", style="dashed" ];
528         _wxMaracasFrame03       -> _wxMaracasNoteBookPatientLstVoi                              [ arrowhead="open", style="dashed" ];
529         _wxMaracasFrame03       -> _wxMaracasNoteBookCTQuantification                   [ arrowhead="open", style="dashed" ];   
530         _wxMaracasFrame03       -> _wxMaracasNoteBookIRMQuantification                  [ arrowhead="open", style="dashed" ];   
531         _wxMaracasFrame03       -> _wxMaracasNoteBookSTLFormat                                  [ arrowhead="open", style="dashed" ];
532         _wxMaracasFrame03       -> _wxMaracasNoteBookTests                                              [ arrowhead="open", style="dashed" ];
533         _wxMaracasFrame03       -> _wxMaracasNoteBookVascularTreeExtraction             [ arrowhead="open", style="dashed" ];   
534         _wxMaracasFrame03       -> _wxMaracasNoteBookManualRegistration                 [ arrowhead="open", style="dashed" ];   
535
536
537         _wxMaracasNoteBookPatientLstVoi                 -> _wxILPD                                      [ arrowhead="open", style="dashed" ];
538         _wxMaracasNoteBookPatientLstVoi                 -> _wxILPDwithImage                     [ arrowhead="open", style="dashed" ];
539         _wxMaracasNoteBookPatientLstVoi                 -> _wxMaracasImageBrowser02 [ arrowhead="open", style="dashed" ];
540         _wxMaracasNoteBookPatientLstVoi                 -> _wxMaracasMPR                        [ arrowhead="open", style="dashed" ];
541         _wxMaracasNoteBookPatientLstVoi                 -> _wxReadWriteConf                     [ arrowhead="open", style="dashed" ];
542
543         _wxILPDwithImage                                                -> _wxILPD                                      [ arrowhead="open", style="dashed" ];
544         _wxILPDwithImage                                                -> _wxVtk2DBaseView                     [ arrowhead="open", style="dashed" ];
545         _wxILPDwithImage                                                -> _vtkBaseData                         [ arrowhead="open", style="dashed" ];
546
547         _wxMaracasNoteBookCTQuantification              -> _wxMaracasMPR                        [ arrowhead="open", style="dashed" ];
548         _wxMaracasNoteBookCTQuantification              -> _wxMaracasProcessingCT       [ arrowhead="open", style="dashed" ];
549         _wxMaracasNoteBookCTQuantification              -> _wxMaracasQuantificationCT [ arrowhead="open", style="dashed" ];
550         _wxMaracasNoteBookCTQuantification              -> _wxReadWriteConf                     [ arrowhead="open", style="dashed" ];
551
552         _wxMaracasNoteBookIRMQuantification             -> _wxMaracas3DBrowser          [ arrowhead="open", style="dashed" ];
553         _wxMaracasNoteBookIRMQuantification             -> _wxMaracasQuantification [ arrowhead="open", style="dashed" ];
554
555         _wxMaracasNoteBookSTLFormat                             -> _wxMaracas3DBrowser          [ arrowhead="open", style="dashed" ];
556         _wxMaracasNoteBookSTLFormat                             -> _wxSurfaceSTLWidget          [ arrowhead="open", style="dashed" ];
557
558         _wxMaracasNoteBookSTLFormat                             -> _wxSTLWidget_02                      [ arrowhead="open", style="dashed" ];
559         _wxMaracasNoteBookSTLFormat                             -> _wxSTLWidget_03                      [ arrowhead="open", style="dashed" ];
560
561         _wxMaracasNoteBookTests                                 -> _wxMaracasEmptyPanel_3       [ arrowhead="open", style="dashed" ];
562         _wxMaracasNoteBookTests                                 -> _wxMaracas_ManualTree_MPR [ arrowhead="open", style="dashed" ];
563
564         _wxMaracasNoteBookVascularTreeExtraction-> _wxMaracasEmptyPanel_2       [ arrowhead="open", style="dashed" ];
565
566         _wxMaracasNoteBookManualRegistration    -> _wxManualRegistration3D      [ arrowhead="open", style="dashed" ];
567
568         _wxManualRegistration3D -> _wxPanelCuttingImageData     [ arrowhead="open", style="dashed" ];
569         _wxManualRegistration3D -> _vtkMPRBaseData                      [ arrowhead="open", style="dashed" ];
570
571         _wxManualRegistration3D -> _marImageData                        [ arrowhead="open", style="dashed" ];
572         _wxManualRegistration3D -> _wxVtk3DBaseView                     [ arrowhead="open", style="dashed" ];
573         _wxManualRegistration3D -> _wxVtkMPR3DView                      [ arrowhead="open", style="dashed" ];
574         _wxManualRegistration3D -> _wxVtkClipping3DView         [ arrowhead="open", style="dashed" ];
575         _wxManualRegistration3D -> _wxVtkMPR3DView                      [ arrowhead="open", style="dashed" ];
576         _wxManualRegistration3D -> _wxVtkClipping3DView         [ arrowhead="open", style="dashed" ];
577
578           _wxMaracasMPR                         ->_marInterface                                 [ arrowhead="open", style="dashed" ];
579           _wxMaracasEmptyPanel          ->_wxEmptyPanelWidget                   [ arrowhead="open", style="dashed" ];
580           _wxMaracasProcessingCT        ->_wxProcessingCTWidget                 [ arrowhead="open", style="dashed" ];
581           _wxMaracasEmptyPanel_2        ->_wxEmptyPanelWidget_2                 [ arrowhead="open", style="dashed" ];
582           _wxSurfaceSTLWidget           ->_marInterface                                 [ arrowhead="open", style="dashed" ];
583           _wxSurfaceSTLWidget           ->_vtk3DSurfaceSTLWidget                [ arrowhead="open", style="dashed" ];
584
585           _wxMaracas3DBrowser           ->_marInterface                                 [ arrowhead="open", style="dashed" ];
586           _wxMaracas3DBrowser           ->_wxSurfaceWidget                              [ arrowhead="open", style="dashed" ];
587
588           _wxSurfaceWidget                      -> _InterfaceVtkPanelWidgets    [ arrowhead="onormal"                      ];
589           _wxSurfaceWidget                      -> _vtk3DSurfaceWidget                  [ arrowhead="open", style="dashed" ];
590           _wxSurfaceWidget                      -> _marInterface                                [ arrowhead="open", style="dashed" ];
591
592           _vtk3DSurfaceWidget           -> _wxVTKRenderWindowInteractor [ arrowhead="onormal"   ];
593           _vtk3DSurfaceWidget           -> _marInterface                                [ arrowhead="open", style="dashed" ];
594           _vtk3DSurfaceWidget           -> _InterfaceVtkPanelWidgets    [ arrowhead="open", style="dashed" ];
595
596           _wxMaracas_ManualTree_MPR -> _wxManualTree_MPRWidget          [ arrowhead="open", style="dashed" ];
597
598
599           _wxReadWriteConf                      -> _FileInformationModel                [ arrowhead="open", style="dashed" ];
600           _FileInformationModel         -> _FileInfoNode                                [ arrowhead="open", style="dashed" ];
601
602
603           _marInterface         -> _marFilesBase                        [ arrowhead="open", style="dashed" ];
604           _marInterface         -> _marParameters                       [ arrowhead="open", style="dashed" ];
605           _marInterface         -> _marExperiment                       [ arrowhead="open", style="dashed" ];
606
607           _marExperiment        -> _marObject                           [ arrowhead="onormal"                      ];
608           _marExperiment        -> _marDynData                          [ arrowhead="open", style="dashed" ];
609           _marExperiment        -> _marAxis                                     [ arrowhead="open", style="dashed" ];
610
611           _marDynData           -> _marObject                           [ arrowhead="onormal"                      ];
612           _marDynData           -> _kVolume                                     [ arrowhead="open", style="dashed" ];
613
614           _marAxis                      -> _marObject                           [ arrowhead="onormal"                      ];
615           _marAxis                      -> _kVolume                                     [ arrowhead="onormal"                      ];
616
617           _marFilesBase         -> _marObject                           [ arrowhead="onormal"                      ];
618           _marFilesBase         -> _kVolume                                     [ arrowhead="open", style="dashed" ];
619
620           _marSimpleDicom       -> _marFilesBase                        [ arrowhead="onormal"                      ];
621           _marGdcmDicom         -> _marFilesBase                        [ arrowhead="onormal"                      ];
622           _marRAWFiles          -> _marFilesBase                        [ arrowhead="onormal"                      ];
623           _marRAW2Files         -> _marRAWFiles                         [ arrowhead="onormal"                      ];
624           _marGdcmDicomILPD     -> _marGdcmDicom                        [ arrowhead="onormal"                      ];
625
626           _wxMaracasDataBrowser         -> _marInterface                        [ arrowhead="open", style="dashed" ];
627
628           _wxImageViewerWidgetRoi       -> _wxImageViewerWidget         [ arrowhead="onormal"                      ];
629           _wxMaracasImageBrowser        -> _wxImageViewerWidgetRoi      [ arrowhead="open", style="dashed" ];
630
631           _wxMaracasImageBrowser02      -> _LoadRangeImage                      [ arrowhead="open", style="dashed" ];
632           _wxMaracasImageBrowser02      -> _manualViewRoi                       [ arrowhead="open", style="dashed" ];
633           _wxMaracasImageBrowser02      -> _vtkBaseData                         [ arrowhead="open", style="dashed" ];
634           _wxMaracasImageBrowser02      -> _wxVtk2DBaseView                     [ arrowhead="open", style="dashed" ];
635           _wxMaracasImageBrowser02      -> _manualContourModel          [ arrowhead="open", style="dashed" ];
636           _wxMaracasImageBrowser02      -> _manualRoiControler          [ arrowhead="open", style="dashed" ];
637           _wxMaracasImageBrowser02      -> _marInterface                        [ arrowhead="open", style="dashed" ];
638
639  
640
641           _wxEmptyPanelWidget           -> _wxVtk3DBaseView                             [ arrowhead="open", style="dashed" ];
642           _wxEmptyPanelWidget           -> _axisExtractor02                             [ arrowhead="open", style="dashed" color=red];
643
644           _wxProcessingCTWidget         -> _vtkBaseData                                 [ arrowhead="open", style="dashed" ];
645           _wxProcessingCTWidget         -> _wxVtk2DBaseView                             [ arrowhead="open", style="dashed" ];
646           _wxProcessingCTWidget         -> _marInterfaceCT                              [ arrowhead="open", style="dashed" ];
647
648           _wxVtkBaseView                        -> _wxVTKRenderWindowInteractor[ arrowhead="open", style="dashed"       ];
649
650
651           _wxVtk2DBaseView                      -> _wxVtkBaseView                               [ arrowhead="onormal"                           ];
652           _wxVtk2DView_TMP                      -> _wxVtkBaseView                               [ arrowhead="onormal"                           ];
653
654           _wxVtk2DBaseView                      -> _vtkBaseData                                 [ arrowhead="open", style="dashed"      ];
655           _wxVtk2DBaseView                      -> _vtkImageViewer2_XYZ                 [ arrowhead="open", style="dashed"      ];
656
657           _vtkPlane2DView                       -> _wxVtk2DBaseView                             [ arrowhead="onormal"                           ];
658           _vtkPlane2DView                       -> _vtkMPRBaseData                              [ arrowhead="open", style="dashed"      ];
659           _vtkPlane2DView                       -> _vtkInteractorStylePlane2D   [ arrowhead="open", style="dashed" ];
660
661           _wxVtkMPR2DView                       -> _wxVtk2DBaseView                             [ arrowhead="onormal"                           ];
662           _wxVtkMPR2DView                       -> _vtkInteractorStyleMPRView   [ arrowhead="open", style="dashed" ];
663
664           _wxSphereView                         -> _wxVtk2DBaseView                             [ arrowhead="onormal"                           ];
665           _wxSphereView                         -> _vtkMPRBaseData                              [ arrowhead="open", style="dashed"      ];
666           _wxSphereView                         -> _vtkInteractorStyleSphere    [ arrowhead="open", style="dashed"      ];
667
668
669
670                 _vtkInteractorStyleBaseView             -> _wxVtkBaseView                               [ arrowhead="open", style="dashed" ];
671                 _wxVtkBaseView                                  -> _vtkInteractorStyleBaseView  [ arrowhead="open", style="dashed" ];
672                 _vtkInteractorStyleBaseView             -> _manualInteractorWindowLevel [ arrowhead="open", style="dashed" ];
673                 _vtkInteractorStyleBaseView             -> _vtkInteractorScrollZ                [ arrowhead="open", style="dashed" ];
674                 _vtkInteractorStyleSphere               -> _InteractorStyleMaracas              [ arrowhead="onormal"                      ];
675                 _vtkInteractorStyleMPRView              -> _InteractorStyleMaracas              [ arrowhead="onormal"                      ];
676                 _vtkInteractorStylePlane2D              -> _InteractorStyleMaracas              [ arrowhead="onormal"                      ];
677                 _vtkInteractorStyle3DView               -> _InteractorStyleMaracas              [ arrowhead="onormal"                      ];
678
679
680                 _vtkInteractorStyleBaseView2D   -> _vtkInteractorStyleBaseView  [ arrowhead="onormal"                      ];
681                 _vtkInteractorStyleBaseView3D   -> _vtkInteractorStyleBaseView  [ arrowhead="onormal"                      ];
682
683
684             _InteractorStyleMaracas             ->  _vtkInteractorStyleBaseView         [ arrowhead="open", style="dashed"      ];
685             _vtkInteractorStyleBaseView ->  _InteractorStyleMaracas                     [ arrowhead="open", style="dashed"      ];
686
687
688                 _vtkInteractorScrollZ           -> _InteractorStyleMaracas                      [ arrowhead="onormal"                      ];
689
690
691
692                 _wxManualTree_MPRWidget         -> _wxMPRWidget2                                        [ arrowhead="open", style="dashed" ];
693                 _wxManualTree_MPRWidget         -> _wxVtkClipping3DView                         [ arrowhead="open", style="dashed" ];
694                 _wxManualTree_MPRWidget         -> _wxVtk3DBaseView                             [ arrowhead="open", style="dashed" ];
695                 _wxManualTree_MPRWidget         -> _wxVtkMPR3DView                                      [ arrowhead="open", style="dashed" ];
696                 _wxManualTree_MPRWidget         -> _manualContourModel                          [ arrowhead="open", style="dashed" ];
697                 _wxManualTree_MPRWidget         -> _manualContour3VControler            [ arrowhead="open", style="dashed" ];
698                 _wxManualTree_MPRWidget         -> _manualContour3V3DControler          [ arrowhead="open", style="dashed" ];
699
700
701
702                 _manualContourBaseControler             ->      _InteractorStyleMaracas                 [ arrowhead="onormal"                           ];
703                 _manualContourBaseControler             ->      _manualContourModel                             [ arrowhead="open", style="dashed"      ];
704             _manualContourBaseControler         ->      _manualViewBaseContour                  [ arrowhead="open", style="dashed"      ];
705             _manualContourControler                     ->      _manualContourBaseControler             [ arrowhead="onormal"                           ];
706             _manualContour3VControler           ->      _manualContourControler                 [ arrowhead="onormal"                           ];
707             _manualContour3DControler           ->      _manualContourControler                 [ arrowhead="onormal"                           ];
708             _manualContour3V3DControler         ->      _manualContour3DControler               [ arrowhead="onormal"                           ];
709                 _manualContour3V3DControler             ->      _manualContour3VControler               [ arrowhead="open", style="dashed"      ];
710                 _manualContourPerpPlaneControler->      _manualContourControler                 [ arrowhead="onormal"                           ];
711                 _manualRoiControler                             ->      _manualContourBaseControler             [ arrowhead="onormal"                           ];
712             _manualViewBaseContour                      ->      _manualContourModel                             [ arrowhead="open", style="dashed"      ];
713                 _manualViewBaseContour                  ->      _manualViewPoint                                [ arrowhead="open", style="dashed"      ];
714                 _manualViewBaseContour                  ->      _wxVtkBaseView                                  [ arrowhead="open", style="dashed"      ];
715
716                 _manualContourModel                             ->      _manualPoint                                    [ arrowhead="open", style="dashed"      ];
717                 _manualViewContour                              ->      _manualViewBaseContour                  [ arrowhead="onormal"                           ];
718                 _manualView3VContour                    ->      _manualViewContour                              [ arrowhead="onormal"                           ];
719                 _manualView3DContour                    ->      _manualViewContour                              [ arrowhead="onormal"                           ];
720                 _manualViewPerpPlaneContour             ->      _manualViewContour                              [ arrowhead="onormal"                           ];
721                 _manualViewRoi                                  ->      _manualViewBaseContour                  [ arrowhead="onormal"                           ];
722                 _manualInteractorWindowLevel    ->      _InteractorStyleMaracas                 [ arrowhead="onormal"                           ];
723
724
725           _wxVtkMPR3DView                               -> _wxVtk3DBaseView                                     [ arrowhead="open", style="dashed"      ];
726           _wxVtkMPR3DView                               -> _vtkMPR3DDataViewer                          [ arrowhead="open", style="dashed"      ];
727           _wxVtkMPR3DView                               -> _wxVtkMPR3DViewCntrlPanel            [ arrowhead="open", style="dashed"      ];
728           _wxVtkMPR3DView                               -> _vtkmyPWCallback_3DPointWidget       [ arrowhead="open", style="dashed" ];
729           _vtkmyPWCallback_3DPointWidget-> _wxVtkMPR3DView                                      [ arrowhead="open", style="dashed" ];
730
731           _wxVtk3DBaseView                      -> _wxVtkBaseView                                               [ arrowhead="onormal"                           ];
732
733           _wxEmptyPanelWidget_2         -> _wxVtk3DBaseView                                             [ arrowhead="open", style="dashed"      ];
734           _wxEmptyPanelWidget_2         -> _axisExtractor                                               [ arrowhead="open", style="dashed"      color=red];
735           _wxEmptyPanelWidget_2         -> _axisExtractor02                                             [ arrowhead="open", style="dashed"      color=red];
736           _wxEmptyPanelWidget_2         -> _marInterface                                                [ arrowhead="open", style="dashed"      ];
737           _wxEmptyPanelWidget_2         -> _wxSurfaceWidget                                             [ arrowhead="open", style="dashed"      ];
738           _wxEmptyPanelWidget_2         -> _TreeExtraction_MH_JFC                               [ arrowhead="open", style="dashed"      ];
739           _TreeExtraction_MH_JFC        -> _carotidaBifurcacion                                 [ arrowhead="open", style="dashed"      ];
740
741           _vtk3DSurfaceSTLWidget        -> _wxVTKRenderWindowInteractor                 [ arrowhead="onormal"                      ];
742           _vtk3DSurfaceSTLWidget        -> _marInterface                                                [ arrowhead="open", style="dashed" ];
743           _vtk3DSurfaceSTLWidget        -> _vtkInteractorStyleCutter                    [ arrowhead="open", style="dashed" ];
744           _vtk3DSurfaceSTLWidget        -> _vtkImagePolyDataSeedConnectivity    [ arrowhead="open", style="dashed" ];
745
746           _marZoomROIObserver           ->      _wxImageViewerWidget                    [ arrowhead="open", style="dashed"  ];
747           _wxImageViewerWidget          ->      _marZoomROIObserver                             [ arrowhead="open", style="dashed"  ];
748           _wxImageViewerWidget          ->      _manualContourModel                             [ arrowhead="open", style="dashed"  ];
749           _wxImageViewerWidget          ->      _manualViewContour                              [ arrowhead="open", style="dashed"  ];
750           _wxImageViewerWidget          ->      _manualContourControler             [ arrowhead="open", style="dashed"  ];
751           _wxImageViewerWidget          ->      _vtkInteractorStyle2DMaracas    [ arrowhead="open", style="dashed"  ];
752           _wxImageViewerWidget          ->      _wxVTKRenderWindowInteractorEditContour [ arrowhead="open", style="dashed"  ];
753           _wxImageViewerWidget          ->      _InterfaceVtkPanelWidgets               [ arrowhead="open", style="dashed"  ];
754
755
756           _vtk2DQuantSliceWidget        ->      _wxImageViewerWidget                    [ arrowhead="onormal"                           ];
757
758           _wxVTKRenderWindowInteractorEditContour       ->      _wxVTKRenderWindowInteractor    [ arrowhead="onormal"                           ];
759
760           _wxQuantificationWidget_base  -> _InterfaceVtkPanelWidgets                    [ arrowhead="onormal"                       ];
761           _wxQuantificationWidget               -> _wxQuantificationWidget_base                 [ arrowhead="onormal"                       ];
762           _wxQuantificationWidgetCT             -> _wxQuantificationWidget_base                 [ arrowhead="onormal"                       ];
763
764       _wxMaracasQuantification          -> _marInterface                                                [ arrowhead="open", style="dashed" ];
765       _wxMaracasQuantification          -> _wxQuantificationWidget                              [ arrowhead="open", style="dashed" ];
766       _wxQuantificationWidget           -> _vtk2DQuantSliceWidget                               [ arrowhead="open", style="dashed" ];
767       _wxQuantificationWidget           -> _marInterface                                                [ arrowhead="open", style="dashed" ];
768       _wxQuantificationWidget           -> _wxPanelControlsHealthySickSlice2    [ arrowhead="open", style="dashed" ];
769       _wxQuantificationWidget           -> _vtk3DQuantSurfaceWidget                     [ arrowhead="open", style="dashed" ];
770
771       _wxMaracasQuantificationCT        -> _marInterfaceCT                                              [ arrowhead="open", style="dashed" ];
772       _wxMaracasQuantificationCT        -> _wxQuantificationWidgetCT                    [ arrowhead="open", style="dashed" ];
773       _wxQuantificationWidgetCT         -> _vtk2DQuantSliceWidget                               [ arrowhead="open", style="dashed" ];
774       _wxQuantificationWidgetCT         -> _marInterfaceCT                                              [ arrowhead="open", style="dashed" ];
775       _wxQuantificationWidgetCT         -> _wxPanelControlsHealthySickSlice2    [ arrowhead="open", style="dashed" ];
776       _wxQuantificationWidgetCT         -> _vtk3DQuantSurfaceWidget                     [ arrowhead="open", style="dashed" ];
777
778
779   
780            _vtk3DQuantSurfaceWidget             -> _vtk3DSurfaceWidget                                  [ arrowhead="onormal"                      ];
781            _vtk3DQuantSurfaceWidget             -> _RectangleGuideVtk                                   [ arrowhead="open", style="dashed" ];
782         
783
784                 _vtkMPRBaseData                         -> _vtkBaseData                                                 [ arrowhead="onormal"                      ];
785
786                 _wxMaracasMPR                           ->      _wxMPRWidget                                            [ arrowhead="open", style="dashed" ];
787                 _wxMPRWidget2                           ->      _wxMPRWidget                                            [ arrowhead="onormal"                      ];
788                 _wxMPRWidget                            ->      _wxWidgetMesure2D_Plane_in_MPR          [ arrowhead="open", style="dashed" ];
789                 _wxMPRWidget                            ->      _wxVtkMPR2DView                                         [ arrowhead="open", style="dashed" ];
790                 _wxMPRWidget                            ->      _wxSphereView                                           [ arrowhead="open", style="dashed" ];
791                 _wxMPRWidget                            ->      _vtkMPRBaseData                                         [ arrowhead="open", style="dashed" ];
792                 _wxMPRWidget                            ->      _wxVtkMPR3DView                                         [ arrowhead="open", style="dashed" ];
793                 _wxMPRWidget                            ->      _wxVtk3DBaseView                                        [ arrowhead="open", style="dashed" ];
794
795
796                 _wxMaracas_N_ViewersWidget      ->      _wxMaracas_ViewerWidget                         [ arrowhead="open", style="dashed" ];
797                 _wxMaracas_ViewerWidget         ->      _vtkMPRBaseData                                         [ arrowhead="open", style="dashed" ];
798                 _wxMaracas_ViewerWidget         ->      _wxVtk2DBaseView                                        [ arrowhead="open", style="dashed" ];
799                 _wxMaracas_ViewerWidget         ->      _wxVtkMPR2DView                                         [ arrowhead="open", style="dashed" ];
800                 _wxMaracas_ViewerWidget         ->      _wxWidgetMesure2D_Plane_in_MPR          [ arrowhead="open", style="dashed" ];
801                 _wxMaracas_ViewerWidget         ->      _vtkPlane2DView                                         [ arrowhead="open", style="dashed" ];
802                 _wxMaracas_ViewerWidget         ->      _wxVtkClipping3DView                            [ arrowhead="open", style="dashed" ];
803                 _wxMaracas_ViewerWidget         ->      _wxVtk3DBaseView                                        [ arrowhead="open", style="dashed" ];
804                 _wxMaracas_ViewerWidget         ->      _wxVtkMPR3DView                                         [ arrowhead="open", style="dashed" ];
805                 _wxMaracas_ViewerWidget         ->      _wxSphereView                                           [ arrowhead="open", style="dashed" ];
806
807
808
809                 _vtkMPR3DDataViewer                     ->      _vtkMPRBaseData                                         [ arrowhead="open", style="dashed" ];
810                 _wxVtkMPR3DViewCntrlPanel       ->      _wxVtkMPR3DView                                         [ arrowhead="open", style="dashed" ];
811                 
812
813                 _wxVtkClipping3DView                    ->      _wxVtk3DBaseView                                [ arrowhead="open", style="dashed" ];
814                 _wxMPRWidget                                    ->      _wxVtkClipping3DView                    [ arrowhead="open", style="dashed" ];
815                 _wxVtkClipping3DView                    ->      _vtkClipping3DDataViewer                [ arrowhead="open", style="dashed" ];
816                 _vtkClipping3DDataViewer                ->  _boxSurfaceObserver                         [ arrowhead="open", style="dashed" ];
817                 _vtkClipping3DDataViewer                ->  _boxVolumeObserver                          [ arrowhead="open", style="dashed" ];
818                 _vtkClipping3DDataViewer                ->      _vtkMPRBaseData                                 [ arrowhead="open", style="dashed" ];
819                 _wxVtkClipping3DViewCntrlPanel  ->      _wxVtkClipping3DView                    [ arrowhead="open", style="dashed" ];
820                 _wxVtkClipping3DView                    ->      _wxVtkClipping3DViewCntrlPanel  [ arrowhead="open", style="dashed" ];
821           
822                 _LoadRangeImage                 -> _InterfaceVtkPanelWidgets    [ arrowhead="onormal"                      ];
823                 _LoadRangeImage                 -> _wxImageViewerWidget                 [ arrowhead="open", style="dashed" ];
824                 _LoadRangeImage                 -> _marFilesBase                                [ arrowhead="open", style="dashed" ];
825                 _LoadRangeImage                 -> _PriorityLoadImageBar                [ arrowhead="open", style="dashed" ];
826                 _PriorityLoadImageBar   -> _PriorityLoop                                [ arrowhead="onormal"                      ];
827                 _PriorityLoadImageBar   -> _marGdcmDicom                                [ arrowhead="open", style="dashed" ];
828                 _PriorityLoadImageBar   -> _BarLoading                                  [ arrowhead="open", style="dashed" ];
829                 _LoadRangeImage                 -> _BarLoading                                  [ arrowhead="open", style="dashed" ];   
830                 _LoadRangeImage                 -> _BarRange                                    [ arrowhead="open", style="dashed" ];
831                 _LoadRangeImage                 -> _MyThread                                    [ arrowhead="open", style="dashed" ];
832                 _MyThread                               -> _AdminThreadEED                              [ arrowhead="open", style="dashed" ];
833                 _LoadRangeImage                 -> _AdminThreadEED                              [ arrowhead="open", style="dashed" ];
834
835
836           _vtkInfoTextImageInteractor           -> _InteractorStyleMaracas                      [ arrowhead="onormal"                      ];
837           _vtkInfoTextImageInteractor           -> _vtkInfoTextImage                            [ arrowhead="open", style="dashed" ];
838           _vtkInfoTextImage                                     -> _wxVtk2DBaseView                                     [ arrowhead="open", style="dashed" ];
839           _wxVtk2DBaseView                                      -> _vtkInfoTextImage                            [ arrowhead="open", style="dashed" ];
840           _wxVtk2DBaseView                                      -> _vtkInfoTextImageInteractor          [ arrowhead="open", style="dashed" ];
841           
842           _vtkInfoTextImageInteractorPlane2D-> _vtkInfoTextImageInteractor              [ arrowhead="onormal"                      ];
843
844
845       _marInterfaceCT                   -> _marExperimentCT                     [ arrowhead="open", style="dashed" ];
846           _marInterfaceCT                       -> _marFilesBase                                [ arrowhead="open", style="dashed" ];
847           _marInterfaceCT                       -> _marParameters                               [ arrowhead="open", style="dashed" ];
848           _marInterfaceCT                       -> _marExperiment                               [ arrowhead="open", style="dashed" ];
849           _marAxisCT                            -> _marIsocontour                               [ arrowhead="open", style="dashed" ];
850           _marIsocontour                        -> _marPoint                                    [ arrowhead="open", style="dashed" ];
851           _marAxis                                      -> _marAxisContours                             [ arrowhead="open", style="dashed" ];
852           _marAxisContours                      -> _marContourVO                                [ arrowhead="open", style="dashed" ];
853           _marExperimentCT                      -> _marExperiment                               [ arrowhead="onormal"                      ];
854           _marAxisCT                            -> _marAxis                                             [ arrowhead="onormal"                      ];
855
856           
857           _vtk3DSurfaceWidget           -> _marInterfaceCT                              [ arrowhead="open", style="dashed" ];
858           _wxQuantificationWidgetCT     -> _ContourView                                 [ arrowhead="open", style="dashed" ];
859           _wxQuantificationWidgetCT     -> _PointView                                   [ arrowhead="open", style="dashed" ];
860           _wxQuantificationWidgetCT     -> _LineView                                    [ arrowhead="open", style="dashed" ];
861           _wxQuantificationWidgetCT     -> _manualViewContour                   [ arrowhead="open", style="dashed" ];
862           _wxQuantificationWidgetCT     -> _manualViewContour                   [ arrowhead="open", style="dashed" ];
863           _wxQuantificationWidgetCT     -> _manualContourModel                  [ arrowhead="open", style="dashed" ];
864           _wxQuantificationWidgetCT     -> _manualContourModel                  [ arrowhead="open", style="dashed" ];
865           _wxQuantificationWidgetCT     -> _manualContourControler              [ arrowhead="open", style="dashed" ];
866           _wxQuantificationWidgetCT     -> _manualContourControler              [ arrowhead="open", style="dashed" ];
867           _ContourView                          -> _wxVtkBaseView                               [ arrowhead="open", style="dashed" ];
868           _PointView                            -> _wxVtkBaseView                               [ arrowhead="open", style="dashed" ];
869           _LineView                                     -> _wxVtkBaseView                               [ arrowhead="open", style="dashed" ];
870   
871
872           _figureCuttingCubeModel                       -> _figureCuttingModel                                  [ arrowhead="onormal"                      ];
873           _figureCuttingCylinderModel           -> _figureCuttingModel                                  [ arrowhead="onormal"                      ];
874           _figureCuttingSphereModel                     -> _figureCuttingModel                                  [ arrowhead="onormal"                      ];
875           _wxPanelCuttingImageData                      -> _wxVtk3DBaseView                                     [ arrowhead="open", style="dashed" ];
876           _wxPanelCuttingImageData                      -> _figureCuttingModel                                  [ arrowhead="open", style="dashed" ];
877           _wxPanelCuttingImageData                      -> _figureCuttingCubeModel                              [ arrowhead="open", style="dashed" ];
878           _wxPanelCuttingImageData                      -> _figureCuttingCylinderModel                  [ arrowhead="open", style="dashed" ];
879           _wxPanelCuttingImageData                      -> _figureCuttingSphereModel                    [ arrowhead="open", style="dashed" ];
880           _wxMPRWidget                                          -> _wxPanelCuttingImageData                             [ arrowhead="open", style="dashed" ];
881
882
883           _wxWidgetMesure2D_Plane                       -> _wxWidgetMesure2D                                    [ arrowhead="onormal"                      ];
884           _wxWidgetMesure2D_Plane_in_MPR        -> _wxWidgetMesure2D_Plane                              [ arrowhead="onormal"                      ];
885           _wxWidgetMesure2D                                     -> _manualContourControler                              [ arrowhead="open", style="dashed" ];
886           _wxWidgetMesure2D                                     -> _manualViewContour                                   [ arrowhead="open", style="dashed" ];
887           _wxWidgetMesure2D                                     -> _manualContourModel                                  [ arrowhead="open", style="dashed" ];
888           _wxWidgetMesure2D                                     -> _wxVtk2DBaseView                                     [ arrowhead="open", style="dashed" ];
889           _wxWidgetMesure2D_Plane_in_MPR        -> _vtkPlane2DView                                              [ arrowhead="open", style="dashed" ];
890                   
891           
892 subgraph cluster1 {
893         style=filled;
894         color=lightgrey;
895         label = "ILPD - Interface List Patient Dicom";
896
897         subgraph subgraph_ILPD_003 {
898                 rank = "same";
899                 _ILPDViewListPatient            [ label="ILPDViewListPatient "          URL="\ref ILPDViewListPatient"];
900                 _ILPDViewWxWindow                       [ label="ILPDViewWxWindow "                     URL="\ref ILPDViewWxWindow "];
901                 _ILPDViewMFC                            [ label="ILPDViewMFC "                          URL="\ref ILPDViewMFC "];
902         }               
903
904                 _ILPDBaseView                           [ label="ILPDBaseView "                         URL="\ref ILPDBaseView "];
905                 _wxILPD                                         [ label="wxILPD "                                       URL="\ref wxILPD "];
906                 _mfcILPD                                        [ label="mfcILPD "                                      URL="\ref mfcILPD "];
907                 _ILPD_MySQL                             [ label="ILPD_MySQL "                           URL="\ref ILPD_MySQL "];
908
909         subgraph subgraph_ILPD_004 {
910                 rank = "same";
911                 _ILPDBaseModel                          [ label="ILPDBaseModel "                        URL="\ref ILPDBaseModel "];
912                 _ILPDBaseDB                             [ label="ILPDBaseDB "                           URL="\ref ILPDBaseDB "];
913         }
914
915                 _MySql                                          [ label="MySql "                                        URL="\ref MySql "];
916                 _ILPD_Oracle                            [ label="ILPD_Oracle "                          URL="\ref ILPD_Oracle "];
917                 _Oracle                                         [ label="Oracle "                                       URL="\ref Oracle "];
918                 _ILPDLectureLoic                        [ label="ILPDLectureLoic "                      URL="\ref ILPDLectureLoic "];
919                 _ILPDLectureGDCM                        [ label="ILPDLectureGDCM "                      URL="\ref ILPDLectureGDCM "];
920                 _GDCM                                           [ label="GDCM "                                         URL="\ref GDCM "];
921                 _Loic                                           [ label="Loic "                                         URL="\ref Loic "];
922
923         subgraph subgraph_ILPD_005 {
924                 rank = "same";
925                 _ILPDModel                                      [ label="ILPDModel "                            URL="\ref ILPDModel "];
926                 _ILPDBaseLecture                        [ label="ILPDBaseLecture "                      URL="\ref ILPDBaseLecture "];
927         }
928
929         subgraph subgraph_ILPD_006 {
930                 rank    = "same";
931                 rankdir = "LR";
932                 _ILPDListPatient                        [ label="ILPDListPatient "                      URL="\ref ILPDListPatient "];
933                 _ILPDPatient                            [ label="ILPDPatient"                           URL="\ref ILPDPatient "];
934                 _ILPDStudy                                      [ label="ILPDStudy "                            URL="\ref ILPDStudy "];
935                 _ILPDSeries                                     [ label="ILPDSeries "                           URL="\ref ILPDSeries "];
936                 _ILPDImage                                      [ label="ILPDImage "                            URL="\ref ILPDImage "];
937         }
938                 _ILPDBase                                       [ label="ILPDBase "                                     URL="\ref ILPDBase "];
939
940         subgraph subgraph_ILPD_007 {
941                 rank = "same";
942                 _ILPDNode                                       [ label="ILPDNode "                                     URL="\ref ILPDNode "];
943                 _ILPDControlNode                        [ label="ILPDControlNode "                      URL="\ref ILPDControlNode "];
944         }
945                 _ILPDControler                          [ label="ILPDControler "                        URL="\ref ILPDControler"];      
946
947
948         _ILPD_MySQL                     -> _ILPDBaseDB                          [ arrowhead="onormal"                              ];
949         _ILPDBaseModel                  -> _ILPDBaseDB                          [ arrowhead="open"      style="dashed"     ];
950
951         _ILPD_MySQL                     -> _MySql                                       [ arrowhead="open"      style="dashed"     ];
952         _ILPD_Oracle                    -> _Oracle                                      [ arrowhead="open"      style="dashed"     ];
953         _ILPD_Oracle                    -> _ILPDBaseDB                          [ arrowhead="onormal"                              ];
954         _ILPDLectureGDCM                -> _GDCM                                        [ arrowhead="open"      style="dashed"     ];
955         _ILPDLectureLoic                -> _Loic                                        [ arrowhead="open"      style="dashed"     ];
956         _ILPDLectureGDCM                -> _ILPDBaseLecture                     [ arrowhead="onormal"                              ];
957         _ILPDLectureLoic                -> _ILPDBaseLecture                     [ arrowhead="onormal"                              ];
958         _ILPDModel                              -> _ILPDBaseModel                       [ arrowhead="onormal"                              ];
959         _ILPDModel                              -> _ILPDBaseLecture                     [ arrowhead="open"      style="dashed"     ];
960         
961         _ILPDBaseModel                  -> _ILPDListPatient                     [ arrowhead="open", style="dashed" ];
962         _ILPDListPatient                -> _ILPDBase                            [ arrowhead="onormal"                      ];
963         _ILPDPatient                    -> _ILPDBase                            [ arrowhead="onormal"                      ];
964         _ILPDStudy                              -> _ILPDBase                            [ arrowhead="onormal"                      ];
965         _ILPDSeries                             -> _ILPDBase                            [ arrowhead="onormal"                      ];
966         _ILPDImage                              -> _ILPDBase                            [ arrowhead="onormal"                      ];
967         _ILPDBase                               -> _ILPDBase                            [ arrowhead="open", style="dashed" ];
968         _ILPDNode                               -> _ILPDBase                            [ arrowhead="open", style="dashed" ];
969         _ILPDNode                               -> _ILPDNode                            [ arrowhead="open", style="dashed" ];
970         _ILPDControlNode                -> _ILPDNode                            [ arrowhead="open", style="dashed" ];
971         _ILPDBaseView                   -> _ILPDControlNode                     [ arrowhead="open", style="dashed" ];
972
973         _ILPDControler                  -> _ILPDBaseView                        [ arrowhead="open", style="dashed" ];
974         _ILPDControler                  -> _ILPDModel                           [ arrowhead="open", style="dashed" ];
975         _ILPDBaseView                   -> _ILPDControler                       [ arrowhead="open", style="dashed" ];
976         _ILPDViewWxWindow               -> _ILPDBaseView                        [ arrowhead="onormal"                      ];
977         _ILPDViewMFC                    -> _ILPDBaseView                        [ arrowhead="onormal"                      ];
978         _ILPDViewWxWindow               -> _wxILPD                                      [ arrowhead="open", style="dashed" ];
979         _ILPDViewMFC                    -> _mfcILPD                                     [ arrowhead="open", style="dashed" ];
980         _wxILPD                                 -> _ILPDBaseView                        [ arrowhead="open", style="dashed" ];
981         _mfcILPD                                -> _ILPDBaseView                        [ arrowhead="open", style="dashed" ];
982         _ILPDViewListPatient    -> _ILPDModel                           [ arrowhead="open", style="dashed" ];
983         _ILPDViewListPatient    -> _ILPDControler                       [ arrowhead="open", style="dashed" ];
984         _ILPDViewListPatient    -> _ILPDBaseView                        [ arrowhead="open", style="dashed" ];
985  }
986
987
988 }
989   \enddot
990
991
992
993  \section install Installation
994
995  \subsection step1 Step 1: Opening the box
996
997  etc...
998 */
999
1000 // ----------------------------------------------------------------------------
1001 // wx headers
1002 // ----------------------------------------------------------------------------
1003 #include "wx/wxprec.h"
1004
1005 #ifndef WX_PRECOMP
1006 #   include <wx/wx.h>
1007 #endif
1008
1009 // ----------------------------------------------------------------------------
1010 // Local headers
1011 // ----------------------------------------------------------------------------
1012 #include "wxMaracasApp.h"
1013 #include "wxMaracasFrame.h"
1014 #include <wx/log.h>
1015
1016
1017 #ifdef __WXGTK__
1018 # include <locale.h>
1019 #endif
1020
1021 // ----------------------------------------------------------------------------
1022 // This macro implements the entry point (main function) for the application
1023 // ----------------------------------------------------------------------------
1024 IMPLEMENT_APP( wxMaracasApp );
1025
1026 // ----------------------------------------------------------------------------
1027 // The `main program' equivalent, creating the windows and returning the
1028 // main frame
1029 bool wxMaracasApp::OnInit( )
1030 {
1031 #ifdef __WXGTK__
1032         //See http://www.wxwindows.org/faqgtk.htm#locale
1033         setlocale(LC_NUMERIC, "C");
1034 #endif
1035
1036
1037 // PS -> #ifndef DXMM
1038 // PS ->        // GO !
1039 // PS ->        SetExitOnFrameDelete(true);
1040 // PS ->        m_pFrame->Show( true );
1041 // PS -> #else
1042         SetExitOnFrameDelete(false);
1043 // PS -> #endif
1044
1045         return( true );
1046 }
1047 // ----------------------------------------------------------------------------
1048 int wxMaracasApp::OnExit(){
1049         if (Initialized())
1050         {
1051                 initialized=false;
1052 //              delete  _mar;
1053                 m_pFrame->Destroy();
1054         }
1055         ProcessIdle();
1056
1057 //EEDxx2.4 DEBuG
1058 //      wxLogDebug("----------- Exiting application");
1059 //      wxLogDebug("---------------------------------------------------");
1060
1061         return true;
1062 }
1063
1064 // ----------------------------------------------------------------------------
1065 void wxMaracasApp::Run(){
1066
1067         m_pFrame->Show( true );
1068         wxCommandEvent cmdEvt=wxCommandEvent();
1069         m_pFrame->OnStartExperiment(cmdEvt);
1070         m_pFrame->Maximize(true);
1071
1072 //EEDxx2.4 DEBuG
1073 //      wxLogDebug("----------- Running application");
1074 }
1075
1076 // ----------------------------------------------------------------------------
1077 void wxMaracasApp::Reset(){
1078         // TODO : we can make it more nicely
1079 //EEDxx2.4 DEBuG
1080 //      wxLogDebug("---------------------------------------------------");
1081 //      wxLogDebug("----------- Reseting application");
1082 //      wxLogDebug("---------------------------------------------------");
1083         //OnExit();
1084 //      OnInit();
1085         Initialize();
1086 }
1087
1088 // ----------------------------------------------------------------------------
1089 void wxMaracasApp::Initialize(){
1090 #ifdef __WXDEBUG__
1091         //static wxLogWindow * myLogWindow=new wxLogWindow(NULL,"Log Window",false,false);
1092         static wxLogWindow * myLogWindow=new wxLogWindow(NULL,"Log Window",true,false);
1093         wxLog::SetActiveTarget(myLogWindow);
1094         myLogWindow->ClearTraceMasks();
1095 #endif
1096 //EEDxx2.4 DEBuG
1097 //      wxLogDebug("---------------------------------------------------");
1098 //      wxLogDebug("----------- Initialising application");
1099
1100
1101         int nSize=_MAX_PATH;
1102         LPTSTR lpFilename=(LPTSTR) (new char[nSize]);
1103         GetModuleFileName(NULL,lpFilename,nSize);
1104         
1105         wxString moduleFileName(lpFilename);
1106
1107         wxString paramFileName=moduleFileName.BeforeLast('\\')
1108                 +wxString('\\')
1109                 +wxString(MAR_DEFAULT_FILE_PARAMETERS);
1110
1111         wxString dictionaryFileName=moduleFileName.BeforeLast('\\')
1112                 +wxString('\\')
1113                 +wxString(MAR_DEFAULT_FILE_DICTIONARY);
1114
1115         // Initialize MARACAS
1116
1117
1118         _mar = new marInterface();
1119         _mar->SetParamFileName(paramFileName.c_str());
1120         _mar->loadParameters();
1121         _marSimpleDicom = new marSimpleDicom( _mar->_parameters );
1122         _mar->SetDicom(_marSimpleDicom);
1123
1124
1125
1126         // Create the main frame window
1127         m_pFrame = new wxMaracasFrame( ( wxFrame* )NULL,  -1 , _mar , _marSimpleDicom ,(const char*)dictionaryFileName.mb_str());
1128
1129                 
1130         m_pFrame->Maximize( );
1131         this->SetTopWindow( m_pFrame );
1132         _mar->saveParameters( );
1133
1134         initialized=true;
1135         SetExitOnFrameDelete(false);
1136 }
1137
1138 // ----------------------------------------------------------------------------
1139 bool wxMaracasApp::Initialized(){
1140         return initialized;
1141 }
1142 // PS -> #endif
1143
1144 void wxMaracasApp::ShowFrame(int cmdShow)
1145 {
1146 //EEDxx2.4 DEBuG
1147 //      wxLogDebug("----------- Show Frame");
1148         if (Initialized())
1149         {
1150                 if ( SHOW_WINDOW_MINIMIZED == cmdShow )
1151                 {
1152                         m_pFrame->Iconize();
1153                 }
1154                 else if ( SHOW_WINDOW_RESTORE == cmdShow )
1155                 {
1156                         m_pFrame->Maximize(false);
1157                         m_pFrame->Raise();
1158                 }
1159                 else if (SW_NORMAL == cmdShow )
1160                 {
1161                         m_pFrame->Raise();
1162                 }
1163                 else if ( SHOW_WINDOW_MAXIMIZED == cmdShow )
1164                 {
1165                         m_pFrame->Maximize(true);
1166                         m_pFrame->Raise();
1167                 }
1168                 else
1169                 {
1170                         m_pFrame->Raise();
1171                 }
1172         }
1173 }
1174
1175
1176 void wxMaracasApp::SetVolumeData(int dimX, int dimY, int dimZ, 
1177                                                                  float spacingX,float spacingY, float spacingZ, 
1178                                                                  float rescaleSlope, float rescaleIntercept,
1179                                                                  unsigned short *pixels)
1180 {
1181         if (Initialized())
1182         {
1183                 _marSimpleDicom->SetInvestSliceOrder( _mar->_parameters->getInvestSliceOrder() );
1184                 _marSimpleDicom->SetVolumeData(dimX, dimY, dimZ,
1185                                                                            spacingX, spacingY, spacingZ,
1186                                                                            rescaleSlope, rescaleIntercept,
1187                                                                            pixels);
1188         }
1189 }
1190
1191 wxBitmap*       wxMaracasApp::GetSnapshot(){
1192         wxWindowDC *wxwindc = new wxWindowDC(m_pFrame);
1193         wxCoord w, h;
1194         wxwindc->GetSize(&w, &h);
1195         wxBitmap *wxbitmap      = new wxBitmap(w, h);
1196
1197         wxMemoryDC *wxmemorydc = new wxMemoryDC();
1198         wxmemorydc->SelectObject(*wxbitmap);
1199         wxmemorydc->Blit(0,0,w,h,wxwindc,0,0);
1200
1201         delete wxwindc;
1202         delete wxmemorydc;
1203
1204         return wxbitmap;
1205 }