Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

virtual double Impala::Application::VideoExcel::TableDataSourceImageDir::GetNormalizedDataByID ( String  column,
int  row 
) [inline, virtual]

Reimplemented from Impala::Application::VideoExcel::TableDataSource.

Definition at line 85 of file TableDataSourceImageDir.h.

References Impala::Application::VideoExcel::TableDataSource::mTotalRows.

00086     {
00087         double v = row / (double)mTotalRows;
00088         if (column == "red")
00089             return v;
00090         if (column == "green")
00091             return 1.0 - v;
00092         if (column == "blue") {
00093             return (row % 10) / 10.0;
00094         }     
00095         return 0.0;
00096     }


Generated on Fri Mar 19 10:54:10 2010 for ImpalaSrc by  doxygen 1.5.1