[Paraview-developers] Reader Plugin with Texture image

burlen burlen.loring at gmail.com
Mon Oct 7 11:32:42 EDT 2013


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: _gerald.lodron at joanneum.at_ <mailto:gerald.lodron at joanneum.at>
> 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
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20131007/949f3cba/attachment.htm>


More information about the Paraview-developers mailing list