Commit 80709697 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #11643 from savuor:fix/viz_const

parents 1b53a4fc e1b3cf5c
...@@ -144,7 +144,7 @@ namespace cv ...@@ -144,7 +144,7 @@ namespace cv
/** @brief Returns the current pose of the viewer. /** @brief Returns the current pose of the viewer.
*/ */
Affine3d getViewerPose(); Affine3d getViewerPose() const;
/** @brief Sets pose of the viewer. /** @brief Sets pose of the viewer.
......
...@@ -127,7 +127,7 @@ cv::Affine3d cv::viz::Viz3d::getWidgetPose(const String &id) const { return impl ...@@ -127,7 +127,7 @@ cv::Affine3d cv::viz::Viz3d::getWidgetPose(const String &id) const { return impl
void cv::viz::Viz3d::setCamera(const Camera &camera) { impl_->setCamera(camera); } void cv::viz::Viz3d::setCamera(const Camera &camera) { impl_->setCamera(camera); }
cv::viz::Camera cv::viz::Viz3d::getCamera() const { return impl_->getCamera(); } cv::viz::Camera cv::viz::Viz3d::getCamera() const { return impl_->getCamera(); }
void cv::viz::Viz3d::setViewerPose(const Affine3d &pose) { impl_->setViewerPose(pose); } void cv::viz::Viz3d::setViewerPose(const Affine3d &pose) { impl_->setViewerPose(pose); }
cv::Affine3d cv::viz::Viz3d::getViewerPose() { return impl_->getViewerPose(); } cv::Affine3d cv::viz::Viz3d::getViewerPose() const { return impl_->getViewerPose(); }
void cv::viz::Viz3d::resetCameraViewpoint(const String &id) { impl_->resetCameraViewpoint(id); } void cv::viz::Viz3d::resetCameraViewpoint(const String &id) { impl_->resetCameraViewpoint(id); }
void cv::viz::Viz3d::resetCamera() { impl_->resetCamera(); } void cv::viz::Viz3d::resetCamera() { impl_->resetCamera(); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment