vtkPythonAnimationCue is an animation cue that can execute arbitrary Python scripts.
More...
#include <vtkPythonAnimationCue.h>
Inherits vtkAnimationCue.
vtkPythonAnimationCue is an animation cue that can execute arbitrary Python scripts.
Definition at line 28 of file vtkPythonAnimationCue.h.
◆ Superclass
◆ vtkPythonAnimationCue()
vtkPythonAnimationCue::vtkPythonAnimationCue |
( |
| ) |
|
|
protected |
◆ ~vtkPythonAnimationCue()
vtkPythonAnimationCue::~vtkPythonAnimationCue |
( |
| ) |
|
|
protected |
◆ New()
◆ GetClassName()
virtual const char* vtkPythonAnimationCue::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkPythonAnimationCue::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
virtual int vtkPythonAnimationCue::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
void vtkPythonAnimationCue::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ SetEnabled()
virtual void vtkPythonAnimationCue::SetEnabled |
( |
bool |
| ) |
|
|
virtual |
◆ GetEnabled()
virtual bool vtkPythonAnimationCue::GetEnabled |
( |
| ) |
|
|
virtual |
◆ EnabledOn()
virtual void vtkPythonAnimationCue::EnabledOn |
( |
| ) |
|
|
virtual |
◆ EnabledOff()
virtual void vtkPythonAnimationCue::EnabledOff |
( |
| ) |
|
|
virtual |
◆ SetScript()
virtual void vtkPythonAnimationCue::SetScript |
( |
const char * |
| ) |
|
|
virtual |
Get/Set the python script to execute.
The script must have the following functions:
- start_cue(cue): (optional) if present, called when the cue starts.
- tick(cue) : (required) called on every tick.
- end_cue(cue): (optional) if present, called when the cue ends.
◆ GetScript()
virtual char* vtkPythonAnimationCue::GetScript |
( |
| ) |
|
|
virtual |
Get/Set the python script to execute.
The script must have the following functions:
- start_cue(cue): (optional) if present, called when the cue starts.
- tick(cue) : (required) called on every tick.
- end_cue(cue): (optional) if present, called when the cue ends.
◆ HandleStartCueEvent()
virtual void vtkPythonAnimationCue::HandleStartCueEvent |
( |
| ) |
|
|
protectedvirtual |
Callbacks that forward the call to corresponding Python function.
◆ HandleTickEvent()
virtual void vtkPythonAnimationCue::HandleTickEvent |
( |
| ) |
|
|
protectedvirtual |
Callbacks that forward the call to corresponding Python function.
◆ HandleEndCueEvent()
virtual void vtkPythonAnimationCue::HandleEndCueEvent |
( |
| ) |
|
|
protectedvirtual |
Callbacks that forward the call to corresponding Python function.
◆ DeleteInterpretor()
void vtkPythonAnimationCue::DeleteInterpretor |
( |
| ) |
|
|
protected |
◆ Enabled
bool vtkPythonAnimationCue::Enabled |
|
protected |
◆ Script
char* vtkPythonAnimationCue::Script |
|
protected |
The documentation for this class was generated from the following file: