void RvizLogo::onEnable() { if (frame_) { frame_->Show(true); } else { WindowManagerInterface* wm = vis_manager_->getWindowManager(); wm->showPane(panel_); } }
void CameraDisplaySave::onEnable() { subscribe(); if (frame_) { frame_->Show(true); } else { WindowManagerInterface* wm = vis_manager_->getWindowManager(); wm->showPane(render_panel_); } render_panel_->getRenderWindow()->setActive(true); }