
VTK
文章平均质量分 69
v俊逸
永远心怀感激,永远心存敬畏。
展开
-
qmlplugindump executable not found.It is required to generate the qmltypes file for VTK Qml
遇到什么问题,直接找到问题相关的代码,然后从源头进行解决即可。原创 2022-06-29 14:36:51 · 778 阅读 · 0 评论 -
Error: no override found for ‘vtkRenderWindow‘.出现的原因以及三种解决办法
Error: no override found for 'vtkRenderWindow'.出现的原因以及三种解决办法在Qt添加了QvtkWidget控件之后,如果报错如下:Generic Warning: In /home/allen/soft/pcl_vtk_qt/VTK-8.1.0/Rendering/Core/vtkRenderWindow.cxx, line 43Error: no override found for 'vtkRenderWindow'.首先,出现这个问题的原创 2021-01-29 14:58:40 · 2923 阅读 · 1 评论 -
QVTK 添加Sphere 设置SetRenderWindow
本想在Qvtk中添加一个图形,本想直接添加个图形进去就行了,但是我需要做一个鼠标交互事件,所以查阅资料之后发现需要使用到RenderWindow以及renderWindowInteractor来重新实现某些交互事件,所以我就将图形添加到actor中,然后actor加入到renderer中,最后使用QVTK的SetRenderWindow函数将其导向设置好的RenderWindow上,接下来正常显示。demo代码:#include "mainwindow.h"#include "ui_mainwi原创 2020-10-19 15:42:38 · 1629 阅读 · 0 评论 -
Windows VTK-8.1 未能正确加载解决方案中的一个或多个项目
在上一篇文章中 使用如下的方案生成VTK的CMAKE文件时VTK_Group_Qt ONVTK_QT_VERSION 5 # by default 4Qt5_DIR D:/Qt/Qt5.9.9/5.9.9/msvc2017_64/lib/cmake/Qt5CMAKE_INSTALL_PREFIX C:/Program Files/VTK # by defaultBUILD_SHARED_LIBS ONCMAKE_CONFIGURATION_TYPES Release # ...原创 2020-09-27 11:15:33 · 559 阅读 · 0 评论 -
PCL1.9.1 VTK8.1.0 vtkoutputWindow最全解决办法
使用Qt编译程序的时候,VTK一直弹窗如下:现有的解决方法:第一种方法在main文件之上添加如下代码:#include "QtGuiApplication5.h"#include <QtWidgets/QApplication>#include "vtkoutputwindow.h" //加入 int main(int argc, char *argv[]) {vtkOutputWindow::SetGlobalWarningDisplay(0); //加入原创 2020-09-25 10:38:28 · 2258 阅读 · 8 评论 -
PCD点云文件框选代码
背景:PCL + VTK项目地址:https://github.com/dezbracaty/PCD_Area_cut_tool后期添加其他功能maybe通过PVL_VISUALIZATION显示点云图像,然后通过按X进入框选模式,然后接受PCL::VISUALIZATION返回的点云索引,然后通过索引将所选择的点云文件导出。函数介绍:pcl::visualization::PCLVisualizer::Ptr viewer(new pcl::visualization::PC.原创 2020-09-24 09:56:59 · 981 阅读 · 0 评论 -
解决:Error: no override found for ‘vtkRenderWindow‘.
环境:系统 : Windows 10QT Creator : 4.11.1QT Designer: 5.14.2 MSVC 2017 x64PCL : 1.11.1VTK : 8.1.0MSVC : 2017 x64.报错信息:01:25:32: Starting D:\QtProjects\GUI_TOOLS\Release\releas...原创 2020-09-22 09:31:29 · 1288 阅读 · 0 评论 -
从零开始ROS编程-PCL点云库安装
系统环境:Ubuntu 18.04QT版本 : 5.9.9VTK : 8.1.0PCL : 1.9.1下载链接:https://github.com/PointCloudLibrary/pcl/archive/pcl-1.9.1.tar.gz安装依赖:sudo apt-get update\nsudo apt-get install git build-essential linux-libc-dev\nsudo apt-get insta...原创 2020-09-17 18:35:06 · 1858 阅读 · 0 评论 -
从零开始ROS编程-VTK安装
系统环境:Ubuntu 18.04QT版本 : 5.9.9VTK : 8.1.0下载链接:wget https://www.vtk.org/files/release/8.1/VTK-8.1.0.tar.gzwget https://www.vtk.org/files/release/8.1/VTKData-8.1.0.tar.gz依赖库安装:sudo apt install libqt5x11extras5sudo apt install libqt...原创 2020-09-17 16:59:40 · 844 阅读 · 0 评论 -
从零开始ROS编程-QT安装
系统环境:Ubuntu 18.04Qt版本: 5.9.9下载链接:https://download.qt.io/official_releases/qt/5.9/5.9.9/删除预装软件:sudo apt-get purge qt5-default qtcreator sudo apt-get purge qt4-designer qt4-dev-tools安装依赖:sudo apt-get install build-essential libgl1-mesa-...原创 2020-09-17 15:57:54 · 353 阅读 · 0 评论 -
Windows10下QT+VTK+PCL环境配置(一次成功)
环境内容:系统:Windows10QT:Qt5.9.9Pcl:1.9.1VTK:0.8.1VTKDATA:0.8.1Visual Studio:20171:安装VS2017直接安装2:安装Qt在安装qt时勾选安装qt的所有部件。安装完成后 进入VS2017在工具--扩展和更新--联机中搜索qt,安装qt visual studio tools .然后打开VS2017 这时最上面的工具栏会出现QTVSTOOLS,打开其中的QT options,选择add .原创 2020-09-14 10:46:40 · 6153 阅读 · 14 评论