latest version v1.9 - last update 10 Apr 2010 |
This object shows an image using an external application like kview, xv, mspaint, etc. More...
#include <ltiExternViewer.h>
Classes | |
class | parameters |
parameters for the externViewer-object More... | |
Public Member Functions | |
externViewer () | |
externViewer (const externViewer &other) | |
~externViewer () | |
virtual const char * | getTypeName () const |
bool | show (const image &data) |
virtual bool | show (const channel8 &data) |
virtual bool | show (const channel &data) |
virtual bool | show (const matrix< float > &data) |
virtual bool | show (const vector< double > &data) |
virtual bool | show (const vector< float > &data) |
virtual bool | show (const vector< int > &data) |
virtual bool | show (const matrix< double > &data) |
virtual bool | show (const matrix< int > &data) |
virtual bool | hide () |
virtual viewerBase * | clone () const |
externViewer & | copy (const externViewer &other) |
externViewer & | operator= (const externViewer &other) |
const parameters & | getParameters () const |
Static Protected Attributes | |
static int | numberShows |
This object shows an image using an external application like kview, xv, mspaint, etc.
Use the externViewer::parameters to specify which application should be used.
A temporal image file will be created to transfer the image data to the external application. If you need a faster viewer, use the lti::viewer instead!
The default viewer used in Linux is the kview and in Windows the mspaint. Make sure that these programs are included in one of the directories specified by the system variable PATH.
lti::externViewer::externViewer | ( | ) |
default constructor
lti::externViewer::externViewer | ( | const externViewer & | other | ) |
default constructor
lti::externViewer::~externViewer | ( | ) |
default destructor
virtual viewerBase* lti::externViewer::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the functor.
Implements lti::viewerBase.
externViewer& lti::externViewer::copy | ( | const externViewer & | other | ) |
copy data of "other" functor.
Reimplemented from lti::viewerBase.
const parameters& lti::externViewer::getParameters | ( | ) | const |
returns the give parameters
Reimplemented from lti::viewerBase.
virtual const char* lti::externViewer::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("externViewer")
Reimplemented from lti::viewerBase.
virtual bool lti::externViewer::hide | ( | ) | [virtual] |
externViewer& lti::externViewer::operator= | ( | const externViewer & | other | ) |
copy data of "other" functor.
Reimplemented from lti::viewerBase.
virtual bool lti::externViewer::show | ( | const matrix< int > & | data | ) | [virtual] |
shows a matrix of integers as a channel
data | the object to be shown. |
Reimplemented from lti::viewerBase.
virtual bool lti::externViewer::show | ( | const matrix< double > & | data | ) | [virtual] |
shows a matrix of doubles as a channel
data | the object to be shown. |
Reimplemented from lti::viewerBase.
virtual bool lti::externViewer::show | ( | const vector< int > & | data | ) | [virtual] |
shows a vector of double
data | the object to be shown. |
Reimplemented from lti::viewerBase.
virtual bool lti::externViewer::show | ( | const vector< float > & | data | ) | [virtual] |
shows a vector of double
data | the object to be shown. |
Reimplemented from lti::viewerBase.
virtual bool lti::externViewer::show | ( | const vector< double > & | data | ) | [virtual] |
shows a vector of double
data | the object to be shown. |
Reimplemented from lti::viewerBase.
virtual bool lti::externViewer::show | ( | const matrix< float > & | data | ) | [virtual] |
shows a channel or matrix of float
data | the object to be shown. |
Reimplemented from lti::viewerBase.
virtual bool lti::externViewer::show | ( | const channel & | data | ) | [virtual] |
shows a channel
data | the object to be shown. |
Reimplemented from lti::viewerBase.
virtual bool lti::externViewer::show | ( | const channel8 & | data | ) | [virtual] |
shows a 8-bit channel
data | the object to be shown. |
Reimplemented from lti::viewerBase.
bool lti::externViewer::show | ( | const image & | data | ) | [virtual] |
shows an lti::image
data | the object to be shown. |
Implements lti::viewerBase.
int lti::externViewer::numberShows [static, protected] |
how many times has 'show' been used?