+ Get exact point on data model when picking in 3d view

This commit is contained in:
wmayer
2013-11-21 12:50:49 +01:00
parent f5a4c28f3d
commit 1333cb8734
8 changed files with 91 additions and 11 deletions

View File

@@ -1412,6 +1412,14 @@ SoPickedPoint* View3DInventorViewer::pickPoint(const SbVec2s& pos) const
return (pick ? new SoPickedPoint(*pick) : 0);
}
const SoPickedPoint* View3DInventorViewer::getPickedPoint(SoEventCallback * n) const
{
if (selectionRoot)
return selectionRoot->getPickedPoint(n->getAction());
else
return n->getPickedPoint();
}
SbBool View3DInventorViewer::pubSeekToPoint(const SbVec2s& pos)
{
return this->seekToPoint(pos);