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]

List of all members.

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.
void SetRenderWindowSize (View *view, int width, int height)
 Set the RenderWindow size.
void SetPickedPointCoordinates (View *view, double x, double y)
 Set the PickedPoint coordinates.

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 (  )  [inline, virtual]

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.

Reimplemented from igstk::ViewProxyBase.

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.

Reimplemented from igstk::ViewProxyBase.

Definition at line 91 of file igstkViewProxy.h.


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

Generated by  doxygen 1.6.2