X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdialogs.h;h=30eec421f1867254b49a576b9d5483f035dc221c;hb=9ff5b5165b2c8871bd4b29ccd5ca794638414615;hp=5f6fb0649794ea9622415d4cb7892614ab5a673e;hpb=c358b8c8b5649f14e2b8203b999ba8549a244727;p=ctsim.git diff --git a/src/dialogs.h b/src/dialogs.h index 5f6fb06..30eec42 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.35 2001/03/13 04:44:25 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 @@ -89,6 +89,18 @@ class DialogGetPhantom : public wxDialog 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 class ImageFileDocument; @@ -231,7 +243,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 +256,7 @@ class DialogGetReconstructionParameters : public wxDialog const char* getInterpName(); unsigned int getInterpParam(); const char* getBackprojectName(); + void getROI (ReconstructionROI* pROI); int getTrace (); private: @@ -252,7 +265,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 +281,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; };