IGSTK
igstkViewProxyBase.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Image Guided Surgery Software Toolkit
4  Module: $RCSfile: igstkViewProxyBase.h,v $
5  Language: C++
6  Date: $Date: 2008-07-15 12:56:45 $
7  Version: $Revision: 1.2 $
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 __igstkViewProxyBase_h
18 #define __igstkViewProxyBase_h
19 
20 class vtkRenderer;
21 class vtkRenderWindowInteractor;
22 
23 namespace igstk {
24 
25 class View;
26 
40 {
41 public:
42 
43 protected:
45  vtkRenderer * GetRenderer( View * view );
46 
48  vtkRenderWindowInteractor * GetRenderWindowInteractor( View * view );
49 
51  void InitializeInteractor( View * view );
52 
54  void SetRenderWindowSize( View * view, int width, int height );
55 
57  void SetPickedPointCoordinates( View * view,
58  double xPickedPoint ,
59  double yPickedPoint );
60 private:
61 
62 };
63 
64 } // end namespace igstk
65 
66 #endif
vtkRenderer * GetRenderer(View *view)
Get the VTK renderer.
void SetRenderWindowSize(View *view, int width, int height)
Set VTK RenderWindow Size.
void InitializeInteractor(View *view)
Initialize VTK RenderWindow interactor.
void SetPickedPointCoordinates(View *view, double xPickedPoint, double yPickedPoint)
Set PickedPoint coordinates.
Display graphical representations of surgical scenes.
Definition: igstkView.h:73
A base class for widget type templated proxy classes.
vtkRenderWindowInteractor * GetRenderWindowInteractor(View *view)
Get the VTK RenderWindow interactor.