<div dir="ltr">Thanks for the answer Joe,<div><br></div><div style>but I still get a compilation error for</div><div style><br></div><div style>rgrid-&gt;GetPointData()-&gt;AddArray(temperature);<br></div><div style><br></div>
<div style>The error:</div><div style><div>invalid use of incomplete type ‘class vtkPointData’</div><div>In file included from /usr/include/vtk-5.8/vtkPointSet.h:29:0,</div><div>                 from /usr/include/vtk-5.8/vtkStructuredGrid.h:42,</div>
<div>                 from vtk.cpp:13:</div><div><br></div><div style>Any ideas?</div><div style><br></div><div style>Paw</div></div></div>