** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dialogs.h,v 1.32 2001/03/01 07:30:49 kevin Exp $
+** $Id: dialogs.h,v 1.35 2001/03/13 04:44:25 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
StringValueAndTitleRadioBox* m_pRadioBoxPhantom;
};
+class DialogGetThetaRange : public wxDialog
+{
+ public:
+ DialogGetThetaRange (wxWindow* pParent, int iDefaultThetaRange = ParallelRaysums::THETA_RANGE_UNCONSTRAINED);
+ virtual ~DialogGetThetaRange () {}
+
+ int getThetaRange ();
+
+ private:
+ wxRadioBox* m_pRadioBoxThetaRange;
+};
+
#include <vector>
class ImageFileDocument;
int iDefaultFilterGeneration = ProcessSignal::FILTER_GENERATION_DIRECT,
int iDefaultZeropad = 3, int iDefaultInterpID = Backprojector::INTERP_LINEAR,
int iDefaultInterpParam = 1, int iDefaultBackprojectID = Backprojector::BPROJ_IDIFF,
- int iDefaultTrace = Trace::TRACE_NONE);
+ int iDefaultTrace = Trace::TRACE_NONE, ReconstructionROI* pROI = NULL);
virtual ~DialogGetReconstructionParameters ();
unsigned int getXSize();
const char* getInterpName();
unsigned int getInterpParam();
const char* getBackprojectName();
+ void getROI (ReconstructionROI* pROI);
int getTrace ();
private:
wxTextCtrl* m_pTextCtrlZeropad;
wxTextCtrl* m_pTextCtrlFilterParam;
wxTextCtrl* m_pTextCtrlInterpParam;
-
+ wxTextCtrl* m_pTextCtrlRoiXMin;
+ wxTextCtrl* m_pTextCtrlRoiXMax;
+ wxTextCtrl* m_pTextCtrlRoiYMin;
+ wxTextCtrl* m_pTextCtrlRoiYMax;
StringValueAndTitleRadioBox* m_pRadioBoxFilter;
StringValueAndTitleRadioBox* m_pRadioBoxFilterMethod;
StringValueAndTitleRadioBox* m_pRadioBoxFilterGeneration;
double m_dDefaultFilterParam;
int m_iDefaultZeropad;
int m_iDefaultInterpParam;
- int m_iDefaultTrace;
+ double m_dDefaultRoiXMin;
+ double m_dDefaultRoiXMax;
+ double m_dDefaultRoiYMin;
+ double m_dDefaultRoiYMax;
};
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: