** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: dialogs.h,v 1.9 2000/08/22 07:02:48 kevin Exp $
+** $Id: dialogs.h,v 1.10 2000/08/25 15:59:13 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 DialogGetProjectionParameters : public wxDialog
{
public:
- DialogGetProjectionParameters (wxFrame* pParent, int iDefaultNDet = 0, int iDefaultNView = 0, int iDefaultNSamples = 1, double dDefaultRotAngle = 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);
~DialogGetProjectionParameters (void);
unsigned int getNDet (void);
unsigned int getNView (void);
unsigned int getNSamples (void);
double getRotAngle (void);
+ double getFieldOfViewRatio (void);
+ double getFocalLengthRatio (void);
const char* getGeometry(void);
private:
wxTextCtrl* m_pTextCtrlNView;
wxTextCtrl* m_pTextCtrlNSamples;
wxTextCtrl* m_pTextCtrlRotAngle;
+ wxTextCtrl* m_pTextCtrlFocalLength;
+ wxTextCtrl* m_pTextCtrlFieldOfView;
StringValueAndTitleListBox* m_pListBoxGeometry;
int m_iDefaultNView;
int m_iDefaultNSamples;
double m_dDefaultRotAngle;
+ double m_dDefaultFocalLength;
+ double m_dDefaultFieldOfView;
};
int m_iDefaultInterpParam;
};
+class DialogAutoScaleParameters : public wxDialog
+{
+ public:
+ DialogAutoScaleParameters (wxFrame* pParent, const ImageFile& rImageFile);
+ virtual ~DialogAutoScaleParameters() {}
+
+ void getMinMax (double* pMin, double* pMax);
+
+ private:
+ const ImageFile& m_rImageFile;
+
+ wxTextCtrl* m_pTextCtrlStdDevFactor;
+ wxListBox* m_pListBoxCenter;
+};
+
#endif