neuray API Programmer's Manual

mi::neuraylib::IType_vector Class Reference

[MDL type system]

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.

Public Member Functions

virtual const IType_atomicget_element_type() const =0
Returns the type of the vector elements. More...

Static Public Variables

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

Member Functions

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.

Variables

const Kind mi::​neuraylib::​IType_vector::s_kind = TK_VECTOR [static]

The kind of this subclass.