<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[DanBo_C的博客]]></title><description><![CDATA[句子跟标点落入四个区间，有人能懂真理，有人读出文艺。]]></description><link>https://blog.csdn.net/DanBo_C</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; DanBo_C]]></copyright><item><title><![CDATA[pycharm+SSH 深度学习项目 远程后台运行命令]]></title><link>https://blog.csdn.net/DanBo_C/article/details/149307124</link><guid>https://blog.csdn.net/DanBo_C/article/details/149307124</guid><author>DanBo_C</author><pubDate>Sun, 13 Jul 2025 11:04:36 +0800</pubDate><description><![CDATA[服务器跑深度学习项目Linux命令]]></description><category></category></item><item><title><![CDATA[DL可视化代码]]></title><link>https://blog.csdn.net/DanBo_C/article/details/147674697</link><guid>https://blog.csdn.net/DanBo_C/article/details/147674697</guid><author>DanBo_C</author><pubDate>Sat, 03 May 2025 06:12:38 +0800</pubDate><description><![CDATA[【代码】DL可视化代码。]]></description><category></category></item><item><title><![CDATA[【苹果牌】MapGIS绘图手册]]></title><link>https://blog.csdn.net/DanBo_C/article/details/147657440</link><guid>https://blog.csdn.net/DanBo_C/article/details/147657440</guid><author>DanBo_C</author><pubDate>Fri, 02 May 2025 00:54:40 +0800</pubDate><description><![CDATA[MapGIS中画图的逻辑和ArcMap和QGIS的不太一样。ArcGIS全家桶用户和开源用户一开始对这个使用逻辑是很头疼的。]]></description><category></category></item><item><title><![CDATA[【PyVista】使用MultiBlock对添加的对象分组，并单独控制删除]]></title><link>https://blog.csdn.net/DanBo_C/article/details/130810826</link><guid>https://blog.csdn.net/DanBo_C/article/details/130810826</guid><author>DanBo_C</author><pubDate>Mon, 22 May 2023 17:01:28 +0800</pubDate><description><![CDATA[【代码】【pyvista】使用MultiBlock对添加的对象分组，并单独控制删除。]]></description><category></category></item><item><title><![CDATA[关于使用pyinstaller来打包PySide2程序中的问题]]></title><link>https://blog.csdn.net/DanBo_C/article/details/130688544</link><guid>https://blog.csdn.net/DanBo_C/article/details/130688544</guid><author>DanBo_C</author><pubDate>Mon, 15 May 2023 17:23:25 +0800</pubDate><description><![CDATA[报以下错误：还是第一个报错中出现的问题， 意料之内，因为第一个解决方法依赖本机的环境变量，但新的设备并没有环境变量中的依赖包，所以就报错了。分析：这个是因为笔者使用的conda的集成环境，这里面自带了打包程序，导致使用pyinstaller打包的时候就冲突了。注意：ui运行文件和main.py文件的相对文件结构，应该和ui拷进的目标目录和exe文件的相对文件结构相同。分析：代码中动态加载了ui文件，打包的时候程序无法解析到使用的ui文件。目录下的dll文件，运行程序的时候识别不到。]]></description><category></category></item><item><title><![CDATA[将自带记事本替换为Notepad2【中文版，带替换文件】]]></title><link>https://blog.csdn.net/DanBo_C/article/details/129189610</link><guid>https://blog.csdn.net/DanBo_C/article/details/129189610</guid><author>DanBo_C</author><pubDate>Thu, 23 Feb 2023 20:48:25 +0800</pubDate><description><![CDATA[notepad2 中文版本、免安装版本、替换本机记事本]]></description><category></category></item><item><title><![CDATA[三维坐标旋转函数]]></title><link>https://blog.csdn.net/DanBo_C/article/details/124830565</link><guid>https://blog.csdn.net/DanBo_C/article/details/124830565</guid><author>DanBo_C</author><pubDate>Tue, 17 May 2022 21:32:18 +0800</pubDate><description><![CDATA[三维坐标旋转函数：
参数说明：

lot = 0,0,-47.5]为带旋转点坐标
radian=[math.radians(54),math.radians(0),math.radians(298)]为X、Y、Z轴旋转角度的对应弧度制

def rotateTransformation(lot, radian):
    rot_matrix_x = linalg.expm(np.cross(np.eye(3), [1,0,0] / linalg.norm([1,0,0]) * radian[0]))
  ]]></description><category></category></item><item><title><![CDATA[关于OSG中裁剪几何体中isCullingActive()抛出异常：this is nullptr的问题]]></title><link>https://blog.csdn.net/DanBo_C/article/details/124719355</link><guid>https://blog.csdn.net/DanBo_C/article/details/124719355</guid><author>DanBo_C</author><pubDate>Wed, 11 May 2022 22:13:58 +0800</pubDate><description><![CDATA[最开始是由于边界抛出来的异常

思考：


考虑是不是由于Geode创建的时候没有new之类的问题，


由于我代码中最外层的报错是是切割监视器中的Pick函数中，步进也没有发现什么问题



对比之前另一个系统中成功的代码，对比了一下。发现这里多添加了一层Geode，当即修改代码，从原来的Geometry -&gt; Geode - &gt; Geode  -&gt; ClipNode 改为Geometry -&gt; Geode - &gt; ClipNode ，然后，就好了，，，🙂



又是苦逼研究]]></description><category></category></item><item><title><![CDATA[问题：C++读取csv文件的时候，英文显示乱码就，完美解决]]></title><link>https://blog.csdn.net/DanBo_C/article/details/123434914</link><guid>https://blog.csdn.net/DanBo_C/article/details/123434914</guid><author>DanBo_C</author><pubDate>Fri, 11 Mar 2022 21:56:54 +0800</pubDate><description><![CDATA[问题：C++读取csv文件的时候，ID显示乱码

解决
中文显示乱码的情况比较多，第一次遇到英文显示也乱码，有点没有头绪，用常规办法解决一下试了试，由于我是在excel中直接另存为CSV格式的，默认就是UTF-8，将类型改为了文本的ANSI格式之后，解决了。但是并不知其所以然，懂得可以解下惑。


...]]></description><category></category></item><item><title><![CDATA[Qt+MSVC开发中字符串转换及中文乱码问题]]></title><link>https://blog.csdn.net/DanBo_C/article/details/121032628</link><guid>https://blog.csdn.net/DanBo_C/article/details/121032628</guid><author>DanBo_C</author><pubDate>Fri, 29 Oct 2021 13:15:45 +0800</pubDate><description><![CDATA[GB2313:
string转QString:
QString::fromLocal8Bit("字符串")

UTF-8:
string转QString:
QString::fromStdString("字符串")


]]></description><category></category></item><item><title><![CDATA[报错：QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefine]]></title><link>https://blog.csdn.net/DanBo_C/article/details/121032313</link><guid>https://blog.csdn.net/DanBo_C/article/details/121032313</guid><author>DanBo_C</author><pubDate>Fri, 29 Oct 2021 12:45:26 +0800</pubDate><description><![CDATA[QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefine
这句报错是出现在我的控制台中的，意思就是刷新OSG场景的时候还没有开始绘制场景，类似没有new就开始调用方法一样。
解决
打上断点调试发现是在绘制窗口之后报的错，所以将刷新场景的方法放在窗口显示之后，就可以了。


...]]></description><category></category></item><item><title><![CDATA[OsgQt环境搭建注意事项]]></title><link>https://blog.csdn.net/DanBo_C/article/details/120874342</link><guid>https://blog.csdn.net/DanBo_C/article/details/120874342</guid><author>DanBo_C</author><pubDate>Wed, 20 Oct 2021 20:37:29 +0800</pubDate><description><![CDATA[OsgQt的CMakeLists.txt文件需要修改的部分
修改部分：

其中3.6.5是笔者的OSG版本，按照自己的修改就行


FIND_PACKAGE(OpenSceneGraph 3.6.5 REQUIRED osgDB osgGA osgUtil osgText osgViewer osgWidget)
SET(OPENSCENEGRAPH_SOVERSION 158)

# 把下面这部分注释掉
# 3rd Party Dependency Stuff
# IF(WIN32)
#     INCL]]></description><category></category></item><item><title><![CDATA[1. 无法解析的外部符号 “__declspec(dllimport) const XXX::vftable“ ` 2. `无法定义 dllimport 实体`]]></title><link>https://blog.csdn.net/DanBo_C/article/details/120732001</link><guid>https://blog.csdn.net/DanBo_C/article/details/120732001</guid><author>DanBo_C</author><pubDate>Tue, 12 Oct 2021 21:01:27 +0800</pubDate><description><![CDATA[由于自己C++基础薄弱，导致这一系列的Bug改了好久好久。。。。记录一部分，我还记得的
编译通过镇一下哈哈

Bug1

error LNK2001: 无法解析的外部符号 "__declspec(dllimport) const XXX::vftable"
无法定义 dllimport 实体

这两个都是由于宏定义引起的。我的工程中是这样定义的
#ifdef EXPORTSS
#define COMMON_EXPORTS   __declspec(dllexport)
#else
#define COMMO]]></description><category></category></item><item><title><![CDATA[VS2019工程开发中的问题总结]]></title><link>https://blog.csdn.net/DanBo_C/article/details/120721628</link><guid>https://blog.csdn.net/DanBo_C/article/details/120721628</guid><author>DanBo_C</author><pubDate>Tue, 12 Oct 2021 13:28:20 +0800</pubDate><description><![CDATA[在C++常规中设置附加包含目录中的文件，#pragma region后面不能跟中文，会报由于编码引起的错误，猜测是由于工程开发中由于不同文件编码不同引起的。
不同编码文件之间传值会乱码，（场景是文件路径），改为窗口选择文件，自动存入vector中然后传值，乱码解决。


...]]></description><category></category></item><item><title><![CDATA[Qt开发中的问题总结]]></title><link>https://blog.csdn.net/DanBo_C/article/details/120701807</link><guid>https://blog.csdn.net/DanBo_C/article/details/120701807</guid><author>DanBo_C</author><pubDate>Mon, 11 Oct 2021 14:00:34 +0800</pubDate><description><![CDATA[一开始用Qt开发的界面等，最后改为MSVC项目之后，文件的编码由UTF-8改为GB2312之后，界面中的部分显示成了乱码。// 乱码
QString::fromLocal8Bit("打开文件");
// 正常
QStringLiteral("打开文件");


不同编码文件之间传值会乱码


...]]></description><category></category></item><item><title><![CDATA[Qt + MSVC使用SARibbon控件，踩坑记录]]></title><link>https://blog.csdn.net/DanBo_C/article/details/120618551</link><guid>https://blog.csdn.net/DanBo_C/article/details/120618551</guid><author>DanBo_C</author><pubDate>Tue, 05 Oct 2021 21:53:34 +0800</pubDate><description><![CDATA[以下是笔者的碎碎念，正文向下滑…

emm…背景是这样子的，前两天老师查看需求实现情况的时候，表示我没有界面操作。。。。啊这。。。我遂即恶补了Qt的知识，熬完了传智的视频和练习，老师表示不要原生要Office风格的系统。。。（似乎老师们对Office的风格都有一种执念…）好吧，继续研究ing，找到了开源项目SARibbon，刚上手超级生涩（笔者以前是做前端的，最近开始C++的桌面端），过程中遇到了很多的Bug…作为一名多年码农，有Bug和吃饭一样见怪不怪了，But…就有那么一两个Bug，能让你一杯茶，一首.]]></description><category></category></item><item><title><![CDATA[Node派生类的遍历等]]></title><link>https://blog.csdn.net/DanBo_C/article/details/120294000</link><guid>https://blog.csdn.net/DanBo_C/article/details/120294000</guid><author>DanBo_C</author><pubDate>Tue, 14 Sep 2021 19:02:16 +0800</pubDate><description><![CDATA[需求背景
需求是这样的，需要用一个几何体，在一个体元素中提取一部分的插值结果。自然是没有现成的算法。实现的过程中，就需要对Geode、Geometry进行遍历。
由于我之前编译帮助文档失败了，虽然OSG版本是3.6.5的，但是帮助文档的版本却是2.9.11的。一些方法还是有出入的。所以记录一下
遍历Geode内的Geometry
	cout &lt;&lt; "Geode2的数量" &lt;&lt; this-&gt;temp_gde-&gt;getNumChildren() &lt;&lt; endl;
]]></description><category></category></item><item><title><![CDATA[矩阵 平移旋转]]></title><link>https://blog.csdn.net/DanBo_C/article/details/119971272</link><guid>https://blog.csdn.net/DanBo_C/article/details/119971272</guid><author>DanBo_C</author><pubDate>Sat, 28 Aug 2021 18:43:09 +0800</pubDate><description><![CDATA[简单操作
步骤：

先实例化一个node，平移到x正轴的5

osg::ref_ptr&lt;osg::Group&gt; group = new osg::Group;
osg::ref_ptr&lt;osg::MatrixTransform&gt; max = new osg::MatrixTransform;
osg::ref_ptr&lt;osg::Node&gt; node = osgDB::readNodeFile("glider.osg");

max-&gt;addChild(node.ge]]></description><category></category></item><item><title><![CDATA[c++读取json文件]]></title><link>https://blog.csdn.net/DanBo_C/article/details/119947530</link><guid>https://blog.csdn.net/DanBo_C/article/details/119947530</guid><author>DanBo_C</author><pubDate>Fri, 27 Aug 2021 10:30:20 +0800</pubDate><description><![CDATA[c++读取json文件
vector&lt;PTLoction&gt; getJson(const string&amp; path)
{
	string info = "", temp_s;
	vector&lt;PTLoction&gt; ptls;
	JSONCPP_STRING errs;
	Json::Value root, geo, geo_item, mail;
	Json::CharReaderBuilder readerBuilder;
	ifstream fin(path);

	whi]]></description><category></category></item><item><title><![CDATA[OSG学习中的一些小问题]]></title><link>https://blog.csdn.net/DanBo_C/article/details/119833337</link><guid>https://blog.csdn.net/DanBo_C/article/details/119833337</guid><author>DanBo_C</author><pubDate>Fri, 20 Aug 2021 23:42:44 +0800</pubDate><description><![CDATA[今天尝试叠加几何体，却出现了重叠，缝隙的问题。

思考一番后发现忽略了一些问题，圆柱体的中心点在xyz的半值。不在底部或者顶部。

]]></description><category></category></item></channel></rss>