KiCad PCB EDA Suite
|
This is an internal KiCad use attribute to add additional markup to a opencascade document for internal processing. More...
#include <kicad3d_info.h>
Public Member Functions | |
KICAD3D_INFO () | |
KICAD3D_MODEL_TYPE | GetModelType () const |
void | SetModelType (const KICAD3D_MODEL_TYPE &aModelType) |
const std::string & | GetDisplayName () const |
void | SetDisplayName (const std::string &aName) |
const Standard_GUID & | ID () const override |
void | Restore (const Handle(TDF_Attribute) &aAttribute) override |
Handle (TDF_Attribute) NewEmpty() const override | |
void | Paste (const Handle(TDF_Attribute) &aAttribute, const Handle(TDF_RelocationTable) &aRelocationTable) const override |
Standard_OStream & | Dump (Standard_OStream &aOS) const override |
Static Public Member Functions | |
static const Standard_GUID & | GetID () |
Get the GUID of this attribute. | |
static | Handle (KICAD3D_INFO) Set(const TDF_Label &aLabel |
Finds or creates the attribute attached to <theLabel>. | |
Public Attributes | |
static KICAD3D_MODEL_TYPE | aModelType |
static KICAD3D_MODEL_TYPE std::string | aDisplayName = "" ) |
Private Attributes | |
KICAD3D_MODEL_TYPE | m_modelType |
std::string | m_displayName |
This is an internal KiCad use attribute to add additional markup to a opencascade document for internal processing.
Definition at line 44 of file kicad3d_info.h.
|
override |
|
inline |
Definition at line 66 of file kicad3d_info.h.
References m_displayName.
|
static |
Get the GUID of this attribute.
Definition at line 27 of file kicad3d_info.cpp.
References ID().
Referenced by U3D::WRITER::generateMeshesByAssembly(), U3D::WRITER::getMeshName(), Handle(), ID(), and isLabelABoardMesh().
|
inline |
Definition at line 63 of file kicad3d_info.h.
References m_modelType.
|
static |
Finds or creates the attribute attached to <theLabel>.
The found or created attribute is returned
References KICAD3D_INFO().
|
override |
|
override |
|
override |
|
override |
Definition at line 56 of file kicad3d_info.cpp.
References Handle(), KICAD3D_INFO(), m_displayName, and m_modelType.
|
inline |
Definition at line 67 of file kicad3d_info.h.
References m_displayName.
|
inline |
Definition at line 64 of file kicad3d_info.h.
References aModelType, and m_modelType.
KICAD3D_MODEL_TYPE std::string KICAD3D_INFO::aDisplayName = "" ) |
Definition at line 58 of file kicad3d_info.h.
Referenced by Handle().
KICAD3D_MODEL_TYPE KICAD3D_INFO::aModelType |
Definition at line 57 of file kicad3d_info.h.
Referenced by Handle(), and SetModelType().
|
private |
Definition at line 79 of file kicad3d_info.h.
Referenced by GetDisplayName(), Restore(), and SetDisplayName().
|
private |
Definition at line 78 of file kicad3d_info.h.
Referenced by GetModelType(), Restore(), and SetModelType().