Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SVTK_GenericRenderWindowInteractor Class Reference

#include <SVTK_GenericRenderWindowInteractor.h>

Inheritance diagram for SVTK_GenericRenderWindowInteractor:
Inheritance graph

Public Member Functions

 vtkTypeMacro (SVTK_GenericRenderWindowInteractor, QVTK_GenericRenderWindowInteractor)
 
SVTK_SelectorGetSelector ()
 To get access to SVTK_Selector. More...
 
void SetSelector (SVTK_Selector *theSelector)
 To initialize mySelector field. More...
 
QWidgetGetRenderWidget ()
 To get access to QWidget, where vtkRenderWindow maps to. More...
 
void SetRenderWidget (QWidget *theRenderWidget)
 To initialize myRenderWidget field. More...
 
- Public Member Functions inherited from QVTK_GenericRenderWindowInteractor
 vtkTypeMacro (QVTK_GenericRenderWindowInteractor, vtkGenericRenderWindowInteractor)
 
virtual int CreateTimer (int)
 Starts the QTimer instance on defined microseconds. More...
 
virtual int DestroyTimer ()
 Stops the QTimer instance. More...
 

Static Public Member Functions

static
SVTK_GenericRenderWindowInteractor
New ()
 
- Static Public Member Functions inherited from QVTK_GenericRenderWindowInteractor
static
QVTK_GenericRenderWindowInteractor
New ()
 

Protected Member Functions

 SVTK_GenericRenderWindowInteractor ()
 
 ~SVTK_GenericRenderWindowInteractor ()
 
- Protected Member Functions inherited from QVTK_GenericRenderWindowInteractor
 QVTK_GenericRenderWindowInteractor ()
 Instatiate QTimer. More...
 
 ~QVTK_GenericRenderWindowInteractor ()
 Destroy the instance of QTimer. More...
 

Protected Attributes

SVTK_SelectormySelector
 Keeps a pointer to SVTK_Selector. More...
 
QWidgetmyRenderWidget
 Keeps a pointer to QWidget, where vtkRenderWindow maps to. More...
 
- Protected Attributes inherited from QVTK_GenericRenderWindowInteractor
QTimer * myTimer
 Qt timer device. More...
 

Additional Inherited Members

- Protected Slots inherited from QVTK_GenericRenderWindowInteractor
void OnTimeOut ()
 The slot connects to QTimer::timeout signal to invoke vtkCommand::TimerEvent. More...
 

Detailed Description

This class introduce SALOME specific to the base one In this class new members is added (mySelector and myRenderWidget). They are used for initialization of SVTK_InteractorStyle by redefinition of SVTK_InteractorStyle::SetInteractor method

Constructor & Destructor Documentation

SVTK_GenericRenderWindowInteractor::SVTK_GenericRenderWindowInteractor ( )
protected

Constructor

SVTK_GenericRenderWindowInteractor::~SVTK_GenericRenderWindowInteractor ( )
protected

Destructor

Member Function Documentation

QWidget * SVTK_GenericRenderWindowInteractor::GetRenderWidget ( )
SVTK_Selector * SVTK_GenericRenderWindowInteractor::GetSelector ( )

To get access to SVTK_Selector

static SVTK_GenericRenderWindowInteractor* SVTK_GenericRenderWindowInteractor::New ( )
static
void SVTK_GenericRenderWindowInteractor::SetRenderWidget ( QWidget theRenderWidget)
void SVTK_GenericRenderWindowInteractor::SetSelector ( SVTK_Selector theSelector)

To initialize mySelector field

Parameters
theSelector- new selector
SVTK_GenericRenderWindowInteractor::vtkTypeMacro ( SVTK_GenericRenderWindowInteractor  ,
QVTK_GenericRenderWindowInteractor   
)

Member Data Documentation

QWidget* SVTK_GenericRenderWindowInteractor::myRenderWidget
protected
SVTK_Selector* SVTK_GenericRenderWindowInteractor::mySelector
protected

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