Main Page | Namespace List | Data Structures | File List | Data Fields | Globals

Viewer Class Reference

#include <interface.h>


Public Member Functions

 Viewer (QWidget *parent, const char *name)
void drawText (float x, float y, float z, const QString &s, const QFont &q)
void timerEvent (QTimerEvent *)
void setMode (int mode)
int mode (void)
void resetMode (void)

Protected Member Functions

virtual void draw ()
virtual void drawWithNames ()
virtual void fastDraw ()
virtual void postSelection (int x, int y)
virtual void init ()
virtual QString helpString () const


Constructor & Destructor Documentation

Viewer::Viewer QWidget *  parent,
const char *  name
 

Definition at line 15 of file interface.cpp.


Member Function Documentation

void Viewer::draw  )  [protected, virtual]
 

Definition at line 69 of file interface.cpp.

References ADDAXON, Network::draw(), network, and Network::setShininess().

void Viewer::drawText float  x,
float  y,
float  z,
const QString &  s,
const QFont &  q
 

Definition at line 78 of file interface.cpp.

void Viewer::drawWithNames  )  [protected, virtual]
 

Definition at line 83 of file interface.cpp.

References Network::draw(), network, and Network::setShininess().

void Viewer::fastDraw  )  [protected, virtual]
 

Definition at line 88 of file interface.cpp.

References Network::draw(), network, and Network::setShininess().

QString Viewer::helpString  )  const [protected, virtual]
 

Definition at line 123 of file interface.cpp.

void Viewer::init  )  [protected, virtual]
 

Definition at line 24 of file interface.cpp.

References NONE.

int Viewer::mode void   ) 
 

Definition at line 54 of file interface.cpp.

Referenced by postSelection().

void Viewer::postSelection int  x,
int  y
[protected, virtual]
 

Definition at line 93 of file interface.cpp.

References Network::addAxon(), ADDAXON, Network::existAxon(), Network::existLayer(), Network::existNeuron(), Network::frame(), Network::getLayerNumTheNeuronIsOn(), mode(), and network.

void Viewer::resetMode void   ) 
 

Definition at line 62 of file interface.cpp.

References NONE.

void Viewer::setMode int  mode  ) 
 

Definition at line 58 of file interface.cpp.

References mode.

void Viewer::timerEvent QTimerEvent *   ) 
 

Definition at line 119 of file interface.cpp.


The documentation for this class was generated from the following files:
Generated on Fri Dec 3 14:57:56 2004 for INN by doxygen 1.3.6