00001 /*========================================================================= 00002 00003 Program: Image Guided Surgery Software Toolkit 00004 Module: $RCSfile: igstkView2D.h,v $ 00005 Language: C++ 00006 Date: $Date: 2008-02-11 01:41:51 $ 00007 Version: $Revision: 1.10 $ 00008 00009 Copyright (c) ISC Insight Software Consortium. All rights reserved. 00010 See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef __igstkView2D_h 00018 #define __igstkView2D_h 00019 00020 #include "igstkView.h" 00021 00022 namespace igstk { 00023 00024 00042 class View2D : public View 00043 { 00044 public: 00045 00046 igstkStandardClassTraitsMacro( View2D, View ); 00047 00049 void PrintSelf( std::ostream& os, ::itk::Indent indent ) const; 00050 00053 typedef enum 00054 { 00055 Sagittal, 00056 Coronal, 00057 Axial 00058 } 00059 OrientationType; 00060 00061 00063 void RequestSetOrientation( const OrientationType & orientation ); 00064 00065 protected: 00067 View2D( ); 00068 00070 virtual ~View2D( void ); 00071 00072 private: 00073 00075 OrientationType m_OrientationToBeSet; 00076 OrientationType m_Orientation; 00077 00078 View2D(const View2D& ); // purposely not implemented 00079 View2D& operator=(const View2D& ); // purposely not implemented 00080 00081 }; 00082 00083 } // end namespace igstk 00084 00085 #endif