[Paraview-developers] Custom 3D Glyph Representation

Leon Staab tuxuin at gmail.com
Thu Sep 28 08:42:40 EDT 2017


Thank you for your help, this would help me with goal 1, but I need to do
this programmatically inside my custom C++-Plugin. Sorry if I didn't
mention it earlier.

Leon

2017-09-26 16:32 GMT+02:00 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>:

> The easiest approach is to just show the same data twice. Just apply
> the "Calculator" filter with an empty expression to create a clone of
> your data. Now show both your data and the output of the calculator in
> the 3D view and change the "Orientation Vectors" chosen for each of
> the representations as needed.
>
> Utkarsh
>
> On Tue, Sep 26, 2017 at 9:39 AM, Leon Staab <tuxuin at gmail.com> wrote:
> > Hi all,
> >
> > I have created a filter plugin which outputs vtkPolyData containing
> points
> > and two directions for each point. The directions are located inside data
> > arrays.
> >
> > Until now I have created a custom representation, drawing one glyph per
> > point in one direction.
> >
> > But the goals are:
> > 1. Draw two glyphs per point in two directions
> > 2. After the user selects the default "3D Glyphs"-representation from the
> > representation selection checkbox in ParaView, whenever my data is used,
> > this representation behaves like 1.
> >
> > Currently stuck, I am grateful for any hint!
> >
> > Kind regards
> > Leon
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Search the list archives at:
> > http://markmail.org/search/?q=Paraview-developers
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/paraview-developers
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20170928/45b3bee8/attachment.html>


More information about the Paraview-developers mailing list