Thanks for the answer Joe,

but I still get a compilation error for

rgrid->GetPointData()->AddArray(temperature);

The error:
invalid use of incomplete type ‘class vtkPointData’
In file included from /usr/include/vtk-5.8/vtkPointSet.h:29:0,
                 from /usr/include/vtk-5.8/vtkStructuredGrid.h:42,
                 from vtk.cpp:13:

Any ideas?

Paw
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to