ParaView
ParaViewCore
Animation
vtkPythonAnimationCue.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ParaView
4
Module: $RCSfile$
5
6
Copyright (c) Kitware, Inc.
7
All rights reserved.
8
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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
=========================================================================*/
22
#ifndef vtkPythonAnimationCue_h
23
#define vtkPythonAnimationCue_h
24
25
#include "vtkAnimationCue.h"
26
#include "vtkPVAnimationModule.h"
//needed for exports
27
28
class
VTKPVANIMATION_EXPORT
vtkPythonAnimationCue
:
public
vtkAnimationCue
29
{
30
public
:
31
static
vtkPythonAnimationCue
* New();
32
vtkTypeMacro(
vtkPythonAnimationCue
, vtkAnimationCue);
33
void
PrintSelf(ostream& os, vtkIndent indent);
34
36
39
vtkSetMacro(Enabled,
bool
);
40
vtkGetMacro(Enabled,
bool
);
41
vtkBooleanMacro(Enabled,
bool
);
43
45
52
vtkSetStringMacro(Script);
53
vtkGetStringMacro(Script);
55
56
protected
:
57
vtkPythonAnimationCue
();
58
~
vtkPythonAnimationCue
();
59
61
64
virtual
void
HandleStartCueEvent();
65
virtual
void
HandleTickEvent();
66
virtual
void
HandleEndCueEvent();
68
72
void
DeleteInterpretor();
73
74
bool
Enabled
;
75
char
*
Script
;
76
77
private
:
78
vtkPythonAnimationCue
(
const
vtkPythonAnimationCue
&) VTK_DELETE_FUNCTION;
79
void
operator=(
const
vtkPythonAnimationCue
&) VTK_DELETE_FUNCTION;
80
};
81
82
#endif
vtkPythonAnimationCue::Script
char * Script
Definition:
vtkPythonAnimationCue.h:75
vtkPythonAnimationCue::Enabled
bool Enabled
Definition:
vtkPythonAnimationCue.h:74
vtkPythonAnimationCue
vtkPythonAnimationCue is an animation cue that can execute arbitrary Python scripts.
Definition:
vtkPythonAnimationCue.h:28
Generated by
1.8.13