本文主要是介绍An orientation marker must be set prior to enabling/disabling widget,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
// Set up the QVTK window
viewer.reset (new pcl::visualization::PCLVisualizer ("viewer", false));
// viewer->addCoordinateSystem (1000.0);
//连接qvtk
ui->qvtkWidget->SetRenderWindow (viewer->getRenderWindow ()); //交互器必须在widget使能之前,
viewer->setupInteractor (ui->qvtkWidget->GetInteractor (), ui->qvtkWidget->GetRenderWindow ());
ui->qvtkWidget->update ();
addOrientationMarkerWidgetAxesToview(viewer->getRenderWindow()->GetInteractor(), 0.0, 0.0, 0.2, 0.2);
这篇关于An orientation marker must be set prior to enabling/disabling widget的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!