[Paraview] Paraview Simple Superquadric

Mathieu Westphal mathieu.westphal at kitware.com
Fri Nov 24 03:40:50 EST 2017


Hello

you could use Glyph with custom source, but your superquadrics will not get
parametarized the way you want.
There is no direct way to do that, it could be done with a rather
complicated programmable python filter, wich would
create the superquadric and configurate them for each of your tensors.


Best,

Mathieu Westphal

On Thu, Nov 23, 2017 at 10:45 PM, <d.r.tunuguntla at utwente.nl> wrote:

> Rephrasing my question:
>
>
> Attached a tensorsTest.vtu file which contains
>
>
> "positions"
>
>
> "axesScales", "phiAndTheta" and orientationTensors.
>
>
> So, how do I set superquadric glyph over this input data?
>
>
> I would like to use something like
>
>
> ParticleGlyph = Glyph(Input=ParticleData_,GlyphType='*Superquadric*')
>
> Any help would be great
> Deepak​
> ------------------------------
> *From:* ParaView <paraview-bounces at paraview.org> on behalf of
> d.r.tunuguntla at utwente.nl <d.r.tunuguntla at utwente.nl>
> *Sent:* Thursday, November 23, 2017 10:24 PM
> *To:* paraview at paraview.org
> *Subject:* [Paraview] Paraview Simple Superquadric
>
>
> Dear Paraview users,
>
>
> I am trying to use paraview simple via python shell.
>
>
> Is it possible to pass superquadric source as a glyph?
>
>
> For example:
>
>
> ParticleGlyph = Glyph(Input=ParticleData_,GlyphType='*Superquadric*')
>
>
> I am aware of the TensorGlyph, but it does not have access to properties
> such as PhiRoundness or ThetaRoundess.​
>
>
> Any help would be great.
>
> Deepak
>
>
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171124/53fe0912/attachment.html>


More information about the ParaView mailing list