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
6
namespace
MR
7
{
8
9
struct
PositionedText
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
20
using
MeshLabel [[deprecated]] MR_BIND_IGNORE = PositionedText;
21
22
}
MRVector3.h
MR::PositionedText::PositionedText
unsafe PositionedText()
MR::ImGuiMeasurementIndicators::text
MRVIEWER_API std::optional< TextResult > text(Element elem, const Params ¶ms, ImVec2 pos, const Text &text, const TextParams &textParams={}, ImVec2 push={}, ImVec2 pivot={ 0.5f, 0.5f })
MR
Definition
MRCameraOrientationPlugin.h:8
MR::position
ImVec2 position(const ViewportRectangle &rect)
Definition
MRViewport.h:24
MeshLib
source
MRMesh
MRPositionedText.h
Generated by
1.11.0