Version: 6.3.1
Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes

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.
virtual int DestroyTimer ()
 Stops the QTimer instance.

Static Public Member Functions

static
QVTK_GenericRenderWindowInteractor
New ()

Protected Slots

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

Protected Member Functions

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

Protected Attributes

QTimer * myTimer
 Qt timer device.

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

static QVTK_GenericRenderWindowInteractor* QVTK_GenericRenderWindowInteractor.New ( ) [static]
QVTK_GenericRenderWindowInteractor.vtkTypeMacro ( QVTK_GenericRenderWindowInteractor  ,
vtkGenericRenderWindowInteractor   
)
virtual int QVTK_GenericRenderWindowInteractor.CreateTimer ( int  ) [virtual]
int QVTK_GenericRenderWindowInteractor::DestroyTimer ( void  ) [virtual]

Stops the QTimer instance

void QVTK_GenericRenderWindowInteractor::OnTimeOut ( ) [protected, slot]

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


Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS