|
Open3D (C++ API)
0.19.0
|
#include <Label3D.h>
Data Structures | |
| struct | Impl |
Public Member Functions | |
| Label3D (const Eigen::Vector3f &pos, const char *text=nullptr) | |
| Copies text. | |
| ~Label3D () | |
| const char * | GetText () const |
| void | SetText (const char *text) |
| Sets the text of the label (copies text). | |
| Eigen::Vector3f | GetPosition () const |
| void | SetPosition (const Eigen::Vector3f &pos) |
| Color | GetTextColor () const |
| Returns the color with which the text will be drawn. | |
| void | SetTextColor (const Color &color) |
| Set the color with which the text will be drawn. | |
| float | GetTextScale () const |
| Get the current scale. See not below on meaning of scale. | |
| void | SetTextScale (float scale) |
|
explicit |
Copies text.
| open3d::visualization::gui::Label3D::~Label3D | ( | ) |
| Eigen::Vector3f open3d::visualization::gui::Label3D::GetPosition | ( | ) | const |
| const char * open3d::visualization::gui::Label3D::GetText | ( | ) | const |
| Color open3d::visualization::gui::Label3D::GetTextColor | ( | ) | const |
Returns the color with which the text will be drawn.
| float open3d::visualization::gui::Label3D::GetTextScale | ( | ) | const |
Get the current scale. See not below on meaning of scale.
| void open3d::visualization::gui::Label3D::SetPosition | ( | const Eigen::Vector3f & | pos | ) |
| void open3d::visualization::gui::Label3D::SetText | ( | const char * | text | ) |
Sets the text of the label (copies text).
| void open3d::visualization::gui::Label3D::SetTextColor | ( | const Color & | color | ) |
Set the color with which the text will be drawn.
| 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.