KiCad PCB EDA Suite
Loading...
Searching...
No Matches
nl_3d_viewer_plugin_impl.h File Reference

Declaration of the NL_3D_VIEWER_PLUGIN_IMPL class. More...

#include <SpaceMouse/CNavigation3D.hpp>
#include <include/plugins/3dapi/xv3d_types.h>
#include <wx/chartype.h>
#include <glm/glm.hpp>

Go to the source code of this file.

Classes

class  NL_3D_VIEWER_PLUGIN_IMPL
 The class that implements the accessors and mutators required for 3D navigation in an EDA_3D_CANVAS using a SpaceMouse. More...
 

Typedefs

typedef std::map< std::string, TDx::CCommandTreeNode * > CATEGORY_STORE
 
typedef TDx::SpaceMouse::Navigation3D::CNavigation3D NAV_3D
 

Functions

CATEGORY_STORE::iterator add_category (std::string aCategoryPath, CATEGORY_STORE &aCategoryStore)
 Add a category to the store.
 

Detailed Description

Declaration of the NL_3D_VIEWER_PLUGIN_IMPL class.

Definition in file nl_3d_viewer_plugin_impl.h.

Typedef Documentation

◆ CATEGORY_STORE

typedef std::map<std::string, TDx::CCommandTreeNode*> CATEGORY_STORE

Definition at line 46 of file nl_3d_viewer_plugin_impl.h.

◆ NAV_3D

typedef TDx::SpaceMouse::Navigation3D::CNavigation3D NAV_3D

Definition at line 51 of file nl_3d_viewer_plugin_impl.h.

Function Documentation

◆ add_category()

CATEGORY_STORE::iterator add_category ( std::string  aCategoryPath,
CATEGORY_STORE aCategoryStore 
)

Add a category to the store.

The function adds category paths of the format "A.B" where B is a sub-category of A.

Parameters
aCategoryPathis the std::string representation of the category.
aCategoryStoreis the CATEGORY_STORE instance to add to.
Returns
a CATEGORY_STORE::iterator where the category was added.

Definition at line 123 of file nl_3d_viewer_plugin_impl.cpp.

References add_category(), and name.

Referenced by add_category(), NL_3D_VIEWER_PLUGIN_IMPL::exportCommandsAndImages(), NL_SCHEMATIC_PLUGIN_IMPL::exportCommandsAndImages(), NL_PCBNEW_PLUGIN_IMPL::exportCommandsAndImages(), and NL_FOOTPRINT_PROPERTIES_PLUGIN_IMPL::exportCommandsAndImages().