Definition at line 105 of file SegmentationDocumentGuiKeyframes.h. References Impala::Visualization::AppControlDoc::AddDocListener(), Impala::CmdOptions::GetBool(), Impala::CmdOptions::GetInstance(), OglGui::OglWindow::H(), Impala::Visualization::ImageSetIdxGridScroller::ImSetIdxGrid(), mCurFile, mImagesSet, mImSetIdxGrid, mImSetIdxGridScroller, mSegDoc, OglGui::OglWindow::SetDimensions(), Impala::Visualization::ImageSetIdxGrid::SetImageSetIdxGridListener(), Impala::Visualization::ImagesWindow::SetImagesListener(), Impala::Visualization::ImageSetIdxGrid::ShowDims(), and OglGui::OglWindow::W(). 00107 { 00108 mSegDoc = segDoc; 00109 mCurFile = -1; 00110 mImagesSet = 0; 00111 mImSetIdxGrid = 0; 00112 AddDocListener(this); 00113 00114 CmdOptions& options = CmdOptions::GetInstance(); 00115 00116 if (!options.GetBool("keyframesIdxGrid",false)) 00117 { 00118 int nrRow = H() / (thumbHeight + 3); 00119 mImagesSet = new ImageSet(this,0,0,thumbWidth, thumbHeight, viewScale, 00120 nrImOnRow, nrRow); 00121 mImagesSet->SetDimensions(2,2,parent->W()-4,parent->H()-4); 00122 mImagesSet->ActivateInfoBox(false); 00123 mImagesSet->SetImagesListener(this, 0); 00124 } 00125 else 00126 { 00127 mImSetIdxGridScroller = 00128 new ImageSetIdxGridScroller(this,2,2,parent->W()-4, 00129 parent->H()-4,nrImOnRow); 00130 mImSetIdxGrid = mImSetIdxGridScroller->ImSetIdxGrid(); 00131 mImSetIdxGrid->SetImageSetIdxGridListener(this); 00132 //mImSetIdxGrid->ShowNames(false); 00133 mImSetIdxGrid->ShowDims(false); 00134 } 00135 }
Here is the call graph for this function:
|