[Insight-users] VectorContainer, removing element
Brad King
brad.king at kitware.com
Thu, 05 Feb 2004 10:19:46 -0500
Laurent Mundeleer wrote:
> Hi all,
>
> I can't figure how to remove an element anywhere in a VectorContainer
> (like erase(pos) in stl) ??
The class derives from std::vector, so the same methods should be
available. However, you should know that itk::VectorContainer is used
by itk::Image to manage memory for pixel buffers. It is not intended to
be used as a general-purpose container by user code.
-Brad