Implements Impala::Application::SDash::GuiEventListener. Definition at line 904 of file SurveillanceApp.cpp. References Impala::Application::SDash::RoiInfo::frameNr, Impala::Visualization::VideoJpgPlayer::GoToFrame(), mIdPane, mInspectVideoId, MonitorString(), mVideoPlayer, mVideoPlayerCamText, mVideoPlayerListener, mVideos, Impala::Visualization::VideoJpgPlayer::OpenVideo(), OglGui::StaticText::SetText(), Impala::Application::SDash::VideoPlayerListener::SetVideo(), and Impala::Application::SDash::RoiInfo::videoId. 00905 { 00906 if (src == mIdPane) 00907 { 00908 RoiInfo* roiInfo = (RoiInfo*) userData; 00909 if (roiInfo->videoId > -1) 00910 { 00911 mInspectVideoId = roiInfo->videoId; 00912 mVideoPlayer->OpenVideo(mVideos[roiInfo->videoId]); 00913 mVideoPlayer->GoToFrame(roiInfo->frameNr); 00914 mVideoPlayerListener->SetVideo(roiInfo->videoId); 00915 int camId = roiInfo->videoId + 1; 00916 //mVideoPlayerCamText->SetText("camera: " + MakeString(camId)); 00917 mVideoPlayerCamText->SetText(MonitorString(camId-1)); 00918 } 00919 else 00920 std::cout << "invalid video id in GuiEvent" << std::endl; 00921 } 00922 }
Here is the call graph for this function:
|