Commit b4367c92 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #9889 from IgWod:add-const-getviewerpose

parents 825c0ffd d7cbe6e9
......@@ -509,7 +509,7 @@ void cv::viz::Viz3d::VizImpl::setViewerPose(const Affine3d &pose)
}
/////////////////////////////////////////////////////////////////////////////////////////////
cv::Affine3d cv::viz::Viz3d::VizImpl::getViewerPose()
cv::Affine3d cv::viz::Viz3d::VizImpl::getViewerPose() const
{
vtkCamera& camera = *renderer_->GetActiveCamera();
......
......@@ -88,7 +88,7 @@ public:
void resetCamera();
void setViewerPose(const Affine3d &pose);
Affine3d getViewerPose();
Affine3d getViewerPose() const;
void convertToWindowCoordinates(const Point3d &pt, Point3d &window_coord);
void converTo3DRay(const Point3d &window_coord, Point3d &origin, Vec3d &direction);
......
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