X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fctsim.h;h=2055227c1f20119ee65a83dcd5f24aeed8bc1c97;hp=62d97c28a7c22ca5a822d9b36ce63d382d466d0a;hb=7ec2cd66921180a624813dff9f8bac76c6b268cc;hpb=484b9ac2ebf8f88dbe36bdc1d3a9c1b6a2b242eb diff --git a/src/ctsim.h b/src/ctsim.h index 62d97c2..2055227 100644 --- a/src/ctsim.h +++ b/src/ctsim.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ctsim.h,v 1.7 2000/12/16 03:29:02 kevin Exp $ +** $Id: ctsim.h,v 1.16 2001/01/01 10:14:34 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 @@ -28,7 +28,6 @@ #ifndef __CTSIMH__ #define __CTSIMH__ -#include "wx/docview.h" #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -37,7 +36,11 @@ #endif class wxMenu; -class wxDocument; +class wxDocument; +class ImageFileDocument; +#include + +#include "wx/docview.h" // Define a new frame for main window class MainFrame: public wxDocParentFrame @@ -56,7 +59,8 @@ public: void OnAbout (wxCommandEvent& event); void OnHelpContents (wxCommandEvent& event); - void OnCreatePhantom (wxCommandEvent& event); + void OnCreatePhantom (wxCommandEvent& event); + void OnCreateFilter (wxCommandEvent& event); void OnExit (wxCommandEvent& event); void OnUpdateUI (wxUpdateUIEvent& event); @@ -106,6 +110,11 @@ public: { return m_docManager; } wxString getUntitledFilename(); + + void getCompatibleImages (const ImageFileDocument* pIFDoc, std::vector& vecIF); + + bool getSetModifyNewDocs() const + { return false; } private: wxDocManager* m_docManager; @@ -126,16 +135,35 @@ extern class CTSimApp* theApp; enum { MAINMENU_HELP_ABOUT = 500, MAINMENU_HELP_CONTENTS, - MAINMENU_FILE_CREATE_PHANTOM, + MAINMENU_FILE_CREATE_PHANTOM, + MAINMENU_FILE_CREATE_FILTER, MAINMENU_FILE_EXIT, IFMENU_FILE_PROPERTIES, PJMENU_FILE_PROPERTIES, PHMMENU_FILE_PROPERTIES, - PJMENU_PROCESS_RECONSTRUCT, + PJMENU_PROCESS_RECONSTRUCT, + IFMENU_PLOT_ROW, + IFMENU_PLOT_COL, IFMENU_VIEW_SCALE_AUTO, - IFMENU_VIEW_SCALE_MINMAX, + IFMENU_VIEW_SCALE_MINMAX, + IFMENU_COMPARE_IMAGES, + IFMENU_COMPARE_ROW, + IFMENU_COMPARE_COL, + IFMENU_PROCESS_INVERTVALUES, + IFMENU_PROCESS_SQRT, + IFMENU_PROCESS_SQUARE, + IFMENU_PROCESS_LOG, + IFMENU_PROCESS_EXP, + IFMENU_PROCESS_FOURIER, + IFMENU_PROCESS_INVERSE_FOURIER, + IFMENU_PROCESS_FFT, + IFMENU_PROCESS_IFFT, + IFMENU_PROCESS_MAGNITUDE, + IFMENU_PROCESS_PHASE, PHMMENU_PROCESS_RASTERIZE, - PHMMENU_PROCESS_PROJECTIONS, + PHMMENU_PROCESS_PROJECTIONS, + PLOTMENU_VIEW_SCALE_MINMAX, + PLOTMENU_VIEW_SCALE_AUTO, MAINMENU_WINDOW_BASE, };