src
paraview-5.12
Remoting
Animation
vtkPythonAnimationCue.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
10
#ifndef vtkPythonAnimationCue_h
11
#define vtkPythonAnimationCue_h
12
13
#include "
vtkAnimationCue.h
"
14
#include "vtkRemotingAnimationModule.h"
//needed for exports
15
16
#include <memory>
//for std::unique_ptr
17
#include <string>
// for std::string
18
19
class
VTKREMOTINGANIMATION_EXPORT
vtkPythonAnimationCue
:
public
vtkAnimationCue
20
{
21
public
:
22
static
vtkPythonAnimationCue
*
New
();
23
vtkTypeMacro(
vtkPythonAnimationCue
,
vtkAnimationCue
);
24
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
25
27
30
vtkSetMacro(Enabled,
bool
);
31
vtkGetMacro(Enabled,
bool
);
32
vtkBooleanMacro(Enabled,
bool
);
34
36
43
void
SetScript(
const
std::string&);
44
std::string GetScript()
const
;
46
47
protected
:
48
vtkPythonAnimationCue
();
49
~
vtkPythonAnimationCue
()
override
;
50
52
55
virtual
void
HandleStartCueEvent();
56
virtual
void
HandleTickEvent();
57
virtual
void
HandleEndCueEvent();
59
63
void
DeleteInterpretor();
64
65
bool
Enabled
;
66
std::string
Script
;
67
68
private
:
69
vtkPythonAnimationCue
(
const
vtkPythonAnimationCue
&) =
delete
;
70
void
operator=
(
const
vtkPythonAnimationCue
&) =
delete
;
71
72
struct
pqInternals;
73
std::unique_ptr<pqInternals> Internals;
74
};
75
76
#endif
vtkPythonAnimationCue::Enabled
bool Enabled
Definition:
vtkPythonAnimationCue.h:65
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkPythonAnimationCue::Script
std::string Script
Definition:
vtkPythonAnimationCue.h:66
vtkAnimationCue::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkPythonAnimationCue
Definition:
vtkPythonAnimationCue.h:19
vtkAnimationCue.h
vtkIndent
vtkAnimationCue
vtkAnimationCue::New
static vtkAnimationCue * New()
Generated by
1.8.17 on Wed Mar 27 2024