Kicad 5.1 插件加载指定的模型并返回指向其可视化模型数据的指针 */ /* Load the specified model and return a pointer to its visual model data */ SCENEGRAPH* Load( char const* aFileName ); 2. 教程:3D插件类 本节包含对 PLUGIN_3D 类的两个非常简单的插件的描述,并引导用户完成代 码的设置和构建。 $ENV{KICAD_ROOT_DIR}/lib ${KICAD_ROOT_DIR}/bin $ENV{KICAD_ROOT_DIR}/bin DOC "Kicad scenegraph library path." ) include( FindPackageHandleStandardArgs ) FIND_PACKAGE_HANDLE_STANDARD_ARGS( // 返回 null,因为此插件不提供可视化数据 // return NULL since this plugin does not provide visualization data SCENEGRAPH* Load( char const* aFileName ) { // 此伪插件不支持渲染任何模型 // this dummy plugin does not support0 码力 | 56 页 | 49.46 KB | 1 年前3
Kicad 4.0 Plugins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.2 Scenegraph Class APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CanRender( void ); /* Load the specified model and return a pointer to its visual model data */ SCENEGRAPH* Load( char const* aFileName ); 2 Tutorials: 3D Plugin Class This section contains a description ${KICAD_ROOT_DIR}/lib $ENV{KICAD_ROOT_DIR}/lib ${KICAD_ROOT_DIR}/bin $ENV{KICAD_ROOT_DIR}/bin DOC ”Kicad scenegraph library path.” ) include( FindPackageHandleStandardArgs ) FIND_PACKAGE_HANDLE_STANDARD_ARGS(0 码力 | 36 页 | 210.85 KB | 1 年前3
Kicad 5.1 PluginsClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.2 Scenegraph Class APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CanRender( void ); /* Load the specified model and return a pointer to its visual model data */ SCENEGRAPH* Load( char const* aFileName ); 2 Tutorials: 3D Plugin Class This section contains a description ${KICAD_ROOT_DIR}/lib $ENV{KICAD_ROOT_DIR}/lib ${KICAD_ROOT_DIR}/bin $ENV{KICAD_ROOT_DIR}/bin DOC "Kicad scenegraph library path." ) include( FindPackageHandleStandardArgs ) FIND_PACKAGE_HANDLE_STANDARD_ARGS(0 码力 | 36 页 | 204.70 KB | 1 年前3
Kicad 5.1 插件b''b'' 针 b'' */ /* Load the specified model and return a pointer to its visual model data */ SCENEGRAPH* Load( char const* aFileName ); 2 教程:3D 插件类 本节包含对 PLUGIN_3D 类的两个非常简单的插件的描述,并引导用户完成代码的设置和构建。 ${KICAD_ROOT_DIR}/lib $ENV{KICAD_ROOT_DIR}/lib ${KICAD_ROOT_DIR}/bin $ENV{KICAD_ROOT_DIR}/bin DOC "Kicad scenegraph library path." ) include( FindPackageHandleStandardArgs ) FIND_PACKAGE_HANDLE_STANDARD_ARGS( 化 b''b'' 数 b''b'' 据 b'' // return NULL since this plugin does not provide visualization data SCENEGRAPH* Load( char const* aFileName ) { // b'' 此 b''b'' 伪 b''b'' 插 b''b'' 件 b''b'' 不 b''b'' 支 b''b''0 码力 | 45 页 | 612.98 KB | 1 年前3
Kicad 5.1 PluginsCanRender( void ); /* Load the specified model and return a pointer to its visual model data */ SCENEGRAPH* Load( char const* aFileName ); 2. Tutorials: 3D Plugin Class This section contains a description $ENV{KICAD_ROOT_DIR}/lib ${KICAD_ROOT_DIR}/bin $ENV{KICAD_ROOT_DIR}/bin DOC "Kicad scenegraph library path." ) include( FindPackageHandleStandardArgs ) FIND_PACKAGE_HANDLE_STANDARD_ARGS( ) { return false; } // return NULL since this plugin does not provide visualization data SCENEGRAPH* Load( char const* aFileName ) { // this dummy plugin does not support rendering of any models0 码力 | 48 页 | 44.28 KB | 1 年前3
Kicad 4.0 PluginsCanRender( void ); /* Load the specified model and return a pointer to its visual model data */ SCENEGRAPH* Load( char const* aFileName ); 2. Tutorials: 3D Plugin Class This section contains a description $ENV{KICAD_ROOT_DIR}/lib ${KICAD_ROOT_DIR}/bin $ENV{KICAD_ROOT_DIR}/bin DOC "Kicad scenegraph library path." ) include( FindPackageHandleStandardArgs ) FIND_PACKAGE_HANDLE_STANDARD_ARGS( ) { return false; } // return NULL since this plugin does not provide visualization data SCENEGRAPH* Load( char const* aFileName ) { // this dummy plugin does not support rendering of any models0 码力 | 48 页 | 66.10 KB | 1 年前3
共 6 条
- 1













