X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.h;h=9fb14a1bb3dcd8038252cf20b7ffeeadbd277c68;hb=ebb615bb35cf344a765aa65414982904e59f961b;hp=71efce20081a48f79fc7bc5ce942fce6825697c4;hpb=a05f3cb550877e94aa118cc04b361c0c8fdb3dc3;p=ctsim.git diff --git a/src/views.h b/src/views.h index 71efce2..9fb14a1 100644 --- a/src/views.h +++ b/src/views.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: views.h,v 1.8 2000/08/31 08:38:58 kevin Exp $ +** $Id: views.h,v 1.11 2000/12/18 09:31:26 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 @@ -67,6 +67,9 @@ public: void OnProperties (wxCommandEvent& event); void OnScaleAuto (wxCommandEvent& event); void OnScaleMinMax (wxCommandEvent& event); + + wxFrame* getFrame() + { return m_frame; } ImageFileDocument* GetDocument(void) { return dynamic_cast(wxView::GetDocument()); } @@ -102,6 +105,18 @@ private: ProjectionFileCanvas *m_canvas; wxFrame *m_frame; + int m_iDefaultNX; + int m_iDefaultNY; + int m_iDefaultFilter; + int m_iDefaultFilterMethod; + double m_dDefaultFilterParam; + int m_iDefaultFilterGeneration; + int m_iDefaultZeropad; + int m_iDefaultInterpolation; + int m_iDefaultInterpParam; + int m_iDefaultBackprojector; + int m_iDefaultTrace; + public: ProjectionFileView(void); virtual ~ProjectionFileView(void); @@ -112,6 +127,9 @@ public: bool OnClose (bool deleteWindow = true); void OnProperties (wxCommandEvent& event); void OnReconstruct (wxCommandEvent& event); + + wxFrame* getFrame () + { return m_frame; } ProjectionFileDocument* GetDocument(void) { return dynamic_cast(wxView::GetDocument()); } @@ -140,6 +158,15 @@ private: PhantomCanvas *m_canvas; wxFrame *m_frame; + int m_iDefaultNDet; + int m_iDefaultNView; + int m_iDefaultNSample; + int m_iDefaultGeometry; + int m_iDefaultTrace; + double m_dDefaultRotation; + double m_dDefaultFocalLength; + double m_dDefaultFieldOfView; + public: PhantomView(void); virtual ~PhantomView(void);