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

« back to all changes in this revision

Viewing changes to Testing/igstkCTImageSpatialObjectReadingAndRepresentationTest.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:
3
3
  Program:   Image Guided Surgery Software Toolkit
4
4
  Module:    $RCSfile: igstkCTImageSpatialObjectReadingAndRepresentationTest.cxx,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2008-02-12 16:35:27 $
7
 
  Version:   $Revision: 1.20 $
 
6
  Date:      $Date: 2009-06-09 20:10:34 $
 
7
  Version:   $Revision: 1.21 $
8
8
 
9
9
  Copyright (c) ISC  Insight Software Consortium.  All rights reserved.
10
10
  See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
236
236
  /* Save screenshots in a file */
237
237
  std::string filename;
238
238
  filename = argv[2]; 
 
239
  Fl::wait( 0.05 );
 
240
  igstk::PulseGenerator::CheckTimeouts();
 
241
  Fl::check();       // trigger FLTK redraws
 
242
  view2D->RequestStop();
 
243
  Fl::wait( 0.05 );
 
244
  igstk::PulseGenerator::CheckTimeouts();
 
245
  Fl::check();       // trigger FLTK redraws
239
246
  view2D->RequestSaveScreenShot( filename ); 
240
 
  
 
247
  view2D->RequestStart();
 
248
 
 
249
 
241
250
  // Do manual redraws for each orientation while changing slice numbers
242
251
    {
243
252
    representation->RequestSetOrientation( RepresentationType::Axial );