** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dialogs.h,v 1.31 2001/02/22 18:22:40 kevin Exp $
+** $Id: dialogs.h,v 1.33 2001/03/01 20:02:18 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
public:
DialogGetProjectionParameters (wxWindow* pParent, int iDefaultNDet = 0,
int iDefaultNView = 0, int iDefaultNSamples = 1, double dDefaultRotAngle = 1.,
- double dDefaultFocalLength = 1, double dDefaultViewRatio = 1.,
+ double dDefaultFocalLength = 1, double dDefaultCenterDetectorLength = 1, double dDefaultViewRatio = 1.,
double dDefaultScanRatio = 1., int iDefaultGeometry = Scanner::GEOMETRY_PARALLEL, int iDefaultTrace = Trace::TRACE_NONE);
~DialogGetProjectionParameters ();
double getViewRatio ();
double getScanRatio ();
double getFocalLengthRatio ();
+ double getCenterDetectorLengthRatio ();
const char* getGeometry();
private:
wxTextCtrl* m_pTextCtrlNSamples;
wxTextCtrl* m_pTextCtrlRotAngle;
wxTextCtrl* m_pTextCtrlFocalLength;
+ wxTextCtrl* m_pTextCtrlCenterDetectorLength;
wxTextCtrl* m_pTextCtrlViewRatio;
wxTextCtrl* m_pTextCtrlScanRatio;
StringValueAndTitleRadioBox* m_pRadioBoxGeometry;
int m_iDefaultGeometry;
double m_dDefaultRotAngle;
double m_dDefaultFocalLength;
+ double m_dDefaultCenterDetectorLength;
double m_dDefaultViewRatio;
double m_dDefaultScanRatio;
};
StringValueAndTitleRadioBox* m_pRadioBoxFormat;
};
+class DialogImportParameters : public wxDialog
+{
+ public:
+ DialogImportParameters (wxWindow* pParent, int iDefaultFormatID);
+ virtual ~DialogImportParameters () {}
+
+ const char* getFormatName();
+
+ private:
+ StringValueAndTitleRadioBox* m_pRadioBoxFormat;
+};
+
class DialogAutoScaleParameters : public wxDialog
{
public: