/usr/include/vtk-7.1/vtkGenericRenderWindowInteractor.h is in libvtk7-dev 7.1.1+dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkGenericRenderWindowInteractor.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/**
* @class vtkGenericRenderWindowInteractor
* @brief platform-independent programmable render window interactor.
*
*
* vtkGenericRenderWindowInteractor provides a way to translate native
* mouse and keyboard events into vtk Events. By calling the methods on
* this class, vtk events will be invoked. This will allow scripting
* languages to use vtkInteractorStyles and 3D widgets.
*/
#ifndef vtkGenericRenderWindowInteractor_h
#define vtkGenericRenderWindowInteractor_h
#include "vtkRenderingCoreModule.h" // For export macro
#include "vtkRenderWindowInteractor.h"
class VTKRENDERINGCORE_EXPORT vtkGenericRenderWindowInteractor : public vtkRenderWindowInteractor
{
public:
static vtkGenericRenderWindowInteractor *New();
vtkTypeMacro(vtkGenericRenderWindowInteractor,vtkRenderWindowInteractor);
void PrintSelf(ostream& os, vtkIndent indent);
/**
* Fire TimerEvent. SetEventInformation should be called just prior
* to calling any of these methods. These methods will Invoke the
* corresponding vtk event.
*/
virtual void TimerEvent();
//@{
/**
* Flag that indicates whether the TimerEvent method should call ResetTimer
* to simulate repeating timers with an endless stream of one shot timers.
* By default this flag is on and all repeating timers are implemented as a
* stream of sequential one shot timers. If the observer of
* CreateTimerEvent actually creates a "natively repeating" timer, setting
* this flag to off will prevent (perhaps many many) unnecessary calls to
* ResetTimer. Having the flag on by default means that "natively one
* shot" timers can be either one shot or repeating timers with no
* additional work. Also, "natively repeating" timers still work with the
* default setting, but with potentially many create and destroy calls.
*/
vtkSetMacro(TimerEventResetsTimer, int);
vtkGetMacro(TimerEventResetsTimer, int);
vtkBooleanMacro(TimerEventResetsTimer, int);
//@}
protected:
vtkGenericRenderWindowInteractor();
~vtkGenericRenderWindowInteractor();
//@{
/**
* Generic internal timer methods. See the superclass for detailed
* documentation.
*/
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration);
virtual int InternalDestroyTimer(int platformTimerId);
//@}
int TimerEventResetsTimer;
private:
vtkGenericRenderWindowInteractor(const vtkGenericRenderWindowInteractor&) VTK_DELETE_FUNCTION;
void operator=(const vtkGenericRenderWindowInteractor&) VTK_DELETE_FUNCTION;
};
#endif
|