Matrix coordinate class. More...
#include <ilviews/gadgets/matsel.h>
Public Member Functions | |
IlvMatrixCoordinate (IlUShort row=0, IlUShort col=0) | |
Constructor. More... | |
IlUShort | getColumn () const |
Returns the column of the selected matrix item. More... | |
IlvAbstractMatrixItem * | getItem (const IlvMatrix *matrix) const |
Returns the selected matrix item. More... | |
IlUShort | getRow () const |
Returns the row of the selected matrix item. More... | |
Matrix coordinate class.
Library: ilvadvgdt
This class is used to store the coordinates of the IlvMatrix
item which is selected.
IlvMatrixRowSelection
, IlvMatrixSelection
Constructor.
Initializes a new instance of the class IlvMatrixCoordinate
.
row | The row of the selected matrix item. |
col | The column of the selected matrix item. |
IlUShort IlvMatrixCoordinate::getColumn | ( | ) | const |
Returns the column of the selected matrix item.
IlvAbstractMatrixItem* IlvMatrixCoordinate::getItem | ( | const IlvMatrix * | matrix | ) | const |
Returns the selected matrix item.
matrix | The matrix which contains the matrix item. |
IlUShort IlvMatrixCoordinate::getRow | ( | ) | const |
Returns the row of the selected matrix item.