<div dir="ltr">Alas, that&#39;s not easy to do, if at all possible, with Python source.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 26, 2013 at 5:48 AM, Willi Karel <span dir="ltr">&lt;<a href="mailto:wk@ipf.tuwien.ac.at" target="_blank">wk@ipf.tuwien.ac.at</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Utkarsh,<br>
<br>
would it be possible to synchronize the transform of the rendered texts<br>
to the transform of the camera, such that the planes in which the texts<br>
lie stay normal to the viewing direction?<br>
I&#39;m aware of vtkFollower, but I&#39;m not sure if it is applicable / how to<br>
make use of it in the context of ParaView / Programmable Source, as it<br>
derives from vtkActor.<br>
<br>
Many thanks!<br>
<span class="HOEnZb"><font color="#888888">Willi.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On <a href="tel:25.09.2013%2022" value="+12509201322">25.09.2013 22</a>:50, Willi Karel wrote:<br>
&gt; Dear Utkarsh,<br>
&gt; that works nice, thanks a lot!<br>
&gt; Willi.<br>
&gt;<br>
&gt; On <a href="tel:25.09.2013%2015" value="+12509201315">25.09.2013 15</a>:25, Utkarsh Ayachit wrote:<br>
&gt;&gt; Willi,<br>
&gt;&gt;<br>
&gt;&gt; You can still use the programmable source for 3D text. With<br>
&gt;&gt; &quot;vtkPolyData&quot; as the chosen Output DataSet Type, you can use the<br>
&gt;&gt; attached script as the &quot;Script&quot;.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Sep 25, 2013 at 6:11 AM, Willi Karel &lt;<a href="mailto:wk@ipf.tuwien.ac.at">wk@ipf.tuwien.ac.at</a><br>
&gt;&gt; &lt;mailto:<a href="mailto:wk@ipf.tuwien.ac.at">wk@ipf.tuwien.ac.at</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;     I&#39;d like to insert various text strings programmatically into the scene<br>
&gt;&gt;     at various 3D locations in world coordinates. To me, (Python)<br>
&gt;&gt;     &quot;Programmable Source&quot; seems to be the appropriate tool for that purpose<br>
&gt;&gt;     (which I successfully use to insert geometries into the scene). Is that<br>
&gt;&gt;     possible using &quot;Programmable Source&quot;? Otherwise, is there any other<br>
&gt;&gt;     method to do so?<br>
&gt;&gt;<br>
&gt;&gt;     I am aware of Sources -&gt; 3D Text,<br>
&gt;&gt;     but that means a lot of manual, repetitive work.<br>
&gt;&gt;<br>
&gt;&gt;     Many thanks!<br>
&gt;&gt;     Willi.<br>
&gt;&gt;     --<br>
&gt;&gt;                             _____ _____ _____  Technische Universität Wien<br>
&gt;&gt;        DI Wilfried Karel   /____// ___//    / Dept. of Geodesy &amp; Geoinform.<br>
&gt;&gt;       wilfried.karel@     // __ / /__ / // / Research Groups Photogrammetry<br>
&gt;&gt;      <a href="http://geo.tuwien.ac.at" target="_blank">geo.tuwien.ac.at</a> &lt;<a href="http://geo.tuwien.ac.at" target="_blank">http://geo.tuwien.ac.at</a>&gt;    //__/// /__ / // /<br>
&gt;&gt;     &amp; Remote Sensing<br>
&gt;&gt;     <a href="tel:%2B43%201%2058801%2012244" value="+4315880112244">+43 1 58801 12244</a> &lt;tel:%2B43%201%2058801%2012244&gt;<br>
&gt;&gt;      /____//____//____/ Gusshausstr. 27-29, A-1040 Wien<br>
&gt;&gt;     _______________________________________________<br>
&gt;&gt;     Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> &lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;     Visit other Kitware open-source projects at<br>
&gt;&gt;     <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt;     Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt;     <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;<br>
&gt;&gt;     Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;     <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
--<br>
                        _____ _____ _____  Technische Universität Wien<br>
   DI Wilfried Karel   /____// ___//    / Dept. of Geodesy &amp; Geoinform.<br>
  wilfried.karel@     // __ / /__ / // / Research Groups Photogrammetry<br>
 <a href="http://geo.tuwien.ac.at" target="_blank">geo.tuwien.ac.at</a>    //__/// /__ / // /   &amp; Remote Sensing<br>
<a href="tel:%2B43%201%2058801%2012244" value="+4315880112244">+43 1 58801 12244</a>   /____//____//____/ Gusshausstr. 27-29, A-1040 Wien<br>
</div></div></blockquote></div><br></div>