标签:style color io ar sp 数据 on art cti
vtkCellCenters——单元中心过滤器,该算法能够处理任意输入的数据集,并在数据集中所有cell的中心位置产生点数据作为输出。
(这里的cell中心指的是参数化中心,并非几何中心)。同时该单元的属性数据将与该点关联。注:输出数据中应该不包含输入数据。
用户可以设定仅仅生成点数据或者附带生成点单元(vertex cells)。部分代码如下:
vtkSmartPointer<vtkCellCenters> cc =
vtkSmartPointer<vtkCellCenters>::New();
cc->SetInputConnection( ids->GetOutputPort() );
cc->VertexCellsOn();
标签:style color io ar sp 数据 on art cti
原文地址:http://www.cnblogs.com/WaLi/p/4047136.html