[vtkusers] Standardizing Where Normals are Stored
David Doria
daviddoria at gmail.com
Wed Mar 25 11:59:36 EDT 2009
There seems to be 10,000 (ok maybe I'm exaggerating) ways that one can store
normals in a vtp file:
1) in an array that you name, ie Normals
polydata->GetPointData()->GetArray("Normals")
2) associate them with the points
polydata->GetPointData()->GetNormals()
3) associate them with the cells
polydata->GetCellData()->GetNormals()
4) associate them with the cells but name them
polydata->GetCellData()->GetNormals("cellNormals")
It is painful to have to check for normals in all of these places when
reading in a vtp. Does anyone else have this problem?
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090325/715ae634/attachment.htm>
More information about the vtkusers
mailing list