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

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

#include <nl_footprint_properties_plugin.h>

Public Member Functions

 NL_FOOTPRINT_PROPERTIES_PLUGIN (EDA_3D_CANVAS *aViewport)
 Initializes a new instance of the NL_FOOTPRINT_PROPERTIES_PLUGIN.
 
virtual ~NL_FOOTPRINT_PROPERTIES_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_FOOTPRINT_PROPERTIES_PLUGIN_IMPLm_impl
 

Detailed Description

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

Definition at line 38 of file nl_footprint_properties_plugin.h.

Constructor & Destructor Documentation

◆ NL_FOOTPRINT_PROPERTIES_PLUGIN()

NL_FOOTPRINT_PROPERTIES_PLUGIN::NL_FOOTPRINT_PROPERTIES_PLUGIN ( EDA_3D_CANVAS aViewport)

Initializes a new instance of the NL_FOOTPRINT_PROPERTIES_PLUGIN.

Parameters
aViewportis the viewport to be navigated.

Definition at line 27 of file nl_footprint_properties_plugin.cpp.

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

◆ ~NL_FOOTPRINT_PROPERTIES_PLUGIN()

NL_FOOTPRINT_PROPERTIES_PLUGIN::~NL_FOOTPRINT_PROPERTIES_PLUGIN ( )
virtualdefault

Member Function Documentation

◆ SetFocus()

void NL_FOOTPRINT_PROPERTIES_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 41 of file nl_footprint_properties_plugin.cpp.

References m_impl.

Referenced by PANEL_PREVIEW_3D_MODEL::onPanelShownEvent(), and PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL().

Member Data Documentation

◆ m_impl

std::unique_ptr<NL_FOOTPRINT_PROPERTIES_PLUGIN_IMPL> NL_FOOTPRINT_PROPERTIES_PLUGIN::m_impl
private

Definition at line 59 of file nl_footprint_properties_plugin.h.

Referenced by NL_FOOTPRINT_PROPERTIES_PLUGIN(), and SetFocus().


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