[vtkusers] Relationship between PointData::AddArray() and PointData::SetVectors()?

Bill Lorensen bill.lorensen at gmail.com
Sat Sep 9 11:00:36 EDT 2017


You can add as many arrays as you like. Give them a name, and then use
SetActiveScalars or SetActiveVectors to use them in GetScalars or
GetVectors.
 These search results at:
https://lorensen.github.io/VTKExamples/site/

yield lots of examples:
https://cse.google.com/cse?cx=015419652359195128492:0lkxso1wcym&q=setactivescalars&oq=setactivescalars&gs_l=partner.3...2338.12615.0.13087.22.19.3.0.0.0.92.1404.19.19.0.gsnos%2Cn%3D13...0.10351j8388625j22j3..1ac.1.25.partner..22.0.0.60OVm-LcjiE#gsc.tab=0&gsc.q=setactivescalars&gsc.page=1

https://cse.google.com/cse?cx=015419652359195128492:0lkxso1wcym&q=setactivescalars&oq=setactivescalars&gs_l=partner.3...2338.12615.0.13087.22.19.3.0.0.0.92.1404.19.19.0.gsnos%2Cn%3D13...0.10351j8388625j22j3..1ac.1.25.partner..22.0.0.60OVm-LcjiE#gsc.tab=0&gsc.q=setactivevectors&gsc.sort=date



On Sat, Sep 9, 2017 at 9:57 AM, landings <landinghere at 163.com> wrote:
> Do methods like SetScalars(), SetVectors() and SetNormals() mean I can only
> have one set of scalars, one set of vectors and one set of normals each?
>
> AddArray() seems to add arbitrary arrays without asking for their usage,
> does it have any relationship with the former methods?
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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