IGSTK
/tmp/buildd/igstk-4.4.0/Source/igstkViewProxyBase.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Image Guided Surgery Software Toolkit
00004   Module:    $RCSfile: igstkViewProxyBase.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-07-15 12:56:45 $
00007   Version:   $Revision: 1.2 $
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 __igstkViewProxyBase_h
00018 #define __igstkViewProxyBase_h
00019 
00020 class vtkRenderer;
00021 class vtkRenderWindowInteractor;
00022 
00023 namespace igstk {
00024 
00025 class View;
00026 
00039 class ViewProxyBase 
00040 {
00041 public:
00042 
00043 protected:
00045   vtkRenderer *               GetRenderer( View * view );
00046 
00048   vtkRenderWindowInteractor * GetRenderWindowInteractor( View * view );
00049 
00051   void InitializeInteractor( View * view );
00052 
00054   void SetRenderWindowSize( View * view, int width, int height );
00055 
00057   void SetPickedPointCoordinates( View * view, 
00058                                   double xPickedPoint ,
00059                                   double yPickedPoint );
00060 private:
00061 
00062 };
00063 
00064 } // end namespace igstk
00065 
00066 #endif