#include <Label3D.h>
◆ Label3D()
open3d::visualization::gui::Label3D::Label3D |
( |
const Eigen::Vector3f & |
pos, |
|
|
const char * |
text = nullptr |
|
) |
| |
|
explicit |
◆ ~Label3D()
open3d::visualization::gui::Label3D::~Label3D |
( |
| ) |
|
◆ GetPosition()
Eigen::Vector3f open3d::visualization::gui::Label3D::GetPosition |
( |
| ) |
const |
◆ GetText()
const char * open3d::visualization::gui::Label3D::GetText |
( |
| ) |
const |
◆ GetTextColor()
Color open3d::visualization::gui::Label3D::GetTextColor |
( |
| ) |
const |
Returns the color with which the text will be drawn.
◆ GetTextScale()
float open3d::visualization::gui::Label3D::GetTextScale |
( |
| ) |
const |
Get the current scale. See not below on meaning of scale.
◆ SetPosition()
void open3d::visualization::gui::Label3D::SetPosition |
( |
const Eigen::Vector3f & |
pos | ) |
|
◆ SetText()
void open3d::visualization::gui::Label3D::SetText |
( |
const char * |
text | ) |
|
Sets the text of the label (copies text)
◆ SetTextColor()
void open3d::visualization::gui::Label3D::SetTextColor |
( |
const Color & |
color | ) |
|
Set the color with which the text will be drawn.
◆ SetTextScale()
void open3d::visualization::gui::Label3D::SetTextScale |
( |
float |
scale | ) |
|
Sets the scale factor for the text sprite. It does not change the underlying font size but scales how large it appears. Warning: large scale factors may result in blurry text.
The documentation for this class was generated from the following files: