[Insight-users] [vtkusers] vtkCamera view point

Xiaopeng Yang yxp233 at postech.ac.kr
Mon Nov 29 05:42:20 EST 2010


I tried that before, and it did change the view point. But it did not change the visualization order of the series of CT images. Which means that it still shows the bottom image first, till the up image of a series of CT images. But commonly, the up image should be shown as the first image. Any ideas?


-----邮件原件-----
发件人: David Doria [mailto:daviddoria at gmail.com] 
发送时间: 2010년 11월 27일 토요일 오후 10:10
收件人: Xiaopeng Yang
抄送: itk; vtkusers at vtk.org
主题: Re: [vtkusers] vtkCamera view point

On Fri, Nov 26, 2010 at 9:02 PM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
> Hello,
>
>
>
> Does anybody know how to change the vtkCamera view point from bottom-top to
> top-bottom?
>
>
>
> Thank you,
>
> Xiaopeng

I think you're looking for camera->SetViewUp(0,-1,0);

http://www.vtk.org/doc/nightly/html/classvtkCamera.html#a682d87d50817200b5e501c792eca6010

David











More information about the Insight-users mailing list