[Paraview] Assign scalars/vectors to mesh points in vtkRectilinearGrid, C++

Paw Møller pawsen at gmail.com
Tue Apr 2 15:33:27 EDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130402/8650c6d7/attachment-0001.htm>


More information about the ParaView mailing list