itom 2.2.0
|
Meta-information for Param of type IntArrayMeta that represent a rectangle (left, top, width, height). More...
#include <paramMeta.h>
Public Member Functions | |
RectMeta (const ito::RangeMeta &widthMeta, const ito::RangeMeta &heightMeta) | |
const ito::RangeMeta & | getWidthRangeMeta () const |
const ito::RangeMeta & | getHeightRangeMeta () const |
void | setWidthRangeMeta (const ito::RangeMeta &widthMeta) |
void | setHeightRangeMeta (const ito::RangeMeta &heightMeta) |
Protected Attributes | |
ito::RangeMeta | m_heightMeta |
ito::RangeMeta | m_widthMeta |
Meta-information for Param of type IntArrayMeta that represent a rectangle (left, top, width, height).
An object of this class can be used to parametrize a parameter whose type is ito::ParamBase::IntArray. This meta information class indicates that the corresponding integer array parameter is interpreted as a rectangle, hence, only an array consisting of four values is accepted. This meta information consists of two object of type ito::RangeMeta, describing the contraints of the horizontal and vertical axes of the rectangle.