** Date Started: July 2000
**
** This is part of the CTSim program
-** Copyright (C) 1983-2000 Kevin Rosenberg
+** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dialogs.h,v 1.21 2001/01/20 17:43:41 kevin Exp $
+** $Id: dialogs.h,v 1.23 2001/02/08 06:25:07 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
class DialogGetRasterParameters : public wxDialog
{
public:
- DialogGetRasterParameters (wxWindow* pParent, int iDefaultXSize = 0, int iDefaultYSize = 0, int iDefaultNSamples = 1);
+ DialogGetRasterParameters (wxWindow* pParent, int iDefaultXSize = 0, int iDefaultYSize = 0,
+ int iDefaultNSamples = 1, double dDefaultViewRatio = 1);
virtual ~DialogGetRasterParameters ();
unsigned int getXSize ();
unsigned int getYSize ();
unsigned int getNSamples ();
+ double getViewRatio();
private:
wxTextCtrl* m_pTextCtrlXSize;
wxTextCtrl* m_pTextCtrlYSize;
wxTextCtrl* m_pTextCtrlNSamples;
+ wxTextCtrl* m_pTextCtrlViewRatio;
int m_iDefaultXSize;
int m_iDefaultYSize;
int m_iDefaultNSamples;
+ double m_dDefaultViewRatio;
};
class DialogGetProjectionParameters : public wxDialog
{
public:
- DialogGetProjectionParameters (wxWindow* 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 (wxWindow* pParent, int iDefaultNDet = 0,
+ int iDefaultNView = 0, int iDefaultNSamples = 1, double dDefaultRotAngle = 1.,
+ double dDefaultFocalLength = 1, double dDefaultViewRatio = 1.,
+ double dDefaultScanRatio = 1., int iDefaultGeometry = Scanner::GEOMETRY_PARALLEL, int iDefaultTrace = Trace::TRACE_NONE);
~DialogGetProjectionParameters ();
unsigned int getNDet ();
int getTrace ();
double getRotAngle ();
- double getFieldOfViewRatio ();
+ double getViewRatio ();
+ double getScanRatio ();
double getFocalLengthRatio ();
const char* getGeometry();
wxTextCtrl* m_pTextCtrlNSamples;
wxTextCtrl* m_pTextCtrlRotAngle;
wxTextCtrl* m_pTextCtrlFocalLength;
- wxTextCtrl* m_pTextCtrlFieldOfView;
-
+ wxTextCtrl* m_pTextCtrlViewRatio;
+ wxTextCtrl* m_pTextCtrlScanRatio;
StringValueAndTitleListBox* m_pListBoxGeometry;
StringValueAndTitleListBox* m_pListBoxTrace;
int m_iDefaultGeometry;
double m_dDefaultRotAngle;
double m_dDefaultFocalLength;
- double m_dDefaultFieldOfView;
+ double m_dDefaultViewRatio;
+ double m_dDefaultScanRatio;
};