KiCad PCB EDA Suite
No Matches
LAYER_PRESET_3D Struct Reference

#include <eda_3d_viewer_settings.h>

Public Member Functions

 LAYER_PRESET_3D (const wxString &aName=wxEmptyString)
 LAYER_PRESET_3D (const wxString &aName, const std::bitset< LAYER_3D_END > &aLayers, const std::map< int, KIGFX::COLOR4D > &aColors)

Public Attributes

wxString name
 A name for this layer set.
std::bitset< LAYER_3D_ENDlayers
std::map< int, KIGFX::COLOR4Dcolors

Detailed Description

Definition at line 39 of file eda_3d_viewer_settings.h.

Constructor & Destructor Documentation

◆ LAYER_PRESET_3D() [1/2]

◆ LAYER_PRESET_3D() [2/2]

LAYER_PRESET_3D::LAYER_PRESET_3D ( const wxString &  aName,
const std::bitset< LAYER_3D_END > &  aLayers,
const std::map< int, KIGFX::COLOR4D > &  aColors 

Definition at line 43 of file eda_3d_viewer_settings.h.

Member Data Documentation

◆ colors

std::map<int, KIGFX::COLOR4D> LAYER_PRESET_3D::colors

◆ layers

std::bitset<LAYER_3D_END> LAYER_PRESET_3D::layers

◆ name

wxString LAYER_PRESET_3D::name

A name for this layer set.

Definition at line 51 of file eda_3d_viewer_settings.h.

Referenced by APPEARANCE_CONTROLS_3D::doApplyLayerPreset(), and APPEARANCE_CONTROLS_3D::onLayerPresetChanged().

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