VTK
9.1.0
|
MemoryBlock implementation that manages internally-allocated memory using new[] and delete[]. More...
#include <vtkDenseArray.h>
Public Member Functions | |
HeapMemoryBlock (const vtkArrayExtents &extents) | |
~HeapMemoryBlock () override | |
T * | GetAddress () override |
Returns a pointer to the block of memory to be used for storage. | |
Public Member Functions inherited from vtkDenseArray< T >::MemoryBlock | |
virtual | ~MemoryBlock () |
MemoryBlock implementation that manages internally-allocated memory using new[] and delete[].
Note: HeapMemoryBlock is the default used by vtkDenseArray for its "normal" internal memory allocation.
Definition at line 188 of file vtkDenseArray.h.
vtkDenseArray< T >::HeapMemoryBlock::HeapMemoryBlock | ( | const vtkArrayExtents & | extents | ) |
|
override |
|
overridevirtual |
Returns a pointer to the block of memory to be used for storage.
Implements vtkDenseArray< T >::MemoryBlock.