<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>The class documentation describes the matrix as representing transformations in homogenous (x, y, z, w) coordinates:</div>
<div><a href="http://www.vtk.org/doc/nightly/html/classvtkMatrix4x4.html#details">http://www.vtk.org/doc/nightly/html/classvtkMatrix4x4.html#details</a></div>
<div><a href="https://en.wikipedia.org/wiki/Homogeneous_coordinates">https://en.wikipedia.org/wiki/Homogeneous_coordinates</a></div>
<div><a href="https://andrewharvey4.wordpress.com/2008/09/29/xyzw-in-opengldirect3d-homogeneous-coordinates">https://andrewharvey4.wordpress.com/2008/09/29/xyzw-in-opengldirect3d-homogeneous-coordinates</a>/</div>
<div><br>
</div>
<div>An example usage:</div>
<div><a href="http://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/ImageProcessing/Python/ImageSlicing.py">http://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/ImageProcessing/Python/ImageSlicing.py</a></div>
<div>(I think that the example has the transformation you were looking for)</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>vtkusers <<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a>> on behalf of Ê±¹â <<a href="mailto:yihui.cao@qq.com">yihui.cao@qq.com</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, December 9, 2015 at 1:43 AM<br>
<span style="font-weight:bold">To: </span>vtkusers <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
<span style="font-weight:bold">Subject: </span>[vtkusers] How to set the vtkMatrix4x4 in function SetResliceAxes() of vtkImageReslice<br>
</div>
<div><br>
</div>
<div>
<div>
<div>Hi,</div>
<div><br>
</div>
<div>In Class <span style="line-height: 1.5;">vtkImageReslice ,</span><span style="line-height: 1.5;"> <span style="font-weight: bold;">virtual void vtkImageReslice::SetResliceAxes </span></span><span style="font-weight: bold;"><span style="line-height: 1.5;">(</span><span style="line-height: 1.5;">vtkMatrix4x4
 *</span><span style="line-height: 1.5;">)</span></span></div>
<div>Why Matrix:</div>
<div>
<div>1, 0, 0, 0,</div>
<div>0, 1, 0, 0,</div>
<div>0, 0, 1, 0,</div>
<div>0, 0, 0, 1 </div>
</div>
<div>can get a slice that parallel to the XY plane?</div>
<div><br>
</div>
<div>What the <span style="line-height: 1.5;">Matrix means in </span>mathematics?</div>
<div><span style="line-height: 1.5;"><br>
</span></div>
<div><span style="line-height: 1.5;">Where can I get the detailed description?</span></div>
<div><span style="line-height: 1.5;"><br>
</span></div>
<div><span style="line-height: 1.5;">Thanks,</span></div>
<div>Yihui Cao</div>
<div><span style="color: rgb(67, 67, 67); font-family: Tahoma, Arial; font-size: 12px; line-height: 24px; widows: auto; background-color: rgb(242, 242, 242);"></span></div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><span style="color: rgb(37, 53, 85); font-family: 'Lucida Grande', Verdana, Geneva, Arial, sans-serif; font-size: 13px; line-height: 16.9px; white-space: nowrap;"><br>
</span></div>
</div>
</div>
</span>
</body>
</html>