- 9
- 0
- 约9.12千字
- 约 32页
- 2017-02-09 发布于江苏
- 举报
学习VTK优秀培训书
一起学习VTK-第7讲 vol-GetPointData()-SetScalars(scalars); scalars-Delete(); vtkContourFilter *contour = vtkContourFilter::New(); contour-SetInput(vol); contour-SetValue(0,0.0); vtkPolyDataMapper *volMapper = vtkPolyDataMapper::New(); volMapper-SetInput(contour-GetOutput()); volMapper-ScalarVisibilityOff(); vtkActor *volActor = vtkActor::New(); volActor-SetMapper(volMapper); renderer-AddActor(volActor); renderer-SetBackground(1,1,1); renWin-SetSize(450,450); // interact with data renWin-Render(); iren-Start(); // Clean up renderer-Delete(); renWin-Delete(); iren-Delete(); vol-Delete(); scalars-Delete(); contour-Delete(); volMapper-Delete(); volActor-Delete(); return 0; } All Rights Reserved by 水灵 一起学习VTK-第7讲 致谢: 贾富仓 博士,研究员 中科院深圳先进技术研究院 All Rights Reserved by 水灵 Company Logo LOGO Study VTK Together 一起学习VTK All Rights Reserved by 水灵 一起学习VTK-第7讲 主要内容: 1. The Visualization Model 2. vtkDataObject and vtkDataSet 3. Visualization Data All Rights Reserved by 水灵 一起学习VTK-第7讲 The Visualization Model Graphical Data Pictures Graphics pipeline Visualization Data Data Flow Visualization Pipeline is responsible for constructing Geometric representation that is then rendered by the Graphic pipeline. Visualization pipeline All Rights Reserved by 水灵 一起学习VTK-第7讲 Visualization data 可视化数据(Visualization data)的特征: 1. visualization data is discrete. ---Interpolation: linear, quadratic, cubic, spline or other interpolation functions. 2. visualization datas structure may be regular or irregular(alternatively, structured or unstructured). ---regular data can save computer memory; irregular data gives us more freedom in representing data and can represent data that has no regular patterns. 3. visualization data has a topological dimension. ---The dimension of the data is important because it implies appropriate methods for visualization and data representation. All Rights Reserved by 水灵 一起学习VTK-第7讲 The Visualization Model Data Flow
您可能关注的文档
最近下载
- LaserjetCP1025系列打印机打印质量故障排除手册.pdf VIP
- 年会小品剧本小品剧本:搞笑小品剧本《都是喝酒惹事》台词大全.docx VIP
- 2026年高考全国II卷文科综合真题试卷(新课标卷)(+答案).docx VIP
- 安路科技(688107)补国产短板,突高端应用,拓新应用与技术大市场-240717-东北证券-38页.pdf VIP
- [搞笑小品剧本]上当了小品剧本.docx VIP
- 数据中心800V直流供电技术白皮书2.0.pdf
- 上海大学2022-2023学年第1学期《高等数学(上)》期末考试试卷(B卷)附参考答案.pdf
- 上海大学2022-2023学年第1学期《高等数学(上)》期末考试试卷(A卷)附参考答案.pdf
- 中国教育行业人才流动与薪酬水平_2025年12月.docx
- 2024全国初中数学联赛初二卷 .pdf VIP
原创力文档

文档评论(0)