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

#include <SVTK_GenericRenderWindowInteractor.h>

Inheritance diagram for QVTK_GenericRenderWindowInteractor:
Inheritance graph

Public Member Functions

 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
QVTK_GenericRenderWindowInteractor
New ()
 

Protected Slots

void OnTimeOut ()
 The slot connects to QTimer::timeout signal to invoke vtkCommand::TimerEvent. More...
 

Protected Member Functions

 QVTK_GenericRenderWindowInteractor ()
 Instatiate QTimer. More...
 
 ~QVTK_GenericRenderWindowInteractor ()
 Destroy the instance of QTimer. More...
 

Protected Attributes

QTimer * myTimer
 Qt timer device. More...
 

Detailed Description

Introduction of the class is intended to implement Qt based CreateTimer and DestroyTimer functionality. The class intendes to implement platform indepenedant subclass of vtkRenderWindowInteractor. This is done by usage of Qt library.

Note
The Signal/Slot mechanism used by Qt requires that QObject appear as the first class when using multiple inheritance. Hence the order of the two classes QObject and vtkRenderWindowInteractor matters here. So, be careful, not to change the sequence of the inheritance by accident.

Constructor & Destructor Documentation

QVTK_GenericRenderWindowInteractor::QVTK_GenericRenderWindowInteractor ( )
protected

Constructor

QVTK_GenericRenderWindowInteractor::~QVTK_GenericRenderWindowInteractor ( )
protected

Destructor

Member Function Documentation

int QVTK_GenericRenderWindowInteractor::CreateTimer ( int   )
virtual

Starts the QTimer instance on defined microseconds

int QVTK_GenericRenderWindowInteractor::DestroyTimer ( void  )
virtual

Stops the QTimer instance

static QVTK_GenericRenderWindowInteractor* QVTK_GenericRenderWindowInteractor::New ( )
static
void QVTK_GenericRenderWindowInteractor::OnTimeOut ( )
protectedslot

The slot connects to QTimer::timeout signal to invoke vtkCommand::TimerEvent

QVTK_GenericRenderWindowInteractor::vtkTypeMacro ( QVTK_GenericRenderWindowInteractor  ,
vtkGenericRenderWindowInteractor   
)

Member Data Documentation

QTimer* QVTK_GenericRenderWindowInteractor::myTimer
protected

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