<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="COLOR: #0000ff; FONT-FAMILY: Comic Sans MS" bgColor=#ffffff>
<BLOCKQUOTE id=0><LABEL id=HbSession SessionId="848524719"></LABEL>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV><FONT size=2>Thanks a lot ...it works !!</FONT></DIV>
<DIV><FONT size=2>--Pallavi</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=glehmann@imaging.robarts.ca
href="mailto:glehmann@imaging.robarts.ca">Glen Lehmann</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=pallavi.joshi@vanderbilt.edu
href="mailto:pallavi.joshi@vanderbilt.edu">Pallavi Joshi</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=vtkusers@vtk.org
href="mailto:vtkusers@vtk.org">VtkUsers</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, August 12, 2004 2:53
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [vtkusers]
gridTransform</DIV>
<DIV><BR></DIV>Hi Pallavi,<BR><BR>You can use vtkTransform to setup your
rotation and then provide the transform to vtkImageReslice via
vtkImageReslice->SetTransform. You may find it useful to use
vtkImageChangeInformation->CenterImageOn() first so that you are rotating
about the center of your image. Then, make sure you set each of the output
whole extent, extent, and origin (probably to the same as the input) in
vtkImageReslice before you Update. <BR><BR>Cheers,<BR>Glen<BR><BR>On Aug 12,
2004, at 2:24 PM, Pallavi Joshi wrote:<BR><BR>
<BLOCKQUOTE><BR><?fontfamily><?param Comic Sans MS><?color><?param 0000,0000,FFFF><?smaller>Hi,<?/smaller><?/color><?/fontfamily><BR><?fontfamily><?param Comic Sans MS><?color><?param 0000,0000,FFFF><?smaller>I
want to rotate my vtkImageData. This vtkImageData is actually dx,dy,dz
displacement field vectors for non rigid deformation. Now I want to
rotate the entire data so that it is aligned with the mesh which I finally
want to deform with this deformation field. Can anybody tell me how
to rotate the vtkImageData without being converted to a mesh.<?/smaller><?/color><?/fontfamily><BR><?fontfamily><?param Comic Sans MS><?color><?param 0000,0000,FFFF><?smaller>Thanks,<?/smaller><?/color><?/fontfamily><BR><?fontfamily><?param Comic Sans MS><?color><?param 0000,0000,FFFF><?smaller>Pallavi<?/smaller><?/color><?/fontfamily><BR><?fontfamily><?param Comic Sans MS><?color><?param 0000,0000,FFFF> <?/color><?/fontfamily><BR><?fontfamily><?param Comic Sans MS><?color><?param 0000,0000,FFFF> <?/color><?/fontfamily><BR><BR>_______________________________________________<BR>This
is the private VTK discussion list. <BR>Please keep messages on-topic.
Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq><BR>Follow this link to
subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE>
<P></P></BODY></HTML>