ROIObject
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.
EX1
void ROIObject_Ex1() { GraphLayer gl = Project.ActiveLayer(); ROIObject ro; ro=gl.GraphObjects("YL"); //refer to an GraphObject out_str(ro.Text); }
origin.h
Name | Brief | Example |
---|---|---|
ROIObject | Default constructor which constructs an unattached ROIObject. | Examples |