I think that you have to do this through the display properties. Way down under the misc section there's a widget that lets you load a texture. I think you should be able to use it if you generated texture coords and in a 2 component vtk float array and named them "Texture Coordinates"

On 10/06/2013 10:46 PM, Lodron, Gerald wrote:
Hello,
I am new in programming Paraview plugins but already made a first reader plugin working but now have a big problem: I successfully made a reader plugin which reads our company internal file format and outputs a vtkPolyData with texture coordinates. I can also read the texture image into a vtkImageData but now have no clue to combine the vtkPolyData with the texture image. Normally in vtk I would call SetTexture of the vtkActor, but how do I do this in the plugins?
Is a reader plugin the wrong way doing this?
Thanks for any advice,
Gerald Lodron
_________________________________________________________________
*JOANNEUM RESEARCH Forschungsgesellschaft mbH*
*DIGITAL -- Institute for Information and Communication Technologies*
Steyrergasse 17, 8010 Graz, Austria
phone: +43 316 876-1751
fax: +43 316 8769-1751
e-mail: [email protected]_ <mailto:[email protected]>
web: _www.joanneum.at/digital_ <http://www.joanneum.at/digital>
_________________________________________________________________
This message and any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee(s) is prohibited. If you receive this in error please contact the sender and delete the material. The sender does not accept liability for any errors or omissions as a result of the transmission.
Please consider the environment before printing this page.


_______________________________________________
Paraview-developers mailing list
[email protected]
http://public.kitware.com/mailman/listinfo/paraview-developers

_______________________________________________
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

Reply via email to