8 #ifndef META_OCEAN_PLATFORM_META_QUEST_OPENXR_APPLICATION_VR_HAND_VISUALIZER_H
9 #define META_OCEAN_PLATFORM_META_QUEST_OPENXR_APPLICATION_VR_HAND_VISUALIZER_H
59 RM_WIREFRAME = 1u << 1u,
65 RM_ALL = RM_JOINTS | RM_WIREFRAME | RM_MESH,
138 bool wasShown_ =
false;
214 inline bool isShown()
const;
259 inline void pushState();
264 inline void popState();
338 Scalar transparency_ = ScopedState::defaultTransparency_;
341 std::atomic<bool> isShown_ =
true;
348 VRVisualizer(engine, framebuffer)
356 *
this = std::move(vrHandVisualizer);
400 if (
this != &vrHandVisualizer)
407 scene_ = std::move(vrHandVisualizer.scene_);
414 groupMesh_ = std::move(vrHandVisualizer.groupMesh_);
418 geometriesMesh_[handIndex] = std::move(vrHandVisualizer.geometriesMesh_[handIndex]);
419 shaderProgramsMesh_[handIndex] = std::move(vrHandVisualizer.shaderProgramsMesh_[handIndex]);
423 vrHandVisualizer.handColor_ =
RGBAColor(0.7f, 0.7f, 0.7f);
428 isShown_ = bool(vrHandVisualizer.isShown_);
429 vrHandVisualizer.isShown_ =
true;
431 stateStack_ = std::move(vrHandVisualizer.stateStack_);
433 VRVisualizer::operator=(std::move(vrHandVisualizer));
This class implements a color defined by red, green, blue and alpha parameters.
Definition: RGBAColor.h:41
This class implements a scoped lock object for recursive lock objects.
Definition: Lock.h:135
float Scalar
Definition of a scalar type.
Definition: Math.h:128
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15