KiCad PCB EDA Suite
|
#include "nl_3d_viewer_plugin_impl.h"
#include <3d-viewer/3d_rendering/track_ball.h>
#include <3d-viewer/3d_canvas/eda_3d_canvas.h>
#include <tool/action_manager.h>
#include <tool/tool_manager.h>
#include <tool/tools_holder.h>
#include <map>
#include <string>
#include <vector>
#include <wx/mstream.h>
Go to the source code of this file.
Functions | |
template<glm::length_t L, glm::length_t C, class T , glm::qualifier Q> | |
bool | equals (glm::mat< L, C, T, Q > const &aFirst, glm::mat< L, C, T, Q > const &aSecond, T aEpsilon=static_cast< T >(FLT_EPSILON *10)) |
Template to compare two glm::mat<T> values for equality within a required epsilon. | |
CATEGORY_STORE::iterator | add_category (std::string aCategoryPath, CATEGORY_STORE &aCategoryStore) |
Add a category to the store. | |
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.
aCategoryPath | is the std::string representation of the category. |
aCategoryStore | is the CATEGORY_STORE instance to add to. |
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().
bool equals | ( | glm::mat< L, C, T, Q > const & | aFirst, |
glm::mat< L, C, T, Q > const & | aSecond, | ||
T | aEpsilon = static_cast<T>( FLT_EPSILON * 10 ) |
||
) |
Template to compare two glm::mat<T> values for equality within a required epsilon.
aFirst | value to compare. |
aSecond | value to compare. |
aEpsilon | allowed error. |
Definition at line 58 of file nl_3d_viewer_plugin_impl.cpp.
References equals().
Referenced by equals(), NL_3D_VIEWER_PLUGIN_IMPL::SetCameraMatrix(), NL_SCHEMATIC_PLUGIN_IMPL::SetCameraMatrix(), NL_GERBVIEW_PLUGIN_IMPL::SetCameraMatrix(), NL_PL_EDITOR_PLUGIN_IMPL::SetCameraMatrix(), NL_PCBNEW_PLUGIN_IMPL::SetCameraMatrix(), NL_SCHEMATIC_PLUGIN_IMPL::SetViewExtents(), NL_GERBVIEW_PLUGIN_IMPL::SetViewExtents(), NL_PL_EDITOR_PLUGIN_IMPL::SetViewExtents(), and NL_PCBNEW_PLUGIN_IMPL::SetViewExtents().