<br><blockquote>Hi,<br><br>To be more precise, i want to implement this functionality as explained here.. <br><br><a target=\"_blank\" href="http://www.codeproject.com/KB/dotnet/Calibrator.aspx?msg=2585113">http://www.codeproject.com/KB/dotnet/Calibrator.aspx?msg=2585113</a><br><br>I have a GUI window, where there is facility to set three points and and mapp it to the geographic coordinates.. So how can i achieve this in VTK..??<br><br>Thanks<br><br>Regards<br>Rakesh Patil<br><br><br>---------- Original message ----------<br>From:Jothybasu K Selvaraj< jothybasu@gmail.com ><br>Date: 14 Apr 10 20:10:00<br>Subject: Re: [vtkusers] Translation of Image using vtkTransform<br>To: "Eric E. Monson" <emonson@cs.duke.edu><br><br></emonson@cs.duke.edu><div dir="ltr">Hey Rakesh,<br><br>I didn't get your point clearly. If you only want to display the image at a different position you can use setPosition() as Eric said.<br><br>Are yotrying to do something different?<br>
<br><br>Jothy<br><br><div class="gmail_quote">On Wed, Apr 14, 2010 at 3:29 PM, Eric E. Monson <span dir="ltr"><<a target=\"_blank\" target="\"_blank\"" href="mailto:emonson@cs.duke.edu">emonson@cs.duke.edu</a>></span> wrote:<br><font color="#000000"></font><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div><font color="#000000">Hey Rakesh,</font></div><div><font color="#000000"><br></font></div><font color="#000000">If you just want to display the image in your render window at a specified location, you can change the position of the actor. If you use the output of a reader or some filter as the input to a vtkImageActor, then you can just do:</font><div>
<font color="#000000"><br></font></div><div><font color="#000000">imActor->SetPosition(x,y,z);</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">If you really want to change the origin of the image for some other calculation, then you can use vtkImageChangeInformation to modify the image properties.</font></div>
<div><font color="#000000"><br></font></div><div><font color="#000000">-Eric</font></div><div><font color="#000000"><br></font></div><div><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
<font color="#000000">------------------------------------------------------</font></div><div><font color="#000000">Eric E Monson</font></div><div><font color="#000000">Duke Visualization Technology Group</font></div><div><span style="font-size: medium;"><font color="#000000"><br></font></span></div></span>
</div><div><div></div><div class="h5">
<font color="#000000"><br></font><div><div><font color="#000000">On Apr 14, 2010, at 8:24 AM, Jothybasu K Selvaraj wrote:</font></div><font color="#000000"><br><font color="#000000"></font></font><blockquote type="cite"><div dir="ltr"><font color="#000000"><font color="#000000">Have a look at<br><br><a target=\"_blank\" href="http://www.itk.org/Wiki/VTK/Examples/ImageDataGeometryFilter" target="\"_blank\"">http://www.itk.org/Wiki/VTK/Examples/ImageDataGeometryFilter</a><br>
<br>Jothy<br><br></font></font><div class="gmail_quote"><font color="#000000"><font color="#000000">On Wed, Apr 14, 2010 at 12:58 PM, Rakesh Patil <span dir="ltr"><<a target=\"_blank\" href="mailto:rakeshthp@in.com" target="\"_blank\"">rakeshthp@in.com</a>></span> wrote:<br>
<font color="#000000"></font></font></font><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#000000"><font color="#000000"><font color="#000000">Hello,<br><br>I want to display image at a particular point other than default one.. I tried using vtkTransform, vtkTransformPolyDataFilter and vtkImageDataToPolyDataFilter.. But here it takes lot of time to convert image data to polydata..<br>
<br>Any easier way to translate the image from its default position to user defined position..??<br><br>Thanks<br><br>Rakesh Patil<br><br><br></font></font></font><div style="border-top: 1px dashed rgb(204, 204, 204); border-bottom: 1px dashed rgb(204, 204, 204); padding: 5px;">
<font color="#000000"><font color="#000000"><font color="#000000"><a target=\"_blank\" href="http://mail.in.com/mails/new_reg.php?utm_source=invite&utm_medium=outgoing" style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(30, 86, 161); text-decoration: none;" target="\"_blank\"">Dear <b>VTK !</b> Get Yourself a cool, short <b>@in.com</b> Email ID now!</a></font></font></font></div>
<font color="#000000"><font color="#000000"><font color="#000000"><br>_______________________________________________<br>
Powered by <a target=\"_blank\" href="http://www.kitware.com/" target="\"_blank\"">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a target=\"_blank\" href="http://www.kitware.com/opensource/opensource.html" target="\"_blank\"">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a target=\"_blank\" href="http://www.vtk.org/Wiki/VTK_FAQ" target="\"_blank\"">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a target=\"_blank\" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="\"_blank\"">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></font></font></font></blockquote></div><font color="#000000"><font color="#000000"><br></font></font></div>
<font color="#000000"><font color="#000000">_______________________________________________<br>Powered by <a target=\"_blank\" href="http://www.kitware.com" target="\"_blank\"">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a target=\"_blank\" href="http://www.kitware.com/opensource/opensource.html" target="\"_blank\"">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Please keep messages on-topic and check the VTK FAQ at: <a target=\"_blank\" href="http://www.vtk.org/Wiki/VTK_FAQ" target="\"_blank\"">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a target=\"_blank\" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="\"_blank\"">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</font></font></blockquote></div><font color="#000000"><br></font></div></div></div></div><font color="#000000"><br>_______________________________________________<br>
Powered by <a target=\"_blank\" href="http://www.kitware.com" target="\"_blank\"">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a target=\"_blank\" href="http://www.kitware.com/opensource/opensource.html" target="\"_blank\"">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a target=\"_blank\" href="http://www.vtk.org/Wiki/VTK_FAQ" target="\"_blank\"">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a target=\"_blank\" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="\"_blank\"">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></font></blockquote></div><br></div>
</blockquote>