[vtkusers] Questions about vtkDataArray::Initialize()

David Doria daviddoria+vtk at gmail.com
Fri Sep 18 12:21:56 EDT 2009


On Fri, Sep 18, 2009 at 12:00 PM, Berk Geveci <berk.geveci at kitware.com>wrote:

> Look at vtkDataArrayTemplate.txx. Initialize is there.
>
> -berk
>

Berk,

I guess I don't understand why there is a template instantiation file for a
non-template class (the declaration is below).
class VTK_COMMON_EXPORT vtkDataArray : public vtkAbstractArray

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?

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?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090918/e1a24b47/attachment.htm>


More information about the vtkusers mailing list