<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 22, 2015 at 7:15 AM, JoseBarretoT <span dir="ltr"><<a href="mailto:jose.de.paula@live.com" target="_blank">jose.de.paula@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello users,<br>
excuse me for ignorance, but I'm having a problem with vtkMatrix4x4.<br>
<br>
I am creating ImageReslice following a plan generated by vtkPolyline<br>
(various segments of straight), but in now to fill SetResliceAxes, must pass<br>
a vtkMatrix4x4.<br>
<br>
What are the parameters stop SetElement? I ran into something that tells me<br>
to be X, Y, Z and the fourth parameter would be what?<br></blockquote><div><br></div><div>The first three columns are the the direction cosine vectors (for these, the 4th component should be zero). The three direction cosine vectors should be perpendicular to each other.</div><div><br></div><div>The fourth column (whose 4th component must be 1.0) gives a translation, defined with respect to the coordinate system of the input of vtkImageReslice.</div><div><br></div><div> - David</div><div> </div></div></div></div>