Definition at line 102 of file FeatureTableResult.h. References Impala::Core::Feature::FeatureDefinition::AsString(), Impala::MakeString(), mDefinition, mTableInfoString, mTables, Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::SetInfo(), and Impala::Core::Vector::VectorTem< ElemT >::Size(). Referenced by Impala::Core::Feature::InterestPointFeature::ProjectOntoCodebook(). 00103 { 00104 if(mTables.size() <= index) 00105 { 00106 for(int i = mTables.size(); i <= index; i++) 00107 { 00108 mTables.push_back(0); 00109 } 00110 } 00111 if(!mTables[index]) 00112 { 00113 // first vector: allocate the table 00114 Feature::FeatureDefinition tempDef(mDefinition.AsString()); 00115 if(index != 0) 00116 tempDef.AddParameter("sub", MakeString(index)); 00117 Feature::FeatureTable* t = new Feature::FeatureTable( 00118 tempDef.AsString(), 500, 00119 vector.Size()); 00120 t->SetInfo(mTableInfoString); 00121 mTables[index] = t; 00122 } 00123 00124 mTables[index]->Add(quid, vector); 00125 return; 00126 }
Here is the call graph for this function:
|