[vtkusers] vtkUnstructuredGrid with several scalar fields

Dominik Szczerba domi at vision.ee.ethz.ch
Sat Apr 14 06:46:51 EDT 2007


AddArray() ?
Honestly, I never figured out why there is both field data and 
vectors/scalars.
Dominik

On Friday 13 April 2007 13:22, Christophe Peyret wrote:
> 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
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Dominik Szczerba, PhD
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list