// Get the current V3D image window /* static */ ImageWindow ImageWindow::current() { V3DPluginCallback2* callback = v3d::get_plugin_callback(); if (! callback) throw std::runtime_error("No V3D callback handler"); return ImageWindow(callback->currentImageWindow()); }
/* static */ ImageWindow ImageWindow::currentHiddenSelected() { return ImageWindow(v3d::get_plugin_callback()->curHiddenSelectedWindow()); }
ImageWindow View::Window() const { return ImageWindow( (*API->View->GetViewParentWindow)( handle ) ); }