r354: Added Projection Polar conversions
[ctsim.git] / src / dialogs.h
index 0553b1afa6e201f4eaea1629c6910c23e1ab09e5..d16981c81be61393f0070aec6a969bf8049b8ad3 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: dialogs.h,v 1.19 2001/01/03 22:01:50 kevin Exp $
+**  $Id: dialogs.h,v 1.20 2001/01/04 21:28:41 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
@@ -36,6 +36,7 @@
 #include "phantom.h"
 #include "procsignal.h"
 #include "filter.h"
+#include "projections.h"
 
 
 // CLASS StringValueAndTitleListBox
@@ -291,5 +292,31 @@ class DialogGetXYSize : public wxDialog
 };
 
 
+class DialogGetConvertPolarParameters : public wxDialog
+{
+ public:
+   DialogGetConvertPolarParameters (wxFrame* pParent, const char* const pszTitle, int iDefaultXSize = 0, 
+     int iDefaultYSize = 0, int iDefaultInterpolationID = Projections::POLAR_INTERP_BILINEAR, 
+     int iDefaultZeropad = 1);
+   virtual ~DialogGetConvertPolarParameters ();
+
+    unsigned int getXSize();
+    unsigned int getYSize();
+    const char* getInterpolationName();
+    unsigned int getZeropad();
+
+ private:
+    wxTextCtrl* m_pTextCtrlXSize;
+    wxTextCtrl* m_pTextCtrlYSize;
+    wxTextCtrl* m_pTextCtrlZeropad;
+
+    StringValueAndTitleListBox* m_pListBoxInterpolation;
+
+    int m_iDefaultXSize;
+    int m_iDefaultYSize;
+    int m_iDefaultZeropad;
+};
+
+
 #endif