<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi David,<div class=""><br class=""></div><div class="">Thanks - what is the reason these interfaces are being deprecated?</div><div class=""><br class=""></div><div class="">Bob</div><div class=""><br class=""><div class="">
<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; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Robert M. O'Bara, MEng.<br class="">Assistant Director of Scientific Computing<br class=""><br class="">Kitware Inc.<br class="">28 Corporate Drive<br class="">Suite 101<br class="">Clifton Park, NY 12065<br class=""><br class="">Phone: (518) 881- 4931</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Sep 8, 2016, at 1:59 PMEDT, David Gobbi <<a href="mailto:david.gobbi@gmail.com" class="">david.gobbi@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Bob,<div class=""><br class=""></div><div class="">I use a DeepCopy to stream in both directions:</div><div class=""><br class=""></div><div class="">vtkNew<vtkMatrix4x4> matrix;</div><div class="">double elements[16];</div><div class="">// stream from matrix to POD pointer</div><div class="">vtkMatrix4x4::DeepCopy(elements, matrix);</div><div class="">// stream from POD pointer to matrix</div><div class="">matrix->DeepCopy(elements);</div><div class=""><br class=""></div><div class=""> - David</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Sep 8, 2016 at 11:46 AM, Bob Obara <span dir="ltr" class=""><<a href="mailto:bob.obara@kitware.com" target="_blank" class="">bob.obara@kitware.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi David,<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">Thanks in advance for your time and help!</div><div class=""><br class=""></div><div class="">Bob</div><div class=""> <br class=""><div class="">
<div style="font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: 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;" class=""><div class="">Robert M. O'Bara, MEng.<br class="">Assistant Director of Scientific Computing<br class=""><br class="">Kitware Inc.<br class="">28 Corporate Drive<br class="">Suite 101<br class="">Clifton Park, NY 12065<br class=""><br class="">Phone: <a href="tel:%28518%29%20881-%204931" value="+15188814931" target="_blank" class="">(518) 881- 4931</a></div><div class=""><br class=""></div></div><br class=""><br class="">
</div>
<br class=""></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>