TarzaNN
TarzaNN neural network simulator
Public Member Functions | Protected Member Functions | Friends
InputVirtualFeaturePlane Class Reference

#include <InputVirtualFeaturePlane.h>

Inheritance diagram for InputVirtualFeaturePlane:
InputControllerAbstract InputFeaturePlaneAbstract FeaturePlaneAbstract Observer Viewable

List of all members.

Public Member Functions

 ~InputVirtualFeaturePlane ()
OutputImagegetHeadImage ()
QImage * getVirtualImage (bool showRect)
bool moveHead (int deltaX, int deltaY, bool notify=true)
int getVirtualWidth ()
int getVirtualHeight ()

Protected Member Functions

 InputVirtualFeaturePlane (Network *net, int l, QString *n, int w, int h, const char *filename, NotifyStrategyAbstract *notify)

Friends

class FeaturePlaneFactory

Constructor & Destructor Documentation

InputVirtualFeaturePlane::InputVirtualFeaturePlane ( Network net,
int  l,
QString *  n,
int  w,
int  h,
const char *  filename,
NotifyStrategyAbstract notify 
) [protected]
InputVirtualFeaturePlane::~InputVirtualFeaturePlane ( )

Member Function Documentation

OutputImage * InputVirtualFeaturePlane::getHeadImage ( ) [virtual]

It is assumed that always the boundaries are correct. it is the responsability of moveHead to ensure that it does not overflow.

Todo:
Andrei Code can be optimized heavily if we cache the previously generated image -> specially for notifyASYNC strategy

Reimplemented from FeaturePlaneAbstract.

int InputVirtualFeaturePlane::getVirtualHeight ( ) [inline]
QImage * InputVirtualFeaturePlane::getVirtualImage ( bool  showRect) [virtual]

Reimplemented from FeaturePlaneAbstract.

int InputVirtualFeaturePlane::getVirtualWidth ( ) [inline]
bool InputVirtualFeaturePlane::moveHead ( int  deltaX,
int  deltaY,
bool  notify = true 
) [virtual]

todo update due to the fact we have implemented InputControllerAbstract with templates, we cannot do dynamic casting. we will have to overload a whole bunch of methods in the appropriate classes

Reimplemented from FeaturePlaneAbstract.


Friends And Related Function Documentation

friend class FeaturePlaneFactory [friend]

Reimplemented from FeaturePlaneAbstract.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines