[vtkusers] Switching between point data and cell data for vtkGlyph3D

Mathieu Westphal mathieu.westphal at kitware.com
Fri Sep 30 10:27:57 EDT 2016


Hello

you should be able to use vtkGlyph3D::SetInputArrayToProcess and use a cell
data vector without problems.

Regards,

Mathieu Westphal

On Fri, Sep 30, 2016 at 4:04 PM, Daryl L. Bonhaus <dlb at conceptsnrec.com>
wrote:

> We have a custom pipeline in our application, so I need to do this
> programmatically. Our pipeline looks like this:
>
> vtkStructuredGrid -> vtkExtractGrid -> vtkGlyph3D -> vtkPolyDataMapper ->
> vtkActor
>
>
>
> Thanks,
>
> Daryl
>
>
>
> *From:* Mathieu Westphal [mailto:mathieu.westphal at kitware.com]
> *Sent:* Friday, September 30, 2016 9:55 AM
> *To:* Daryl L. Bonhaus
> *Cc:* vtkusers at vtk.org
> *Subject:* Re: [vtkusers] Switching between point data and cell data for
> vtkGlyph3D
>
>
>
> Hello
>
> Add a "Glyph" Filter, (not 3D Glyph Representation)
>
> You wan then switch the "vectors" property in the panel, considering you
> have cell data vectors and point data vectors in you data.
>
> Regards,
>
>
> Mathieu Westphal
>
>
>
> On Fri, Sep 30, 2016 at 3:44 PM, Daryl L. Bonhaus <dlb at conceptsnrec.com>
> wrote:
>
> We have a data set (a structured grid) that has velocity vectors defined
> at points and direction vectors defined in cells. We want to use a Glyph3D
> to display the selected vectors, but I can’t get it to switch between cell
> and point data. How is this done?
>
>
>
> Thanks,
>
> Daryl Bonhaus
>
> Director, CFD Software Development
>
> Concepts NREC
>
> http://www.conceptsnrec.com/
>
>
>
>
> ------------------------------
>
>
> Please consider the environment before printing this email.
> ------------------------------
>
>
> The information contained in this communication and any attachment(s)
> and/or link(s) hereto may contain proprietary and/or confidential
> information, which may be privileged or otherwise protected from
> disclosure, and is intended only for the sole use of the intended
> recipient(s). Any unauthorized review, use, disclosure, or distribution is
> strictly prohibited. If you have received this communication in error,
> please return it to the sender immediately and delete the original message
> from your computer system. If you have any questions concerning this
> message, please contact the sender.
>
>
> _______________________________________________
> 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
>
>
>
> ------------------------------
>
> Please consider the environment before printing this email.
>
> ------------------------------
>
> The information contained in this communication and any attachment(s)
> and/or link(s) hereto may contain proprietary and/or confidential
> information, which may be privileged or otherwise protected from
> disclosure, and is intended only for the sole use of the intended
> recipient(s). Any unauthorized review, use, disclosure, or distribution is
> strictly prohibited. If you have received this communication in error,
> please return it to the sender immediately and delete the original message
> from your computer system. If you have any questions concerning this
> message, please contact the sender.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160930/f2e64c14/attachment.html>


More information about the vtkusers mailing list