[Paraview] Set a point data array

Dominik Szczerba dominik at itis.ethz.ch
Fri Sep 12 08:26:42 EDT 2008


Do you want to activate existing scalars or add a new one? What you show 
is the former, the latter would be searching for something like 
AddScalar in the docu.
- Dominik

Natalie Happenhofer wrote:
>   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! MSN Messenger 
> <http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview

-- 
Dominik Szczerba, Ph.D.
Computational Physics Group
Foundation for Research
on Information Technologies in Society
http://www.itis.ethz.ch


More information about the ParaView mailing list