You're missing the vtkPointData header file so you just need to add: #include "vtkPointData.h"
Andy On Tue, Apr 2, 2013 at 3:33 PM, Paw Møller <paw...@gmail.com> wrote: > 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 > >
_______________________________________________ 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