Image Output
[Image I/O]

Collaboration diagram for Image Output:

This group contains classes for writing image(s) to different output sinks. More...

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.

Detailed Description

This group contains classes for writing image(s) to different output sinks.


Function Documentation

_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.

template<typename T, typename TPtr>
image_output< T >& mimas::operator<< ( image_output< T > &  output,
const const_image_ref< T, TPtr > &  image 
) [inline]

Stream-operator for arbitrary output-sink.

Definition at line 53 of file image_output.h.

template<typename T, typename U>
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]

For convencience.

Definition at line 185 of file image_mesaoutput.h.

image_mesaoutput< rgba< unsigned char > >& mimas::operator<< ( image_mesaoutput< rgba< unsigned char > > &  output,
const const_image_ref< rgba< float > > &  im 
) [inline]

For convencience.

Definition at line 176 of file image_mesaoutput.h.

image_mesaoutput< rgba< unsigned char > >& mimas::operator<< ( image_mesaoutput< rgba< unsigned char > > &  output,
const const_image_ref< rgba< int > > &  im 
) [inline]

For convencience.

Definition at line 167 of file image_mesaoutput.h.

image_mesaoutput< unsigned char >& mimas::operator<< ( image_mesaoutput< unsigned char > &  output,
const const_image_ref< double > &  im 
) [inline]

For convencience.

Definition at line 158 of file image_mesaoutput.h.

image_mesaoutput< unsigned char >& mimas::operator<< ( image_mesaoutput< unsigned char > &  output,
const const_image_ref< int > &  im 
) [inline]

For convencience.

Definition at line 149 of file image_mesaoutput.h.

template<typename T>
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:

template<typename T>
image_mesaoutput< T >& mimas::operator<< ( image_mesaoutput< T > &  output,
_pause   
) [inline]

Stream-operator for pausing.

Definition at line 138 of file image_mesaoutput.h.

template<typename T>
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:

template<typename T, typename TPtr>
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]

For convencience.

Definition at line 180 of file image_fileoutput.h.

std::ostream& mimas::operator<< ( std::ostream &  stream,
const const_image_ref< rgba< float > > &  img 
) [inline]

For convencience.

Definition at line 171 of file image_fileoutput.h.

std::ostream& mimas::operator<< ( std::ostream &  stream,
const const_image_ref< rgba< int > > &  img 
) [inline]

For convencience.

Definition at line 162 of file image_fileoutput.h.

std::ostream& mimas::operator<< ( std::ostream &  stream,
const const_image_ref< rgba< unsigned char > > &  img 
) [inline]

For convencience.

Definition at line 153 of file image_fileoutput.h.

std::ostream& mimas::operator<< ( std::ostream &  stream,
const const_image_ref< float > &  img 
) [inline]

For convencience.

Definition at line 144 of file image_fileoutput.h.

std::ostream& mimas::operator<< ( std::ostream &  stream,
const const_image_ref< double > &  img 
) [inline]

For convencience.

Definition at line 135 of file image_fileoutput.h.

std::ostream& mimas::operator<< ( std::ostream &  stream,
const const_image_ref< int > &  img 
) [inline]

For convencience.

Definition at line 126 of file image_fileoutput.h.

std::ostream& mimas::operator<< ( std::ostream &  stream,
const const_image_ref< unsigned char > &  img 
) [inline]

For convencience.

Definition at line 117 of file image_fileoutput.h.

template<typename T, typename U>
image_fileoutput< T >& mimas::operator<< ( image_fileoutput< T > &  output,
const const_image_ref< U > &  im 
) [inline]

Stream-operator for writing image to a stream.

Definition at line 105 of file image_fileoutput.h.

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.

See also:
image_fileoutput_fileType

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.

See also:
image_fileoutput

image_fileoutput_fileType

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.

Parameters:
_milliSeconds Amount of milliseconds to wait.

Definition at line 106 of file image_mesaoutput.h.

References mimas::_wait::milliSeconds.


Variable Documentation

const char* mimas::image_fileoutput_fileType

File-format of next image to be written.

Referenced by mimas::operator<<().


[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:21 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...