Version: 9.15.0
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_GenericRenderWindowInteractorNew ()
 

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::QVTK_GenericRenderWindowInteractor ( )
protected

Instatiate QTimer.

◆ ~QVTK_GenericRenderWindowInteractor()

QVTK_GenericRenderWindowInteractor::~QVTK_GenericRenderWindowInteractor ( )
protected

Destroy the instance of QTimer.

Destructor

Member Function Documentation

◆ DestroyTimer()

int QVTK_GenericRenderWindowInteractor::DestroyTimer ( void  )
virtual

Stops the QTimer instance.

Stops the QTimer instance

◆ New()

static QVTK_GenericRenderWindowInteractor* QVTK_GenericRenderWindowInteractor::New ( )
static

◆ OnTimeOut

void QVTK_GenericRenderWindowInteractor::OnTimeOut ( )
protectedslot

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

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

◆ vtkTypeMacro()

QVTK_GenericRenderWindowInteractor::vtkTypeMacro ( QVTK_GenericRenderWindowInteractor  ,
vtkGenericRenderWindowInteractor   
)

Starts the QTimer instance on defined microseconds.

Member Data Documentation

◆ myTimer

QTimer* QVTK_GenericRenderWindowInteractor::myTimer
protected

Qt timer device.


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