r185: *** empty log message ***
[ctsim.git] / src / dialogs.h
index 7298348df77620a0e67fd3afba4372e5d7521769..77b7cbf8e4cb6722b21b67b7c46cd2e773f81150 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: dialogs.h,v 1.10 2000/08/25 15:59:13 kevin Exp $
+**  $Id: dialogs.h,v 1.11 2000/08/27 20:32:55 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -31,6 +31,7 @@
 
 #include "wx/wx.h"
 #include <string>
+#include "ctsupport.h"
 #include "scanner.h"
 #include "phantom.h"
 #include "procsignal.h"
@@ -109,12 +110,14 @@ class DialogGetRasterParameters : public wxDialog
 class DialogGetProjectionParameters : public wxDialog
 {
  public:
-    DialogGetProjectionParameters (wxFrame* pParent, int iDefaultNDet = 0, int iDefaultNView = 0, int iDefaultNSamples = 1, double dDefaultRotAngle = 1., double dDefaultFocalLength = 1, double dDefaultFieldOfView = 1., int iDefaultGeometry = Scanner::GEOMETRY_PARALLEL);
+    DialogGetProjectionParameters (wxFrame* pParent, int iDefaultNDet = 0, int iDefaultNView = 0, int iDefaultNSamples = 1, double dDefaultRotAngle = 1., double dDefaultFocalLength = 1, double dDefaultFieldOfView = 1., int iDefaultGeometry = Scanner::GEOMETRY_PARALLEL, int iDefaultTrace = Trace::TRACE_NONE);
     ~DialogGetProjectionParameters (void);
 
     unsigned int getNDet (void);
     unsigned int getNView (void);
     unsigned int getNSamples (void);
+    int getTrace (void);
+
     double getRotAngle (void);
     double getFieldOfViewRatio (void);
     double getFocalLengthRatio (void);
@@ -129,10 +132,12 @@ class DialogGetProjectionParameters : public wxDialog
     wxTextCtrl* m_pTextCtrlFieldOfView;
 
     StringValueAndTitleListBox* m_pListBoxGeometry;
+    StringValueAndTitleListBox* m_pListBoxTrace;
 
     int m_iDefaultNDet;
     int m_iDefaultNView;
     int m_iDefaultNSamples;
+    int m_iDefaultTrace;
     double m_dDefaultRotAngle;
     double m_dDefaultFocalLength;
     double m_dDefaultFieldOfView;