Icons are common means for annotating a 3D scene using images. More...
#include <iicon.h>
Inherits mi::base::Interface_declare< 0x1f5f4ed8, ... >.
Public Member Functions | |
virtual void | set_geometry (const mi::math::Vector_struct< mi::Float32, 3 > &position, const mi::math::Vector_struct< mi::Float32, 3 > &right_vector, const mi::math::Vector_struct< mi::Float32, 3 > &up_vector, mi::Float32 height, mi::Float32 width=-1.0f)=0 |
The position and orientation in its local coordinate system is defined by an anchor point that lies inside the plane that the icon lies in and defines the icon's lower left corner, the normal vector perpendicular to the icon, and the up vector. More... | |
virtual void | get_geometry (mi::math::Vector_struct< mi::Float32, 3 > &position, mi::math::Vector_struct< mi::Float32, 3 > &right_vector, mi::math::Vector_struct< mi::Float32, 3 > &up_vector, mi::Float32 &height, mi::Float32 &width) const =0 |
The position and orientation in local coordinate system is defined by an anchor point that lies inside plane the icon lies in and defines the icon's lower left corner, the right and up vectors to the icon, and the up vector. More... | |
Icons are common means for annotating a 3D scene using images.
The 3D icon is defined in 3D space and its orientation is affected by the transformations applied by the scene description. The size is defined in 3D object space length.
|
pure virtual |
The position and orientation in local coordinate system is defined by an anchor point that lies inside plane the icon lies in and defines the icon's lower left corner, the right and up vectors to the icon, and the up vector.
The direction that the normal points to defines the front face of the icon that displays the image.
[out] | position | The position defines the lower left corner of the icon. |
[out] | right_vector | The right vector of the icon together with the up vector defines the orientation of the icon in 3D space. |
[out] | up_vector | The up vector of the icon together with the right vector defines the orientation of the icon in 3D space. |
[in] | height | The height of the icon along the up vector in the 3D object space length. |
[in] | width | The width of the icon along the right vector in the 3D object space length. |
|
pure virtual |
The position and orientation in its local coordinate system is defined by an anchor point that lies inside the plane that the icon lies in and defines the icon's lower left corner, the normal vector perpendicular to the icon, and the up vector.
[in] | position | The position defines the lower left corner of the icon. |
[in] | right_vector | The right vector of the icon together with the up vector defines the orientation of the icon in 3D space. |
[in] | up_vector | The up vector of the icon together with the right vector defines the orientation of the icon in 3D space. |
[in] | height | The height of the icon along the up vector in 3D object space length. |
[in] | width | The width of the icon along the right vector in 3D object space length. If the width is not set (or set a negative value) then the width of the icon will be computed by the rendering system. |