LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::externViewer Class Reference

This object shows an image using an external application like kview, xv, mspaint, etc. More...

#include <ltiExternViewer.h>

Inheritance diagram for lti::externViewer:
Inheritance graph
[legend]
Collaboration diagram for lti::externViewer:
Collaboration graph
[legend]

List of all members.

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 viewerBaseclone () const
externViewercopy (const externViewer &other)
externVieweroperator= (const externViewer &other)
const parametersgetParameters () const

Static Protected Attributes

static int numberShows

Detailed Description

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.


Constructor & Destructor Documentation

lti::externViewer::externViewer (  ) 

default constructor

lti::externViewer::externViewer ( const externViewer other  ) 

default constructor

lti::externViewer::~externViewer (  ) 

default destructor


Member Function Documentation

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]

hides the display window

Returns:
true if successful, false otherwise.

Implements lti::viewerBase.

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

Parameters:
data the object to be shown.
Returns:
true if successful, false otherwise.

Reimplemented from lti::viewerBase.

virtual bool lti::externViewer::show ( const matrix< double > &  data  )  [virtual]

shows a matrix of doubles as a channel

Parameters:
data the object to be shown.
Returns:
true if successful, false otherwise.

Reimplemented from lti::viewerBase.

virtual bool lti::externViewer::show ( const vector< int > &  data  )  [virtual]

shows a vector of double

Parameters:
data the object to be shown.
Returns:
true if successful, false otherwise.

Reimplemented from lti::viewerBase.

virtual bool lti::externViewer::show ( const vector< float > &  data  )  [virtual]

shows a vector of double

Parameters:
data the object to be shown.
Returns:
true if successful, false otherwise.

Reimplemented from lti::viewerBase.

virtual bool lti::externViewer::show ( const vector< double > &  data  )  [virtual]

shows a vector of double

Parameters:
data the object to be shown.
Returns:
true if successful, false otherwise.

Reimplemented from lti::viewerBase.

virtual bool lti::externViewer::show ( const matrix< float > &  data  )  [virtual]

shows a channel or matrix of float

Parameters:
data the object to be shown.
Returns:
true if successful, false otherwise.

Reimplemented from lti::viewerBase.

virtual bool lti::externViewer::show ( const channel data  )  [virtual]

shows a channel

Parameters:
data the object to be shown.
Returns:
true if successful, false otherwise.

Reimplemented from lti::viewerBase.

virtual bool lti::externViewer::show ( const channel8 data  )  [virtual]

shows a 8-bit channel

Parameters:
data the object to be shown.
Returns:
true if successful, false otherwise.

Reimplemented from lti::viewerBase.

bool lti::externViewer::show ( const image data  )  [virtual]

shows an lti::image

Parameters:
data the object to be shown.
Returns:
true if successful, false otherwise.

Implements lti::viewerBase.


Member Data Documentation

int lti::externViewer::numberShows [static, protected]

how many times has 'show' been used?


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:28:53 2010 for LTI-Lib by Doxygen 1.6.1