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

#include <footprint.h>

Public Member Functions

 EXTRUDED_3D_BODY ()=default
 
bool operator== (const EXTRUDED_3D_BODY &aOther) const
 

Static Public Member Functions

static KIGFX::COLOR4D GetDefaultColor (EXTRUSION_MATERIAL aMaterial)
 
static uint32_t PackColorKey (const KIGFX::COLOR4D &aColor)
 

Public Attributes

int m_height = 0
 
int m_standoff = 0
 
PCB_LAYER_ID m_layer = UNDEFINED_LAYER
 
KIGFX::COLOR4D m_color = KIGFX::COLOR4D::UNSPECIFIED
 
EXTRUSION_MATERIAL m_material = EXTRUSION_MATERIAL::PLASTIC
 
bool m_show = true
 
VECTOR3D m_scale { 1.0, 1.0, 1.0 }
 
VECTOR3D m_rotation { 0.0, 0.0, 0.0 }
 
VECTOR3D m_offset { 0.0, 0.0, 0.0 }
 

Detailed Description

Definition at line 102 of file footprint.h.

Constructor & Destructor Documentation

◆ EXTRUDED_3D_BODY()

EXTRUDED_3D_BODY::EXTRUDED_3D_BODY ( )
default

Referenced by operator==().

Member Function Documentation

◆ GetDefaultColor()

◆ operator==()

bool EXTRUDED_3D_BODY::operator== ( const EXTRUDED_3D_BODY & aOther) const
inline

◆ PackColorKey()

static uint32_t EXTRUDED_3D_BODY::PackColorKey ( const KIGFX::COLOR4D & aColor)
inlinestatic

Member Data Documentation

◆ m_color

◆ m_height

◆ m_layer

◆ m_material

◆ m_offset

◆ m_rotation

◆ m_scale

◆ m_show

◆ m_standoff


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