8 #ifndef META_OCEAN_PLATFORM_META_QUEST_APPLICATION_VR_TEXT_VISUALIZER_H
9 #define META_OCEAN_PLATFORM_META_QUEST_APPLICATION_VR_TEXT_VISUALIZER_H
88 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");
102 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");
132 return visualizeText(
id, world_T_text, text, objectSize, workaroundTimestamp,
true, fontName);
137 return visualizeText(
id, world_T_text, text, objectSize, workaroundTimestamp,
false, fontName);
This class implements a helper function allowing to visualize text in an Ocean-based VR application (...
Definition: VRTextVisualizer.h:60
VRTextVisualizer()
Default constructor, creates a new invalid visualizer.
Definition: VRTextVisualizer.h:119
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")
Visualizes a text at a specific location in the virtual environment (defined in relation to the view)...
Definition: VRTextVisualizer.h:135
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")
Visualizes a text at a specific location in the virtual environment (defined in relation to the world...
Definition: VRTextVisualizer.h:130
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")
Visualizes a text at a specific location in the virtual environment (defined in relation to the world...
This class implements a timestamp.
Definition: Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15