IOLink C# 1.16.1
Loading...
Searching...
No Matches
IOLink.ViewTools Class Reference

Class which provides tools to manipulate views. More...

Inheritance diagram for IOLink.ViewTools:

Public Member Functions

 ViewTools (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 

Static Public Member Functions

static global::System.Runtime.InteropServices.HandleRef getCPtr (ViewTools obj)
 
static global::System.Runtime.InteropServices.HandleRef swigRelease (ViewTools obj)
 
static void Copy (DataFrameView src, DataFrameView dest)
 
static void Copy (ImageView src, ImageView dest)
 Method wich allows to copy the whole content of an ImageView into another one.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Detailed Description

Class which provides tools to manipulate views.

Examples
CopyImageView.cs.

Member Function Documentation

◆ Copy() [1/2]

static void IOLink.ViewTools.Copy ( DataFrameView  src,
DataFrameView  dest 
)
inlinestatic

Method wich allows to copy the whole content of a DataFrame into another one. Destination dataFrame will be reshaped if needed.

If units are available in the source DataFrame, they will only be copied

Parameters
srcThe DataFrame to copy from.
destThe DataFrame to copy to.
Exceptions
InvalidArgumentif the 'src' DataFrameView does not have the READ capability.
InvalidArgumentif the 'dst' DataFrameView does not have the WRITE or RESHAPE capabilities.
Examples
CopyImageView.cs.

◆ Copy() [2/2]

static void IOLink.ViewTools.Copy ( ImageView  src,
ImageView  dest 
)
inlinestatic

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.

Parameters
srcThe ImageView to copy from.
destThe ImageView to copy to.
Exceptions
InvalidArgumentif the 'src' ImageView does not support the READ capability.
InvalidArgumentif the 'dest' ImageView does not support the WRITE capability.
InvalidArgumentif the 'dest' ImageView needs reshaping and does not support the RESHAPE capability.

The documentation for this class was generated from the following file: