Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
Custom key and mouse binding in viewers

VSG extension Demonstrates how user can define its own key and mouse binding in viewers.

DESCRIPTION:

    This example creates a new viewer class derivating from the standard SoWinExaminerViewer class. This new class redefines a large number of key and mouse binding in order that most of the viewer manipulation are changed.

FILES:

    • Inventor/SetKeyBinding/SetKeyBinding.cxx
    • Inventor/SetKeyBinding/resource.h
    • Inventor/SetKeyBinding/SoWinExaminerViewerSetKeyBinding.cxx
    • Inventor/SetKeyBinding/SoWinExaminerViewerSetKeyBinding.h
    • Inventor/SetKeyBinding/cursor/classic_.cur
    • Inventor/SetKeyBinding/cursor/SoWinClassic_Manip.cur
    • Inventor/SetKeyBinding/cursor/SoWinClassic_Pick.cur
    • Inventor/SetKeyBinding/cursor/SoWinShadow_Manip.cur
    • Inventor/SetKeyBinding/cursor/SoWinShadow_Pick.cur
    • Inventor/SetKeyBinding/cursor/SoWinXor_Manip.cur
    • Inventor/SetKeyBinding/cursor/SoWinXor_Pick.cur

SEE ALSO

SoWinExaminerViewer addFunctionKeyBinding addViewingMouseBinding

SCREENSHOT: