VTK
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 "vtkConfigure.h" //for VTK_OVERRIDE
36 
37 #include <QtCore/QObject>
38 
39 #include <map>
40 class QVTKInteractor;
41 class QSignalMapper;
42 class QTimer;
43 
44 // internal class, do not use
45 class QVTKInteractorInternal : public QObject
46 {
47  Q_OBJECT
48 public:
50  ~QVTKInteractorInternal() VTK_OVERRIDE;
51 public Q_SLOTS:
52  void TimerEvent(int id);
53 public:
54  QSignalMapper* SignalMapper;
55  typedef std::map<int, QTimer*> TimerMap;
58 };
59 
60 
61 #endif
std::map< int, QTimer * > TimerMap
QVTKInteractorInternal(QVTKInteractor *p)
void TimerEvent(int id)
~QVTKInteractorInternal() override