Tableau for capturing OpenGL rendering to a video. More...
#include <vidl_capture_tableau.h>
Public Member Functions | |
vidl_capture_tableau (vgui_tableau_sptr const &child) | |
Constructor - don't use this, use vidl_capture_tableau_new. | |
vcl_string | type_name () const |
Returns the type of this tableau ('vidl_capture_tableau'). | |
bool | handle (vgui_event const &e) |
Handle all events sent to this tableau. | |
void | set_ostream (const vidl_ostream_sptr &os) |
Set the output video stream. | |
void | prompt_for_ostream () |
Prompt the user to set an ostream with a gui dialog. | |
void | close_ostream () |
Stop the video capture and close the ostream. | |
Protected Member Functions | |
~vidl_capture_tableau () | |
Destructor - called by vidl_capture_tableau_sptr. | |
Protected Attributes | |
vidl_ostream_sptr | ostream_ |
Tableau for capturing OpenGL rendering to a video.
After each draw events this tableau captures the current OpenGL buffer and writes it as a frame of video to a vidl_ostream
Definition at line 24 of file vidl_capture_tableau.h.
vidl_capture_tableau::vidl_capture_tableau | ( | vgui_tableau_sptr const & | child | ) |
Constructor - don't use this, use vidl_capture_tableau_new.
Takes the single child tableau as a parameter.
Definition at line 26 of file vidl_capture_tableau.cxx.
vidl_capture_tableau::~vidl_capture_tableau | ( | ) | [inline, protected] |
Destructor - called by vidl_capture_tableau_sptr.
Definition at line 49 of file vidl_capture_tableau.h.
void vidl_capture_tableau::close_ostream | ( | ) |
Stop the video capture and close the ostream.
Definition at line 65 of file vidl_capture_tableau.cxx.
bool vidl_capture_tableau::handle | ( | vgui_event const & | e | ) |
Handle all events sent to this tableau.
Definition at line 33 of file vidl_capture_tableau.cxx.
void vidl_capture_tableau::prompt_for_ostream | ( | ) |
Prompt the user to set an ostream with a gui dialog.
Definition at line 58 of file vidl_capture_tableau.cxx.
void vidl_capture_tableau::set_ostream | ( | const vidl_ostream_sptr & | os | ) | [inline] |
Set the output video stream.
Definition at line 39 of file vidl_capture_tableau.h.
vcl_string vidl_capture_tableau::type_name | ( | ) | const |
Returns the type of this tableau ('vidl_capture_tableau').
Definition at line 19 of file vidl_capture_tableau.cxx.
vidl_ostream_sptr vidl_capture_tableau::ostream_ [protected] |
Definition at line 51 of file vidl_capture_tableau.h.