RegionOfInterest

Description

RegionOfInterest is a special type of object, that can contain one of the following objects:

RegionOfInterest can be used where Region would be used. It provides easier defining and editing of regions. For example, you can define a rectangle inside a RegionOfInterest editor and it will be automatically converted to region on output. When you open editor for RegionOfInterest you can move and resize that rectangle, which would not be possible with ordinary Region

Type of currently stored object is determined by tag.

Excerpt from RegionOfInterest class listing:

	class RegionOfInterest
	{
	public:
		RegionOfInterestType::Type tag;

		avl::Region region;
		avl::Rectangle2D rectangle;
		avl::Circle2D circle;
		avl::Path polygon;

		RegionOfInterest();
	};