KiCad PCB EDA Suite
Loading...
Searching...
No Matches
NL_3D_VIEWER_PLUGIN Class Reference

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. More...
 
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. More...
 

Private Attributes

NL_3D_VIEWER_PLUGIN_IMPLm_impl
 

Detailed Description

The class that implements the public interface to the SpaceMouse plug-in.

Definition at line 36 of file nl_3d_viewer_plugin.h.

Constructor & Destructor Documentation

◆ NL_3D_VIEWER_PLUGIN()

NL_3D_VIEWER_PLUGIN::NL_3D_VIEWER_PLUGIN ( EDA_3D_CANVAS aViewport)

Initializes a new instance of the NL_3D_VIEWER_PLUGIN.

Parameters
aViewportis 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().

◆ ~NL_3D_VIEWER_PLUGIN()

NL_3D_VIEWER_PLUGIN::~NL_3D_VIEWER_PLUGIN ( )
virtual

Definition at line 38 of file nl_3d_viewer_plugin.cpp.

References m_impl.

Member Function Documentation

◆ SetFocus()

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.

Parameters
aFocusis true to set the connection active.

Definition at line 44 of file nl_3d_viewer_plugin.cpp.

References m_impl, and NL_3D_VIEWER_PLUGIN_IMPL::SetFocus().

Referenced by EDA_3D_VIEWER_FRAME::handleIconizeEvent(), and EDA_3D_VIEWER_FRAME::OnActivate().

Member Data Documentation

◆ m_impl

NL_3D_VIEWER_PLUGIN_IMPL* NL_3D_VIEWER_PLUGIN::m_impl
private

Definition at line 57 of file nl_3d_viewer_plugin.h.

Referenced by NL_3D_VIEWER_PLUGIN(), SetFocus(), and ~NL_3D_VIEWER_PLUGIN().


The documentation for this class was generated from the following files: