13#ifndef ML_MANAGED_SUB_IMAGE_H
14#define ML_MANAGED_SUB_IMAGE_H
39 SubImage::operator=(
si);
53 void* data = getData();
ManagedSubImage is derived from SubImage and frees its allocated memory automatically when it is dest...
ManagedSubImage()
Constructor.
ManagedSubImage & operator=(const SubImage &si)
Copy operator from SubImage.
~ManagedSubImage() override
Destruct the object, freeing the memory.
void * takeData()
Returns the data pointer and set the internal data to NULL (so it passes the ownership of the data to...
This class manages/represents a rectangular 6d image region which is organized linearly in memory.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.