#include <vidl2_image_list_ostream.h>
Inheritance diagram for vidl2_image_list_ostream:

Definition at line 18 of file vidl2_image_list_ostream.h.
Public Member Functions | |
| vidl2_image_list_ostream () | |
| Constructor. | |
| vidl2_image_list_ostream (const vcl_string &directory, const vcl_string &name_format="%05d", const vcl_string &file_format="tiff", const unsigned int init_index=0) | |
| Constructor - opens a stream. | |
| virtual | ~vidl2_image_list_ostream () |
| Destructor. | |
| virtual bool | open (const vcl_string &directory, const vcl_string &name_format="%05d", const vcl_string &file_format="tiff", const unsigned int init_index=0) |
| Open the stream. | |
| virtual void | close () |
| Close the stream. | |
| virtual bool | is_open () const |
| Return true if the stream is open for writing. | |
| unsigned int | index () const |
| Return the current index. | |
| virtual vcl_string | next_file_name () const |
| Return the next file name to be written to. | |
| virtual bool | write_frame (const vidl2_frame_sptr &frame) |
| Write and image to the stream. | |
| void | ref () |
| Increment reference count. | |
| void | unref () |
| Decrement reference count. | |
| int | ref_count () const |
| Number of objects referring to this data. | |
Private Attributes | |
| unsigned int | index_ |
| The current index. | |
| vcl_string | dir_ |
| The directory to save images in. | |
| vcl_string | name_format_ |
| The printf-style format string for filenames. | |
| vcl_string | file_format_ |
| The image file format to use. | |
|
|
Constructor.
Definition at line 24 of file vidl2_image_list_ostream.cxx. |
|
||||||||||||||||||||
|
Constructor - opens a stream.
Definition at line 35 of file vidl2_image_list_ostream.cxx. |
|
|
Destructor.
Definition at line 32 of file vidl2_image_list_ostream.h. |
|
|
Close the stream.
Implements vidl2_ostream. Definition at line 87 of file vidl2_image_list_ostream.cxx. |
|
|
Return the current index.
Definition at line 47 of file vidl2_image_list_ostream.h. |
|
|
Return true if the stream is open for writing.
Implements vidl2_ostream. Definition at line 99 of file vidl2_image_list_ostream.cxx. |
|
|
Return the next file name to be written to.
Definition at line 108 of file vidl2_image_list_ostream.cxx. |
|
||||||||||||||||||||
|
Open the stream.
Definition at line 47 of file vidl2_image_list_ostream.cxx. |
|
|
Increment reference count.
Definition at line 45 of file vidl2_ostream.h. |
|
|
Number of objects referring to this data.
Definition at line 51 of file vidl2_ostream.h. |
|
|
Decrement reference count.
Definition at line 48 of file vidl2_ostream.h. |
|
|
Write and image to the stream.
Implements vidl2_ostream. Definition at line 120 of file vidl2_image_list_ostream.cxx. |
|
|
The directory to save images in.
Definition at line 61 of file vidl2_image_list_ostream.h. |
|
|
The image file format to use.
Definition at line 67 of file vidl2_image_list_ostream.h. |
|
|
The current index.
Definition at line 58 of file vidl2_image_list_ostream.h. |
|
|
The printf-style format string for filenames.
Definition at line 64 of file vidl2_image_list_ostream.h. |
1.4.4