[Paraview-developers] Forwarding optional input port to subproxy

David Lonie david.lonie at kitware.com
Fri Dec 9 14:47:06 EST 2016


SubProxies have a similar ShareProperties thing that I think could be used,
but the ProxyListDomain issue would need to be addressed. Might need to
wait for Utkarsh on this one :)

On Fri, Dec 9, 2016 at 2:43 PM, Mathieu Westphal <
mathieu.westphal at kitware.com> wrote:

> AFAIK it's not possible for subproxies (could be wrong as well though)
>
> Mathieu Westphal
>
> On Fri, Dec 9, 2016 at 8:35 PM, David Lonie <david.lonie at kitware.com>
> wrote:
>
>> Thanks for the tip.
>>
>> AIUI, though, the Hints/ProxyList/Link method only works for
>> ProxyProperties, not SubProxies? (I could be completely wrong).
>>
>> I'll still need someway to add an arbitrary input to the ProxyListDomain,
>> too.
>>
>> On Fri, Dec 9, 2016 at 2:11 PM, Mathieu Westphal <
>> mathieu.westphal at kitware.com> wrote:
>>
>>> Take a look at thsi xml.
>>>
>>> It's a the tracker "Surface" input is an optional input which is
>>> forwarded to the "Model" proxy.
>>> https://gitlab.kitware.com/paraview/paraview/blob/868bfcbac9
>>> 4325498394f2f9845b81b17e91a377/Plugins/LagrangianParticleTra
>>> cker/LagrangianParticleTracker.xml
>>>
>>> Mathieu
>>>
>>> Mathieu Westphal
>>>
>>> On Fri, Dec 9, 2016 at 7:45 PM, David Lonie <david.lonie at kitware.com>
>>> wrote:
>>>
>>>> Hi list,
>>>>
>>>> I'm trying to add the ability to use a custom dataset as a glyph source
>>>> in for the default glyph/geometry representation, and I'm stuck at the XML
>>>> part.
>>>>
>>>> How things are currently arranged:
>>>>
>>>> Glyph3DRepresentation has a GlyphType InputProperty, which is
>>>> controlled by a ProxyListDomain that contains various polydata
>>>> SourceProxies.
>>>>
>>>> The GeometryRepresentation has a Glyph3DRepresentation SubProxy.
>>>>
>>>> It looks like I'd need some way to:
>>>>
>>>> 1) Specify that the GlyphType's ProxyListDomain should use an input
>>>> connection as valid input.
>>>>
>>>> 2) Add an optional input connection to GeometryRepresentation that is
>>>> picked up by Glyph3DRepresentation and used for the GlyphType input when
>>>> the ProxyListDomain is set to "use input" from (1).
>>>>
>>>> Do these pieces exist, or are there other ways to do this?
>>>>
>>>> BTW, I'm aware of the custom glyph filter, but that won't work in this
>>>> scenario -- we need the glyphing to happen at render-time without creating
>>>> a massive glyphed polydata object in-memory.
>>>>
>>>> Dave
>>>>
>>>> _______________________________________________
>>>> 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/20161209/f1cbe4e5/attachment-0001.html>


More information about the Paraview-developers mailing list