<div dir="ltr">SetFocalPoint() to imageCentre works!<br><br>Cheers<br><br>Jothy<br><br><div class="gmail_quote">On Tue, Jul 12, 2011 at 11:59 AM, Jothy <span dir="ltr">&lt;<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Hi all,<br><br>I am trying to view DICOM images with vtkRenderer. I am using FileLowerLeftOn() while reading DICOM images. Now the images are fliped in the render window upside-down.<br>
To correct for this as suggested by David G and others, I am using SetViewUp (0,-1,0, incase of axial ot get it in the right orientation). But the problem is the images are rendered on top the screen, only half of the images is visible. I think I shoud set proper camera position using GetActiveCamera()-&gt;SetPosition(). How to calculate proper camera position for a given Image origin/imageCentre.<br>

<br>Should I also set focalPoint?<br><br>Does anyone know these maths?<br><br>Thanks very much<br><br>Jothy<br></div>
</blockquote></div><br></div>