** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dialogs.h,v 1.23 2001/02/08 06:25:07 kevin Exp $
+** $Id: dialogs.h,v 1.25 2001/02/11 21:57:08 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 DialogPreferences : public wxDialog
+{
+ public:
+ DialogPreferences (wxWindow* pParent, const char* const pszTitle, bool bAdvanced, bool bAskNewDocs);
+ virtual ~DialogPreferences ();
+
+ bool getAdvancedOptions ();
+ bool getAskDeleteNewDocs ();
+
+ private:
+ wxCheckBox* m_pCBAdvancedOptions;
+ wxCheckBox* m_pCBAskDeleteNewDocs;
+};
+
+
class ImageFile;
class DialogGetMinMax : public wxDialog
{
class DialogGetReconstructionParameters : public wxDialog
{
public:
- DialogGetReconstructionParameters (wxWindow* pParent, int iDefaultXSize = 0, int iDefaultYSize = 0, int iDefaultFilterID = SignalFilter::FILTER_ABS_BANDLIMIT, double dDefaultFilterParam = 1., int iDefaultFilterMethodID = ProcessSignal::FILTER_METHOD_CONVOLUTION, int iDefaultFilterGeneration = ProcessSignal::FILTER_GENERATION_INVALID, int iDefaultZeropad = 3, int iDefaultInterpID = Backprojector::INTERP_LINEAR, int iDefaultInterpParam = 1, int iDefaultBackprojectID = Backprojector::BPROJ_IDIFF3, int iDefaultTrace = Trace::TRACE_NONE);
+ DialogGetReconstructionParameters (wxWindow* pParent, int iDefaultXSize = 0, int iDefaultYSize = 0,
+ int iDefaultFilterID = SignalFilter::FILTER_ABS_BANDLIMIT, double dDefaultFilterParam = 1.,
+ int iDefaultFilterMethodID = ProcessSignal::FILTER_METHOD_CONVOLUTION,
+ 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);
virtual ~DialogGetReconstructionParameters ();
unsigned int getXSize();