ROIObject

 

Contents

Name

ROIObject

Remark

The ROIObject class provides methods and properties common to all Origin region of interest objects. An Origin region of interest object is used to identify a region of interest in an Origin matrix.

An Origin C ROIObject is a wrapper object that is a reference to an internal Origin region of interest object. Origin C wrapper objects do not actually exist in Origin and merely refer to the internal Origin object. Consequently, multiple Origin C wrapper objects can refer to the same internal Origin object.

The ROIObject class is derived from the GraphObject class from which it inherits methods and properties.

Hierarchy

Examples

EX1

void ROIObject_Ex1()
{
        GraphLayer gl = Project.ActiveLayer();
        ROIObject ro;
        ro=gl.GraphObjects("YL"); //refer to an GraphObject
        out_str(ro.Text);
}

header to Include

origin.h

Reference

Members

Name Brief Example
ROIObject Default constructor which constructs an unattached ROIObject. Examples