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

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

#include <nl_schematic_plugin.h>

Public Member Functions

 NL_SCHEMATIC_PLUGIN ()
 Initializes a new instance of the NL_SCHEMATIC_PLUGIN.
 
virtual ~NL_SCHEMATIC_PLUGIN ()
 
void SetCanvas (EDA_DRAW_PANEL_GAL *aViewport)
 Sets the viewport controlled by the SpaceMouse.
 
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_SCHEMATIC_PLUGIN_IMPLm_impl
 

Detailed Description

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

Definition at line 36 of file nl_schematic_plugin.h.

Constructor & Destructor Documentation

◆ NL_SCHEMATIC_PLUGIN()

NL_SCHEMATIC_PLUGIN::NL_SCHEMATIC_PLUGIN ( )

Initializes a new instance of the NL_SCHEMATIC_PLUGIN.

Definition at line 28 of file nl_schematic_plugin.cpp.

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

◆ ~NL_SCHEMATIC_PLUGIN()

NL_SCHEMATIC_PLUGIN::~NL_SCHEMATIC_PLUGIN ( )
virtual

Definition at line 38 of file nl_schematic_plugin.cpp.

References m_impl.

Member Function Documentation

◆ SetCanvas()

void NL_SCHEMATIC_PLUGIN::SetCanvas ( EDA_DRAW_PANEL_GAL aViewport)

Sets the viewport controlled by the SpaceMouse.

Parameters
aViewportis the viewport to be navigated.

Definition at line 51 of file nl_schematic_plugin.cpp.

References m_impl, and NL_SCHEMATIC_PLUGIN_IMPL::SetCanvas().

Referenced by SCH_BASE_FRAME::ActivateGalCanvas().

◆ SetFocus()

void NL_SCHEMATIC_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 44 of file nl_schematic_plugin.cpp.

References m_impl, and NL_SCHEMATIC_PLUGIN_IMPL::SetFocus().

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

Member Data Documentation

◆ m_impl

NL_SCHEMATIC_PLUGIN_IMPL* NL_SCHEMATIC_PLUGIN::m_impl
private

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