KiCad PCB EDA Suite
|
Public Member Functions | |
Handle (TDocStd_Document) m_doc | |
Handle (XCAFDoc_ColorTool) m_color | |
Handle (XCAFDoc_ShapeTool) m_assy | |
DATA () | |
~DATA () | |
bool | GetShape (const std::string &id, std::vector< SGNODE * > *&listPtr) |
SGNODE * | GetFace (const std::string &id) |
SGNODE * | GetColor (Quantity_ColorRGBA *colorObj) |
Public Attributes | |
SGNODE * | scene |
SGNODE * | defaultColor |
Quantity_Color | refColor |
NODEMAP | shapes |
COLORMAP | colors |
FACEMAP | faces |
bool | renderBoth |
bool | hasSolid |
Definition at line 112 of file loadmodel.cpp.
|
inline |
Definition at line 126 of file loadmodel.cpp.
References defaultColor, hasSolid, refColor, renderBoth, and scene.
|
inline |
Definition at line 135 of file loadmodel.cpp.
References colors, defaultColor, S3D::DestroyNode(), faces, S3D::GetSGNodeParent(), scene, and shapes.
|
inline |
Definition at line 231 of file loadmodel.cpp.
References colors, defaultColor, IFSG_NODE::GetRawPtr(), OCC_COLOR_SPACE, refColor, IFSG_APPEARANCE::SetAmbient(), IFSG_APPEARANCE::SetDiffuse(), IFSG_APPEARANCE::SetShininess(), and IFSG_APPEARANCE::SetSpecular().
Referenced by getColor(), and processFace().
|
inline |
|
inline |
Definition at line 205 of file loadmodel.cpp.
References shapes.
Referenced by processLabel(), and processSolidOrShell().
DATA::Handle | ( | TDocStd_Document | ) |
DATA::Handle | ( | XCAFDoc_ColorTool | ) |
DATA::Handle | ( | XCAFDoc_ShapeTool | ) |
COLORMAP DATA::colors |
Definition at line 121 of file loadmodel.cpp.
Referenced by GetColor(), and ~DATA().
SGNODE* DATA::defaultColor |
Definition at line 118 of file loadmodel.cpp.
Referenced by DATA(), GetColor(), and ~DATA().
FACEMAP DATA::faces |
Definition at line 122 of file loadmodel.cpp.
Referenced by GetFace(), processFace(), and ~DATA().
bool DATA::hasSolid |
Definition at line 124 of file loadmodel.cpp.
Referenced by DATA(), processFace(), processLabel(), and processSolidOrShell().
Quantity_Color DATA::refColor |
Definition at line 119 of file loadmodel.cpp.
Referenced by DATA(), and GetColor().
bool DATA::renderBoth |
Definition at line 123 of file loadmodel.cpp.
Referenced by DATA(), LoadModel(), and processFace().
SGNODE* DATA::scene |
Definition at line 117 of file loadmodel.cpp.
Referenced by DATA(), LoadModel(), and ~DATA().
NODEMAP DATA::shapes |
Definition at line 120 of file loadmodel.cpp.
Referenced by GetShape(), and ~DATA().