projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r577: no message
[ctsim.git]
/
src
/
ctsim.h
diff --git
a/src/ctsim.h
b/src/ctsim.h
index a2c2afa8f0ffbdca845197b330dde5d9a38d3629..a4049f17a94cd0bdc12dd7b1711811718961093b 100644
(file)
--- a/
src/ctsim.h
+++ b/
src/ctsim.h
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: ctsim.h,v 1.5
0 2001/02/22 00:56:5
0 kevin Exp $
+** $Id: ctsim.h,v 1.5
2 2001/02/22 15:00:2
0 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
**
** 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,8
@@
class ProjectionFileDocument;
class PhantomFileDocument;
class PlotFileDocument;
class TextFileDocument;
class PhantomFileDocument;
class PlotFileDocument;
class TextFileDocument;
+class BackgroundManager;
+
#if wxUSE_GLCANVAS
class Graph3dFileDocument;
#endif
#if wxUSE_GLCANVAS
class Graph3dFileDocument;
#endif
@@
-115,7
+117,7
@@
private:
wxCHMHelpController m_winHelp;
#endif
wxHtmlHelpController m_htmlHelp;
wxCHMHelpController m_winHelp;
#endif
wxHtmlHelpController m_htmlHelp;
-
+
public:
MainFrame(wxDocManager *manager, wxFrame *frame, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, const long type);
virtual ~MainFrame();
public:
MainFrame(wxDocManager *manager, wxFrame *frame, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, const long type);
virtual ~MainFrame();
@@
-139,6
+141,7
@@
public:
void OnHelpTips (wxCommandEvent& event);
void OnCreatePhantom (wxCommandEvent& event);
void OnPreferences (wxCommandEvent& event);
void OnHelpTips (wxCommandEvent& event);
void OnCreatePhantom (wxCommandEvent& event);
void OnPreferences (wxCommandEvent& event);
+ void OnLogEvent (wxCommandEvent& event); // used by thread children
void OnHelpButton (wxCommandEvent& event);
void OnHelpButton (wxCommandEvent& event);
@@
-190,6
+193,7
@@
private:
bool m_bVerboseLogging;
bool m_bShowStartupTips;
long m_iCurrentTip;
bool m_bVerboseLogging;
bool m_bShowStartupTips;
long m_iCurrentTip;
+ bool m_bUseBackgroundTasks;
wxDocManager* m_docManager;
MainFrame* m_pFrame;
wxDocManager* m_docManager;
MainFrame* m_pFrame;
@@
-209,6
+213,7
@@
private:
void usage (const char* program);
void openConfig();
void closeConfig();
void usage (const char* program);
void openConfig();
void closeConfig();
+ BackgroundManager* m_pBackgroundMgr;
public:
CTSimApp();
public:
CTSimApp();
@@
-224,7
+229,9
@@
public:
{ return m_docManager; }
wxString getUntitledFilename();
{ return m_docManager; }
wxString getUntitledFilename();
-
+
+ int getNumberCPU() const { return wxThread::GetCPUCount(); }
+
EZPlotDialog* makeEZPlotDialog()
{ return new EZPlotDialog (m_pFrame); }
EZPlotDialog* makeEZPlotDialog()
{ return new EZPlotDialog (m_pFrame); }
@@
-235,6
+242,10
@@
public:
void setVerboseLogging (bool bVerbose) { m_bVerboseLogging = bVerbose; }
bool getStartupTips() const { return m_bShowStartupTips; }
void setStartupTips(bool bTips) { m_bShowStartupTips = bTips; }
void setVerboseLogging (bool bVerbose) { m_bVerboseLogging = bVerbose; }
bool getStartupTips() const { return m_bShowStartupTips; }
void setStartupTips(bool bTips) { m_bShowStartupTips = bTips; }
+ bool getUseBackgroundTasks() const { return m_bUseBackgroundTasks; }
+ void setUseBackgroundTasks(bool bBkgd) { m_bUseBackgroundTasks = bBkgd; }
+
+ BackgroundManager* getBackgroundManager() {return m_pBackgroundMgr;}
void ShowTips();
void ShowTips();
@@
-277,11
+288,11
@@
enum {
MAINMENU_HELP_SECONDARY,
#endif
MAINMENU_FILE_CREATE_PHANTOM,
MAINMENU_HELP_SECONDARY,
#endif
MAINMENU_FILE_CREATE_PHANTOM,
-
MAINMENU_FILE_CREATE_FILTER,
MAINMENU_FILE_EXIT,
MAINMENU_FILE_PREFERENCES,
MAINMENU_FILE_CREATE_FILTER,
MAINMENU_FILE_EXIT,
MAINMENU_FILE_PREFERENCES,
-
+ MAINMENU_LOG_EVENT,
+
PJMENU_FILE_PROPERTIES,
PJMENU_RECONSTRUCT_FBP,
PJMENU_RECONSTRUCT_FOURIER,
PJMENU_FILE_PROPERTIES,
PJMENU_RECONSTRUCT_FBP,
PJMENU_RECONSTRUCT_FOURIER,
@@
-334,7
+345,8
@@
enum {
PHMMENU_FILE_PROPERTIES,
PHMMENU_PROCESS_RASTERIZE,
PHMMENU_PROCESS_PROJECTIONS,
PHMMENU_FILE_PROPERTIES,
PHMMENU_PROCESS_RASTERIZE,
PHMMENU_PROCESS_PROJECTIONS,
-
+
+ PLOTMENU_FILE_PROPERTIES,
PLOTMENU_VIEW_SCALE_MINMAX,
PLOTMENU_VIEW_SCALE_AUTO,
PLOTMENU_VIEW_SCALE_FULL,
PLOTMENU_VIEW_SCALE_MINMAX,
PLOTMENU_VIEW_SCALE_AUTO,
PLOTMENU_VIEW_SCALE_FULL,
@@
-346,6
+358,8
@@
enum {
GRAPH3D_VIEW_SCALE_AUTO,
GRAPH3D_VIEW_SCALE_MINMAX,
GRAPH3D_VIEW_SCALE_FULL,
GRAPH3D_VIEW_SCALE_AUTO,
GRAPH3D_VIEW_SCALE_MINMAX,
GRAPH3D_VIEW_SCALE_FULL,
+
+ RECONSTRUCTION_THREAD_EVENT,
};
#endif
};
#endif