[vtk-developers] vtkDataObject::FieldAssociations questions

Jeff Baumes jeff.baumes at kitware.com
Fri May 9 11:17:34 EDT 2008


> 1. What is vtkDataObject::FIELD_ASSOCIATION_NONE used for? Does it cover
> arrays that are field data (as opposed to point/cell data)?

Yes, this is for field data.

> 2. Would it make sense to add a new
> vtkDataObject::FIELD_ASSOCIATION_POINT_COORDINATES enum so that
> SetInputArrayToProcess() could indicate that point coordinates should be
> used instead of a point array/cell array? (The array name or
> vtkDataSetAttributes::AttributeTypes value would then be ignored.)

This would be nice. Perhaps one of the signatures could have a default
final argument so you don't have to pass anything if you use
FIELD_ASSOCIATION_POINT_COORDINATES.

> 3. Finally, are there plans to make SetInputArrayToProcess() accept a
> particular component to operate on?

Not that I'm aware of.



More information about the vtk-developers mailing list