~ubuntu-branches/ubuntu/lucid/igstk/lucid

« back to all changes in this revision

Viewing changes to Examples/OpenIGTLinkTrackerBroadcasting/OpenIGTLinkTrackingBroadcasterMainFLTK.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Dominique Belhachemi
  • Date: 2009-10-07 17:35:43 UTC
  • mfrom: (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091007173543-69eyhyjrh0bfoqe5
Tags: 4.2.0-2
* Fixed link issue (Closes: #549799)
* switch to quilt

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*=========================================================================
 
2
 
 
3
  Program:   Image Guided Surgery Software Toolkit
 
4
  Module:    $RCSfile: OpenIGTLinkTrackingBroadcasterMainFLTK.cxx,v $
 
5
  Language:  C++
 
6
  Date:      $Date: 2009-06-04 19:49:05 $
 
7
  Version:   $Revision: 1.1 $
 
8
 
 
9
  Copyright (c) ISC  Insight Software Consortium.  All rights reserved.
 
10
  See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
 
11
 
 
12
     This software is distributed WITHOUT ANY WARRANTY; without even
 
13
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 
14
     PURPOSE.  See the above copyright notices for more information.
 
15
 
 
16
=========================================================================*/
 
17
#include "OpenIGTLinkTrackingBroadcasterGUI.h"
 
18
 
 
19
int main(int argc, char *argv[])
 
20
{
 
21
  OpenIGTLinkTrackingBroadcasterGUI app;
 
22
 
 
23
                        //required by IGSTK for the time stamping used by the tracker
 
24
  igstk::RealTimeClock::Initialize();
 
25
 
 
26
  app.Show();
 
27
  
 
28
  while( !app.HasQuitted() )
 
29
  {
 
30
    Fl::wait(0.001);
 
31
    igstk::PulseGenerator::CheckTimeouts();
 
32
  }
 
33
 
 
34
 
 
35
  return EXIT_SUCCESS;
 
36
}