|
KiCad PCB EDA Suite
|
Public Member Functions | |
| Handle (XCAFApp_Application) m_app | |
| Handle (TDocStd_Document) m_doc | |
| Handle (XCAFDoc_ColorTool) m_color | |
| Handle (XCAFDoc_ShapeTool) m_assy | |
| bool | IsCanceled () |
| 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 |
| IFSG_APPEARANCE | defaultColor { false } |
| Wrapper so the node clears it if a shape that took ownership is destroyed first. | |
| NODEMAP | shapes |
| COLORMAP | colors |
| FACEMAP | faces |
| bool | renderBoth |
| bool | hasSolid |
| S3D::MODEL_IMPORT_OPTIONS | options |
| MODEL_IMPORT_STATUS * | status = nullptr |
Definition at line 112 of file loadmodel.cpp.
|
inline |
Definition at line 144 of file loadmodel.cpp.
References hasSolid, renderBoth, and scene.
|
inline |
Definition at line 151 of file loadmodel.cpp.
References colors, defaultColor, S3D::DestroyNode(), faces, S3D::GetSGNodeParent(), scene, and shapes.
|
inline |
Definition at line 255 of file loadmodel.cpp.
References colors, defaultColor, IFSG_NODE::GetRawPtr(), IFSG_APPEARANCE::NewNode(), OCC_COLOR_SPACE, IFSG_APPEARANCE::SetAmbient(), IFSG_APPEARANCE::SetDiffuse(), IFSG_APPEARANCE::SetShininess(), IFSG_APPEARANCE::SetSpecular(), and IFSG_APPEARANCE::SetTransparency().
Referenced by getColor(), and processFace().
|
inline |
|
inline |
Definition at line 229 of file loadmodel.cpp.
References shapes.
Referenced by processLabel(), and processSolidOrShell().
| DATA::Handle | ( | TDocStd_Document | ) |
| DATA::Handle | ( | XCAFApp_Application | ) |
| DATA::Handle | ( | XCAFDoc_ColorTool | ) |
| DATA::Handle | ( | XCAFDoc_ShapeTool | ) |
|
inline |
Definition at line 131 of file loadmodel.cpp.
References S3D::CANCELED, options, and status.
Referenced by LoadModel(), processFace(), processLabel(), and processShell().
| COLORMAP DATA::colors |
Definition at line 124 of file loadmodel.cpp.
Referenced by GetColor(), and ~DATA().
| IFSG_APPEARANCE DATA::defaultColor { false } |
Wrapper so the node clears it if a shape that took ownership is destroyed first.
Definition at line 121 of file loadmodel.cpp.
Referenced by GetColor(), and ~DATA().
| FACEMAP DATA::faces |
Definition at line 125 of file loadmodel.cpp.
Referenced by GetFace(), processFace(), and ~DATA().
| bool DATA::hasSolid |
Definition at line 127 of file loadmodel.cpp.
Referenced by DATA(), processFace(), processLabel(), and processSolidOrShell().
| S3D::MODEL_IMPORT_OPTIONS DATA::options |
Definition at line 128 of file loadmodel.cpp.
Referenced by IsCanceled(), LoadModel(), and processFace().
| bool DATA::renderBoth |
Definition at line 126 of file loadmodel.cpp.
Referenced by DATA(), LoadModel(), and processFace().
| SGNODE* DATA::scene |
Definition at line 118 of file loadmodel.cpp.
Referenced by DATA(), LoadModel(), and ~DATA().
| NODEMAP DATA::shapes |
Definition at line 123 of file loadmodel.cpp.
Referenced by GetShape(), and ~DATA().
| MODEL_IMPORT_STATUS* DATA::status = nullptr |
Definition at line 129 of file loadmodel.cpp.
Referenced by IsCanceled(), and LoadModel().