Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::IType_matrix Class Referenceabstract

The type of kind matrix. More...

Inheritance diagram for mi::neuraylib::IType_matrix:
mi::base::Interface_declare< 0x6b76570e, 0x51b2, 0x4e9b, 0x9f, 0xe7, 0xda, 0x03, 0x1c, 0x37, 0xbc, 0x75, neuraylib::IType_compound > mi::neuraylib::IType_compound mi::base::Interface_declare< 0xc9ca497f, 0xc38b, 0x411f, 0xa8, 0x16, 0xa7, 0xd8, 0x23, 0x28, 0xa5, 0x40, neuraylib::IType > mi::neuraylib::IType mi::base::Interface_declare< 0x242af675, 0xeaa2, 0x48b7, 0x81, 0x63, 0xba, 0x06, 0xa5, 0xfb, 0x68, 0xf0 > mi::base::IInterface

Public Member Functions

virtual const IType_vectorget_element_type () const =0
 Returns the type of the matrix elements, i.e., the type of a column vector. More...
 

Static Public Attributes

static const Kind s_kind = TK_MATRIX
 The kind of this subclass. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x6b76570e, 0x51b2, 0x4e9b, 0x9f, 0xe7, 0xda, 0x03, 0x1c, 0x37, 0xbc, 0x75, neuraylib::IType_compound >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
neuraylib::IType_compound
Self
 Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
 Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0x6b76570e, 0x51b2, 0x4e9b, 0x9f, 0xe7, 0xda, 0x03, 0x1c, 0x37, 0xbc, 0x75, neuraylib::IType_compound >
static bool compare_iid (const Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

The type of kind matrix.

The matrix is represented as a compound of column vectors. The number of matrix columns is given by the size of the underlying compound, see mi::neuraylib::IType_compound::get_size(). The number of matrix rows is given by the dimension of a column vector. Both dimensions are either 2, 3, or 4.

Note
MDL matrix types are named TypeColxRow where Type is one of float or double, Col is the number of columns and Row is the number of rows (see also section 6.9 in [MDLLS]). This convention is different from the convention used by mi::math::Matrix.

Member Function Documentation

virtual const IType_vector* mi::neuraylib::IType_matrix::get_element_type ( ) const
pure virtual

Returns the type of the matrix elements, i.e., the type of a column vector.

Member Data Documentation

const Kind mi::neuraylib::IType_matrix::s_kind = TK_MATRIX
static

The kind of this subclass.