当前位置: 首页 > news >正文

做网站需要职业技能培训平台

做网站需要,职业技能培训平台,公司网站用什么程序,2023年9月10日核酸Qt 自带数据可视化从文档上看,只能实现三维曲面。 QwtPlot3D在Qt6.6.0上没编译通过。 QCustomPlot 只能搞二维。 VTK~搞起。抄官网demo。 后续需求: 1、对数轴 2、Y轴逆序 3、Z轴值给色带,类似等高线图的色带 期待各位大佬多多指导。…

Qt  自带数据可视化从文档上看,只能实现三维曲面。

QwtPlot3D在Qt6.6.0上没编译通过。

QCustomPlot 只能搞二维。

VTK~搞起。抄官网demo。

后续需求:

1、对数轴

2、Y轴逆序

3、Z轴值给色带,类似等高线图的色带

期待各位大佬多多指导。

 vtkNew<vtkNamedColors> colors;// Create the data.vtkNew<vtkTable> table;vtkNew<vtkTable> table1;vtkNew<vtkFloatArray> arrX0;arrX0->SetName("X");table->AddColumn(arrX0);vtkNew<vtkFloatArray> arrX1;arrX1->SetName("Y");table->AddColumn(arrX1);vtkNew<vtkFloatArray> arrX2;arrX2->SetName("Z");table->AddColumn(arrX2);vtkNew<vtkFloatArray> arrX3;arrX3->SetName("-Z");table->AddColumn(arrX3);vtkNew<vtkFloatArray> arrX4;arrX4->SetName("-Y");table->AddColumn(arrX4);const unsigned int numberOfTimePoints = 128;table->SetNumberOfRows(numberOfTimePoints);for (unsigned int ii = 0; ii < numberOfTimePoints; ++ii){double value = ii;double value1 = rand() % 100;table->SetValue(ii, 0, ii);table->SetValue(ii, 1, ii);table->SetValue(ii, 2, sin(value));table->SetValue(ii, 3, sin(value) + 10);table->SetValue(ii, 4, sin(value) + 20);}// Set up a 3D scene and add an XYZ chart to it.vtkNew<vtkContextView> contextView;contextView->GetRenderWindow()->SetSize(1024, 1024);contextView->GetRenderWindow()->SetWindowName("PlotLine3D");vtkNew<vtkChartXYZ> chartXYZ;chartXYZ->SetGeometry(vtkRectf(5.0, 5.0, 635.0, 475.0));contextView->GetScene()->AddItem(chartXYZ);// Add a line plot.vtkNew<vtkPlotLine3D> plotLine3D;plotLine3D->SetInputData(table, 0, 1, 2);contextView->GetRenderWindow()->SetMultiSamples(0);plotLine3D->GetPen()->SetWidth(1.0);chartXYZ->AddPlot(plotLine3D);// Add a line plot.vtkNew<vtkPlotLine3D> plotLine3D1;plotLine3D1->SetInputData(table, 0, 1, 3);plotLine3D1->GetPen()->SetWidth(2.0);chartXYZ->AddPlot(plotLine3D1);// Add a line plot.vtkNew<vtkPlotLine3D> plotLine3D2;plotLine3D2->SetInputData(table, 0, 1, 4);plotLine3D2->GetPen()->SetWidth(3.0);chartXYZ->AddPlot(plotLine3D2);chartXYZ->SetXAxisLabel("振幅");chartXYZ->SetVisible(true);// Finally render the scene.contextView->GetRenderer()->SetBackground(colors->GetColor3d("DarkOliveGreen").GetData());contextView->GetRenderWindow()->Render();contextView->GetInteractor()->Initialize();contextView->GetInteractor()->Start();

http://www.ds6.com.cn/news/109580.html

相关文章:

  • wordpress simplepieseo是搜索引擎营销吗
  • 做汤的网站有哪些服装店营销策划方案
  • 开发工具有哪些网站优化推广平台
  • 一般网站的费用新闻最新消息10条
  • 徐州手机网站建设公司百度百科官网入口
  • 海曙区做网站游戏推广拉人渠道
  • 怎么在携程旅行做网站百度指数搜索热度
  • wordpress怎么备份数据库寰宇seo
  • 手机软件编程网站免费网站免费优化优化
  • 无锡低价网站排名seo关键字优化技巧
  • 装修网站怎么做郑州seo网站有优化
  • 浙江信息港网seo服务包括哪些
  • 深圳网站制作公司嘉兴seo优化轻松seo优化排名
  • 国内单页面网站百度上怎么注册店铺地址
  • 监控企业网站模板关键词排名霸屏代做
  • 深圳市建设股份有限公司成都seo的方法
  • 网站数据分离 怎么做个人免费开发网站
  • wordpress user login整站优化和单词
  • 工程行业网站班级优化大师使用指南
  • 云主机做网站营销模式有哪些 新型
  • 网站做飘浮怎么做百度一下百度网页版
  • 福州什么推广网站好网站流量统计
  • 网站推广策划方案模板关键字挖掘爱站网
  • 福建网站建设培训班网站多久被百度收录
  • 温州做网站定制灰色关键词排名收录
  • 上海b2c网站建设优化推广网站推荐
  • wordpress 替换图片不显示短视频排名seo
  • 有哪些网站可以做代理盐城seo推广
  • wordpress 内容付费seo常用工具网站
  • 三合一网站指的是什么意思如何在各大网站发布信息