Collaboration diagram for Image Output:
![]() |
Classes | |
class | mimas::image_fileoutput< T > |
Sink for writing an image to a file. More... | |
struct | mimas::_format |
class | mimas::image_mesaoutput< T > |
Display images using Xlib and OpenGL. More... | |
struct | mimas::_wait |
struct | mimas::_pause |
struct | mimas::_delay |
class | mimas::image_mplayeroutput< T > |
Display tool that sits over Mplayer. More... | |
class | mimas::image_output< T > |
Abstract base-class for output sinks. More... | |
Functions | |
_format | mimas::setformat (const char *name) |
Stream-manipulator to change the file-format. | |
std::ostream & | mimas::operator<< (std::ostream &stream, _format format) |
Change the file-format for the next image. | |
template<typename T, typename U> | |
image_fileoutput< T > & | mimas::operator<< (image_fileoutput< T > &output, const const_image_ref< U > &im) |
Stream-operator for writing image to a stream. | |
std::ostream & | mimas::operator<< (std::ostream &stream, const const_image_ref< unsigned char > &img) |
For convencience. | |
std::ostream & | mimas::operator<< (std::ostream &stream, const const_image_ref< int > &img) |
For convencience. | |
std::ostream & | mimas::operator<< (std::ostream &stream, const const_image_ref< double > &img) |
For convencience. | |
std::ostream & | mimas::operator<< (std::ostream &stream, const const_image_ref< float > &img) |
For convencience. | |
std::ostream & | mimas::operator<< (std::ostream &stream, const const_image_ref< rgba< unsigned char > > &img) |
For convencience. | |
std::ostream & | mimas::operator<< (std::ostream &stream, const const_image_ref< rgba< int > > &img) |
For convencience. | |
std::ostream & | mimas::operator<< (std::ostream &stream, const const_image_ref< rgba< float > > &img) |
For convencience. | |
std::ostream & | mimas::operator<< (std::ostream &stream, const const_image_ref< rgba< double > > &img) |
For convencience. | |
_wait | mimas::wait (int _milliSeconds) |
Stream-manipulator for performing a wait. | |
_pause | mimas::pause (void) |
Stream-manipulator for pausing. | |
_delay | mimas::delay (int _milliSeconds) |
Stream-manipulator for adjusting the frame-delay. | |
template<typename T, typename TPtr> | |
image_mesaoutput< T > & | mimas::operator<< (image_mesaoutput< T > &output, const const_image_ref< T, TPtr > &img) |
Stream-operator for displaying images. | |
template<typename T> | |
image_mesaoutput< T > & | mimas::operator<< (image_mesaoutput< T > &output, _wait wait) |
Stream-operator for waiting. | |
template<typename T> | |
image_mesaoutput< T > & | mimas::operator<< (image_mesaoutput< T > &output, _pause) |
Stream-operator for pausing. | |
template<typename T> | |
image_mesaoutput< T > & | mimas::operator<< (image_mesaoutput< T > &output, _delay delay) |
Stream-operator for adjusting frame-rate. | |
image_mesaoutput< unsigned char > & | mimas::operator<< (image_mesaoutput< unsigned char > &output, const const_image_ref< int > &im) |
For convencience. | |
image_mesaoutput< unsigned char > & | mimas::operator<< (image_mesaoutput< unsigned char > &output, const const_image_ref< double > &im) |
For convencience. | |
image_mesaoutput< rgba< unsigned char > > & | mimas::operator<< (image_mesaoutput< rgba< unsigned char > > &output, const const_image_ref< rgba< int > > &im) |
For convencience. | |
image_mesaoutput< rgba< unsigned char > > & | mimas::operator<< (image_mesaoutput< rgba< unsigned char > > &output, const const_image_ref< rgba< float > > &im) |
For convencience. | |
image_mesaoutput< rgba< unsigned char > > & | mimas::operator<< (image_mesaoutput< rgba< unsigned char > > &output, const const_image_ref< rgba< double > > &im) |
For convencience. | |
template<typename T, typename U> | |
image_mplayeroutput< T > & | mimas::operator<< (image_mplayeroutput< T > &output, const const_image_ref< U > &im) |
Stream-operator for displaying image with mplayer. | |
template<typename T, typename TPtr> | |
image_output< T > & | mimas::operator<< (image_output< T > &output, const const_image_ref< T, TPtr > &image) |
Stream-operator for arbitrary output-sink. | |
Variables | |
const char * | mimas::image_fileoutput_fileType |
File-format of next image to be written. |
_delay mimas::delay | ( | int | _milliSeconds | ) | [inline] |
Stream-manipulator for adjusting the frame-delay.
This operator will adjust the framerate.
Definition at line 120 of file image_mesaoutput.h.
References mimas::_delay::milliSeconds.
image_output< T >& mimas::operator<< | ( | image_output< T > & | output, | |
const const_image_ref< T, TPtr > & | image | |||
) | [inline] |
image_mplayeroutput< T >& mimas::operator<< | ( | image_mplayeroutput< T > & | output, | |
const const_image_ref< U > & | im | |||
) | [inline] |
Stream-operator for displaying image with mplayer.
Definition at line 55 of file image_mplayeroutput.h.
image_mesaoutput< rgba< unsigned char > >& mimas::operator<< | ( | image_mesaoutput< rgba< unsigned char > > & | output, | |
const const_image_ref< rgba< double > > & | im | |||
) | [inline] |
image_mesaoutput< rgba< unsigned char > >& mimas::operator<< | ( | image_mesaoutput< rgba< unsigned char > > & | output, | |
const const_image_ref< rgba< float > > & | im | |||
) | [inline] |
image_mesaoutput< rgba< unsigned char > >& mimas::operator<< | ( | image_mesaoutput< rgba< unsigned char > > & | output, | |
const const_image_ref< rgba< int > > & | im | |||
) | [inline] |
image_mesaoutput< unsigned char >& mimas::operator<< | ( | image_mesaoutput< unsigned char > & | output, | |
const const_image_ref< double > & | im | |||
) | [inline] |
image_mesaoutput< unsigned char >& mimas::operator<< | ( | image_mesaoutput< unsigned char > & | output, | |
const const_image_ref< int > & | im | |||
) | [inline] |
image_mesaoutput< T >& mimas::operator<< | ( | image_mesaoutput< T > & | output, | |
_delay | delay | |||
) | [inline] |
Stream-operator for adjusting frame-rate.
Definition at line 144 of file image_mesaoutput.h.
References mimas::image_mesaoutput< T >::delay().
Here is the call graph for this function:
image_mesaoutput< T >& mimas::operator<< | ( | image_mesaoutput< T > & | output, | |
_pause | ||||
) | [inline] |
image_mesaoutput< T >& mimas::operator<< | ( | image_mesaoutput< T > & | output, | |
_wait | wait | |||
) | [inline] |
Stream-operator for waiting.
Definition at line 132 of file image_mesaoutput.h.
References mimas::image_mesaoutput< T >::wait().
Here is the call graph for this function:
image_mesaoutput< T >& mimas::operator<< | ( | image_mesaoutput< T > & | output, | |
const const_image_ref< T, TPtr > & | img | |||
) | [inline] |
Stream-operator for displaying images.
Definition at line 126 of file image_mesaoutput.h.
References mimas::image_mesaoutput< T >::image_window::img.
std::ostream& mimas::operator<< | ( | std::ostream & | stream, | |
const const_image_ref< rgba< double > > & | img | |||
) | [inline] |
std::ostream& mimas::operator<< | ( | std::ostream & | stream, | |
const const_image_ref< rgba< float > > & | img | |||
) | [inline] |
std::ostream& mimas::operator<< | ( | std::ostream & | stream, | |
const const_image_ref< rgba< int > > & | img | |||
) | [inline] |
std::ostream& mimas::operator<< | ( | std::ostream & | stream, | |
const const_image_ref< rgba< unsigned char > > & | img | |||
) | [inline] |
std::ostream& mimas::operator<< | ( | std::ostream & | stream, | |
const const_image_ref< float > & | img | |||
) | [inline] |
std::ostream& mimas::operator<< | ( | std::ostream & | stream, | |
const const_image_ref< double > & | img | |||
) | [inline] |
std::ostream& mimas::operator<< | ( | std::ostream & | stream, | |
const const_image_ref< int > & | img | |||
) | [inline] |
std::ostream& mimas::operator<< | ( | std::ostream & | stream, | |
const const_image_ref< unsigned char > & | img | |||
) | [inline] |
image_fileoutput< T >& mimas::operator<< | ( | image_fileoutput< T > & | output, | |
const const_image_ref< U > & | im | |||
) | [inline] |
std::ostream& mimas::operator<< | ( | std::ostream & | stream, | |
_format | format | |||
) | [inline] |
Change the file-format for the next image.
Unfortunately this method is not side-effect free.
Definition at line 100 of file image_fileoutput.h.
References mimas::image_fileoutput_fileType, and mimas::_format::name.
_pause mimas::pause | ( | void | ) | [inline] |
Stream-manipulator for pausing.
Wait for user to close window.
Definition at line 113 of file image_mesaoutput.h.
_format mimas::setformat | ( | const char * | name | ) | [inline] |
Stream-manipulator to change the file-format.
The Qt-documentation contains information about what file formats are supported (class QImageIO
). After the image was written, the default value will be restored.
Definition at line 94 of file image_fileoutput.h.
References mimas::_format::name.
_wait mimas::wait | ( | int | _milliSeconds | ) | [inline] |
Stream-manipulator for performing a wait.
_milliSeconds | Amount of milliseconds to wait. |
Definition at line 106 of file image_mesaoutput.h.
References mimas::_wait::milliSeconds.
const char* mimas::image_fileoutput_fileType |