![]() |
IOLink 1.16.1
|
Class which provides tools to manipulate views. More...
#include <iolink/tool/ViewTools.h>
Public Member Functions | |
| ViewTools (const ViewTools &)=delete | |
| ViewTools (ViewTools &&)=delete | |
| ViewTools & | operator= (const ViewTools &)=delete |
| ViewTools & | operator= (ViewTools &&)=delete |
Static Public Member Functions | |
| static void | copy (std::shared_ptr< iolink::DataFrameView > src, std::shared_ptr< iolink::DataFrameView > dest) |
| Method wich allows to copy the whole content of a DataFrame into another one. | |
| static void | copy (std::shared_ptr< iolink::ImageView > src, std::shared_ptr< iolink::ImageView > dest) |
| Method wich allows to copy the whole content of an ImageView into another one. | |
Class which provides tools to manipulate views.
|
static |
Method wich allows to copy the whole content of a DataFrame into another one.
Destination dataFrame will be reshaped if needed.
| src | The DataFrame to copy from. |
| dest | The DataFrame to copy to. |
| InvalidArgument | if the 'src' DataFrameView does not have the READ capability. |
| InvalidArgument | if the 'dst' DataFrameView does not have the WRITE or RESHAPE capabilities. |
|
static |
Method wich allows to copy the whole content of an ImageView into another one.
Destination ImageView will be reshaped if shape or DataType are different.
| InvalidArgument | if the 'src' ImageView does not support the READ capability. |
| InvalidArgument | if the 'dest' ImageView does not support the WRITE capability. |
| InvalidArgument | if the 'dest' ImageView needs reshaping and does not support the RESHAPE capability. |