17 #ifndef ASTRA_HAND_DEBUG_HPP
18 #define ASTRA_HAND_DEBUG_HPP
20 #include <astra_core/astra_core.hpp>
21 #include <astra/capi/astra_ctypes.h>
22 #include <astra/capi/streams/hand_capi.h>
26 using DebugHandViewType = astra_debug_hand_view_type_t;
49 debugHandStream_(connection)
52 static const astra_stream_type_t
id = ASTRA_STREAM_DEBUG_HAND;
61 astra_debug_handstream_set_view_type(debugHandStream_, view);
71 astra_debug_handstream_set_use_mouse_probe(debugHandStream_, useMouseProbe);
81 astra_debug_handstream_set_mouse_position(debugHandStream_, position);
91 astra_debug_handstream_set_pause_input(debugHandStream_, pauseInput);
101 astra_debug_handstream_set_lock_spawn_point(debugHandStream_, lockSpawnPoint);
111 DebugHandViewType view;
112 astra_debug_handstream_get_view_type(debugHandStream_, &view);
134 :
ImageFrame(frame, ASTRA_PIXEL_FORMAT_RGB888)
Data Stream
Definition: DataStream.hpp:33
A Debug Hand Frame
Definition: DebugHand.hpp:126
DebugHandFrame(astra_imageframe_t frame)
default constructs
Definition: DebugHand.hpp:133
A Debug Hand Stream
Definition: DebugHand.hpp:40
void set_view_type(DebugHandViewType view)
set view type
Definition: DebugHand.hpp:59
void set_mouse_position(Vector2f position)
set mouse position
Definition: DebugHand.hpp:79
DebugHandStream(astra_streamconnection_t connection)
default constructs
Definition: DebugHand.hpp:47
DebugHandViewType get_view_type() const
get view type
Definition: DebugHand.hpp:109
void set_lock_spawn_point(bool lockSpawnPoint)
set lock spawn point
Definition: DebugHand.hpp:99
void set_use_mouse_probe(bool useMouseProbe)
set is use mouse probe
Definition: DebugHand.hpp:69
void set_pause_input(bool pauseInput)
set pause input
Definition: DebugHand.hpp:89
Basic Image Frame
Definition: Image.hpp:397
Definition: stream_types.h:37
Definition: astra_plugin.h:24
Represents a float 2d vector
Definition: Vector2f.hpp:30