IGSTK
Public Types | Public Member Functions | List of all members
igstk::ViewProxy< WidgetType > Class Template Reference

Link widget classes with the view class. More...

#include <igstkViewProxy.h>

Inheritance diagram for igstk::ViewProxy< WidgetType >:
Inheritance graph
[legend]
Collaboration diagram for igstk::ViewProxy< WidgetType >:
Collaboration graph
[legend]

Public Types

typedef ViewProxy Self
 
typedef ViewProxyBase Superclass
 

Public Member Functions

virtual const char * GetNameOfClass () const
 
 ViewProxy ()
 
 ViewProxy (WidgetType *widget)
 
virtual ~ViewProxy ()
 
void Connect (View *view)
 Connect the widget with the view. More...
 
void SetRenderWindowSize (View *view, int width, int height)
 Set the RenderWindow size. More...
 
void SetPickedPointCoordinates (View *view, double x, double y)
 Set the PickedPoint coordinates. More...
 

Additional Inherited Members

- Protected Member Functions inherited from igstk::ViewProxyBase
vtkRenderer * GetRenderer (View *view)
 Get the VTK renderer. More...
 
vtkRenderWindowInteractor * GetRenderWindowInteractor (View *view)
 Get the VTK RenderWindow interactor. More...
 
void InitializeInteractor (View *view)
 Initialize VTK RenderWindow interactor. More...
 
void SetRenderWindowSize (View *view, int width, int height)
 Set VTK RenderWindow Size. More...
 
void SetPickedPointCoordinates (View *view, double xPickedPoint, double yPickedPoint)
 Set PickedPoint coordinates. More...
 

Detailed Description

template<class WidgetType>
class igstk::ViewProxy< WidgetType >

Link widget classes with the view class.

This class is a a proxy class designed to access private member data of the view class and pass the values to widget classes. This class is templated over widget type.

See Also
View

Definition at line 41 of file igstkViewProxy.h.

Member Typedef Documentation

template<class WidgetType>
typedef ViewProxy igstk::ViewProxy< WidgetType >::Self

Definition at line 45 of file igstkViewProxy.h.

template<class WidgetType>
typedef ViewProxyBase igstk::ViewProxy< WidgetType >::Superclass

Definition at line 46 of file igstkViewProxy.h.

Constructor & Destructor Documentation

template<class WidgetType>
igstk::ViewProxy< WidgetType >::ViewProxy ( )
inline

Definition at line 50 of file igstkViewProxy.h.

template<class WidgetType>
igstk::ViewProxy< WidgetType >::ViewProxy ( WidgetType *  widget)
inline

Definition at line 55 of file igstkViewProxy.h.

template<class WidgetType>
virtual igstk::ViewProxy< WidgetType >::~ViewProxy ( )
inlinevirtual

Definition at line 60 of file igstkViewProxy.h.

Member Function Documentation

template<class WidgetType>
virtual const char* igstk::ViewProxy< WidgetType >::GetNameOfClass ( ) const
virtual
template<class WidgetType>
void igstk::ViewProxy< WidgetType >::Connect ( View view)
inline

Connect the widget with the view.

Definition at line 63 of file igstkViewProxy.h.

template<class WidgetType>
void igstk::ViewProxy< WidgetType >::SetRenderWindowSize ( View view,
int  width,
int  height 
)
inline

Set the RenderWindow size.

Definition at line 84 of file igstkViewProxy.h.

template<class WidgetType>
void igstk::ViewProxy< WidgetType >::SetPickedPointCoordinates ( View view,
double  x,
double  y 
)
inline

Set the PickedPoint coordinates.

Definition at line 91 of file igstkViewProxy.h.


The documentation for this class was generated from the following file: