<div dir="ltr">You can do just about anything you can do with a c++ filter (make internal filters, directly access input and output data sets) inside a programmable filter so a plugin shouldn&#39;t be a requirement to do what you want to do. In either case you will need to be familiar with the VTK API, python usually just makes the development task a bit quicker.<div>

<br></div><div>I would recommend you start by reimplementing what the tube filter does in its requestdata method in python and then modify to suit your purposes.<div><br></div></div></div><div class="gmail_extra"><br clear="all">

<div>David E DeMarle<br>Kitware, Inc.<br>R&amp;D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Tue, May 14, 2013 at 5:57 PM, Lorne Arnold <span dir="ltr">&lt;<a href="mailto:lorne87@uw.edu" target="_blank">lorne87@uw.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><span style="font-size:13px;font-family:arial,sans-serif">I&#39;m new to ParaView and I&#39;m trying to use it to visualize 2D discrete element data. </span><br style="font-size:13px;font-family:arial,sans-serif">


<div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">I&#39;m running into situations where I want more of the glyph properties to be dependent on inputs (a line glyph whose length, <i>and</i> width are scaled by different inputs, e.g.). So far I haven&#39;t been able to find filters to accomplish this. &#39;Tube&#39; is the closest thing I&#39;ve found, but it only renders in 3D and looks out of place with my 2D data.</div>


<div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">Is it possible to modify a filter with a programmable filter? Would I need a plugin to do this kind of thing?</div>


<div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">Attached is an example of the kind of diagram I&#39;m trying to make. I made this one using matplotlib.</div>


<div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">Thanks for your help,</div><div style="font-size:13px;font-family:arial,sans-serif">
<br></div><div style="font-size:13px;font-family:arial,sans-serif">Lorne </div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>