VTK
9.0.1
Rendering
UI
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
=========================================================================*/
29
#ifndef vtkGenericRenderWindowInteractor_h
30
#define vtkGenericRenderWindowInteractor_h
31
32
#include "
vtkRenderWindowInteractor.h
"
33
#include "vtkRenderingUIModule.h"
// For export macro
34
35
class
VTKRENDERINGUI_EXPORT
vtkGenericRenderWindowInteractor
:
public
vtkRenderWindowInteractor
36
{
37
public
:
38
static
vtkGenericRenderWindowInteractor
*
New
();
39
vtkTypeMacro(
vtkGenericRenderWindowInteractor
,
vtkRenderWindowInteractor
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
41
47
virtual
void
TimerEvent();
48
50
62
vtkSetMacro(TimerEventResetsTimer,
vtkTypeBool
);
63
vtkGetMacro(TimerEventResetsTimer,
vtkTypeBool
);
64
vtkBooleanMacro(TimerEventResetsTimer,
vtkTypeBool
);
66
67
protected
:
68
vtkGenericRenderWindowInteractor
();
69
~
vtkGenericRenderWindowInteractor
()
override
;
70
72
76
int
InternalCreateTimer
(
int
timerId,
int
timerType,
unsigned
long
duration)
override
;
77
int
InternalDestroyTimer
(
int
platformTimerId)
override
;
79
80
vtkTypeBool
TimerEventResetsTimer
;
81
82
private
:
83
vtkGenericRenderWindowInteractor
(
const
vtkGenericRenderWindowInteractor
&) =
delete
;
84
void
operator=(
const
vtkGenericRenderWindowInteractor
&) =
delete
;
85
};
86
87
#endif
vtkRenderWindowInteractor::New
static vtkRenderWindowInteractor * New()
vtkRenderWindowInteractor::InternalCreateTimer
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
vtkRenderWindowInteractor::InternalDestroyTimer
virtual int InternalDestroyTimer(int platformTimerId)
vtkRenderWindowInteractor::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGenericRenderWindowInteractor::TimerEventResetsTimer
vtkTypeBool TimerEventResetsTimer
Definition:
vtkGenericRenderWindowInteractor.h:80
vtkGenericRenderWindowInteractor
platform-independent programmable render window interactor.
Definition:
vtkGenericRenderWindowInteractor.h:35
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkRenderWindowInteractor
platform-independent render window interaction including picking and frame rate control.
Definition:
vtkRenderWindowInteractor.h:82
vtkRenderWindowInteractor.h
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17