VTK
9.1.0
|
Strategy object that contains a block of memory to be used by vtkDenseArray for value storage. More...
#include <vtkDenseArray.h>
Public Member Functions | |
virtual | ~MemoryBlock () |
virtual T * | GetAddress ()=0 |
Returns a pointer to the block of memory to be used for storage. | |
Strategy object that contains a block of memory to be used by vtkDenseArray for value storage.
The MemoryBlock object is responsible for freeing memory when destroyed.
Definition at line 170 of file vtkDenseArray.h.
|
virtual |
|
pure virtual |
Returns a pointer to the block of memory to be used for storage.
Implemented in vtkDenseArray< T >::HeapMemoryBlock, and vtkDenseArray< T >::StaticMemoryBlock.