8#ifndef META_OCEAN_PLATFORM_META_QUEST_APPLICATION_VR_TEXT_VISUALIZER_H
9#define META_OCEAN_PLATFORM_META_QUEST_APPLICATION_VR_TEXT_VISUALIZER_H
90 inline void visualizeTextInWorld(
const unsigned int id,
const HomogenousMatrix4& world_T_text,
const std::string& text,
const ObjectSize& objectSize,
const Timestamp& workaroundTimestamp =
Timestamp(
false),
const std::string& fontName =
"Roboto",
const RGBAColor& backgroundColor =
RGBAColor(0.25f, 0.25f, 0.25f, 1.0f));
105 inline void visualizeTextInView(
const unsigned int id,
const HomogenousMatrix4& view_T_text,
const std::string& text,
const ObjectSize& objectSize,
const Timestamp& workaroundTimestamp =
Timestamp(
false),
const std::string& fontName =
"Roboto",
const RGBAColor& backgroundColor =
RGBAColor(0.25f, 0.25f, 0.25f, 1.0f));
120 void visualizeText(
const unsigned int id,
const HomogenousMatrix4& reference_T_text,
const std::string& text,
const ObjectSize& objectSize,
const Timestamp& workaroundTimestamp =
Timestamp(
false),
const bool referenceIsWorld =
true,
const std::string& fontName =
"Roboto",
const RGBAColor& backgroundColor =
RGBAColor(0.25f, 0.25f, 0.25f, 1.0f));
136 return visualizeText(
id, world_T_text, text, objectSize, workaroundTimestamp,
true, fontName, backgroundColor);
141 return visualizeText(
id, world_T_text, text, objectSize, workaroundTimestamp,
false, fontName, backgroundColor);
This class implements a helper function allowing to visualize text in an Ocean-based VR application (...
Definition VRTextVisualizer.h:61
void visualizeTextInView(const unsigned int id, const HomogenousMatrix4 &view_T_text, const std::string &text, const ObjectSize &objectSize, const Timestamp &workaroundTimestamp=Timestamp(false), const std::string &fontName="Roboto", const RGBAColor &backgroundColor=RGBAColor(0.25f, 0.25f, 0.25f, 1.0f))
Visualizes a text at a specific location in the virtual environment (defined in relation to the view)...
Definition VRTextVisualizer.h:139
void visualizeTextInWorld(const unsigned int id, const HomogenousMatrix4 &world_T_text, const std::string &text, const ObjectSize &objectSize, const Timestamp &workaroundTimestamp=Timestamp(false), const std::string &fontName="Roboto", const RGBAColor &backgroundColor=RGBAColor(0.25f, 0.25f, 0.25f, 1.0f))
Visualizes a text at a specific location in the virtual environment (defined in relation to the world...
Definition VRTextVisualizer.h:134
void visualizeText(const unsigned int id, const HomogenousMatrix4 &reference_T_text, const std::string &text, const ObjectSize &objectSize, const Timestamp &workaroundTimestamp=Timestamp(false), const bool referenceIsWorld=true, const std::string &fontName="Roboto", const RGBAColor &backgroundColor=RGBAColor(0.25f, 0.25f, 0.25f, 1.0f))
Visualizes a text at a specific location in the virtual environment (defined in relation to the world...
VRTextVisualizer()
Default constructor, creates a new invalid visualizer.
Definition VRTextVisualizer.h:123
This class implements a color defined by red, green, blue and alpha parameters.
Definition RGBAColor.h:41
This class implements a timestamp.
Definition Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition Accessor.h:15