| 
    KiCad PCB EDA Suite
    
   | 
 
defines the API calls for the manipulation of SG* classes More...
#include "plugins/3dapi/sg_types.h"#include "plugins/3dapi/sg_base.h"#include "plugins/3dapi/c3dmodel.h"Go to the source code of this file.
Namespaces | |
| namespace | S3D | 
Functions | |
| SGLIB_API void | S3D::GetLibVersion (unsigned char *Major, unsigned char *Minor, unsigned char *Patch, unsigned char *Revision) noexcept | 
| Retrieve version information of the kicad_3dsg library.   | |
| SGLIB_API S3D::SGTYPES | S3D::GetSGNodeType (SGNODE *aNode) | 
| SGLIB_API SGNODE * | S3D::GetSGNodeParent (SGNODE *aNode) | 
| SGLIB_API bool | S3D::AddSGNodeRef (SGNODE *aParent, SGNODE *aChild) | 
| SGLIB_API bool | S3D::AddSGNodeChild (SGNODE *aParent, SGNODE *aChild) | 
| SGLIB_API void | S3D::AssociateSGNodeWrapper (SGNODE *aObject, SGNODE **aRefPtr) | 
| SGLIB_API SGVECTOR | S3D::CalcTriNorm (const SGPOINT &p1, const SGPOINT &p2, const SGPOINT &p3) | 
| Return the normal vector of a triangle described by vertices p1, p2, p3.   | |
| SGLIB_API bool | S3D::WriteCache (const char *aFileName, bool overwrite, SGNODE *aNode, const char *aPluginInfo) | 
| Write the SGNODE tree to a binary cache file.   | |
| SGLIB_API SGNODE * | S3D::ReadCache (const char *aFileName, void *aPluginMgr, bool(*aTagCheck)(const char *, void *)) | 
| Read a binary cache file and creates an SGNODE tree.   | |
| SGLIB_API bool | S3D::WriteVRML (const char *filename, bool overwrite, SGNODE *aTopNode, bool reuse, bool renameNodes) | 
| Write out the given node and its subnodes to a VRML2 file.   | |
| SGLIB_API void | S3D::ResetNodeIndex (SGNODE *aNode) | 
| Reset the global SG* class indices.   | |
| SGLIB_API void | S3D::RenameNodes (SGNODE *aNode) | 
| Rename a node and all children nodes based on the current values of the global SG* class indices.   | |
| SGLIB_API void | S3D::DestroyNode (SGNODE *aNode) noexcept | 
| Delete the given SG* class node.   | |
| SGLIB_API S3DMODEL * | S3D::GetModel (SCENEGRAPH *aNode) | 
| Create an S3DMODEL representation of aNode (raw data, no transforms).   | |
| SGLIB_API void | S3D::Destroy3DModel (S3DMODEL **aModel) | 
| Free memory used by an S3DMODEL structure and sets the pointer to the structure to NULL.   | |
| SGLIB_API void | S3D::Free3DModel (S3DMODEL &aModel) | 
| Free memory used internally by an S3DMODEL structure.   | |
| SGLIB_API void | S3D::Free3DMesh (SMESH &aMesh) | 
| Free memory used internally by an SMESH structure.   | |
| SGLIB_API S3DMODEL * | S3D::New3DModel (void) | 
| Create and initialize an S3DMODEL structure.   | |
| SGLIB_API void | S3D::Init3DMaterial (SMATERIAL &aMat) | 
| Initializes an SMATERIAL structure.   | |
| SGLIB_API void | S3D::Init3DMesh (SMESH &aMesh) | 
| Create and initialize an SMESH structure.   | |
defines the API calls for the manipulation of SG* classes
Definition in file ifsg_api.h.