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 |
Function GetLibVersion retrieves 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) |
Function CalcTriNorm returns 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) |
Function WriteCache writes the SGNODE tree to a binary cache file. | |
SGLIB_API SGNODE * | S3D::ReadCache (const char *aFileName, void *aPluginMgr, bool(*aTagCheck)(const char *, void *)) |
Function ReadCache reads 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) |
Function WriteVRML writes out the given node and its subnodes to a VRML2 file. | |
SGLIB_API void | S3D::ResetNodeIndex (SGNODE *aNode) |
Function ResetNodeIndex resets the global SG* class indices. | |
SGLIB_API void | S3D::RenameNodes (SGNODE *aNode) |
Function RenameNodes renames 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 |
Function DestroyNode deletes the given SG* class node. | |
SGLIB_API S3DMODEL * | S3D::GetModel (SCENEGRAPH *aNode) |
Function GetModel creates an S3DMODEL representation of aNode (raw data, no transforms) | |
SGLIB_API void | S3D::Destroy3DModel (S3DMODEL **aModel) |
Function Destroy3DModel frees memory used by an S3DMODEL structure and sets the pointer to the structure to NULL. | |
SGLIB_API void | S3D::Free3DModel (S3DMODEL &aModel) |
Function Free3DModel frees memory used internally by an S3DMODEL structure. | |
SGLIB_API void | S3D::Free3DMesh (SMESH &aMesh) |
Function Free3DMesh frees memory used internally by an SMESH structure. | |
SGLIB_API S3DMODEL * | S3D::New3DModel (void) |
Function New3DModel creates and initializes an S3DMODEL struct. | |
SGLIB_API void | S3D::Init3DMaterial (SMATERIAL &aMat) |
Function Init3DMaterial initializes an SMATERIAL struct. | |
SGLIB_API void | S3D::Init3DMesh (SMESH &aMesh) |
Function Init3DMesh creates and initializes an SMESH struct. | |
defines the API calls for the manipulation of SG* classes
Definition in file ifsg_api.h.