InputGeneratorUpDown Class Reference

Moves a provided inputGenerator up and down. More...

#include <InputGeneratorUpDown.hpp>

Inheritance diagram for InputGeneratorUpDown:

IInputGenerator List of all members.

Public Member Functions

 InputGeneratorUpDown (IInputGenerator *ig, double stepSize, double scale)
virtual ~InputGeneratorUpDown ()
virtual Vector GetInput ()
virtual Vector const & GetLastInput () const
virtual unsigned int GetDimension () const
Vector GetTranslation ()
double GetScale ()
virtual GeneratorType GetGeneratorType () const

Protected Attributes

double m_scale
double m_stepSize
Vector m_dir
Vector m_translate
Vector m_vector
IInputGeneratorm_inputGenerator
double m_minY
double m_maxY

Detailed Description

Moves a provided inputGenerator up and down.


Constructor & Destructor Documentation

InputGeneratorUpDown IInputGenerator ig,
double  stepSize,
double  scale
 

virtual ~InputGeneratorUpDown  )  [virtual]
 


Member Function Documentation

virtual Vector GetInput  )  [virtual]
 

Returns:
An m_dimensional vector.

Implements IInputGenerator.

virtual Vector const& GetLastInput  )  const [virtual]
 

Returns:
The Latest generated Input Vector.

Implements IInputGenerator.

virtual unsigned int GetDimension  )  const [virtual]
 

Returns:
The dimension, which is 2.

Implements IInputGenerator.

Vector GetTranslation  ) 
 

Returns:
The current x-position of the moving square.

double GetScale  ) 
 

Returns:
The size of the edges of the moving square.

virtual GeneratorType GetGeneratorType  )  const [virtual]
 

Returns:
ClassesGenerator, since this is a generator for classification

Implements IInputGenerator.


Member Data Documentation

double m_scale [protected]
 

double m_stepSize [protected]
 

Vector m_dir [protected]
 

Vector m_translate [protected]
 

Vector m_vector [protected]
 

IInputGenerator& m_inputGenerator [protected]
 

double m_minY [protected]
 

double m_maxY [protected]
 


Generated on Mon Mar 22 16:40:49 2004 for GNG_GL by doxygen 1.3.6