30#include "utility/event/event.hpp"
32#include "utility/graphic/pose.hpp"
34namespace utility::event
62 graphic::PoseF _aim {};
63 graphic::PoseF _grip {};
64 graphic::PoseF _gripSurface {};
147 template<
typename Type>
156 std::ostream &operator<<(std::ostream &stream,
Base class for events in the event system.
Abstract base class for hand events.
HandEvent & setHandType(const HandType handType) noexcept
Set the type of hand involved in the event.
graphic::PoseF getGripSurface(void) const noexcept
Get grip_surface pose.
HandEvent & setPose(const graphic::PoseF &pose) noexcept
Set the pose of the hand.
virtual ~HandEvent(void) override
Default destructor.
HandEvent & setGrip(const graphic::PoseF &grip) noexcept
Set grip pose.
graphic::PoseF getPose(void) const noexcept
Get the pose of the hand.
graphic::PoseF getAim(void) const noexcept
Get aim pose.
HandEvent & setGripSurface(const graphic::PoseF &gripSurface) noexcept
Set grip_surface pose.
HandType
Hand types for hand events. Defines the type of hand involved in the event (e.g., left or right).
HandEvent(void)
Default constructor.
HandEvent & setAim(const graphic::PoseF &aim) noexcept
Set aim pose.
HandType getHandType(void) const noexcept
Get the type of hand involved in the event.
graphic::PoseF getGrip(void) const noexcept
Get grip pose.
Concept to ensure a type inherits from HandEvent.