X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.h;h=058cb8bb7fbe94e25b08d0456135d139aced41b4;hb=2ab93c569a4aa84314115e9a5543e8c6d2b43e2a;hp=1946806bb878dc9fa22972dea056f6df582405f8;hpb=999a754d1519a49ca062ee87b22bf601c1ee9f21;p=ctsim.git diff --git a/src/views.h b/src/views.h index 1946806..058cb8b 100644 --- a/src/views.h +++ b/src/views.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: views.h,v 1.49 2001/03/11 06:34:37 kevin Exp $ +** $Id: views.h,v 1.54 2001/03/30 19:31:17 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 @@ -62,6 +62,7 @@ private: ImageFileCanvas *m_pCanvas; wxMenu* m_pFileMenu; + wxMenu* m_pFilterMenu; bool m_bMinSpecified; bool m_bMaxSpecified; double m_dMinPixel; @@ -91,6 +92,10 @@ public: void OnUpdate(wxView *sender, wxObject *hint = NULL); bool OnClose (bool deleteWindow = true); + void OnEditCopy (wxCommandEvent& event); + void OnEditCut (wxCommandEvent& event); + void OnEditPaste (wxCommandEvent& event); + void OnRevert (wxCommandEvent& event); void OnExport (wxCommandEvent& event); void OnProperties (wxCommandEvent& event); @@ -110,7 +115,7 @@ public: void OnInverseFourier (wxCommandEvent& event); void OnShuffleNaturalToFourierOrder (wxCommandEvent& event); void OnShuffleFourierToNaturalOrder (wxCommandEvent& event); -#if wxUSE_GLCANVAS +#ifdef wxUSE_GLCANVAS void OnConvert3d (wxCommandEvent& event); #endif @@ -125,6 +130,8 @@ public: void OnMagnitude (wxCommandEvent& event); void OnPhase (wxCommandEvent& event); + void OnReal (wxCommandEvent& event); + void OnImaginary (wxCommandEvent& event); void OnScaleAuto (wxCommandEvent& event); void OnScaleMinMax (wxCommandEvent& event); @@ -237,13 +244,18 @@ public: bool OnClose (bool deleteWindow = true); void OnProperties (wxCommandEvent& event); void OnReconstructFBP (wxCommandEvent& event); + void OnReconstructFBPRebin (wxCommandEvent& event); void OnReconstructFourier (wxCommandEvent& event); + void OnConvertRectangular (wxCommandEvent& event); void OnConvertPolar (wxCommandEvent& event); void OnConvertFFTPolar (wxCommandEvent& event); void OnPlotTThetaSampling (wxCommandEvent& event); + void OnPlotHistogram (wxCommandEvent& event); void OnConvertParallel (wxCommandEvent& event); void OnArtifactReduction (wxCommandEvent& event); + void doReconstructFBP (const Projections& rProj, bool bRebinToParallel); + #if CTSIM_MDI wxDocMDIChildFrame* getFrame() { return m_pFrame; } #else