X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdialogs.h;h=abb71e57fecd8d0cdfa86a04d175594a1e999699;hp=30eec421f1867254b49a576b9d5483f035dc221c;hb=bd1d464294e037da19ccc80d8cc60475768eb2ca;hpb=9ff5b5165b2c8871bd4b29ccd5ca794638414615 diff --git a/src/dialogs.h b/src/dialogs.h index 30eec42..abb71e5 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.35 2001/03/13 04:44:25 kevin Exp $ +** $Id: dialogs.h,v 1.37 2001/09/24 09:40:42 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 @@ -37,6 +37,7 @@ #include "procsignal.h" #include "filter.h" #include "projections.h" +#include "ctsim-map.h" class CTSimHelpButton : public wxButton @@ -191,13 +192,14 @@ class DialogGetProjectionParameters : public wxDialog { public: DialogGetProjectionParameters (wxWindow* pParent, int iDefaultNDet = 0, - int iDefaultNView = 0, int iDefaultNSamples = 1, double dDefaultRotAngle = 1., + int iDefaultNView = 0, int iDefaultOffsetVIew = 0, int iDefaultNSamples = 1, double dDefaultRotAngle = 1., double dDefaultFocalLength = 1, double dDefaultCenterDetectorLength = 1, double dDefaultViewRatio = 1., double dDefaultScanRatio = 1., int iDefaultGeometry = Scanner::GEOMETRY_PARALLEL, int iDefaultTrace = Trace::TRACE_NONE); ~DialogGetProjectionParameters (); unsigned int getNDet (); unsigned int getNView (); + unsigned int getOffsetView (); unsigned int getNSamples (); int getTrace (); @@ -211,6 +213,7 @@ class DialogGetProjectionParameters : public wxDialog private: wxTextCtrl* m_pTextCtrlNDet; wxTextCtrl* m_pTextCtrlNView; + wxTextCtrl* m_pTextCtrlOffsetView; wxTextCtrl* m_pTextCtrlNSamples; wxTextCtrl* m_pTextCtrlRotAngle; wxTextCtrl* m_pTextCtrlFocalLength; @@ -222,6 +225,7 @@ class DialogGetProjectionParameters : public wxDialog int m_iDefaultNDet; int m_iDefaultNView; + int m_iDefaultOffsetView; int m_iDefaultNSamples; int m_iDefaultTrace; int m_iDefaultGeometry; @@ -389,7 +393,7 @@ class DialogGetConvertPolarParameters : public wxDialog public: DialogGetConvertPolarParameters (wxWindow* pParent, const char* const pszTitle, int iDefaultXSize = 0, int iDefaultYSize = 0, int iDefaultInterpolationID = Projections::POLAR_INTERP_BILINEAR, - int iDefaultZeropad = 1); + int iDefaultZeropad = 1, int iHelpID = IDH_DLG_POLAR); virtual ~DialogGetConvertPolarParameters (); unsigned int getXSize();