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

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

Definition at line 584 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().

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

Here is the call graph for this function:


Generated on Thu Jan 13 09:24:28 2011 for ImpalaSrc by  doxygen 1.5.1