mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
remove setWindowName method to avoid complications
This commit is contained in:
parent
21be9796ae
commit
9d4fe6984b
@ -50,7 +50,6 @@ namespace cv
|
||||
void saveScreenshot (const String &file);
|
||||
void setWindowPosition (int x, int y);
|
||||
void setFullScreen (bool mode);
|
||||
void setWindowName (const String &name);
|
||||
void setBackgroundColor(const Color& color = Color::black());
|
||||
|
||||
void spin();
|
||||
|
@ -79,7 +79,6 @@ cv::String cv::viz::Viz3d::getWindowName() const { return impl_->getWindowName()
|
||||
void cv::viz::Viz3d::saveScreenshot (const String &file) { impl_->saveScreenshot(file); }
|
||||
void cv::viz::Viz3d::setWindowPosition (int x, int y) { impl_->setWindowPosition(x,y); }
|
||||
void cv::viz::Viz3d::setFullScreen (bool mode) { impl_->setFullScreen(mode); }
|
||||
void cv::viz::Viz3d::setWindowName (const String &name) { impl_->setWindowName(name); }
|
||||
void cv::viz::Viz3d::setBackgroundColor(const Color& color) { impl_->setBackgroundColor(color); }
|
||||
|
||||
void cv::viz::Viz3d::setRenderingProperty(int property, double value, const String &id) { getWidget(id).setRenderingProperty(property, value); }
|
||||
|
@ -542,12 +542,6 @@ void cv::viz::Viz3d::VizImpl::setFullScreen (bool mode)
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////
|
||||
void cv::viz::Viz3d::VizImpl::setWindowName (const std::string &name)
|
||||
{
|
||||
if (window_)
|
||||
window_->SetWindowName (name.c_str ());
|
||||
}
|
||||
|
||||
cv::String cv::viz::Viz3d::VizImpl::getWindowName() const
|
||||
{
|
||||
return (window_ ? window_->GetWindowName() : "");
|
||||
|
@ -69,7 +69,6 @@ public:
|
||||
Size getWindowSize() const;
|
||||
void setWindowSize (int xw, int yw);
|
||||
void setFullScreen (bool mode);
|
||||
void setWindowName (const String &name);
|
||||
String getWindowName() const;
|
||||
void setBackgroundColor (const Color& color);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user