33 namespace visualization {
42 explicit Label3D(
const Eigen::Vector3f& pos,
const char* text =
nullptr);
68 std::unique_ptr<Impl> impl_;
void SetText(const char *text)
Sets the text of the label (copies text)
Definition: Label3D.cpp:56
void SetPosition(const Eigen::Vector3f &pos)
Definition: Label3D.cpp:60
Eigen::Vector3f GetPosition() const
Definition: Label3D.cpp:58
const char * GetText() const
Definition: Label3D.cpp:54
void SetTextColor(const Color &color)
Set the color with which the text will be drawn.
Definition: Label3D.cpp:66
math::float4 color
Definition: LineSetBuffers.cpp:64
Label3D(const Eigen::Vector3f &pos, const char *text=nullptr)
Copies text.
Definition: Label3D.cpp:44
float GetTextScale() const
Get the current scale. See not below on meaning of scale.
Definition: Label3D.cpp:68
Definition: PinholeCameraIntrinsic.cpp:35
~Label3D()
Definition: Label3D.cpp:52
Definition: Label3D.cpp:37
void SetTextScale(float scale)
Definition: Label3D.cpp:70
Color GetTextColor() const
Returns the color with which the text will be drawn.
Definition: Label3D.cpp:64