An item for a MarkupPartText3d. More...
Public Attributes | |
Str | text |
The text to draw. Support multi-line text with '\n' as the line separator. More... | |
Vec3d | position |
The position (in world coordinates) of the lower left corner of the text. More... | |
Vec3d | directionVector |
The horizontal orientation (in world coordinates) of the text. The text will be drawn in this direction. The vector does not need to be normalized. More... | |
Vec3d | upVector |
The up vector of the text to draw (in world coordinates). This is the vertical (y) orientation of the text. The vector does not need to be normalized. More... | |
double | textHeight |
The height of the text (in world coordinate system) along the upVector. This will control the size of the text. As the height of each character is unique, the given height is the height of the letter A. More... | |
An item for a MarkupPartText3d.
This class describes how to render one text item. The item may consist of several lines.
Vec3d cee::vis::MarkupText3dItem::directionVector |
The horizontal orientation (in world coordinates) of the text. The text will be drawn in this direction. The vector does not need to be normalized.
Vec3d cee::vis::MarkupText3dItem::position |
The position (in world coordinates) of the lower left corner of the text.
Str cee::vis::MarkupText3dItem::text |
The text to draw. Support multi-line text with '\n' as the line separator.
double cee::vis::MarkupText3dItem::textHeight |
The height of the text (in world coordinate system) along the upVector. This will control the size of the text. As the height of each character is unique, the given height is the height of the letter A.
Vec3d cee::vis::MarkupText3dItem::upVector |
The up vector of the text to draw (in world coordinates). This is the vertical (y) orientation of the text. The vector does not need to be normalized.