implement option to change corner of navi cube

This commit is contained in:
wmayer
2018-05-26 18:51:53 +02:00
parent d15c7d0673
commit 7c010ab9a4
6 changed files with 83 additions and 14 deletions

View File

@@ -849,6 +849,12 @@ bool View3DInventorViewer::isEnabledNaviCube(void) const
return naviCubeEnabled;
}
void View3DInventorViewer::setNaviCubeCorner(int c)
{
if (naviCube)
naviCube->setCorner(static_cast<NaviCube::Corner>(c));
}
void View3DInventorViewer::setAxisCross(bool on)
{
SoNode* scene = getSceneGraph();