[vtkusers] "Convert" output of vtkImageExtractComponents to a vector?

David Doria daviddoria at gmail.com
Wed Aug 29 10:08:19 EDT 2012

On Wed, Aug 29, 2012 at 10:04 AM, Cory Quammen <cquammen at cs.unc.edu> wrote:

> David,
> I just figured it out. I needed to slip in a vtkAssignAttribute filter
> prior to the vtkGlyph3D filter like this:
> vtkImageData -> vtkAssignAttribute -> vtkGlyph3D
> For the vtkAssignAttribute filter, I call
> vtkAssignAttribute::Assign( vtkDataSetAttributes::SCALARS,
> vtkDataSetAttributes::VECTORS, vtkAssignAttribute::POINT_DATA );
> - Cory

Great. If you have a small demo that you've been playing with, perhaps you
can post it here:


As there is no other example that uses this filter, it would be great to
have one!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120829/491dfb56/attachment.htm>

More information about the vtkusers mailing list