|
virtual bool | IsReadOnly () const =0 |
| Returns true if this matrix is read only. More...
|
|
virtual MatrixIndex | RowCount () const =0 |
| Returns the number of rows in the matrix More...
|
|
virtual MatrixIndex | ColCount () const =0 |
| Returns the number of columns in the matrix More...
|
|
virtual float | GetValue (MatrixIndex row, MatrixIndex col) const =0 |
| Returns the value at location [row, col] More...
|
|
virtual void | GetRow (MatrixIndex row, float *buffer, MatrixIndex bufferCount) const =0 |
| Fills the buffer with a single row from the matrix. The buffer should have space for at least RowCount() elements. More...
|
|
virtual void | GetBuffer (float *buffer, MatrixIndex bufferCount) const =0 |
| Fills the buffer with all elements from this matrix. The elements in the buffer will be laid out in row major order ( R0C0, R0C1, R1C0, R1C1, etc). The buffer should have space for at least RowCount() * ColCount() elements. More...
|
|
virtual void | SetValue (MatrixIndex row, MatrixIndex col, float value)=0 |
| Sets a value in the matrix. This will error if the matrix is read only. More...
|
|
virtual void | Resize (MatrixIndex rows, MatrixIndex cols)=0 |
| Resizes the matrix to the specified number of rows and columns. This will error if the matrix is read only. More...
|
|
virtual void | Zero ()=0 |
| Assigns 0 to all values in the matrix. More...
|
|
virtual bool | HasNaN ()=0 |
| Returns true if any value is NaN, false otherwise. More...
|
|
virtual ObjectId | GetId () const =0 |
| Returns the ID of this object. More...
|
|
virtual void | AddRef () const =0 |
| Increments the internal reference count on this object. It is not common to use this method directly. More...
|
|
virtual void | Release () const =0 |
| Decrements the internal reference count on this object. It is not common to use this method directly. More...
|
|
virtual int | GetRefCount () const =0 |
| Returns the number of references to this object. More...
|
|
virtual void * | QueryInterface (ObjectClassId id)=0 |
| Queries the object for an interface and returns a pointer to that interface if found. More...
|
|
void | operator= (IObject const &x)=delete |
|
Wrapper around either a const or a mutable matrix.