[vtkusers] vtkUnstructuredGrid with several scalar fields

Christophe Peyret christophe.peyret at onera.fr
Fri Apr 13 07:22:21 EDT 2007


Hello,

I am building a vtkUnstructuredGrid and I would like to set several  
scalar Fields

Iif I use

         mesh->GetPointData()->SetScalars(scalars);

when I enter a second scalar field, it seems to replace the first one.

Anyone has an idea ?

Christophe Peyret



More information about the vtkusers mailing list