KiCad PCB EDA Suite
|
The class that implements the public interface to the SpaceMouse plug-in. More...
#include <nl_3d_viewer_plugin.h>
Public Member Functions | |
NL_3D_VIEWER_PLUGIN (EDA_3D_CANVAS *aViewport) | |
Initializes a new instance of the NL_3D_VIEWER_PLUGIN. | |
virtual | ~NL_3D_VIEWER_PLUGIN () |
void | SetFocus (bool aFocus=true) |
Set the connection to the 3Dconnexion driver to the focus state so that 3DMouse data is routed here. | |
Private Attributes | |
std::unique_ptr< NL_3D_VIEWER_PLUGIN_IMPL > | m_impl |
The class that implements the public interface to the SpaceMouse plug-in.
Definition at line 38 of file nl_3d_viewer_plugin.h.
NL_3D_VIEWER_PLUGIN::NL_3D_VIEWER_PLUGIN | ( | EDA_3D_CANVAS * | aViewport | ) |
Initializes a new instance of the NL_3D_VIEWER_PLUGIN.
aViewport | is the viewport to be navigated. |
Definition at line 27 of file nl_3d_viewer_plugin.cpp.
References ADVANCED_CFG::GetCfg(), m_impl, and KIPLATFORM::DRIVERS::Valid3DConnexionDriverVersion().
|
virtualdefault |
void NL_3D_VIEWER_PLUGIN::SetFocus | ( | bool | aFocus = true | ) |
Set the connection to the 3Dconnexion driver to the focus state so that 3DMouse data is routed here.
aFocus | is true to set the connection active. |
Definition at line 41 of file nl_3d_viewer_plugin.cpp.
References m_impl.
Referenced by EDA_3D_VIEWER_FRAME::handleIconizeEvent(), and EDA_3D_VIEWER_FRAME::OnActivate().
|
private |
Definition at line 59 of file nl_3d_viewer_plugin.h.
Referenced by NL_3D_VIEWER_PLUGIN(), and SetFocus().