<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi, </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks a lot!  This is exactly what I was looking for.     <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:utkarsh.ayachit@kitware.com">Utkarsh Ayachit</a><br>
<b>Sent: </b>Wednesday, August 24, 2016 4:00 PM<br>
<b>To: </b><a href="mailto:michalwozniak@live.ca">michal wozniak</a><br>
<b>Cc: </b><a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
<b>Subject: </b>Re: [Paraview] 3D Widgets</p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
</div>
<div class="BodyFragment">
<div class="PlainText">I think this is what you want is similar to "SPHVolumeInterpolator".<br>
<br>
See :<br>
1. <a href="https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/VTKExtensions/Points/points.xml#L671-699">
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/VTKExtensions/Points/points.xml#L671-699</a><br>
2. <a href="https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/VTKExtensions/Points/points.xml#L75-128">
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/VTKExtensions/Points/points.xml#L75-128</a><br>
<br>
On Wed, Aug 24, 2016 at 3:44 PM, michal wozniak <michalwozniak@live.ca> wrote:<br>
> Hi,<br>
><br>
> I am trying to add 3D widgets to my custom filters. I am trying to find some<br>
> documentation. For eg, let's say I want to add a BoxWidget that will just<br>
> surround my input data. How do I achieve this?<br>
> I am having trouble understanding the process of linking the widget to the<br>
> filter inside the XML.<br>
><br>
> I looked here<br>
> <a href="http://www.paraview.org/Wiki/ParaView/Properties_Panel">http://www.paraview.org/Wiki/ParaView/Properties_Panel</a> and<br>
> ParaViewCore\ServerManager\SMApplication\Resources\3d_widgets.xml<br>
><br>
> In 3d_widgets.XML, I see all the possible widgets available to ParaView.<br>
> What the XML syntax to access them.<br>
><br>
> I was looking at the clip filter which is using the Box and a plane ( for<br>
> the plane clip) and saw that this part of XML is "triggering the process of<br>
> rendering the BOX with the plane"<br>
><br>
> <ProxyProperty command="SetClipFunction"<br>
>                      label="Clip Type"<br>
>                      name="ClipFunction"><br>
>         <ProxyGroupDomain name="groups"><br>
>           <Group name="implicit_functions" /><br>
>         </ProxyGroupDomain><br>
>         <ProxyListDomain name="proxy_list"><br>
>           <Proxy group="implicit_functions"<br>
>                  name="Plane" /><br>
>           <Proxy group="implicit_functions"<br>
>                  name="Box" /><br>
>           <Proxy group="implicit_functions"<br>
>                  name="Sphere" /><br>
>           <Proxy group="implicit_functions"<br>
>                  name="Cylinder" /><br>
>           <Proxy group="implicit_functions"<br>
>                  name="Scalar" /><br>
>         </ProxyListDomain><br>
><br>
> How do I customize this code, to add a different kind of 3D widgets ?<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView">http://markmail.org/search/?q=ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a><br>
><br>
</div>
</div>
</body>
</html>