EBaseROI::CopyTo

Copies all the data of the current EBaseROI object into another EBaseROI object and returns it.

Namespace: Euresys::Open_eVision

[C++]

void CopyTo(
   EBaseROI& dest
) const

[[deprecated("Use the overload taking a reference.")]]
void CopyTo(
   EBaseROI* dest
) const

Parameters

dest

An EBaseROI object in which the current EBaseROI object data have to be copied.

Remarks

This method copies all the object date to the destination object. The attached ROIs are copied recursively and attached to the destination object. They will be deleted automatically when the destination object is deleted.

When the buffer of the source image has been provided by a call to SetImagePtr, the pointer will be copied into the destination image. Both images will thus refer the same external buffer.

EBaseROI.CopyTo

Copies all the data of the current EBaseROI object into another EBaseROI object and returns it.

Namespace: Euresys.Open_eVision

[C#]

void CopyTo(
   EBaseROI dest
)

Parameters

dest

An EBaseROI object in which the current EBaseROI object data have to be copied.

Remarks

This method copies all the object date to the destination object. The attached ROIs are copied recursively and attached to the destination object. They will be deleted automatically when the destination object is deleted.

When the buffer of the source image has been provided by a call to SetImagePtr, the pointer will be copied into the destination image. Both images will thus refer the same external buffer.

EBaseROI.CopyTo

Copies all the data of the current EBaseROI object into another EBaseROI object and returns it.

Module: open_evision

[Python]

CopyTo(
    dest: EBaseROI
) -> None

Parameters

dest

An EBaseROI object in which the current EBaseROI object data have to be copied.

Remarks

This method copies all the object date to the destination object. The attached ROIs are copied recursively and attached to the destination object. They will be deleted automatically when the destination object is deleted.

When the buffer of the source image has been provided by a call to SetImagePtr, the pointer will be copied into the destination image. Both images will thus refer the same external buffer.