[vtkusers] vtkDenseArray reference counting?

David Doria daviddoria+vtk at gmail.com
Wed Nov 18 15:01:09 EST 2009


> We are actually working on a more general solution so that you will
> not need to implement this vtkVariant conversion on types used in
> vtkArray and subclasses. Basically the Get/SetVariant methods in
> vtkArray would be non-functional in general, but would work if you
> used a supported basic type.
>
> Jeff
>

Jeff,

So for the time being, If I want to have this as a member variable

vtkSmartPointer<vtkDenseArray<vtkSmartPointer<vtkRay> > > array;

what should I do? (since I can't use vtkSmartPointer as a member
variable since it is an actual object, not a pointer)

Thanks,

David



More information about the vtkusers mailing list