VTK学习笔记:数据集之结构化点集

本文是关于VTK中结构化点集(vtkStructuredPoints)的学习笔记,该类作为vtkImageData的子类,主要应用于结构化数据操作。尽管自身方法不多,但它是图像处理的基础内容。结构化点集要求数据范围与更新范围完全匹配,并且其原点定义与vtkImageData不同。文章介绍了头文件定义及相关特性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

首先,如果你都不清楚数据集的类型和数据集的属性数据是什么,有哪些,推荐一个参考链接:http://lzchenheng.blog.163.com/blog/static/8383353620108644245513/

这段时间,就是分别针对不同的数据集学习,所以会尽力写详细点,顺便跟各位大牛们交流下。


来看看数据集的类图吧,类图也在发展,可能有些文档上跟这有区别。这个应该是最新的



结构化点集 vtkStructuredPoints

这个类继承于vtkImageData,所以搞图像的孩子都知道这个肯定是基础内容。适用于结构化的数据的操作。这个类的主要方法还是继承自vtkImageData,vtkDataObject等,自己类本身没有什么方法。所以想看这个类提供了什么方法,得问别的类去找。

说明:StructuredPoints is asubclass of ImageData that requires the data extent to exactly match the updateextent. Normall image data allows that the data extent may be larger than theupdate extent. StructuredPoints also defines the origin differently thatvtkImageData. For structured points the origin is the location of first point.Whereas images define the origin as the location of point 0, 0, 0. Image Originis stored in ivar, and structured points have special methods forsetting/getting the origin/extents.

可以看出,这个类型就相当于对vtkImageData子类,无特殊自己的方法。坐标原点跟图片的定义也不一致。

头文件定义:

31  #ifndef __vtkStructuredPoints_h
32  #define __vtkStructuredPoints_h
33 
34  #include "
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值