<br><div class="gmail_quote">On Fri, Sep 18, 2009 at 12:00 PM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Look at vtkDataArrayTemplate.txx. Initialize is there.<br>
<br>
-berk<br>
<div><div></div><div class="h5"></div></div></blockquote><div><br>Berk,<br><br>I guess I don't understand why there is a template instantiation file for a non-template class (the declaration is below).<br>class VTK_COMMON_EXPORT vtkDataArray : public vtkAbstractArray<br>
<br>so my thoughts were to look only in vtkDataArray.cxx. Can you tell me what clues I should have seen to go look for vtkDataArrayTemplate.txx?<br><br>Also, it looks like the Initialize() function deletes the array (as I expected) so can you comment on why the two methods in my little example would not work the same?<br>
<br clear="all">Thanks,<br><br>David<br></div></div>