# qwtplot3d **Repository Path**: wangliangfmail/qwtplot3d ## Basic Information - **Project Name**: qwtplot3d - **Description**: qwtplot3d——Qt三维画图库 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2021-09-30 - **Last Updated**: 2021-09-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Qwtplot3d 项目 本项目为qt三维画图库**qwtplot3d**,做了少量修改,可实现右键拖动 # 20200605 qwtplot3d/bin中需要手动复制编译出的.dll和.lib才能运行程序 qwtplot3d库编译项目 右键平移调节,qwt3d_mousekeyboard.cpp mouseMoveEvent中53行 # 20210325 添加画背景图功能,在Plot类中添加该功能,画图需要在画完白色底板之后再画,由于白色底板和点,线等类为同种类,不能有效判断,经过尝试,使用下方代码可以实现画图功能。 ```c++ void Plot3D::createEnrichments() { int temp=0; int drawed=0; Enrichment& p_1=**elist_p.begin(); for (ELIT it = elist_p.begin(); it!=elist_p.end(); ++it) { if(this->ifDrawPic) { Enrichment& p=**it; if(temp==1) { p_1=**it; } if(temp<2) { QRect frameRect = rect(); frameRect.adjust(1000, 1000, -1000, -1000); QPaintEvent *event = new QPaintEvent(frameRect); paintEvent(event); drawed=1; } if(temp==2) { this->createEnrichment(p_1); } //qDebug()<