\section{Phantom Menus}
+\subsection{Rasterize Dialog}
+\subsection{Projection Dialog}
+
\section{Image Menus}
\section{Projection Menus}
+\subsection{Convert Polar Dialog}
+\subsection{Convert FFT Polar Dialog}
+\subsection{Filtered Backprojection Dialog}
+
\section{Plot Menus}
+\subsection{File Menu}
+\subsubsection{Save}
+Plot files can be saved. They are saved in an ASCII text format.
+
+\subsection{View Menu}
+\subsubsection{Set}
+\subsubsection{Auto}
+\subsubsection{Full}
+
--------------------Configuration: ctsim - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
-Creating temporary file "C:\DOCUME~1\kevin\LOCALS~1\Temp\RSPF.tmp" with contents
+Creating temporary file "C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP51.tmp" with contents
[
/nologo /G6 /MTd /W3 /Gm /Gi /GR /GX /Zi /Od /Gy /I "\wx2.2.5\include" /I "..\..\..\fftw-2.1.3\fftw" /I "\wx2.2.5\src\png" /I "\wx2.2.5\src\zlib" /I "..\..\include" /I "..\..\getopt" /I "..\..\..\fftw-2.1.3\rfftw" /D VERSION=\"3.0.0beta1\" /D "_DEBUG" /D "__WXMSW__" /D "HAVE_SGP" /D "HAVE_PNG" /D "HAVE_WXWINDOWS" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "HAVE_STRING_H" /D "HAVE_FFTW" /D "HAVE_RFFTW" /D "HAVE_GETOPT_H" /D "MSVC" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D CTSIMVERSION=\"3.0.0alpha5\" /FR"Debug/" /Fp"Debug/ctsim.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"C:\ctsim\src\ctsim.cpp"
+"C:\ctsim\src\dialogs.cpp"
+"C:\ctsim\src\docs.cpp"
+"C:\ctsim\src\views.cpp"
]
-Creating command line "cl.exe @C:\DOCUME~1\kevin\LOCALS~1\Temp\RSPF.tmp"
-Creating temporary file "C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP10.tmp" with contents
+Creating command line "cl.exe @C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP51.tmp"
+Creating temporary file "C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP52.tmp" with contents
+[
+/nologo /G6 /MTd /W3 /Gm /Gi /GR /GX /Zi /Od /Gy /I "\wx2.2.5\include" /I "..\..\..\fftw-2.1.3\fftw" /I "\wx2.2.5\src\png" /I "\wx2.2.5\src\zlib" /I "..\..\include" /I "..\..\getopt" /I "..\..\..\fftw-2.1.3\rfftw" /D VERSION=\"3.0.0beta1\" /D "_DEBUG" /D "__WXMSW__" /D "HAVE_SGP" /D "HAVE_PNG" /D "HAVE_WXWINDOWS" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "HAVE_STRING_H" /D "HAVE_FFTW" /D "HAVE_RFFTW" /D "HAVE_GETOPT_H" /D "MSVC" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D CTSIMVERSION=\"3.0.0beta1\" /FR"Debug/" /Fp"Debug/ctsim.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
+"C:\ctsim\src\graph3dview.cpp"
+]
+Creating command line "cl.exe @C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP52.tmp"
+Creating temporary file "C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP53.tmp" with contents
[
comctl32.lib winmm.lib rpcrt4.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../libctsim/Debug/libctsim.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libcmtd.lib ..\..\..\fftw-2.1.3\Win32\FFTW2st\Debug\FFTW2st.lib ..\..\..\fftw-2.1.3\Win32\RFFTW2st\Debug\RFFTW2st.lib wxd.lib xpmd.lib tiffd.lib zlibd.lib pngd.lib opengl32.lib glu32.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/ctsim.pdb" /debug /machine:I386 /out:"Debug/ctsim.exe" /pdbtype:sept /libpath:"\wx2.2.5\lib"
.\Debug\ctsim.obj
\wx2.2.5\lib\zlibd.lib
\wx2.2.5\lib\tiffd.lib
]
-Creating command line "link.exe @C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP10.tmp"
+Creating command line "link.exe @C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP53.tmp"
<h3>Output Window</h3>
Compiling...
ctsim.cpp
+dialogs.cpp
+docs.cpp
+views.cpp
+Compiling...
+graph3dview.cpp
+C:\ctsim\src\graph3dview.cpp(287) : warning C4101: 'n2' : unreferenced local variable
+C:\ctsim\src\graph3dview.cpp(287) : warning C4101: 'n3' : unreferenced local variable
+C:\ctsim\src\graph3dview.cpp(287) : warning C4101: 'n4' : unreferenced local variable
+C:\ctsim\src\graph3dview.cpp(424) : warning C4305: 'initializing' : truncation from 'const double' to 'float'
+C:\ctsim\src\graph3dview.cpp(424) : warning C4305: 'initializing' : truncation from 'const double' to 'float'
+C:\ctsim\src\graph3dview.cpp(424) : warning C4305: 'initializing' : truncation from 'const double' to 'float'
+C:\ctsim\src\graph3dview.cpp(433) : warning C4305: 'initializing' : truncation from 'const double' to 'float'
+C:\ctsim\src\graph3dview.cpp(433) : warning C4305: 'initializing' : truncation from 'const double' to 'float'
+C:\ctsim\src\graph3dview.cpp(433) : warning C4305: 'initializing' : truncation from 'const double' to 'float'
+C:\ctsim\src\graph3dview.cpp(434) : warning C4305: 'initializing' : truncation from 'const double' to 'float'
+C:\ctsim\src\graph3dview.cpp(434) : warning C4305: 'initializing' : truncation from 'const double' to 'float'
+C:\ctsim\src\graph3dview.cpp(434) : warning C4305: 'initializing' : truncation from 'const double' to 'float'
Linking...
<h3>Results</h3>
-ctsim.exe - 0 error(s), 0 warning(s)
+ctsim.exe - 0 error(s), 12 warning(s)
</pre>
</body>
</html>
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ctsim.cpp,v 1.65 2001/02/02 21:50:18 kevin Exp $
+** $Id: ctsim.cpp,v 1.66 2001/02/02 23:04:06 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
#endif
#endif
-static const char* rcsindent = "$Id: ctsim.cpp,v 1.65 2001/02/02 21:50:18 kevin Exp $";
+static const char* rcsindent = "$Id: ctsim.cpp,v 1.66 2001/02/02 23:04:06 kevin Exp $";
struct option CTSimApp::ctsimOptions[] =
{
MainFrame::~MainFrame()
{
m_bShuttingDown = true; // Currently used so that Log Window will close
-
+#if 0
// delete all non-modified documents
wxList& rListDocs = theApp->getDocManager()->GetDocuments();
for (wxNode* pNode = rListDocs.GetFirst(); pNode != NULL; pNode = pNode->GetNext()) {
- wxDocument* pDoc = static_cast<wxDocument*>(pNode->GetData());
- if (! pDoc->IsModified()) {
- GetDocumentManager()->RemoveDocument(pDoc);
+ wxDocument* pDoc = dynamic_cast<wxDocument*>(pNode->GetData());
+ if (pDoc && ! pDoc->IsModified()) {
+ theApp->getDocManager()->RemoveDocument(pDoc);
delete pDoc;
}
}
+#endif
::wxYield();
if (theApp->getConfig())
- GetDocumentManager()->FileHistorySave (*theApp->getConfig());
+ theApp->getDocManager()->FileHistorySave (*theApp->getConfig());
::wxYield();
delete theApp->getDocManager();
+
}
void
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: graph3dview.cpp,v 1.6 2001/02/02 21:50:18 kevin Exp $
+** $Id: graph3dview.cpp,v 1.7 2001/02/02 23:04:06 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
Draw();
std::ostringstream os;
os << "Xangle=" << m_dXRotate << ", Yangle=" << m_dYRotate << ", Zangle=" << m_dZRotate;
- m_statusBar.SetStatusText (os.str().c_str());
+ m_pStatusBar->SetStatusText (os.str().c_str());
m_pCanvas->SwapBuffers();
}
if (deleteWindow) {
// m_pFrame->Show(false);
- delete m_pFrame; //->Destroy();
+ delete m_pFrame;
m_pFrame = NULL;
// if (GetDocument() && GetDocument()->getBadFileOpen())
// ::wxYield(); // wxWindows bug workaround
#endif
theApp->setIconForFrame (subframe);
- m_statusBar.Create (subframe, -1);
- subframe->SetStatusBar (&m_statusBar);
+ m_pStatusBar = new wxStatusBar (subframe, -1);
+ subframe->SetStatusBar (m_pStatusBar);
m_pFileMenu = new wxMenu;
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: graph3dview.h,v 1.3 2001/02/02 00:46:38 kevin Exp $
+** $Id: graph3dview.h,v 1.4 2001/02/02 23:04:06 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
wxMenu* m_pFileMenu;
wxMenu *m_pViewMenu;
- wxStatusBar m_statusBar;
+ wxStatusBar* m_pStatusBar;
GLfloat m_dXRotate;
GLfloat m_dYRotate;
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: views.cpp,v 1.95 2001/02/02 00:46:38 kevin Exp $
+** $Id: views.cpp,v 1.96 2001/02/02 23:04:06 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
SetFrame(NULL);
if (deleteWindow) {
- m_pFrame->Destroy();
+ delete m_pFrame;
m_pFrame = NULL;
if (GetDocument() && GetDocument()->getBadFileOpen())
::wxYield(); // wxWindows bug workaround