TarzaNN
TarzaNN neural network simulator
Public Slots | Public Member Functions | Public Attributes
UI_FeaturePlane Class Reference

#include <UI_FeaturePlane.h>

Inheritance diagram for UI_FeaturePlane:
UI_Widget Observer

List of all members.

Public Slots

void slotMoveUp ()
void slotMoveDown ()
void slotMoveLeft ()
void slotMoveRight ()
void slotMoveTarget ()
void slotSave ()
void slotSaveScaled ()
void slotInsertTimeCourse ()
void slotSelectWinner ()

Public Member Functions

void loadImage (QString filename)
 UI_FeaturePlane (FeaturePlaneAbstract *tmpFp, QWidget *parent=0, const char *name=0, Qt::WFlags fl=0)
 ~UI_FeaturePlane ()
virtual void updateNN (Observer *sourceFP, bool functional)
virtual void paintEvent (QPaintEvent *e)
virtual void resizeEvent (QResizeEvent *e)
virtual void contextMenuEvent (QContextMenuEvent *e)
void saveName (QString s)

Public Attributes

UI_ImagetheImage
QImage * currentPic
float minRealPixelValue
float maxRealPixelValue
QLabel * infoLabel
bool needsUpdate
FeaturePlaneAbstractfp
int fp_w
int fp_h
QBoxLayout * UI_FPLayout
QMutex localAccess
QMutex paintAccess
bool viewVirtualImage

Constructor & Destructor Documentation

UI_FeaturePlane::UI_FeaturePlane ( FeaturePlaneAbstract tmpFp,
QWidget *  parent = 0,
const char *  name = 0,
Qt::WFlags  fl = 0 
)
UI_FeaturePlane::~UI_FeaturePlane ( )

Destroys the object and frees any allocated resources


Member Function Documentation

void UI_FeaturePlane::contextMenuEvent ( QContextMenuEvent *  e) [virtual]
void UI_FeaturePlane::loadImage ( QString  filename)
void UI_FeaturePlane::paintEvent ( QPaintEvent *  e) [virtual]

THIS CAN ONLY BE INVOKED FROM THE MAIN GUI THREAD use postEvent to invoke this !!!!

void UI_FeaturePlane::resizeEvent ( QResizeEvent *  e) [virtual]
void UI_FeaturePlane::saveName ( QString  s)
void UI_FeaturePlane::slotInsertTimeCourse ( ) [slot]

Add trace neuron time course for location under the cursor

void UI_FeaturePlane::slotMoveDown ( ) [slot]
void UI_FeaturePlane::slotMoveLeft ( ) [slot]
void UI_FeaturePlane::slotMoveRight ( ) [slot]
void UI_FeaturePlane::slotMoveTarget ( ) [slot]
void UI_FeaturePlane::slotMoveUp ( ) [slot]
void UI_FeaturePlane::slotSave ( ) [slot]

Save the image in PNG format

void UI_FeaturePlane::slotSaveScaled ( ) [slot]

Save a scaled version of the image in PNG format. Useful for the fMRI view, as normalization

void UI_FeaturePlane::slotSelectWinner ( ) [slot]

Manually select ST winner

void UI_FeaturePlane::updateNN ( Observer sourceFP,
bool  functional 
) [virtual]

Implements Observer.


Member Data Documentation


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