Merge pull request #11643 from savuor:fix/viz_const

pull/11664/merge
Vadim Pisarevsky 7 years ago
commit 80709697e5
  1. 2
      modules/viz/include/opencv2/viz/viz3d.hpp
  2. 2
      modules/viz/src/viz3d.cpp

@ -144,7 +144,7 @@ namespace cv
/** @brief Returns the current pose of the viewer.
*/
Affine3d getViewerPose();
Affine3d getViewerPose() const;
/** @brief Sets pose of the viewer.

@ -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); }
cv::viz::Camera cv::viz::Viz3d::getCamera() const { return impl_->getCamera(); }
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::resetCamera() { impl_->resetCamera(); }

Loading…
Cancel
Save