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

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

#include <nl_pcbnew_plugin.h>

Public Member Functions

 NL_PCBNEW_PLUGIN (PCB_DRAW_PANEL_GAL *aViewport)
 Initializes a new instance of the NL_3DVIEWER_PLUGIN.
 
virtual ~NL_PCBNEW_PLUGIN ()
 
void SetFocus (bool aFocus)
 Set the connection to the 3Dconnexion driver to the focus state so that 3DMouse data is routed to this connexion.
 

Private Attributes

NL_PCBNEW_PLUGIN_IMPLm_impl
 

Detailed Description

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

Definition at line 36 of file nl_pcbnew_plugin.h.

Constructor & Destructor Documentation

◆ NL_PCBNEW_PLUGIN()

NL_PCBNEW_PLUGIN::NL_PCBNEW_PLUGIN ( PCB_DRAW_PANEL_GAL aViewport)

Initializes a new instance of the NL_3DVIEWER_PLUGIN.

Parameters
aViewportis the viewport to be navigated.

Definition at line 26 of file nl_pcbnew_plugin.cpp.

References ADVANCED_CFG::GetCfg(), m_impl, and KIPLATFORM::DRIVERS::Valid3DConnexionDriverVersion().

◆ ~NL_PCBNEW_PLUGIN()

NL_PCBNEW_PLUGIN::~NL_PCBNEW_PLUGIN ( )
virtual

Definition at line 36 of file nl_pcbnew_plugin.cpp.

References m_impl.

Member Function Documentation

◆ SetFocus()

void NL_PCBNEW_PLUGIN::SetFocus ( bool  aFocus)

Set the connection to the 3Dconnexion driver to the focus state so that 3DMouse data is routed to this connexion.

Parameters
aFocusis true to set the connexion active.

Definition at line 42 of file nl_pcbnew_plugin.cpp.

References m_impl, and NL_PCBNEW_PLUGIN_IMPL::SetFocus().

Referenced by PCB_BASE_FRAME::handleActivateEvent(), and PCB_BASE_FRAME::handleIconizeEvent().

Member Data Documentation

◆ m_impl

NL_PCBNEW_PLUGIN_IMPL* NL_PCBNEW_PLUGIN::m_impl
private

Definition at line 57 of file nl_pcbnew_plugin.h.

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


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