<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Hi All,</span><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
I am new to ParaView and I am a Python expert, but new to QT/C++. I have two requirements as of now:</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">1) Develop a plug-in (GUI button labelled as &#39;Volume&#39;) which calculates the volume of a Cube or a sphere.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">2) Develop a plug-in (GUI button labelled as &#39;Volume&#39;) which calculates the volume of a irregular object like human model(attached file).</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">I can see &#39;IntegrateVariables&#39; filter calculate the area of any of the above two input data, but how will I achieve the same internally for calculating the volume.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">The detailed steps:</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">-User loads the attached wrl data or creates a cube</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">- User clicks on the &#39;Volume&#39; button.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">-ParaView shows the volume</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">For all these things including GUI button creation, may I have a detailed approach. And except the gui button which has to be done using C++/QT, can the remaining things be achieved using python? </div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Please give me samples or example source codes or point mt to some useful tutorials.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">I have my source code compiled on Debian 7.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
Thanks,</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Ananda</div></div>