|
libvisual
0.5.0
|
#include <libvisual/lv_morph.h>
Public Member Functions | |
| Morph (Morph const &morph)=delete | |
| Morph & | operator= (Morph const &)=delete |
| VisPluginData * | get_plugin () |
| Returns the plugin object. More... | |
| bool | realize () |
| Realizes a morph. More... | |
| VisVideoDepth | get_supported_depths () |
| Returns the set of colour depths natively supported. More... | |
| VisVideoAttrOptions const * | get_video_attribute_options () |
| void | set_video (VideoPtr const &video) |
| Sets the video target for rendering. More... | |
| void | set_time (Time const &time) |
| Sets the morph duration. More... | |
| void | set_progress (float progress) |
| Sets the progress of a morph. More... | |
| Palette const * | get_palette () |
| Returns the colour palette used. More... | |
| bool | is_done () |
| Determines if morph has completed. More... | |
| bool | run (Audio const &audio, VideoPtr const &src1, VideoPtr const &src2) |
| Runs the morph. More... | |
Static Public Member Functions | |
| static MorphPtr | load (std::string const &name) |
| Creates a new Morph wit a plugin of a given name. More... | |
Friends | |
| void | intrusive_ptr_add_ref (Morph const *morph) |
| void | intrusive_ptr_release (Morph const *morph) |
Morph class.
Definition at line 50 of file lv_morph.h.
| Palette const * LV::Morph::get_palette | ( | ) |
Returns the colour palette used.
Definition at line 140 of file lv_morph.cpp.
Referenced by run().
| VisPluginData * LV::Morph::get_plugin | ( | ) |
| VisVideoDepth LV::Morph::get_supported_depths | ( | ) |
Returns the set of colour depths natively supported.
Definition at line 115 of file lv_morph.cpp.
| bool LV::Morph::is_done | ( | ) |
Determines if morph has completed.
Definition at line 146 of file lv_morph.cpp.
|
static |
Creates a new Morph wit a plugin of a given name.
| name | Name of plugin to load |
Definition at line 77 of file lv_morph.cpp.
| bool LV::Morph::realize | ( | ) |
Realizes a morph.
This also calls the plugin init() method.
Definition at line 110 of file lv_morph.cpp.
Runs the morph.
Definition at line 156 of file lv_morph.cpp.
| void LV::Morph::set_progress | ( | float | progress | ) |
Sets the progress of a morph.
| progress | Progress of morph (must be in [0.0, 1.0]) |
Definition at line 135 of file lv_morph.cpp.
| void LV::Morph::set_time | ( | Time const & | time | ) |
| void LV::Morph::set_video | ( | VideoPtr const & | video | ) |
Sets the video target for rendering.
| video | Video target |
Definition at line 125 of file lv_morph.cpp.