[Paraview] Set a point data array

Natalie Happenhofer nataliehapp at hotmail.com
Fri Sep 12 06:45:41 EDT 2008


Hi!
I have been looking and looking and overlooking but I cannot find it.. I need a method to assign a point data array, i.e scalar attribute data to a structured grid! How can I achieve that?

I need something like this:

struct_grid -> GetPointData() -> SetScalars(scalars) //scalars is a vtkDataArray *

thx, 
NH

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080912/7f2d9770/attachment.htm>


More information about the ParaView mailing list