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

The type of kind vector. More...

Inheritance diagram for mi::neuraylib::IType_vector:
mi::base::Interface_declare< 0x412a8a91, 0x9062, 0x46fd, 0xaa, 0xcf, 0x46, 0xbd, 0xb3, 0xde, 0x5b, 0x9c, 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_atomicget_element_type () const =0
 Returns the type of the vector elements. More...
 

Static Public Attributes

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

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x412a8a91, 0x9062, 0x46fd, 0xaa, 0xcf, 0x46, 0xbd, 0xb3, 0xde, 0x5b, 0x9c, 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< 0x412a8a91, 0x9062, 0x46fd, 0xaa, 0xcf, 0x46, 0xbd, 0xb3, 0xde, 0x5b, 0x9c, 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 vector.

The dimension of the vector is given by the size of the underlying compound, see mi::neuraylib::IType_compound::get_size(). The dimension of a vector is either 2, 3, or 4.

Member Function Documentation

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

Returns the type of the vector elements.

The element type of vectors is either mi::neuraylib::IType_bool, mi::neuraylib::IType_int, mi::neuraylib::IType_float, or mi::neuraylib::IType_double. If the vector is a column vector of a matrix, then the element type is either mi::neuraylib::IType_float or mi::neuraylib::IType_double.

Member Data Documentation

const Kind mi::neuraylib::IType_vector::s_kind = TK_VECTOR
static

The kind of this subclass.