[vtkusers] Mapping nodal scalar values to graded color

Bill Lorensen bill.lorensen at gmail.com
Tue Aug 4 13:35:00 EDT 2015


Not
aMeshGrid.GetPointData().GetScalars(stress)
but
aMeshGrid.GetPointData().SetScalars(stress)

On Tue, Aug 4, 2015 at 12:08 PM, roobaru <chpradeep.ith at gmail.com> wrote:
> @Alex Thanks for the reply!
> Doing "aMeshGrid.GetPointData().GetScalars(stress)" gives me an error
> TypeError: GetScalars argument 1: string or None required
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Mapping-nodal-scalar-values-to-graded-color-tp5733238p5733254.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list