<div dir="ltr">Alas, that'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"><<a href="mailto:wk@ipf.tuwien.ac.at" target="_blank">wk@ipf.tuwien.ac.at</a>></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'm aware of vtkFollower, but I'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>
> Dear Utkarsh,<br>
> that works nice, thanks a lot!<br>
> Willi.<br>
><br>
> On <a href="tel:25.09.2013%2015" value="+12509201315">25.09.2013 15</a>:25, Utkarsh Ayachit wrote:<br>
>> Willi,<br>
>><br>
>> You can still use the programmable source for 3D text. With<br>
>> "vtkPolyData" as the chosen Output DataSet Type, you can use the<br>
>> attached script as the "Script".<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> On Wed, Sep 25, 2013 at 6:11 AM, Willi Karel <<a href="mailto:wk@ipf.tuwien.ac.at">wk@ipf.tuwien.ac.at</a><br>
>> <mailto:<a href="mailto:wk@ipf.tuwien.ac.at">wk@ipf.tuwien.ac.at</a>>> wrote:<br>
>><br>
>> I'd like to insert various text strings programmatically into the scene<br>
>> at various 3D locations in world coordinates. To me, (Python)<br>
>> "Programmable Source" seems to be the appropriate tool for that purpose<br>
>> (which I successfully use to insert geometries into the scene). Is that<br>
>> possible using "Programmable Source"? Otherwise, is there any other<br>
>> method to do so?<br>
>><br>
>> I am aware of Sources -> 3D Text,<br>
>> but that means a lot of manual, repetitive work.<br>
>><br>
>> Many thanks!<br>
>> Willi.<br>
>> --<br>
>> _____ _____ _____ Technische Universität Wien<br>
>> DI Wilfried Karel /____// ___// / Dept. of Geodesy & Geoinform.<br>
>> wilfried.karel@ // __ / /__ / // / Research Groups Photogrammetry<br>
>> <a href="http://geo.tuwien.ac.at" target="_blank">geo.tuwien.ac.at</a> <<a href="http://geo.tuwien.ac.at" target="_blank">http://geo.tuwien.ac.at</a>> //__/// /__ / // /<br>
>> & Remote Sensing<br>
>> <a href="tel:%2B43%201%2058801%2012244" value="+4315880112244">+43 1 58801 12244</a> <tel:%2B43%201%2058801%2012244><br>
>> /____//____//____/ Gusshausstr. 27-29, A-1040 Wien<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <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:<br>
>> <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>
>><br>
><br>
<br>
--<br>
_____ _____ _____ Technische Universität Wien<br>
DI Wilfried Karel /____// ___// / Dept. of Geodesy & Geoinform.<br>
wilfried.karel@ // __ / /__ / // / Research Groups Photogrammetry<br>
<a href="http://geo.tuwien.ac.at" target="_blank">geo.tuwien.ac.at</a> //__/// /__ / // / & 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>