MeshLib C++ Docs
Loading...
Searching...
No Matches
MRPositionedText.h
Go to the documentation of this file.
1#pragma once
2#include "MRPch/MRBindingMacros.h"
3#include "MRVector3.h"
4#include <string>
5
6namespace MR
7{
8
10{
11 PositionedText() = default;
12 PositionedText( const std::string& text, const Vector3f& position ) : text{text}, position{position}{}
13
14 std::string text;
15 Vector3f position;
16
17 bool operator==( const PositionedText& ) const = default;
18};
19
20using MeshLabel [[deprecated]] MR_BIND_IGNORE = PositionedText;
21
22}
Definition MRCameraOrientationPlugin.h:8
std::array< Vector3f, 3 > MR_BIND_IGNORE
Definition MRMeshBuilderTypes.h:10
Definition MRPositionedText.h:10
std::string text
Definition MRPositionedText.h:14
PositionedText(const std::string &text, const Vector3f &position)
Definition MRPositionedText.h:12
bool operator==(const PositionedText &) const =default
PositionedText()=default
Vector3f position
Definition MRPositionedText.h:15