IGSTK
igstkView2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Image Guided Surgery Software Toolkit
4  Module: $RCSfile: igstkView2D.h,v $
5  Language: C++
6  Date: $Date: 2008-02-11 01:41:51 $
7  Version: $Revision: 1.10 $
8 
9  Copyright (c) ISC Insight Software Consortium. All rights reserved.
10  See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __igstkView2D_h
18 #define __igstkView2D_h
19 
20 #include "igstkView.h"
21 
22 namespace igstk {
23 
24 
42 class View2D : public View
43 {
44 public:
45 
47 
49  void PrintSelf( std::ostream& os, ::itk::Indent indent ) const;
50 
53  typedef enum
54  {
58  }
60 
61 
63  void RequestSetOrientation( const OrientationType & orientation );
64 
65 protected:
67  View2D( );
68 
70  virtual ~View2D( void );
71 
72 private:
73 
75  OrientationType m_OrientationToBeSet;
76  OrientationType m_Orientation;
77 
78  View2D(const View2D& ); // purposely not implemented
79  View2D& operator=(const View2D& ); // purposely not implemented
80 
81 };
82 
83 } // end namespace igstk
84 
85 #endif
void PrintSelf(std::ostream &os,::itk::Indent indent) const
Print the object information in a stream.
virtual ~View2D(void)
Destructor.
void RequestSetOrientation(const OrientationType &orientation)
Select a slice orientation.
Display graphical representations of surgical scenes.
Definition: igstkView.h:73
Provides functionality of rendering a scene in a 2D window.
Definition: igstkView2D.h:42
igstkStandardClassTraitsMacro(View2D, View)
OrientationType
Orientation Type: Publically declared orientation types supported for slice viewing.
Definition: igstkView2D.h:53
View2D()
Constructor.