<!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&nbsp; a lot&nbsp;...it works !!</FONT></DIV>
  <DIV><FONT size=2>--Pallavi</FONT></DIV>
  <DIV>&nbsp;</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-&gt;SetTransform. You may find it useful to use 
    vtkImageChangeInformation-&gt;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&nbsp;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.&nbsp; 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>&nbsp;<?/color><?/fontfamily><BR><?fontfamily><?param Comic Sans MS><?color><?param 0000,0000,FFFF>&nbsp;<?/color><?/fontfamily><BR><BR>_______________________________________________<BR>This 
      is the private VTK discussion list. <BR>Please keep messages on-topic. 
      Check the FAQ at: 
      &lt;http://public.kitware.com/cgi-bin/vtkfaq&gt;<BR>Follow this link to 
      subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE>
<P></P></BODY></HTML>