File: OneViewAndTrackingUsingMicronTrackerGUI.fl

package info (click to toggle)
igstk 4.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 36,940 kB
  • ctags: 6,895
  • sloc: cpp: 70,958; makefile: 99; xml: 70
file content (64 lines) | stat: -rw-r--r-- 1,968 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# data file for the Fltk User Interface Designer (fluid)
version 1.0106 
header_name {.h} 
code_name {.cxx}
class OneViewAndTrackingUsingMicronTrackerGUI {open
} {
  Function {OneViewAndTrackingUsingMicronTrackerGUI()} {} {
    Fl_Window mainWindow {
      label {IGSTK: TrackingUsingMicronTracker example} open
      xywh {497 96 990 695} type Double resizable visible
    } {
      Fl_Box Display3D {
        label {Display 3D} selected
        xywh {0 0 995 665} box FLAT_BOX color 0 labelcolor 7
        code0 {\#include <igstkFLTKWidget.h>}
        class {igstk::FLTKWidget}
      }
      Fl_Light_Button TrackingUsingMicronTrackerButton {
        label Tracking
        callback {if( o->value() ) this->EnableTracking();
else             this->DisableTracking();}
        xywh {5 670 85 25} labelsize 11
      }
      Fl_Light_Button InteractionButton {
        label Interaction
        callback {if( o->value() ) this->EnableInteraction();
else             this->DisableInteraction();}
        xywh {100 670 85 25} labelsize 11
      }
      Fl_Button QuitButton {
        label Quit
        callback {this->Quit();}
        xywh {200 670 85 25}
      }
    }
    code {this->hasQuitted = false;} {}
  }
  Function {~OneViewAndTrackingUsingMicronTrackerGUI()} {open return_type virtual
  } {
    code {delete Display3D;} {}
  }
  Function {Quit()} {return_type {virtual void}
  } {
    code {mainWindow->hide();
this->hasQuitted = true;} {}
  }
  Function {Show()} {return_type {virtual void}
  } {
    code {mainWindow->show();} {}
  }
  Function {EnableTracking()} {open return_type {virtual void}
  } {}
  Function {DisableTracking()} {open return_type {virtual void}
  } {}
  Function {EnableInteraction()} {open return_type {virtual void}
  } {}
  Function {DisableInteraction()} {open return_type {virtual void}
  } {}
  Function {HasQuitted()} {return_type {virtual bool}
  } {
    code {return this->hasQuitted;} {}
  }
  decl {bool hasQuitted;} {}
}