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

lti::SOFM2DVisualizer Class Reference

This class provides some possibilites to visualize the given SOFM. More...

#include <ltiSOFM2DVisualizer.h>

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

List of all members.

Classes

class  parameters
 the parameters for the class SOFM2DVisualizer More...

Public Member Functions

 SOFM2DVisualizer ()
 SOFM2DVisualizer (const parameters &par)
 SOFM2DVisualizer (const SOFM2DVisualizer &other)
virtual ~SOFM2DVisualizer ()
virtual const char * getTypeName () const
template<typename T >
bool uMatrix (drawBase< T > &drawer, const SOFM2D &som) const
template<typename T >
bool drawClasses (drawBase< T > &drawer, const SOFM2D &som, const dmatrix &data, const ivector &ids) const
template<typename T >
bool drawHits (drawBase< T > &drawer, const SOFM2D &som, const dmatrix &data) const
template<typename T >
bool componentPlane (drawBase< T > &drawer, const SOFM2D &som, const int &comp) const
template<typename T >
bool sammonsMapper (drawBase< T > &drawer, const SOFM2D &som) const
SOFM2DVisualizercopy (const SOFM2DVisualizer &other)
SOFM2DVisualizeroperator= (const SOFM2DVisualizer &other)
virtual functorclone () const
const parametersgetParameters () const

Detailed Description

This class provides some possibilites to visualize the given SOFM.

If the drawer is an instance of ltiDraw<T>, you have to set the background color of the image that is used to a value that is different from the drawing colors in the colormap.


Constructor & Destructor Documentation

lti::SOFM2DVisualizer::SOFM2DVisualizer (  ) 

default constructor

lti::SOFM2DVisualizer::SOFM2DVisualizer ( const parameters par  ) 

Construct a functor using the given parameters.

lti::SOFM2DVisualizer::SOFM2DVisualizer ( const SOFM2DVisualizer other  ) 

copy constructor

Parameters:
other the object to be copied
virtual lti::SOFM2DVisualizer::~SOFM2DVisualizer (  )  [virtual]

destructor


Member Function Documentation

virtual functor* lti::SOFM2DVisualizer::clone (  )  const [virtual]

returns a pointer to a clone of this functor.

Implements lti::functor.

template<typename T >
bool lti::SOFM2DVisualizer::componentPlane ( drawBase< T > &  drawer,
const SOFM2D som,
const int &  comp 
) const [inline]
SOFM2DVisualizer& lti::SOFM2DVisualizer::copy ( const SOFM2DVisualizer other  ) 

copy data of "other" functor.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

Reimplemented from lti::functor.

template<typename T >
bool lti::SOFM2DVisualizer::drawClasses ( drawBase< T > &  drawer,
const SOFM2D som,
const dmatrix data,
const ivector ids 
) const [inline]
template<typename T >
bool lti::SOFM2DVisualizer::drawHits ( drawBase< T > &  drawer,
const SOFM2D som,
const dmatrix data 
) const [inline]
const parameters& lti::SOFM2DVisualizer::getParameters (  )  const

returns used parameters

Reimplemented from lti::functor.

Referenced by componentPlane(), drawClasses(), drawHits(), sammonsMapper(), and uMatrix().

virtual const char* lti::SOFM2DVisualizer::getTypeName (  )  const [virtual]

returns the name of this type ("SOFM2DVisualizer")

Reimplemented from lti::functor.

SOFM2DVisualizer& lti::SOFM2DVisualizer::operator= ( const SOFM2DVisualizer other  ) 

alias for copy member

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

Reimplemented from lti::functor.

template<typename T >
bool lti::SOFM2DVisualizer::sammonsMapper ( drawBase< T > &  drawer,
const SOFM2D som 
) const [inline]
template<typename T >
bool lti::SOFM2DVisualizer::uMatrix ( drawBase< T > &  drawer,
const SOFM2D som 
) const [inline]

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

Generated on Sat Apr 10 15:26:59 2010 for LTI-Lib by Doxygen 1.6.1