<html><head></head><body><div style="font-family:times new roman, new york, times, serif;font-size:medium;"><div><div>Thank you Allie. I used the first approach of comparing individual elements of vtkMatrix4x4.</div></div><div>BTW, the vtkMatrix.GetData() does not exist in VtkPython. I had to use GetElement(i,j).</div><div><br></div><hr><div id="ydp5e37caaeyahoo_quoted_2023863471" class="ydp5e37caaeyahoo_quoted"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div>On Thursday, July 27, 2017, 1:02:48 PM PDT, Allie Vacanti <allison.vacanti@kitware.com> wrote:</div><div><br></div><div><br></div><div><div dir="ltr">On Thu, Jul 27, 2017 at 1:29 PM, Koteswara Rao Ruvva via vtkusers<div class="ydp5e37caaeyqt7765793412" id="ydp5e37caaeyqtfd69346"><br clear="none"><<a shape="rect" href="mailto:vtkusers@vtk.org" rel="nofollow" target="_blank">vtkusers@vtk.org</a>> wrote:<br clear="none">> Hello All,<br clear="none">><br clear="none">> I want to find out whether a vtkActor is moved from its initial position. I<br clear="none">> want to compare vtkActor.GetMatrix() with its initial value, but I don't see<br clear="none">> vtkMatrix comparison API, like overloaded == or equivalent methods. Please<br clear="none">> suggest.</div><br clear="none"><br clear="none">You'll either need to pull the elements of the matrix out<br clear="none">(aMatrix->GetData()) and compare them, or you can just check the<br clear="none">modification time (someMatrix->GetMTime()) to see if anything has<br clear="none">modified it since the last check, depending on your usecase.<br clear="none"><br clear="none">HTH,<br clear="none">Allie<div class="ydp5e37caaeyqt7765793412" id="ydp5e37caaeyqtfd93457"><br clear="none"></div></div></div></div></div></div></body></html>