r450: Fixed tick-labels
authorKevin M. Rosenberg <kevin@rosenberg.net>
Sat, 27 Jan 2001 21:02:20 +0000 (21:02 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Sat, 27 Jan 2001 21:02:20 +0000 (21:02 +0000)
14 files changed:
ChangeLog
include/dlgezplot.h
libctgraphics/dlgezplot.cpp
libctgraphics/sgp.cpp
libctsim/array2dfile.cpp
libctsim/backprojectors.cpp
libctsim/reconstruct.cpp
libctsim/scanner.cpp
libctsupport/clip.cpp
libctsupport/consoleio.cpp
msvc/ctsim/ctsim.plg
src/dlgprojections.cpp
src/dlgprojections.h
src/dlgreconstruct.cpp

index 4e8a5bc81929cba94e2a736e40ca7aa2a7807768..64c37a324d85e38329c5f6a01c6a40b6e45413e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,17 +2,20 @@
 
        * ctsim: Added most-recently-used files to File menu with
        registry storage between executions.
 
        * ctsim: Added most-recently-used files to File menu with
        registry storage between executions.
-       
-       * ctsim: Added MDI interface for Windows version
+
+       * ctsim: Added MDI interface for Windows version and made it default
 
        * ctsim: Added graphical About box
        
 
        * ctsim: Added graphical About box
        
-       * ctsim: Added accelerator (hotkeys) to windows
+       * ctsim: Added accelerator (hotkeys) to frames
 
        * ctsim: Online help added as well as HTML help
        
 
        * ctsim: Online help added as well as HTML help
        
-       * ctsim: Added icons to Frames on Windows versions
+       * ctsim: Added icons to Frames on X-Window and MS Windows versions
 
 
+       * ctsim: Fixed tick-label placement for plots on projection and
+       reconstruction dialogs.
+       
        * pjinfo: Fixed bug when doing --dump and not specifing --endview
 
        * ctsimtext-lam: Changes for first version to compile under lam
        * pjinfo: Fixed bug when doing --dump and not specifing --endview
 
        * ctsimtext-lam: Changes for first version to compile under lam
index 33aa7c3bf124b79547500781d4233e3ee415b9a4..28cdbd5bb7123b5f2a4f57ab3e739e23794b8fbc 100644 (file)
@@ -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: dlgezplot.h,v 1.1 2001/01/13 04:47:50 kevin Exp $
+**  $Id: dlgezplot.h,v 1.2 2001/01/27 21:02:20 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
@@ -81,7 +81,7 @@ private:
    EZPlotControl* m_pEZPlotCtrl;
 
 public:
    EZPlotControl* m_pEZPlotCtrl;
 
 public:
-  EZPlotDialog (wxWindow *parent = NULL);
+  EZPlotDialog (wxWindow *parent = NULL, bool bCancelButton = false);
 
    ~EZPlotDialog();
 
 
    ~EZPlotDialog();
 
index 869d451dc906d025c486864ab5494b19a08a5160..4dbc6fee8ecf0675f9254c9d4e6beef221009281 100644 (file)
@@ -7,9 +7,9 @@
 **   Date Started:  Jan 2001
 **
 **  This is part of the CTSim program
 **   Date Started:  Jan 2001
 **
 **  This is part of the CTSim program
-**  Copyright (C) 1983-2001 Kevin Rosenberg
+**  Copyright (c) 1983-2001 Kevin Rosenberg
 **
 **
-**  $Id: dlgezplot.cpp,v 1.3 2001/01/19 22:53:56 kevin Exp $
+**  $Id: dlgezplot.cpp,v 1.4 2001/01/27 21:02:20 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
@@ -103,6 +103,7 @@ EZPlotControl::OnPaint (wxPaintEvent& event)
   m_pSGPDriver = new SGPDriver (&dc, m_iClientX, m_iClientY);
   m_pSGP = new SGP (*m_pSGPDriver);
   m_pSGP->setTextPointSize(10);
   m_pSGPDriver = new SGPDriver (&dc, m_iClientX, m_iClientY);
   m_pSGP = new SGP (*m_pSGPDriver);
   m_pSGP->setTextPointSize(10);
+//  m_pSGP->setViewport (0, 0, 1., 0.5);  // for debugging testing only
   if (m_pEZPlot && m_pSGP) {
     m_pSGP->eraseWindow();
     m_pEZPlot->plot (m_pSGP);
   if (m_pEZPlot && m_pSGP) {
     m_pSGP->eraseWindow();
     m_pEZPlot->plot (m_pSGP);
@@ -110,7 +111,7 @@ EZPlotControl::OnPaint (wxPaintEvent& event)
 }
 
 
 }
 
 
-EZPlotDialog::EZPlotDialog (wxWindow *parent)
+EZPlotDialog::EZPlotDialog (wxWindow *parent, bool bCancelButton)
 : wxDialog((parent ? parent : theApp->getMainFrame()), -1, wxString("EZPlot"), wxDefaultPosition, wxDefaultSize, wxDIALOG_MODAL),
   m_parentTop(0)
 {
 : wxDialog((parent ? parent : theApp->getMainFrame()), -1, wxString("EZPlot"), wxDefaultPosition, wxDefaultSize, wxDIALOG_MODAL),
   m_parentTop(0)
 {
@@ -127,10 +128,11 @@ EZPlotDialog::EZPlotDialog (wxWindow *parent)
   
   wxBoxSizer* pButtonSizer = new wxBoxSizer (wxHORIZONTAL);
   wxButton* pButtonOk = new wxButton (this, wxID_OK, "Ok");
   
   wxBoxSizer* pButtonSizer = new wxBoxSizer (wxHORIZONTAL);
   wxButton* pButtonOk = new wxButton (this, wxID_OK, "Ok");
-  wxButton* pButtonCancel = new wxButton (this, wxID_CANCEL, "Cancel");
   pButtonSizer->Add (pButtonOk, 0, wxEXPAND | wxALL, 10);
   pButtonSizer->Add (pButtonOk, 0, wxEXPAND | wxALL, 10);
-  pButtonSizer->Add (pButtonCancel, 0, wxEXPAND | wxALL, 10);
-  
+  if (bCancelButton) {
+    wxButton* pButtonCancel = new wxButton (this, wxID_CANCEL, "Cancel");
+    pButtonSizer->Add (pButtonCancel, 0, wxEXPAND | wxALL, 10);
+  }  
   pTopSizer->Add (pButtonSizer, 0, wxALIGN_CENTER);
   
   SetAutoLayout (true);
   pTopSizer->Add (pButtonSizer, 0, wxALIGN_CENTER);
   
   SetAutoLayout (true);
index ec6b89d4a936dcff1fe103a2a362232525bb4b15..1bd9a1cdfeef534459f878e7b3ed09e76ec88647 100644 (file)
@@ -5,9 +5,9 @@
 **     Programmer: Kevin Rosenberg
 **
 **  This is part of the CTSim program
 **     Programmer: Kevin Rosenberg
 **
 **  This is part of the CTSim program
-**  Copyright (C) 1983-2000 Kevin Rosenberg
+**  Copyright (C) 1983-2001 Kevin Rosenberg
 **
 **
-**  $Id: sgp.cpp,v 1.27 2001/01/12 21:53:27 kevin Exp $
+**  $Id: sgp.cpp,v 1.28 2001/01/27 21:02:20 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
@@ -564,7 +564,7 @@ SGP::getCharHeight ()
   if (m_driver.isWX()) {
     dHeight = m_driver.idWX()->GetCharHeight();
     dHeight /= static_cast<double>(m_iPhysicalYSize);
   if (m_driver.isWX()) {
     dHeight = m_driver.idWX()->GetCharHeight();
     dHeight /= static_cast<double>(m_iPhysicalYSize);
-       dHeight /= (yv_max - yv_min); // scale to viewport;
+         dHeight /= (yv_max - yv_min); // scale to viewport;
   }
 #endif
   dHeight *= (yw_max - yw_min);  // scale to world coordinates
   }
 #endif
   dHeight *= (yw_max - yw_min);  // scale to world coordinates
@@ -580,7 +580,7 @@ SGP::getCharWidth ()
   if (m_driver.isWX()) {
     dWidth = m_driver.idWX()->GetCharWidth();
     dWidth /= static_cast<double>(m_iPhysicalXSize);
   if (m_driver.isWX()) {
     dWidth = m_driver.idWX()->GetCharWidth();
     dWidth /= static_cast<double>(m_iPhysicalXSize);
-       dWidth /= (xv_max - xv_min); // scale to viewport
+         dWidth /= (xv_max - xv_min); // scale to viewport
   }
 #endif
   dWidth *= (xw_max - xw_min); //scale to world coordinates
   }
 #endif
   dWidth *= (xw_max - xw_min); //scale to world coordinates
index 555d22eed1b9c771fdfb92d2e2c37fef87c5094a..bda792565100e5057cf91924008bc9f81d48953c 100644 (file)
@@ -7,9 +7,9 @@
 **     Date Started: June 2000
 **
 **  This is part of the CTSim program
 **     Date Started: June 2000
 **
 **  This is part of the CTSim program
-**  Copyright (C) 1983-2000 Kevin Rosenberg
+**  Copyright (c) 1983-2001 Kevin Rosenberg
 **
 **
-**  $Id: array2dfile.cpp,v 1.27 2001/01/02 16:02:13 kevin Exp $
+**  $Id: array2dfile.cpp,v 1.28 2001/01/27 21:02:20 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
index 8343314faca95ad774e4a6e3ba87e8cbd5f58a25..0a386fb84eba92577e9b76937b518553d2df68cf 100644 (file)
@@ -6,9 +6,9 @@
 **   Date Started: June 2000
 **
 **  This is part of the CTSim program
 **   Date Started: June 2000
 **
 **  This is part of the CTSim program
-**  Copyright (C) 1983-2000 Kevin Rosenberg
+**  Copyright (c) 1983-2001 Kevin Rosenberg
 **
 **
-**  $Id: backprojectors.cpp,v 1.23 2001/01/04 21:28:41 kevin Exp $
+**  $Id: backprojectors.cpp,v 1.24 2001/01/27 21:02:20 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
index c85802749998665c64f2ebd974578e08d60e4804..245a36e951e1900de860a0d593a6d9ecd58a49b1 100644 (file)
@@ -8,7 +8,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: reconstruct.cpp,v 1.7 2001/01/02 16:02:13 kevin Exp $
+**  $Id: reconstruct.cpp,v 1.8 2001/01/27 21:02:20 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
@@ -178,21 +178,26 @@ Reconstructor::reconstructView (int iStartView, int iViewCount, SGP* pSGP, bool
       ezplotProj.ezset ("xticks major 5");
       ezplotProj.ezset ("xlabel ");
       ezplotProj.ezset ("ylabel ");
       ezplotProj.ezset ("xticks major 5");
       ezplotProj.ezset ("xlabel ");
       ezplotProj.ezset ("ylabel ");
-      ezplotProj.ezset ("yporigin .5");
-      ezplotProj.ezset ("ylength .5");
+      ezplotProj.ezset ("yporigin 0.1");
+      ezplotProj.ezset ("ylength 0.45");
+      ezplotProj.ezset ("xlength 0.66");
       ezplotProj.ezset ("box.");
       ezplotProj.ezset ("grid.");
       ezplotProj.addCurve (m_adPlotXAxis, detval, m_rProj.nDet());
       ezplotProj.ezset ("box.");
       ezplotProj.ezset ("grid.");
       ezplotProj.addCurve (m_adPlotXAxis, detval, m_rProj.nDet());
+      pSGP->setTextPointSize(12);
       ezplotProj.plot (pSGP);
       ezplotProj.ezset ("clear");
       ezplotProj.ezset ("title Filtered Projection");
       ezplotProj.ezset ("xticks major 5");
       ezplotProj.ezset ("xlabel ");
       ezplotProj.ezset ("ylabel ");
       ezplotProj.plot (pSGP);
       ezplotProj.ezset ("clear");
       ezplotProj.ezset ("title Filtered Projection");
       ezplotProj.ezset ("xticks major 5");
       ezplotProj.ezset ("xlabel ");
       ezplotProj.ezset ("ylabel ");
-      ezplotProj.ezset ("ylength .5");
+      ezplotProj.ezset ("yporigin 0.55");
+      ezplotProj.ezset ("ylength 0.45");
+      ezplotProj.ezset ("xlength 0.66");
       ezplotProj.ezset ("box");
       ezplotProj.ezset ("grid");
       ezplotProj.addCurve (m_adPlotXAxis, adFilteredProj,  m_nFilteredProjections);
       ezplotProj.ezset ("box");
       ezplotProj.ezset ("grid");
       ezplotProj.addCurve (m_adPlotXAxis, adFilteredProj,  m_nFilteredProjections);
+      pSGP->setTextPointSize(12);
       ezplotProj.plot (pSGP);
     } 
 #endif  //HAVE_SGP
       ezplotProj.plot (pSGP);
     } 
 #endif  //HAVE_SGP
index 453e913f99feff3a30c17a635880512e89b1bdbc..d577ebb293cd45f11646e7241dd5a90af106c815 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: scanner.cpp,v 1.25 2001/01/17 11:00:18 kevin Exp $
+**  $Id: scanner.cpp,v 1.26 2001/01/27 21:02:20 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
@@ -318,6 +318,7 @@ Scanner::collectProjections (Projections& proj, const Phantom& phm, const int iS
       m_pSGP->moveAbs (0., 0.);
       m_pSGP->drawCircle (m_dFocalLength);
       m_pSGP->setColor (C_BLUE);
       m_pSGP->moveAbs (0., 0.);
       m_pSGP->drawCircle (m_dFocalLength);
       m_pSGP->setColor (C_BLUE);
+      m_pSGP->setTextPointSize (9);
       phm.draw (*m_pSGP);
       m_dTextHeight = m_pSGP->getCharHeight ();
       
       phm.draw (*m_pSGP);
       m_dTextHeight = m_pSGP->getCharHeight ();
       
@@ -535,13 +536,24 @@ Scanner::traceShowParamRasterOp (int iRasterOp, const char *szLabel, const char
 #ifdef HAVE_SGP
   if (m_pSGP) {
     m_pSGP->setRasterOp (iRasterOp);
 #ifdef HAVE_SGP
   if (m_pSGP) {
     m_pSGP->setRasterOp (iRasterOp);
-    double dYPos = m_dYMaxWin - (row * m_dTextHeight);
-    m_pSGP->moveAbs (m_dXMinWin, dYPos);
     m_pSGP->setTextColor (color, -1);
     m_pSGP->setTextColor (color, -1);
-    m_pSGP->drawText (szLabel);
     double dValueOffset = (m_dXMaxWin - m_dXMinWin) / 4;
     double dValueOffset = (m_dXMaxWin - m_dXMinWin) / 4;
-    m_pSGP->moveAbs (m_dXMinWin + dValueOffset, dYPos);
-    m_pSGP->drawText (szValue);
+    if (row < 4) {
+      double dYPos = m_dYMaxWin - (row * m_dTextHeight);
+      double dXPos = m_dXMinWin;
+      m_pSGP->moveAbs (dXPos, dYPos);
+      m_pSGP->drawText (szLabel);
+      m_pSGP->moveAbs (dXPos + dValueOffset, dYPos);
+      m_pSGP->drawText (szValue);
+    } else {
+      row -= 4;
+      double dYPos = m_dYMaxWin - (row * m_dTextHeight);
+      double dXPos = m_dXMinWin + (m_dXMaxWin - m_dXMinWin) * 0.5;
+      m_pSGP->moveAbs (dXPos, dYPos);
+      m_pSGP->drawText (szLabel);
+      m_pSGP->moveAbs (dXPos + dValueOffset, dYPos);
+      m_pSGP->drawText (szValue);
+    }
   } else 
 #endif
   {
   } else 
 #endif
   {
index e11e33442faf6802b024320ad5bc63c9c37f421e..44d982d2dff62c801bfaf61374e3fcf5056d24fb 100644 (file)
@@ -12,9 +12,9 @@
 **     the SNARK size of the object (u,v)
 **
 **  This is part of the CTSim program
 **     the SNARK size of the object (u,v)
 **
 **  This is part of the CTSim program
-**  Copyright (C) 1983-2000 Kevin Rosenberg
+**  Copyright (c) 1983-2001 Kevin Rosenberg
 **
 **
-**  $Id: clip.cpp,v 1.7 2001/01/02 16:02:13 kevin Exp $
+**  $Id: clip.cpp,v 1.8 2001/01/27 21:02:20 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
index fd895e861474dd31e6abcd45224f4bff96a3d634..64a189c5af7756bccb739cbcaf5e55d503ef5c19 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
 **  This is part of the CTSim program
 /*****************************************************************************
 **  This is part of the CTSim program
-**  Copyright (C) 1983-2000 Kevin Rosenberg
+**  Copyright (c) 1983-2001 Kevin Rosenberg
 **
 **
-**  $Id: consoleio.cpp,v 1.3 2000/06/22 10:17:28 kevin Exp $
+**  $Id: consoleio.cpp,v 1.4 2001/01/27 21:02:20 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
index e5faf802988efc0e3f4961a751874da4710f906f..7e23f3a7a7fbebc0c2f1266216076e075259ab1d 100644 (file)
@@ -3,16 +3,59 @@
 <pre>
 <h1>Build Log</h1>
 <h3>
 <pre>
 <h1>Build Log</h1>
 <h3>
---------------------Configuration: ctsim - Win32 Debug--------------------
+--------------------Configuration: libctsim - Win32 Debug--------------------
 </h3>
 <h3>Command Lines</h3>
 </h3>
 <h3>Command Lines</h3>
-Creating temporary file "C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP1C3.tmp" with contents
+Creating temporary file "C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP243.tmp" with contents
+[
+/nologo /G6 /MTd /W3 /Gm /GR /GX /Zi /Od /I "..\..\..\zlib" /I "..\..\INCLUDE" /I "..\..\getopt" /I "..\..\..\lpng108" /I "..\..\..\fftw-2.1.3\fftw" /I "..\..\..\fftw-2.1.3\rfftw" /I "..\..\..\wx2\include" /D "_DEBUG" /D "HAVE_WXWIN" /D "HAVE_STRING_H" /D "HAVE_GETOPT_H" /D "WIN32" /D "_MBCS" /D "_LIB" /D "MSVC" /D "HAVE_FFTW" /D "HAVE_PNG" /D "HAVE_SGP" /D "HAVE_WXWINDOWS" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /FR"Debug/" /Fp"Debug/libctsim.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 
+"C:\ctsim\libctsim\scanner.cpp"
+]
+Creating command line "cl.exe @C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP243.tmp" 
+Creating temporary file "C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP244.tmp" with contents
 [
 [
-/nologo /G6 /MTd /W3 /Gm /GR /GX /Zi /Od /I "\wx2\include" /I "." /I "..\..\include" /I "..\..\getopt" /I "..\..\..\lpng108" /I "..\..\..\zlib" /I "..\..\..\fftw-2.1.3\fftw" /I "..\..\..\fftw-2.1.3\rfftw" /D VERSION=\"2.5.0\" /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\views.cpp"
+/nologo /out:"Debug\libctsim.lib" 
+.\Debug\array2dfile.obj
+.\Debug\backprojectors.obj
+.\Debug\clip.obj
+.\Debug\consoleio.obj
+.\Debug\dlgezplot.obj
+.\Debug\ezplot.obj
+.\Debug\ezset.obj
+.\Debug\ezsupport.obj
+.\Debug\filter.obj
+.\Debug\fnetorderstream.obj
+.\Debug\fourier.obj
+.\Debug\getopt.obj
+.\Debug\getopt1.obj
+.\Debug\globalvars.obj
+.\Debug\hashtable.obj
+.\Debug\imagefile.obj
+.\Debug\mathfuncs.obj
+.\Debug\phantom.obj
+.\Debug\plotfile.obj
+.\Debug\pol.obj
+.\Debug\procsignal.obj
+.\Debug\projections.obj
+.\Debug\reconstruct.obj
+.\Debug\scanner.obj
+.\Debug\sgp.obj
+.\Debug\strfuncs.obj
+.\Debug\syserror.obj
+.\Debug\trace.obj
+.\Debug\transformmatrix.obj
+.\Debug\xform.obj
 ]
 ]
-Creating command line "cl.exe @C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP1C3.tmp" 
-Creating temporary file "C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP1C4.tmp" with contents
+Creating command line "link.exe -lib @C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP244.tmp"
+<h3>Output Window</h3>
+Compiling...
+scanner.cpp
+Creating library...
+<h3>
+--------------------Configuration: ctsim - Win32 Debug--------------------
+</h3>
+<h3>Command Lines</h3>
+Creating temporary file "C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP245.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 ..\..\..\lpng108\msvc\win32\libpng\lib_dbg\libpng.lib ..\..\..\lpng108\msvc\win32\zlib\lib_dbg\zlib.lib libcmtd.lib ..\..\..\fftw-2.1.3\Win32\FFTW2st\Debug\FFTW2st.lib ..\..\..\fftw-2.1.3\Win32\RFFTW2st\Debug\RFFTW2st.lib ../../../wx2/lib/wxd.lib xpmd.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/ctsim.pdb" /debug /machine:I386 /out:"Debug/ctsim.exe" /pdbtype:sept /libpath:"..\..\..\lpng108\msvc\win32\libpng\lib" /libpath:"..\..\..\lpng108\msvc\win32\zlib\lib" /libpath:"..\..\..\wx2\lib" 
 .\Debug\ctsim.obj
 [
 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 ..\..\..\lpng108\msvc\win32\libpng\lib_dbg\libpng.lib ..\..\..\lpng108\msvc\win32\zlib\lib_dbg\zlib.lib libcmtd.lib ..\..\..\fftw-2.1.3\Win32\FFTW2st\Debug\FFTW2st.lib ..\..\..\fftw-2.1.3\Win32\RFFTW2st\Debug\RFFTW2st.lib ../../../wx2/lib/wxd.lib xpmd.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/ctsim.pdb" /debug /machine:I386 /out:"Debug/ctsim.exe" /pdbtype:sept /libpath:"..\..\..\lpng108\msvc\win32\libpng\lib" /libpath:"..\..\..\lpng108\msvc\win32\zlib\lib" /libpath:"..\..\..\wx2\lib" 
 .\Debug\ctsim.obj
@@ -28,10 +71,8 @@ comctl32.lib winmm.lib rpcrt4.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib w
 \wx2\lib\wxd.lib
 \wx2\lib\xpmd.lib
 ]
 \wx2\lib\wxd.lib
 \wx2\lib\xpmd.lib
 ]
-Creating command line "link.exe @C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP1C4.tmp"
+Creating command line "link.exe @C:\DOCUME~1\kevin\LOCALS~1\Temp\RSP245.tmp"
 <h3>Output Window</h3>
 <h3>Output Window</h3>
-Compiling...
-views.cpp
 Linking...
 
 
 Linking...
 
 
index dfe49294280eaecdf2701fe921e74af9bc9cd857..c5888c2ad92d7e01cffcdf179a10bd3792f6db0f 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: dlgprojections.cpp,v 1.18 2001/01/17 11:00:18 kevin Exp $
+**  $Id: dlgprojections.cpp,v 1.19 2001/01/27 21:02:20 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
@@ -169,7 +169,15 @@ ProjectionsDialog::showView (int iViewNumber)
                        ezplot.ezset ("box");
                        ezplot.ezset ("yticks left");
                        ezplot.addCurve (detValues, detPos, detArray.nDet());
                        ezplot.ezset ("box");
                        ezplot.ezset ("yticks left");
                        ezplot.addCurve (detValues, detPos, detArray.nDet());
+#if 1
+      ezplot.ezset ("xporigin 0.67");
+      ezplot.ezset ("yporigin 0.10");
+      ezplot.ezset ("xlength  0.33");
+      ezplot.ezset ("ylength  0.90");
+                       m_pSGP->setViewport (0., 0., 1., 1.);
+#else
                        m_pSGP->setViewport (0.67, 0.1, 1., 1.);
                        m_pSGP->setViewport (0.67, 0.1, 1., 1.);
+#endif
                        ezplot.plot (m_pSGP);
                        delete detPos;
                }
                        ezplot.plot (m_pSGP);
                        delete detPos;
                }
index eedd7b826ec55be79247108b5e6f6d19b5ab4d51..deb76deb5e7c63fea4bf443601da838d9b3bf670 100644 (file)
@@ -7,9 +7,9 @@
 **   Date Started:  August 2000
 **
 **  This is part of the CTSim program
 **   Date Started:  August 2000
 **
 **  This is part of the CTSim program
-**  Copyright (C) 1983-2000 Kevin Rosenberg
+**  Copyright (C) 1983-2001 Kevin Rosenberg
 **
 **
-**  $Id: dlgprojections.h,v 1.5 2000/12/17 22:30:34 kevin Exp $
+**  $Id: dlgprojections.h,v 1.6 2001/01/27 21:02:20 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
index 4fd7b1af7e8bc971c1433520aee74a0418cd6dbd..6f4cff46f05f6fc78ea477fd3a59e2ad220cc920 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: dlgreconstruct.cpp,v 1.13 2001/01/02 16:02:13 kevin Exp $
+**  $Id: dlgreconstruct.cpp,v 1.14 2001/01/27 21:02:20 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
@@ -172,7 +172,7 @@ ReconstructDialog::showView (int iViewNumber, bool bBackprojectView)
                m_pSGP->drawText (szProgress);
                m_pSGP->setTextSize (dCharHeight);
                
                m_pSGP->drawText (szProgress);
                m_pSGP->setTextSize (dCharHeight);
                
-               m_pSGP->setViewport (0.0, 0.1, 0.66, 1.);
+               // m_pSGP->setViewport (0.0, 0.1, 0.66, 1.); // viewport equiv now done in subroutine
                m_rReconstructor.reconstructView (iViewNumber, 1, m_pSGP, bBackprojectView);
                
                ImageFileArrayConst v = m_rImageFile.getArray();
                m_rReconstructor.reconstructView (iViewNumber, 1, m_pSGP, bBackprojectView);
                
                ImageFileArrayConst v = m_rImageFile.getArray();