随笔分类 - VTK初学
系统:Wings.1
开发环境:Qt5.4.2
编译系统:MinGW
VTK:6.3
摘要:在本程序中,定义了一个imread()函数,用于读取“.vts”文件,第一个参数为文件路径,第二个参数为输出对象,可以输出为tkStructuredGrid型对象,也可以输出为vtkActor型对象。
同时还定义了Window类,该类可以直接添加并显示actor对象。
阅读全文
摘要:vtkQuadRotationalExtrusionFilter 函数的示例,用该函数可以实现旋转曲面的扫描
阅读全文
摘要:发生vtkTextActor (0x3486838): Failed getting the TextRenderer instance!错误时的解决办法。
阅读全文
摘要:vtkMapper的源代码。参考了如下网页:
http://www.cnblogs.com/lizhengjin/archive/2009/08/16/1547340.html
阅读全文
摘要:原地址:https://cmake.org/Wiki/VTK/Examples/Cxx#Visualization 新地址:https://lorensen.github.io/VTKExamples/site/Cxx/ https://www.vtk.org/doc/release/6.0/htm
阅读全文
摘要:#ifndef INITIAL_OPENGL #define INITIAL_OPENGL #include <vtkAutoInit.h> VTK_MODULE_INIT(vtkRenderingOpenGL) VTK_MODULE_INIT(vtkInteractionStyle) #endif
阅读全文
摘要:用tkGreedyTerrainDecimation,创建了一个球冠网格mesh
阅读全文
摘要:如何将一幅二位图形,转成三维mesh。
阅读全文
摘要:1. pro文件的配置 win32:CONFIG(release, debug|release){INCLUDEPATH += D:/Qt/VTK6.3.0/MinGW/release/include/vtk-6.3DEPENDPATH += D:/Qt//VTK6.3.0/MinGW/releas
阅读全文
摘要:VTK窗口默认坐标方向: #ifndef INITIAL_OPENGL #define INITIAL_OPENGL #include <vtkAutoInit.h> VTK_MODULE_INIT(vtkRenderingOpenGL) VTK_MODULE_INIT(vtkInteraction
阅读全文
摘要:#ifndef INITIAL_OPENGL #define INITIAL_OPENGL #include VTK_MODULE_INIT(vtkRenderingOpenGL) VTK_MODULE_INIT(vtkInteractionStyle) #endif #include using namespace std; #include "vtkPolyDataMapper.h" #...
阅读全文
摘要:#ifndef INITIAL_OPENGL #define INITIAL_OPENGL #include VTK_MODULE_INIT(vtkRenderingOpenGL) VTK_MODULE_INIT(vtkInteractionStyle) #endif #include using namespace std; #include "vtkPolyDataMapper.h" #...
阅读全文
摘要:#ifndef INITIAL_OPENGL #define INITIAL_OPENGL #include VTK_MODULE_INIT(vtkRenderingOpenGL) VTK_MODULE_INIT(vtkInteractionStyle) #endif #include using namespace std; #include "vtkPolyDataMapper.h" #...
阅读全文
摘要:系统:Win8.1 QT版本:2.4.2,Mingw VTK版本:6.3
阅读全文

浙公网安备 33010602011771号