[vtkusers] Translation of Image using vtkTransform

Rakesh Patil rakeshthp at in.com
Wed Apr 14 11:46:31 EDT 2010


 Hi,To be more precise, i want to implement this functionality as explained here.. http://www.codeproject.com/KB/dotnet/Calibrator.aspx?msg=2585113I 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..??ThanksRegardsRakesh Patil Original message From:Jothybasu K Selvaraj< jothybasu at gmail.com >Date: 14 Apr 10 20:10:00Subject:Re: [vtkusers] Translation of Image using vtkTransformTo: "Eric E. Monson" Hey Rakesh,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.Are yotrying to do something different? JothyOn Wed, Apr 14, 2010 at 3:29 PM, Eric E. Monsonwrote: Hey Rakesh,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: imActor>Se
 tPosition(x,y,z);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. EricEric E MonsonDuke Visualization Technology GroupOn Apr 14, 2010, at 8:24 AM, Jothybasu K Selvaraj wrote:Have a look athttp://www.itk.org/Wiki/VTK/Examples/ImageDataGeometryFilter JothyOn Wed, Apr 14, 2010 at 12:58 PM, Rakesh Patilwrote: Hello,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..Any easier way to translate the image from its default position to user defined position..??ThanksRakesh PatilDear VTK ! Get Yourself a cool, short @in.com Email ID now!  Powered by www.kitware.comVisit other Kitware opensource projects at http://www.kitware.com/opensource/opensource.htmlPlease keep messages ontopic and check the VTK FAQ at:
  http://www.vtk.org/Wiki/VTKFAQFollow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusersPowered by www.kitware.comVisit other Kitware opensource projects at http://www.kitware.com/opensource/opensource.html Please keep messages ontopic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTKFAQFollow this link to subscribe/unsubscribe:http://www.vtk.org/mailman/listinfo/vtkusers  Powered by www.kitware.comVisit other Kitware opensource projects at http://www.kitware.com/opensource/opensource.htmlPlease keep messages ontopic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTKFAQFollow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100414/0185e20d/attachment.htm>


More information about the vtkusers mailing list