VTK
vtkGenericRenderWindowInteractor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGenericRenderWindowInteractor.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 =========================================================================*/
28 #ifndef vtkGenericRenderWindowInteractor_h
29 #define vtkGenericRenderWindowInteractor_h
30 
31 #include "vtkRenderingCoreModule.h" // For export macro
33 
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
44  virtual void TimerEvent();
45 
47 
58  vtkSetMacro(TimerEventResetsTimer, int);
59  vtkGetMacro(TimerEventResetsTimer, int);
60  vtkBooleanMacro(TimerEventResetsTimer, int);
62 
63 protected:
66 
68 
70  virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration);
71  virtual int InternalDestroyTimer(int platformTimerId);
73 
75 
76 private:
78  void operator=(const vtkGenericRenderWindowInteractor&); // Not implemented.
79 };
80 
81 #endif
platform-independent programmable render window interactor.
virtual int InternalDestroyTimer(int platformTimerId)
void PrintSelf(ostream &os, vtkIndent indent)
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
static vtkRenderWindowInteractor * New()
platform-independent render window interaction including picking and frame rate control.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGCORE_EXPORT