cmtkQtTriplanarWindowViewActions.cxx

Go to the documentation of this file.
00001 /*
00002 //
00003 //  Copyright 1997-2009 Torsten Rohlfing
00004 //
00005 //  Copyright 2004-2010 SRI International
00006 //
00007 //  This file is part of the Computational Morphometry Toolkit.
00008 //
00009 //  http://www.nitrc.org/projects/cmtk/
00010 //
00011 //  The Computational Morphometry Toolkit is free software: you can
00012 //  redistribute it and/or modify it under the terms of the GNU General Public
00013 //  License as published by the Free Software Foundation, either version 3 of
00014 //  the License, or (at your option) any later version.
00015 //
00016 //  The Computational Morphometry Toolkit is distributed in the hope that it
00017 //  will be useful, but WITHOUT ANY WARRANTY; without even the implied
00018 //  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019 //  GNU General Public License for more details.
00020 //
00021 //  You should have received a copy of the GNU General Public License along
00022 //  with the Computational Morphometry Toolkit.  If not, see
00023 //  <http://www.gnu.org/licenses/>.
00024 //
00025 //  $Revision: 5806 $
00026 //
00027 //  $LastChangedDate: 2009-05-29 13:36:00 -0700 (Fri, 29 May 2009) $
00028 //
00029 //  $LastChangedBy: torsten $
00030 //
00031 */
00032 
00033 #include "cmtkQtTriplanarWindow.h"
00034 
00035 namespace
00036 cmtk
00037 {
00038 
00039 void 
00040 QtTriplanarWindow::slotView25()
00041 {
00042   this->slotSetZoom( 25 );
00043 }
00044 
00045 void 
00046 QtTriplanarWindow::slotView33()
00047 {
00048   this->slotSetZoom( 33 );
00049 }
00050 
00051 void 
00052 QtTriplanarWindow::slotView50()
00053 {
00054   this->slotSetZoom( 50 );
00055 }
00056 
00057 void 
00058 QtTriplanarWindow::slotView100()
00059 {
00060   this->slotSetZoom( 100 );
00061 }
00062 
00063 void 
00064 QtTriplanarWindow::slotView200()
00065 {
00066   this->slotSetZoom( 200 );
00067 }
00068 
00069 void 
00070 QtTriplanarWindow::slotView300()
00071 {
00072   this->slotSetZoom( 300 );
00073 }
00074 
00075 void 
00076 QtTriplanarWindow::slotView400()
00077 {
00078   this->slotSetZoom( 400 );
00079 }
00080 
00081 void 
00082 QtTriplanarWindow::slotView500()
00083 {
00084   this->slotSetZoom( 500 );
00085 }
00086 
00087 void 
00088 QtTriplanarWindow::slotViewInterpolation()
00089 {
00090   this->slotRenderAll();
00091 }
00092 
00093 void
00094 QtTriplanarWindow::slotViewCrosshair()
00095 {
00096   const bool mode = this->m_CrosshairAction->isChecked();
00097   ScrollRenderViewAx->GetRenderImage()->SetCrosshairMode( mode );
00098   ScrollRenderViewCo->GetRenderImage()->SetCrosshairMode( mode );
00099   ScrollRenderViewSa->GetRenderImage()->SetCrosshairMode( mode );
00100   this->slotRenderAll();
00101 }
00102       
00103 void
00104 QtTriplanarWindow::slotViewCheckerbox()
00105 {
00106   this->slotRenderAll();
00107 }
00108       
00109 } // namespace cmtk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines