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