X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdialogs.h;h=b14fa78b42d8971f119708fa8bae39c471cc0be0;hp=1cd86e3efb879e37eba1d520ce5d804cfd404437;hb=fd1d136a94a6d20013f38d6a997bdfefad0f5e98;hpb=efc398029330f4d9170257db29e4420e50f25625 diff --git a/src/dialogs.h b/src/dialogs.h index 1cd86e3..b14fa78 100644 --- a/src/dialogs.h +++ b/src/dialogs.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: dialogs.h,v 1.13 2000/09/02 05:10:39 kevin Exp $ +** $Id: dialogs.h,v 1.14 2000/12/20 20:08:48 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 @@ -68,11 +68,11 @@ class DialogGetPhantom : public wxDialog class ImageFile; -class DialogGetImageMinMax : public wxDialog +class DialogGetMinMax : public wxDialog { public: - DialogGetImageMinMax (wxFrame* pParent, const ImageFile& rImagefile, double dDefaultMin = 0., double dDefaultMax = 0.); - virtual ~DialogGetImageMinMax (); + DialogGetMinMax (wxFrame* pParent, const char* const pszTitle, double dDefaultMin = 0., double dDefaultMax = 0.); + virtual ~DialogGetMinMax (); double getMinimum (); double getMaximum (); @@ -189,14 +189,17 @@ class DialogGetReconstructionParameters : public wxDialog class DialogAutoScaleParameters : public wxDialog { public: - DialogAutoScaleParameters (wxFrame* pParent, const ImageFile& rImageFile, double dDefaultScaleFactor = 1.); + DialogAutoScaleParameters (wxFrame* pParent, double mean, double mode, double median, double stddev, double dDefaultScaleFactor = 1.); virtual ~DialogAutoScaleParameters() {} - void getMinMax (double* pMin, double* pMax); + bool getMinMax (double* pMin, double* pMax); double getAutoScaleFactor (); private: - const ImageFile& m_rImageFile; + const double m_dMean; + const double m_dMode; + const double m_dMedian; + const double m_dStdDev; wxTextCtrl* m_pTextCtrlStdDevFactor; wxListBox* m_pListBoxCenter;