aView
Onderwerp: Re: [Paraview] Scaling cylinder glyph's radius and height
individually
Ahmad,
First, I recommend that you try loading your plugin in the ParaView
UI, using the ParaView that you built your plugin against. Then, in
Tools -> Manage Plugins. Click on Load New... and se
ls. Is there an existing way
> to do this, or would I need to do this myself? I would like to do this the
> same way one would set the "Scalars":
>
>
> vtkSMPropertyHelper(glyph, "Normals")
> .SetInputArrayToProcess(vtkDataObject::POINT, "ScalingArra
uot;Alphabetical" list in the Filters menu.
There are no instructions on how to use the new class in a C++ pipeline...
Any pointers on this?
Best,
Ahmad
Van: Cory Quammen
Verzonden: vrijdag 19 januari 2018 16:59
Aan: Ahmad .; ParaView
Onderwerp: Re: [Paraview
;
I think that should work.
Best,
Cory
> Looking forward to your reply.
>
> Best,
> Ahmad
>
>
>
> --
> *Van:* Cory Quammen
> *Verzonden:* dinsdag 9 januari 2018 15:30
> *Aan:* Ahmad .
> *CC:* paraview@paraview.org
> *Onderwerp:*
Hi Ahmad,
Alas, reading the code of vtkGlyph3D, you cannot orient by a vector
array different from the vector array used to do the scaling using the
functionality in ParaView. You would have to modify either
vtkPVGlyphFilter or its parent class vtkGlyph3D, to do this, and
expose the new VTK class
Just want to add that a programmatic (C++) solution is preferred rather than
using the GUI
I have a C++ pipeline where I can set the properties of the cylinder glyph with
vtkSMPropertyHelper.
I have looked in filters.xml under vtkPVGlyphFilter source proxy (file located
in /ParaViewCore/Server