VTK  9.3.20240419
QVTKInteractorInternal.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2004 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
4 
5 /*========================================================================
6  For general information about using VTK and Qt, see:
7  http://www.trolltech.com/products/3rdparty/vtksupport.html
8 =========================================================================*/
9 
10 #ifndef Q_VTK_INTERACTOR_INTERNAL_H
11 #define Q_VTK_INTERACTOR_INTERNAL_H
12 
13 #include <QtCore/QObject>
14 
15 #include <map>
16 
17 class QSignalMapper;
18 class QTimer;
19 
20 VTK_ABI_NAMESPACE_BEGIN
21 class QVTKInteractor;
22 
23 // internal class, do not use
24 class QVTKInteractorInternal : public QObject
25 {
26  Q_OBJECT
27 public:
30 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
31  void TimerEvent(int id);
32 
33 public: // NOLINT(readability-redundant-access-specifiers)
34  QSignalMapper* SignalMapper;
35  typedef std::map<int, QTimer*> TimerMap;
38 };
39 
40 VTK_ABI_NAMESPACE_END
41 #endif
std::map< int, QTimer * > TimerMap
QVTKInteractorInternal(QVTKInteractor *p)
~QVTKInteractorInternal() override
void TimerEvent(int id)
an interactor for QVTKOpenGLNativeWidget (and QVTKWiget).