<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18943"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri>My understanding of vtkTransform is that it 
resamples/reorients the pixel data.&nbsp; Does that mean vtkImageData assumes a 
particular coordinate system and it's the user's responsibility to keep track of 
orientations?</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>Xiaofeng</FONT></DIV>
<DIV><FONT face=Calibri></FONT><BR></DIV>
<DIV dir=ltr>You can use vtkTransform to rotate the RT Dose matric to your 
desired orientation.<BR><BR>Jothy<BR><BR>
<DIV class=gmail_quote>On Fri, Nov 5, 2010 at 2:09 AM, Xiaofeng Z <SPAN 
dir=ltr>&lt;<A 
href="mailto:xf10036@hotmail.com">xf10036@hotmail.com</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE 
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
class=gmail_quote>
  <DIV>Hi, vtkusers,<BR><BR>I have this algorithm that computes dose-volume 
  histogram out of RT structureset and RT Dose.&nbsp; Right now the algorithm 
  works only when RT Dose has a 1,0,0 and 0,1,0 orientation.&nbsp; I need to use 
  the algorithm for other RT Dose orientations.&nbsp; I have too options, either 
  to modify the algorithm, or to convert RT Dose orientation to 1,0,0 and 
  0,1,0.&nbsp; I prefer to former, but only if vtkImageData support multiple 
  orientations.<BR><BR>So my question is, can vtkImageData store pixel data in 
  different orientation, and if so, how the orientation information is set and 
  get?<BR><BR>Thanks!<BR><BR>Xiaofeng<BR><BR><BR><BR><BR>
  <HR>
  From: <A href="mailto:xf10036@hotmail.com" 
  target=_blank>xf10036@hotmail.com</A><BR>To: <A href="mailto:vtkusers@vtk.org" 
  target=_blank>vtkusers@vtk.org</A><BR>Date: Thu, 4 Nov 2010 21:02:08 
  -0400<BR>Subject: [vtkusers] question on vtkImageData orientation support 
  <DIV class=im><BR><BR>Does vtkImageData:SetExt(int ext[]) support inverse 
  orientation, such that ext[0]&lt;ext[1], ext[2]&lt;ext[3], 
  etc?<BR><BR>Thanks!<BR><BR><BR></DIV>_______________________________________________ 
  Powered by <A href="http://www.kitware.com" target=_blank>www.kitware.com</A> 
  Visit other Kitware open-source projects at <A 
  href="http://www.kitware.com/opensource/opensource.html" 
  target=_blank>http://www.kitware.com/opensource/opensource.html</A> Please 
  keep messages on-topic and check the VTK FAQ at: <A 
  href="http://www.vtk.org/Wiki/VTK_FAQ" 
  target=_blank>http://www.vtk.org/Wiki/VTK_FAQ</A> Follow this link to 
  subscribe/unsubscribe: <A href="http://www.vtk.org/mailman/listinfo/vtkusers" 
  target=_blank>http://www.vtk.org/mailman/listinfo/vtkusers</A> 
  </DIV><BR>_______________________________________________<BR>Powered by <A 
  href="http://www.kitware.com" target=_blank>www.kitware.com</A><BR><BR>Visit 
  other Kitware open-source projects at <A 
  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 
  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 
  href="http://www.vtk.org/mailman/listinfo/vtkusers" 
  target=_blank>http://www.vtk.org/mailman/listinfo/vtkusers</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>