- 博客(17)
- 收藏
- 关注
原创 VTK ERROR:UpdateInformation invoked during another request
1 错误描述 为了提高效率,使用多线程处理vktImagePlaneWidget的自动获取切片问题,结果提示如下错误:ERROR: In D:\VTK\VTK-6.3.0\Common\ExecutionModel\vtkExecutive.cxx, line 811vtkCompositeDataPipeline (0000023CA5E24DC0): UpdateInforma
2015-12-29 16:31:10 1180
原创 vtkImagePlaneWidget:only works for ortho planes: set plane orientation first
版本说明:VTK6.3.01 错误描述 按住鼠标的中间按键对切面进行旋转的时候,提示:Genworks for ortho planes: set plane orientation firsteric Warning: In D:\VTK\VTK-6.3.0\Interaction\Widgets\vtkImagePlaneWidget.cxx, line 2018only
2015-12-28 10:17:17 1004
原创 vtkImageData转换成cv::Mat
VTK在三维可视化方面具有优势,但是在二维图像分析上没有OpenCV好用。为了结合VTK和OpenCV到同一个项目中,很重要的一点就是数据格式的转换。下面提供两个从vtkImageData转换到cv::Mat的方法。1 直接访问像素//![1]-- vtkImage -> cv::Matint dims[3];imageData->GetDimensions( dims ); //
2015-12-28 08:36:44 2084
原创 vtkImagePlaneWidget所提取切片的extent要大于plane的size
通过vtkImagePlaneWidget提取CT体数据的切片,发现获得的切片的大小要大于Plane的大小。根据参考资料[1]的提示,可知道其大小是2的n次方。参考资料[1]Reslice extent off imagePlaneWidget
2015-12-26 19:23:42 1056
原创 vtkImagePlaneWidget单次交互引发两次EndInteractionEvent
1 开发环境 计算机系统: Win10 Qt版本: 5.4.2 Qt Creator版本: 3.4.1 VTK版本: 6.3.0 编译器: VS20132 问题描述 最近在使用vtkImagePlaneWidget做CT体数据切片重切,在交互操作的时候发现单次点击会引发两次EndInteractionEvent。3 解
2015-12-22 07:39:20 1079
原创 vtkActor不能修改颜色
polyDataMapper->ScalarVisibilityOff();参考资料[1]Can't modify the color of the actor even with 'SetColor' fucntion
2015-12-17 16:19:45 1722
原创 VTK Error: no override found for 'vtkVolumeTextureMapper2D'.
1 开发环境 计算机系统: Win10 Qt版本: 5.4.2 Qt Creator版本: 3.4.1 VTK版本: 6.3.0 编译器: VS20132 错误 如下所示:Generic Warning: In D:\VTK\VTK-6.3.0\Rendering\Volume\vtkVolumeTextureMapper2D
2015-12-14 14:37:47 2104
原创 VTK6.3.0:Error: no override found for 'vtkContextDevice2D'
1 开发环境 计算机系统: Win10 Qt版本: 5.4.2 Qt Creator版本: 3.4.1 VTK版本: 6.3.0 编译器: VS20132 错误Generic Warning: In D:\VTK\VTK-6.3.0\Rendering\Context2D\vtkContextDevice2D.cxx, line 2
2015-12-12 20:45:35 2398 3
原创 VTK中字符显示
1 vtkTextActor vtkTextActor是一个可以直接用于表示文字的类,可以使用其SetInput()函数设定想要显示的文字,例如:textActor->SetDisplayPosition(10, 10);textActor->SetInput("3D Image");textActor->GetTextProperty()->SetFontSize(18);t
2015-12-12 16:09:54 3560 1
原创 U1077:"C:\Qt5.4.2\5.4\msvc2013_64_opengl\bin\moc.exe":返回代码“0x1”
系统:Win10(64bit)Qt版本:5.4.21 背景 在修改一个项目的代码时,突然出现以下错误:2 猜测 应该是Qt的moc.exe出了问题。于是新建一个简单的Qt应用,编译正常通过,并可执行,因此这个猜测不对。3 解决 后来检查自己修改过的地方发现,在宏定义中我使用了数字开头,因此导致这错误!解决方法自然就是将使用数字开头的宏定义改掉。
2015-12-04 23:01:12 4444
libXau-1.0.7.tar.bz2
2014-12-20
xcb-proto-1.7.1.tar.bz2
2014-12-20
libxcb-1.8.1.tar.bz2
2014-12-20
kbproto-1.0.6.tar.bz2
2014-12-20
xtrans-1.2.7.tar.bz2
2014-12-20
MobaXterm_Installer_v20.3.zip
2020-07-28
inputproto-2.2.tar.bz2
2014-12-21
xproto-7.0.23.tar.bz2
2014-12-19
CSDN个人博客全文检索
2022-05-30
TA创建的收藏夹 TA关注的收藏夹
TA关注的人