File: vtkVVSaveFiducialsDialog.cxx

package info (click to toggle)
volview 3.4-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 25,204 kB
  • sloc: cpp: 132,585; ansic: 11,612; tcl: 236; sh: 64; makefile: 25; xml: 8
file content (32 lines) | stat: -rwxr-xr-x 1,299 bytes parent folder | download
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
/*=========================================================================

  Copyright (c) Kitware, Inc.
  All rights reserved.
  See Copyright.txt or http://www.kitware.com/VolViewCopyright.htm for details.

     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notice for more information.

=========================================================================*/
#include "vtkKWApplication.h"
#include "vtkVVSaveFiducialsDialog.h"
#include "vtkObjectFactory.h"
#include "vtkKWMessageDialog.h"
#include "vtkKWLoadSaveDialog.h"

//----------------------------------------------------------------------------
vtkStandardNewMacro(vtkVVSaveFiducialsDialog);

//----------------------------------------------------------------------------
vtkVVSaveFiducialsDialog::vtkVVSaveFiducialsDialog()
{
  this->SaveDialog = 1;
  this->SetTitle("Save Fiducials");
  // * The TIFF writer seems to work, but when loading the new files
  //   the app will crash on exit, HEAD corruption. Orientation is flaky too.
  // * Wo reads PGM nowadays..
  this->SetFileTypes("{{Comma Separated Value} {.csv}} "
                     "{{Text} {.txt}} ");
  this->SetDefaultExtension(".csv");
}