| 
    KiCad PCB EDA Suite
    
   | 
 
#include <iostream>#include <sstream>#include <fstream>#include <memory>#include <wx/filename.h>#include <wx/log.h>#include "plugins/3dapi/ifsg_api.h"#include "plugins/3dapi/sg_version.h"#include "streamwrapper.h"#include "3d_cache/sg/sg_node.h"#include "3d_cache/sg/scenegraph.h"#include "3d_cache/sg/sg_appearance.h"#include "3d_cache/sg/sg_shape.h"#include "3d_cache/sg/sg_helpers.h"Go to the source code of this file.
Macros | |
| #define | SG_VERSION_TAG "VERSION:2" | 
Functions | |
| static void | formatMaterial (SMATERIAL &mat, SGAPPEARANCE const *app) | 
| void | Free3DModel (S3DMODEL &aModel) | 
| #define SG_VERSION_TAG "VERSION:2" | 
Definition at line 42 of file ifsg_api.cpp.
Referenced by S3D::ReadCache(), and S3D::WriteCache().
      
  | 
  static | 
Definition at line 45 of file ifsg_api.cpp.
References SGAPPEARANCE::ambient, SGAPPEARANCE::diffuse, SGAPPEARANCE::emissive, SGCOLOR::GetColor(), SMATERIAL::m_Ambient, SMATERIAL::m_Diffuse, SMATERIAL::m_Emissive, SMATERIAL::m_Shininess, SMATERIAL::m_Specular, SMATERIAL::m_Transparency, SGAPPEARANCE::shininess, SGAPPEARANCE::specular, SGAPPEARANCE::transparency, v1, and v2.
Referenced by S3D::GetModel().
| void Free3DModel | ( | S3DMODEL & | aModel | ) | 
Definition at line 415 of file ifsg_api.cpp.
References S3D::FREE_S3DMODEL().