ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPythonAnimationCue Class Reference

#include <vtkPythonAnimationCue.h>

Inheritance diagram for vtkPythonAnimationCue:
Inheritance graph
[legend]
Collaboration diagram for vtkPythonAnimationCue:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetEnabled (bool)
virtual bool GetEnabled ()
virtual void EnabledOn ()
virtual void EnabledOff ()
virtual void SetScript (const char *)
virtual char * GetScript ()

Static Public Member Functions

static vtkPythonAnimationCueNew ()
static int IsTypeOf (const char *type)
static vtkPythonAnimationCueSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPythonAnimationCue ()
 ~vtkPythonAnimationCue ()
vtkPVPythonInterpretorGetInterpretor ()
void DeleteInterpretor ()
virtual void HandleStartCueEvent ()
virtual void HandleTickEvent ()
virtual void HandleEndCueEvent ()

Protected Attributes

bool Enabled
char * Script
vtkPVPythonInterpretorInterpretor

Detailed Description

Definition at line 27 of file vtkPythonAnimationCue.h.


Constructor & Destructor Documentation

vtkPythonAnimationCue::vtkPythonAnimationCue ( ) [protected]
vtkPythonAnimationCue::~vtkPythonAnimationCue ( ) [protected]

Member Function Documentation

static vtkPythonAnimationCue* vtkPythonAnimationCue::New ( ) [static]

Reimplemented from vtkAnimationCue.

virtual const char* vtkPythonAnimationCue::GetClassName ( ) [virtual]

Reimplemented from vtkAnimationCue.

static int vtkPythonAnimationCue::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkAnimationCue.

virtual int vtkPythonAnimationCue::IsA ( const char *  type) [virtual]

Reimplemented from vtkAnimationCue.

static vtkPythonAnimationCue* vtkPythonAnimationCue::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkAnimationCue.

void vtkPythonAnimationCue::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkAnimationCue.

virtual void vtkPythonAnimationCue::SetEnabled ( bool  ) [virtual]

Enable/Disable this cue.

virtual bool vtkPythonAnimationCue::GetEnabled ( ) [virtual]

Enable/Disable this cue.

virtual void vtkPythonAnimationCue::EnabledOn ( ) [virtual]

Enable/Disable this cue.

virtual void vtkPythonAnimationCue::EnabledOff ( ) [virtual]

Enable/Disable this cue.

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.
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.
vtkPVPythonInterpretor* vtkPythonAnimationCue::GetInterpretor ( ) [protected]

Returns the interpretor. Creates a new one the first time this method is called.

virtual void vtkPythonAnimationCue::HandleStartCueEvent ( ) [protected, virtual]

Callbacks that forward the call to corresponding Python function.

virtual void vtkPythonAnimationCue::HandleTickEvent ( ) [protected, virtual]

Callbacks that forward the call to corresponding Python function.

virtual void vtkPythonAnimationCue::HandleEndCueEvent ( ) [protected, virtual]

Callbacks that forward the call to corresponding Python function.

void vtkPythonAnimationCue::DeleteInterpretor ( ) [protected]

Cleans the interpretor.


Member Data Documentation

Definition at line 70 of file vtkPythonAnimationCue.h.

char* vtkPythonAnimationCue::Script [protected]

Definition at line 71 of file vtkPythonAnimationCue.h.

Definition at line 72 of file vtkPythonAnimationCue.h.


The documentation for this class was generated from the following file: