Request VCX features at a given location. More...
#include <Neuro/NeuroSimEvents.H>
Public Member Functions | |
SimReqVCXfeatures (SimModule *src, const Point2D< int > &p) | |
Constuctor. | |
virtual | ~SimReqVCXfeatures () |
Destructor. | |
virtual std::string | toString () const |
Get a description for printing out. | |
const Point2D< int > & | loc () const |
Get access to the location of the features. | |
std::vector< float > & | features () |
Get read/write access to the features. |
Request VCX features at a given location.
PROGRAMMER NOTE: This is an example of a read/write SimReq, whereby the VCX directly dumps its features into the request and posts nothing in return. The object that did a request() of this event can then directly use the results in the event as soon as request() returns. If features() is empty after the event has been requested, then it means that no VisualCortex caught it and there are no features available.
Definition at line 703 of file NeuroSimEvents.H.
Constuctor.
Definition at line 655 of file NeuroSimEvents.C.
SimReqVCXfeatures::~SimReqVCXfeatures | ( | ) | [virtual] |
Destructor.
Definition at line 659 of file NeuroSimEvents.C.
std::vector< float > & SimReqVCXfeatures::features | ( | ) |
Get read/write access to the features.
Definition at line 670 of file NeuroSimEvents.C.
const Point2D< int > & SimReqVCXfeatures::loc | ( | ) | const |
Get access to the location of the features.
Definition at line 667 of file NeuroSimEvents.C.
std::string SimReqVCXfeatures::toString | ( | ) | const [virtual] |
Get a description for printing out.
Reimplemented from SimReq.
Definition at line 662 of file NeuroSimEvents.C.
References Point2D< T >::i, and sformat().