KiCad PCB EDA Suite
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 46 of file nl_3d_viewer_plugin.cpp.

46 : m_impl( nullptr )
47{
48}
NL_3D_VIEWER_PLUGIN_IMPL * m_impl

◆ ~NL_3D_VIEWER_PLUGIN()

NL_3D_VIEWER_PLUGIN::~NL_3D_VIEWER_PLUGIN ( )
virtual

Definition at line 56 of file nl_3d_viewer_plugin.cpp.

57{
58}

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 51 of file nl_3d_viewer_plugin.cpp.

52{
53}

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.


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