Hi,

Thanks a lot!  This is exactly what I was looking for.


From: Utkarsh Ayachit<mailto:[email protected]>
Sent: Wednesday, August 24, 2016 4:00 PM
To: michal wozniak<mailto:[email protected]>
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [Paraview] 3D Widgets

I think this is what you want is similar to "SPHVolumeInterpolator".

See :
1. 
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/VTKExtensions/Points/points.xml#L671-699
2. 
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/VTKExtensions/Points/points.xml#L75-128

On Wed, Aug 24, 2016 at 3:44 PM, michal wozniak <[email protected]> wrote:
> Hi,
>
> I am trying to add 3D widgets to my custom filters. I am trying to find some
> documentation. For eg, let's say I want to add a BoxWidget that will just
> surround my input data. How do I achieve this?
> I am having trouble understanding the process of linking the widget to the
> filter inside the XML.
>
> I looked here
> http://www.paraview.org/Wiki/ParaView/Properties_Panel and
> ParaViewCore\ServerManager\SMApplication\Resources\3d_widgets.xml
>
> In 3d_widgets.XML, I see all the possible widgets available to ParaView.
> What the XML syntax to access them.
>
> I was looking at the clip filter which is using the Box and a plane ( for
> the plane clip) and saw that this part of XML is "triggering the process of
> rendering the BOX with the plane"
>
> <ProxyProperty command="SetClipFunction"
>                      label="Clip Type"
>                      name="ClipFunction">
>         <ProxyGroupDomain name="groups">
>           <Group name="implicit_functions" />
>         </ProxyGroupDomain>
>         <ProxyListDomain name="proxy_list">
>           <Proxy group="implicit_functions"
>                  name="Plane" />
>           <Proxy group="implicit_functions"
>                  name="Box" />
>           <Proxy group="implicit_functions"
>                  name="Sphere" />
>           <Proxy group="implicit_functions"
>                  name="Cylinder" />
>           <Proxy group="implicit_functions"
>                  name="Scalar" />
>         </ProxyListDomain>
>
> How do I customize this code, to add a different kind of 3D widgets ?
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to