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

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

#include <nl_pl_editor_plugin.h>

Public Member Functions

 NL_PL_EDITOR_PLUGIN ()
 Initializes a new instance of the NL_PL_EDITOR_PLUGIN.
 
virtual ~NL_PL_EDITOR_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

std::unique_ptr< NL_PL_EDITOR_PLUGIN_IMPLm_impl
 

Detailed Description

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

Definition at line 38 of file nl_pl_editor_plugin.h.

Constructor & Destructor Documentation

◆ NL_PL_EDITOR_PLUGIN()

NL_PL_EDITOR_PLUGIN::NL_PL_EDITOR_PLUGIN ( )

Initializes a new instance of the NL_PL_EDITOR_PLUGIN.

Definition at line 28 of file nl_pl_editor_plugin.cpp.

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

◆ ~NL_PL_EDITOR_PLUGIN()

NL_PL_EDITOR_PLUGIN::~NL_PL_EDITOR_PLUGIN ( )
virtualdefault

Member Function Documentation

◆ SetCanvas()

void NL_PL_EDITOR_PLUGIN::SetCanvas ( EDA_DRAW_PANEL_GAL aViewport)

Sets the viewport controlled by the SpaceMouse.

Parameters
aViewportis the viewport to be navigated.

Definition at line 48 of file nl_pl_editor_plugin.cpp.

References m_impl.

◆ SetFocus()

void NL_PL_EDITOR_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 41 of file nl_pl_editor_plugin.cpp.

References m_impl.

Member Data Documentation

◆ m_impl

std::unique_ptr<NL_PL_EDITOR_PLUGIN_IMPL> NL_PL_EDITOR_PLUGIN::m_impl
private

Definition at line 66 of file nl_pl_editor_plugin.h.

Referenced by NL_PL_EDITOR_PLUGIN(), SetCanvas(), and SetFocus().


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