[vtkusers] using multiple vectors

Berk Geveci berk.geveci at kitware.com
Mon Jun 17 19:22:28 EDT 2002

As of VTK 4.0, you can add as many arrays as you want to the point 
or cell data with AddArray() (to learn more about the interface,
look at the documentation of vtkFieldData and vtkDataSetAttributes
-superclasses of vtkPointData and vtkCellData-).
However, there can be only one active "attribute" of each
type (scalar, vector, normal etc.) at one time. To change the active
attribute, you can use the vtkAssignAttribute filter.


On Mon, 2002-06-17 at 16:45, Campbell, Robert E wrote:
> Hi, does anyone know if there is a way to set multiple sets of vectors for
> vtkPointData?  I am trying to represent vector data as glyphs as well as
> using a separate set of displacement vectors along with the vtkWarpVector,
> but right now I'm only able to use one or the other, due to the limited
> vtkPointData->SetVectors() function.  Does anyone know a way around this?
> Thanks,
> ~Bob
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

More information about the vtkusers mailing list