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

void Impala::Visualization::AllFramesTLineVideo::HandleOptions (  )  [inline, private]

Definition at line 580 of file AllFramesTLineVideo.h.

References Impala::CmdOptions::GetBool(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetInt(), Impala::CmdOptions::GetString(), mConceptAnnotations, mConceptFeature, mConceptModel, mConceptSet, mFrameError, mNeedleColor, mNrExtraTimeLines, mShowViewStrip, mTimeLineVideo3D, mTimeLineVideoRaw, mTLVAxisY, mViewStripMinW, mViewStripStep, mViewStripUseMem, mViewStripVideoRaw, and mViewStripY.

Referenced by Init().

00581     {
00582         CmdOptions& options = CmdOptions::GetInstance();
00583 
00584         mFrameError             = options.GetInt("timeLineVideoFrameError");
00585         mTimeLineVideoRaw       = options.GetBool("timeLineVideoRaw");
00586         mViewStripVideoRaw      = options.GetBool("viewStripVideoRaw");
00587         //mTimeLineVideoDir       = options.GetString("timeLineVideoDir");
00588         //mTimeLineVideoSimDir    = options.GetString("timeLineVideoSimDataDir");
00589         //mTimeLineVideoSimSubDir = options.GetString("timeLineVideoSimDataSubDir");
00590         mConceptSet             = options.GetString("conceptSet");
00591         mConceptModel           = options.GetString("conceptModel");
00592         mConceptFeature         = options.GetString("conceptFeature");
00593         mConceptAnnotations     = options.GetString("conceptAnnotations");
00594         mTimeLineVideo3D        = options.GetBool("timeLineVideo3D");
00595         mTLVAxisY               = options.GetInt("timeLineVideoAxisY");
00596         //mNoValues               = options.GetBool("timeLineVideoNoValues");
00597         //mNoBars                 = options.GetBool("timeLineVideoNoBars");
00598         mShowViewStrip          = options.GetBool("viewStrip");
00599         mViewStripUseMem        = options.GetBool("viewStripUseMemory");
00600         mViewStripY             = options.GetInt("viewStripY");
00601         mViewStripStep          = options.GetInt("viewStripStep");
00602         mViewStripMinW          = options.GetInt("viewStripMinWidth");
00603         //mViewStripDir           = options.GetString("viewStripRawDir");
00604         std::string needleColS  = options.GetString("timeLineNeedleColor");
00605         mNrExtraTimeLines       = options.GetInt("timeLineExtra");
00606 
00607         if (mFrameError == -1)
00608             mFrameError = 0;
00609         //if (mViewStripDir.empty())
00610         //    mViewStripDir = mTimeLineVideoDir;
00611         //if (!mTimeLineVideoSimSubDir.empty())
00612         //    mTimeLineVideoSimDir += "/" + mTimeLineVideoSimSubDir;
00613         if (mConceptFeature.empty())
00614             mConceptFeature = "combined";
00615         if (mTLVAxisY == -1)
00616             mTLVAxisY = 20;
00617         if (mViewStripY == -1)
00618             mViewStripY = 24;
00619         if (mViewStripStep == -1)
00620             mViewStripStep = 1;
00621         if (mViewStripMinW < 4)
00622             mViewStripMinW = 4;
00623         if (!needleColS.empty())
00624             mNeedleColor = OglColorStr(needleColS.c_str());
00625     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:42:05 2010 for ImpalaSrc by  doxygen 1.5.1