Fix view points rotation

This commit is contained in:
John Zhao 2018-06-05 14:42:39 +08:00
parent 1293757486
commit 9451fdd90c

View File

@ -35,7 +35,7 @@ std::shared_ptr<pcl::visualization::PCLVisualizer> CustomColorVis(
// viewer->addCoordinateSystem(1.0); // viewer->addCoordinateSystem(1.0);
viewer->addCoordinateSystem(1000.0); viewer->addCoordinateSystem(1000.0);
viewer->initCameraParameters(); viewer->initCameraParameters();
viewer->setCameraPosition(0, 0, -150, 0, 1, 0); viewer->setCameraPosition(0, 0, -150, 0, -1, 0);
return (viewer); return (viewer);
} }