[vtkusers] SetBackgroundTexture

David Doria daviddoria at gmail.com
Tue Feb 1 08:28:39 EST 2011


On Tue, Feb 1, 2011 at 2:10 AM, Leonid Dulman <leonid_dulman at yahoo.co.uk>wrote:

> Hi to all
> I search for vtk example with SetBackgroundTexture method for vtkRenderer
> Thank you. Leonid
>
>
Are you just looking to set an image to the background of the renderer? If
so, you can use this:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/BackgroundImage

If you actually want to use SetBackgroundTexture, I have made a shell
example here:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Visualization/BackgroundTexture

The error is:
Error: "You should really use the ExecuteData(vtkInformation *request,...)
signature instead"

Hopefully someone can get it to work for you.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110201/dd6e7465/attachment.htm>


More information about the vtkusers mailing list