7#include "MRViewer/exports.h"
Definition MRRenderClickableRect.h:17
Definition MRIRenderObject.h:134
Definition MRViewportId.h:16
Visual Object.
Definition MRVisualObject.h:115
void renderPass() override
Vector2f nameUiScreenOffset
Definition MRRenderNameObject.h:73
ImVec2 point2
Definition MRRenderNameObject.h:26
bool nameUiPointIsRelativeToBoundingBoxCenter
Definition MRRenderNameObject.h:66
Vector3f nameUiLocalOffset
Which way the name is moved relative to the point, in model space. The length is respected.
Definition MRRenderNameObject.h:69
const UiRenderParams * params
Definition MRRenderNameObject.h:23
void renderUi(const UiRenderParams ¶ms) override
RenderNameObject(const VisualObject &object)
Definition MRRenderNameObject.h:45
ImVec2 paddingA
Definition MRRenderNameObject.h:31
ImGuiMeasurementIndicators::Text text
Definition MRRenderNameObject.h:29
ImVec2 point
Definition MRRenderNameObject.h:25
std::optional< Vector3f > nameUiRotateToScreenPlaneAroundSphereCenter
Definition MRRenderNameObject.h:77
virtual ImGuiMeasurementIndicators::Text getObjectNameText(const VisualObject &object, ViewportId viewportId) const
The text displayed as the clickable object name.
ImVec2 textPos
Definition MRRenderNameObject.h:30
float textToExtraTextSpacing
Definition MRRenderNameObject.h:38
ImVec2 paddingB
Definition MRRenderNameObject.h:32
Vector3f nameUiPoint
The line attachment point.
Definition MRRenderNameObject.h:62
virtual ImGuiMeasurementIndicators::Text getObjectNameExtraText(const VisualObject &object, ViewportId viewportId) const
bool nameUiRotateLocalOffset90Degrees
Definition MRRenderNameObject.h:81
ImGuiMeasurementIndicators::Text textExtra
Definition MRRenderNameObject.h:37
ImVec2 textCenter
Definition MRRenderNameObject.h:27
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Represents an arbitrary block of text, possibly with icons, colors, etc.
Definition MRImGuiMeasurementIndicators.h:133
Definition MRIRenderObject.h:110