VTK  9.1.0
QVTKInteractorInternal.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: QVTKInteractor.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15
16/*=========================================================================
17
18 Copyright 2004 Sandia Corporation.
19 Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
20 license for use of this work by or on behalf of the
21 U.S. Government. Redistribution and use in source and binary forms, with
22 or without modification, are permitted provided that this Notice and any
23 statement of authorship are reproduced on all copies.
24
25=========================================================================*/
26
27/*========================================================================
28 For general information about using VTK and Qt, see:
29 http://www.trolltech.com/products/3rdparty/vtksupport.html
30=========================================================================*/
31
32#ifndef Q_VTK_INTERACTOR_INTERNAL_H
33#define Q_VTK_INTERACTOR_INTERNAL_H
34
35#include <QtCore/QObject>
36
37#include <map>
38class QVTKInteractor;
39class QSignalMapper;
40class QTimer;
41
42// internal class, do not use
43class QVTKInteractorInternal : public QObject
44{
45 Q_OBJECT
46public:
49public Q_SLOTS:
50 void TimerEvent(int id);
51
52public:
53 QSignalMapper* SignalMapper;
54 typedef std::map<int, QTimer*> TimerMap;
57};
58
59#endif
std::map< int, QTimer * > TimerMap
QVTKInteractorInternal(QVTKInteractor *p)
~QVTKInteractorInternal() override
void TimerEvent(int id)
an interactor for QVTKOpenGLNativeWidget (and QVTKWiget).