[][src]Function opencv::ovis::create_window

pub fn create_window(
    title: &str,
    size: Size,
    flags: i32
) -> Result<Ptr<dyn WindowScene>>

create a new rendering window/ viewport

Parameters

  • title: window title
  • size: size of the window
  • flags: a combination of @ref SceneSettings

Furthermore, the behavior is controlled by the following environment variables

  • OPENCV_OVIS_VERBOSE_LOG: print all of OGRE log output
  • OPENCV_OVIS_RENDERSYSTEM: the name of the OGRE RenderSystem to use
  • OPENCV_OVIS_NOVSYNC: disable VSYNC for all windows

C++ default parameters

  • flags: SCENE_INTERACTIVE|SCENE_AA