<div dir="ltr">Hi Bob,<div><br></div><div>I use a DeepCopy to stream in both directions:</div><div><br></div><div>vtkNew<vtkMatrix4x4> matrix;</div><div>double elements[16];</div><div>// stream from matrix to POD pointer</div><div>vtkMatrix4x4::DeepCopy(elements, matrix);</div><div>// stream from POD pointer to matrix</div><div>matrix->DeepCopy(elements);</div><div><br></div><div> - David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 8, 2016 at 11:46 AM, Bob Obara <span dir="ltr"><<a href="mailto:bob.obara@kitware.com" target="_blank">bob.obara@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi David,<div><br></div><div>I’ve been meaning to ask you about the depreciation of [] operator in both classes and and the comment not to use the public Element data member in the 4x4 class).  How are you suppose to be able to stream the data out of the matrix with these interfaces removed?  Obviously you can you the DeepCopy methods to “stream” data into them.</div><div><br></div><div>Thanks in advance for your time and help!</div><div><br></div><div>Bob</div><div> <br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>Robert M. O'Bara, MEng.<br>Assistant Director of Scientific Computing<br><br>Kitware Inc.<br>28 Corporate Drive<br>Suite 101<br>Clifton Park, NY 12065<br><br>Phone: <a href="tel:%28518%29%20881-%204931" value="+15188814931" target="_blank">(518) 881- 4931</a></div><div><br></div></div><br><br>
</div>
<br></div></div></blockquote></div><br></div>