TNOobject Class Reference

#include <VFAT/TNOobject.H>

Collaboration diagram for TNOobject:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setLabel (unsigned int _testImage, string _subject)
 set the labels for this sample
void setFeatureNumber (unsigned int _featureNumber)
 give this sample a number of features, must be called
void getDataSamples (unsigned int *_dataSamples)
 how many data samples do we have in this object
void getSubject (string *_subject)
 who is the subject we are talking about
void getTestImage (unsigned int *_testImage)
 which test image are we using
void setFeatureLabel (std::vector< string > _featureLabel)
 what do we call the features we have put in
void getFeatureLabel (std::vector< string > *_featureLabel)
 what did we call our features
void getFeatureNumber (unsigned int *_featureNumber)
 what is this sample number?
bool setIterator (unsigned int _iter)
void getIterator (unsigned int *_iter)
 get the current iterator position
void setSaccadeNext (unsigned int _sampleNumber, unsigned int _sampleType, float _posX, float _posY, float _jumpToX, float _jumpToY, unsigned int _jumpSize, string _comment, bool _mask, std::vector< double > _feature)
 set saccade data using iterators to fill up the data set
bool getSaccadeNext (unsigned int *_sampleNumber, unsigned int *_sampleType, float *_posX, float *_posY, float *_jumpToX, float *_jumpToY, unsigned int *_jumpSize, string *_comment, bool *_mask, std::vector< double > *_feature)
 get saccade data using iterators. Will return true at the end
bool setSaccade (unsigned int _dataSample, unsigned int _sampleNumber, unsigned int _sampleType, float _posX, float _posY, float _jumpToX, float _jumpToY, unsigned int _jumpSize, string _comment, bool _mask, std::vector< double > _feature)
 Random access to set saccade data, bool is false if not success.
bool getSaccade (unsigned int _dataSample unsigned int _sampleNumber, unsigned int *_sampleType, float *_posX, float *_posY, float *_jumpToX, float *_jumpToY, unsigned int *_jumpSize, string *_comment, bool *_mask std::vector< double > *_feature)
 Random access to get saccade data, bool is false if not success.

Detailed Description

This class is a container for each basic sample and includes the saccade data, the mask data, the saliency features, ICA features and complex features.

Definition at line 57 of file TNOobject.H.


Member Function Documentation

void TNOobject::getDataSamples ( unsigned int *  _dataSamples  ) 

how many data samples do we have in this object

Definition at line 86 of file TNOobject.C.

void TNOobject::getFeatureLabel ( std::vector< string > *  _featureLabel  ) 

what did we call our features

Definition at line 113 of file TNOobject.C.

void TNOobject::getFeatureNumber ( unsigned int *  _featureNumber  ) 

what is this sample number?

Definition at line 120 of file TNOobject.C.

void TNOobject::getIterator ( unsigned int *  _iter  ) 

get the current iterator position

Definition at line 152 of file TNOobject.C.

bool TNOobject::getSaccade ( unsigned int _dataSample unsigned int  _sampleNumber,
unsigned int *  _sampleType,
float *  _posX,
float *  _posY,
float *  _jumpToX,
float *  _jumpToY,
unsigned int *  _jumpSize,
string *  _comment,
bool *_mask std::vector< double > *  _feature 
)

Random access to get saccade data, bool is false if not success.

Definition at line 298 of file TNOobject.C.

bool TNOobject::getSaccadeNext ( unsigned int *  _sampleNumber,
unsigned int *  _sampleType,
float *  _posX,
float *  _posY,
float *  _jumpToX,
float *  _jumpToY,
unsigned int *  _jumpSize,
string *  _comment,
bool *  _mask,
std::vector< double > *  _feature 
)

get saccade data using iterators. Will return true at the end

Definition at line 237 of file TNOobject.C.

void TNOobject::getSubject ( string *  _subject  ) 

who is the subject we are talking about

Definition at line 92 of file TNOobject.C.

void TNOobject::getTestImage ( unsigned int *  _testImage  ) 

which test image are we using

Definition at line 99 of file TNOobject.C.

void TNOobject::setFeatureLabel ( std::vector< string >  _featureLabel  ) 

what do we call the features we have put in

Definition at line 106 of file TNOobject.C.

void TNOobject::setFeatureNumber ( unsigned int  _featureNumber  ) 

give this sample a number of features, must be called

Definition at line 73 of file TNOobject.C.

bool TNOobject::setIterator ( unsigned int  _iter  ) 

all data is stored with the key of saccade number set the current iterator position, is false if not success

Definition at line 127 of file TNOobject.C.

void TNOobject::setLabel ( unsigned int  _testImage,
string  _subject 
)

set the labels for this sample

Definition at line 66 of file TNOobject.C.

bool TNOobject::setSaccade ( unsigned int  _dataSample,
unsigned int  _sampleNumber,
unsigned int  _sampleType,
float  _posX,
float  _posY,
float  _jumpToX,
float  _jumpToY,
unsigned int  _jumpSize,
string  _comment,
bool  _mask,
std::vector< double >  _feature 
)

Random access to set saccade data, bool is false if not success.

Definition at line 266 of file TNOobject.C.

void TNOobject::setSaccadeNext ( unsigned int  _sampleNumber,
unsigned int  _sampleType,
float  _posX,
float  _posY,
float  _jumpToX,
float  _jumpToY,
unsigned int  _jumpSize,
string  _comment,
bool  _mask,
std::vector< double >  _feature 
)

set saccade data using iterators to fill up the data set

Definition at line 210 of file TNOobject.C.

References ASSERT.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:50 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3