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

String Impala::Core::Database::RawDataSet::GetFilePathFeatureData ( String  walkType,
FeatureDefinition  def,
int  fileOrDirId,
bool  partial,
int  startFrameOrFile,
bool  toWrite,
bool  silent 
) [inline]

Definition at line 544 of file RawDataSet.h.

References Impala::Core::Feature::FeatureDefinition::AsString(), GetAsPath(), GetDir(), GetFilePath(), Impala::Core::Feature::FeatureDefinition::GetName(), GetSection(), MakeDir(), Impala::MakeString(), mQuidClass, Impala::PathJoin(), and Impala::QUID_CLASS_IMAGE.

Referenced by Impala::Samples::MonetTest::DoCheckFeatures(), Impala::Samples::MonetTest::DoInsertFeatures(), Impala::Core::VideoSet::PathCreatorVideoSet::GetFilePathFeatureData(), Impala::Core::ImageSet::PathCreatorImageSet::GetFilePathFeatureData(), Impala::Core::DataFactory::MakeFeatureTable(), Impala::Core::Feature::FeatureTable::MakeFromDataSet(), Impala::Core::Feature::FeatureTableSet::MakeFromFile(), Impala::Core::VideoSet::ComputeKernelData::PrecomputeTask::PrecomputeTask(), and Impala::Core::ImageSet::ComputeKernelData::PrecomputeTask::PrecomputeTask().

00547     {
00548         // for backward compatibility
00549         if (walkType == "Image")
00550             walkType = ".";
00551  
00552         String dir = PathJoin("FeatureData", walkType, def.GetName());
00553         if (mQuidClass == QUID_CLASS_IMAGE)
00554         {
00555             dir = PathJoin(dir, GetSection(fileOrDirId), GetDir(fileOrDirId));
00556         }
00557         else
00558         {
00559             dir = PathJoin(dir, GetAsPath(fileOrDirId));
00560         }
00561         if (partial)
00562             dir = PathJoin(dir, "part_" + MakeString(startFrameOrFile));
00563         if (toWrite)
00564             MakeDir(dir);
00565         return GetFilePath(dir, def.AsString() + ".tab", toWrite, silent);
00566     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:07:45 2010 for ImpalaSrc by  doxygen 1.5.1