r1865: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 3 May 2002 01:01:15 +0000 (01:01 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 3 May 2002 01:01:15 +0000 (01:01 +0000)
ChangeLog
NEWS
debian/.cvsignore
debian/control
debian/dirs
debian/rules
src/ctsim.cpp
src/views.cpp

index 72705728b1ba5a205607e71b6940368e1ff8ec18..c5db37d7a7e06771933dd3f26a278da5f8893eed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,10 +2,6 @@
 
        New Features:
 
-       -- ctsim: Added direct Fourier reconstructions (Thanks to 
-       Edgar Angeles for help with understanding FFT symmetry of
-       the projections)
-       
        -- ctsim: Added tips to be displayed at startup and via the help menu.
        -- ctsim: Added center-detector concept. Allow for detector array
        to be any arbitrary distance from center of scanner. As a result,
diff --git a/NEWS b/NEWS
index ffbf507f25160955f8fb8fb49bb82204f03ce311..a45650142ec2a169c23dc1e1d23f7fdc4ffdd294 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,13 +1,12 @@
 Version 3.5 New Features
 
-* New reconstruction method: Direct Fourier!
+* New reconstruction technique: Interpolate divergent beams to
+  parallel beams for faster reconstructions.
 
 * Multithreading for running length processes in background. Also
   takes advantage of multiple-CPU's in SMP systems for speed improvements
   with parallel processing.
 
-* Interpolate divergent beams to parallel beams for faster reconstructions.
-
 * Region of interest can be specified for reconstruction zooming.
 
 * Import PNG, PPM, and PGM images
@@ -18,7 +17,7 @@ Version 3.5 New Features
 
 * Can read and reconstruct SIEMENS AR.STAR DICOM raw data files
 
-* Scattergram of T-Theta sampling. Useful for understand divergent beam
+* Scattergram of T-Theta sampling. Useful for understanding divergent beam
   scanning.
 
 * Startup-tips to help new users learn features.
index 7102496719c8bfa20b8c435e814e9223226db30f..1f0ebdbf7dbdd429da4bb33b755f12c6e23e1c17 100644 (file)
@@ -1,4 +1,4 @@
-cl-uffi
+ctsim
 files
-cl-uffi.prerm.debhelper
-cl-uffi.postinst.debhelper
+ctsim.prerm.debhelper
+ctsim.postinst.debhelper
index e3fb72135f8d71fded77d3db097572558aa28a65..f8792df3f1db2a9e3884874198d1a70601f50aab 100644 (file)
@@ -2,11 +2,11 @@ Source: ctsim
 Section: science
 Priority: optional
 Maintainer: Kevin Rosenberg <kevin@rosenberg.net>
-Build-Depends: debhelper (>> 3.0.0), wxwin2.2-headers, fftw-dev, libreadline4-dev
+Build-Depends: debhelper (>> 3.0.0), wxwin2.2-headers, fftw-dev, libreadline4-dev, xlibmesa-dev, libwxgtk2.2-dev , glutg3-dev
 Standards-Version: 3.5.2
 
 Package: ctsim
 Architecture: any
-Depends: fftw2, libwxgtk2.2, libreadline4
+Depends: fftw2, libwxgtk2.2, libreadline4, glutg3, xlibmesa3
 Description: Computed Tomograpy Simulator
  CTSim provides an interactive computed tomography simulator.
index d42d3c0b4df6e2c328ad74b6bb5fc6e7512deeb5..d33a97941e714b57533e2916b51e1370918a7159 100644 (file)
@@ -3,3 +3,4 @@
 /usr/share
 /usr/share/doc
 /usr/share/man
+/usr/share/ctsim
index 3b1475b04fc62b8b625b5443870d05f4a5419a37..e076c2a37eb46392b2e8c4fa8e89c6b92d2e482d 100755 (executable)
@@ -11,6 +11,7 @@ export DH_COMPAT=3
 pkg    := ctsim
 prefix := debian/$(pkg)
 DESTDIR := `pwd`/$(prefix)
+SHAREDOCDIR := $(DESTDIR)/usr/share/$(pkg)
 
 INSTALL        := install
 INSTALLFLAGS   := -g root -o root -m 0644
@@ -30,6 +31,7 @@ build-stamp: configure-stamp
        dh_testdir
        # Add here commands to compile the package.
        $(MAKE) 
+       (cd doc; $(MAKE) htmlhelp)
        touch build-stamp
 
 clean:
@@ -51,6 +53,7 @@ install: build
        # Add here commands to install the package into debian/ctsim.
        # install ${INSTALLDIRFLAGS} 
        ${MAKE} install
+       $(INSTALL) $(INSTALLFLAGS) $(shell echo src/*.htb) $(SHAREDOCDIR)
 
 # Build architecture-independent files here.
 binary-indep: build install
index d8b073725c9ccf1f2fae66a7ede2901ff4cfb22e..ab1271c172ca2d15d7cb0dea3dcef78191c5e26d 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: ctsim.cpp,v 1.105 2002/05/03 00:40:30 kevin Exp $
+**  $Id: ctsim.cpp,v 1.106 2002/05/03 01:01:15 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
@@ -70,7 +70,7 @@
 #endif
 #endif
 
-static const char* rcsindent = "$Id: ctsim.cpp,v 1.105 2002/05/03 00:40:30 kevin Exp $";
+static const char* rcsindent = "$Id: ctsim.cpp,v 1.106 2002/05/03 01:01:15 kevin Exp $";
 
 struct option CTSimApp::ctsimOptions[] = 
 {
@@ -202,7 +202,7 @@ CTSimApp::OnInit()
     *m_pLog << "Cannot initialize the Windows Help system" << "\n";
 #else
   if (! m_pFrame->getHtmlHelpController().Initialize(helpDir + "/ctsim") &&
-    ! m_pFrame->getHtmlHelpController().Initialize("/usr/local/man/ctsim"))
+    ! m_pFrame->getHtmlHelpController().Initialize("/usr/share/ctsim"))
     *m_pLog << "Cannot initialize the HTML Help system" << "\n";
   else {
     if (::wxDirExists ("/tmp"))
index 1ce18dbda6210b05b51697e6c446da78820cfdb9..03d366d97bfc74935215a3924fc94e4b8d40b555 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: views.cpp,v 1.151 2002/05/03 00:40:30 kevin Exp $
+**  $Id: views.cpp,v 1.152 2002/05/03 01:01:15 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
@@ -2256,7 +2256,7 @@ PhantomFileView::OnRasterize (wxCommandEvent& event)
     *theApp->getLog() << os.str().c_str() << "\n";
     pImageFile->labelAdd (os.str().c_str(), timer.timerEnd());
 
-    pRasterDoc->UpdateAllViews();
+    pRasterDoc->UpdateAllViews(this);
     pRasterDoc->getView()->setInitialClientSize();
     pRasterDoc->Activate();
   }
@@ -2542,6 +2542,7 @@ ProjectionFileView::OnConvertRectangular (wxCommandEvent& event)
   pIF->labelAdd (os.str().c_str());
   if (theApp->getAskDeleteNewDocs())
     pRectDoc->Modify (true);
+  pRectDoc->UpdateAllViews();
   pRectDoc->getView()->setInitialClientSize();
   pRectDoc->Activate();
 }
@@ -2623,7 +2624,7 @@ ProjectionFileView::OnConvertFFTPolar (wxCommandEvent& event)
     pIF->labelAdd (os.str().c_str());
     if (theApp->getAskDeleteNewDocs())
       pPolarDoc->Modify (true);
-    pPolarDoc->UpdateAllViews ();
+    pPolarDoc->UpdateAllViews (this);
     pPolarDoc->getView()->setInitialClientSize();
     pPolarDoc->Activate();
   }
@@ -3673,7 +3674,7 @@ TextFileCanvas::~TextFileCanvas ()
 }
 
 wxSize
-PlotFileCanvas::GetBestSize() const
+TextFileCanvas::GetBestSize() const
 {
   int xSize, ySize;
   theApp->getMainFrame()->GetClientSize (&xSize, &ySize);