** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dialogs.h,v 1.34 2001/03/11 15:27:30 kevin Exp $
+** $Id$
**
** 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
#include "procsignal.h"
#include "filter.h"
#include "projections.h"
+#include "ctsim-map.h"
class CTSimHelpButton : public wxButton
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;
{
public:
DialogGetProjectionParameters (wxWindow* pParent, int iDefaultNDet = 0,
- int iDefaultNView = 0, int iDefaultNSamples = 1, double dDefaultRotAngle = 1.,
+ int iDefaultNView = 0, int iDefaultOffsetView = 0, int iDefaultNSamples = 1, double dDefaultRotAngle = 1.,
double dDefaultFocalLength = 1, double dDefaultCenterDetectorLength = 1, double dDefaultViewRatio = 1.,
double dDefaultScanRatio = 1., int iDefaultGeometry = Scanner::GEOMETRY_PARALLEL, int iDefaultTrace = Trace::TRACE_NONE);
~DialogGetProjectionParameters ();
unsigned int getNDet ();
unsigned int getNView ();
+ unsigned int getOffsetView ();
unsigned int getNSamples ();
int getTrace ();
private:
wxTextCtrl* m_pTextCtrlNDet;
wxTextCtrl* m_pTextCtrlNView;
+ wxTextCtrl* m_pTextCtrlOffsetView;
wxTextCtrl* m_pTextCtrlNSamples;
wxTextCtrl* m_pTextCtrlRotAngle;
wxTextCtrl* m_pTextCtrlFocalLength;
int m_iDefaultNDet;
int m_iDefaultNView;
+ int m_iDefaultOffsetView;
int m_iDefaultNSamples;
int m_iDefaultTrace;
int m_iDefaultGeometry;
public:
DialogGetConvertPolarParameters (wxWindow* pParent, const char* const pszTitle, int iDefaultXSize = 0,
int iDefaultYSize = 0, int iDefaultInterpolationID = Projections::POLAR_INTERP_BILINEAR,
- int iDefaultZeropad = 1);
+ int iDefaultZeropad = 3, int iHelpID = IDH_DLG_POLAR);
virtual ~DialogGetConvertPolarParameters ();
unsigned int getXSize();