X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdialogs.h;h=ca82fc1d84b159503a46d123646514373015d69d;hb=de411914da8b157958e9caae917bf1edeafbb713;hp=5f6fb0649794ea9622415d4cb7892614ab5a673e;hpb=c358b8c8b5649f14e2b8203b999ba8549a244727;p=ctsim.git diff --git a/src/dialogs.h b/src/dialogs.h index 5f6fb06..ca82fc1 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.33 2001/03/01 20:02:18 kevin Exp $ +** $Id: dialogs.h,v 1.34 2001/03/11 15:27:30 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 @@ -231,7 +231,7 @@ class DialogGetReconstructionParameters : public wxDialog 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(); @@ -244,6 +244,7 @@ class DialogGetReconstructionParameters : public wxDialog const char* getInterpName(); unsigned int getInterpParam(); const char* getBackprojectName(); + void getROI (ReconstructionROI* pROI); int getTrace (); private: @@ -252,7 +253,10 @@ class DialogGetReconstructionParameters : public wxDialog 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; @@ -265,7 +269,10 @@ class DialogGetReconstructionParameters : public wxDialog double m_dDefaultFilterParam; int m_iDefaultZeropad; int m_iDefaultInterpParam; - int m_iDefaultTrace; + double m_dDefaultRoiXMin; + double m_dDefaultRoiXMax; + double m_dDefaultRoiYMin; + double m_dDefaultRoiYMax; };