[vtkusers] Image Viewer Question

Slaughter, Andrew E andrew.slaughter at inl.gov
Tue Oct 20 15:41:33 EDT 2015


I was able to get the image to show up by adding
"renderer.ResetCameraClippingRange()" after I am done messing with the
camera.

On Mon, Oct 19, 2015 at 5:55 PM, Slaughter, Andrew E <
andrew.slaughter at inl.gov> wrote:

> I was able to figure out how to position the images using the camera
> settings, but I am still having one problem. I attached a script and image
> that demonstrate my problem
>
> When I adjust the camera to position the image within the window, the
> image does not appear until I interact with the window by zooming or
> something similar. How do I update the render window after setting up the
> camera, so when window.Render() is called the image appears.
>
> There are few discussions on the mailing list, but they involve Qt widget,
> which I am not using. I am using VTK6.3 with python.
>
> Thanks,
> Andrew
>
> On Wed, Oct 14, 2015 at 11:20 AM, Slaughter, Andrew E <
> andrew.slaughter at inl.gov> wrote:
>
>> I am working on adding a logo to a 3D scene and having trouble
>> controlling placement of the logo image.
>>
>> I have attached a demo code, but it does not work like I would expect. I
>> would like to be able to shrink the logo to 50% its size, rotate it 90
>> (this worked), and move it closer to the corner of the window.
>>
>> Again thanks for the help on this issue and sorry for hammering the list
>> this week.
>>
>> -Andrew
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151020/c0ef7f2f/attachment.html>


More information about the vtkusers mailing list