[Paraview] I: 3D point cloud with color

David Doria daviddoria at gmail.com
Fri Mar 2 12:43:21 EST 2012


Andrew,

I may have missed something in the discussion, but you typically do
not want to set colors via SetVectors as you mentioned (
p->GetPointData()->SetVectors(rgb); )

My understanding is that whatever is set with SetVectors will be
transformed when the data set is transformed. I.e. if you rotate the
data set, the colors will change (not typically what you'd want).

I think you should prefer
p->GetPointData()->SetScalars(rgb);

David


More information about the ParaView mailing list