X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdialogs.h;h=92ba70ce67f9a5b256c19e2ebb45dbb4b8d20aec;hb=befd71a7157339b52a0c40359518d5276b25d127;hp=0284924aeed4dfc119ca829212367da84b2a306f;hpb=c5e7140bd08b8c8f527713e8dc861bcb7ee5f633;p=ctsim.git diff --git a/src/dialogs.h b/src/dialogs.h index 0284924..92ba70c 100644 --- a/src/dialogs.h +++ b/src/dialogs.h @@ -9,7 +9,7 @@ ** 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 @@ -88,6 +88,21 @@ class DialogGetComparisonImage : public wxDialog }; +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 { @@ -179,7 +194,13 @@ class DialogGetProjectionParameters : 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();