Struct InstrumentLabel

struct nvidia::holoscan::visualizer_tool_tracking::InstrumentLabel

Public Functions

inline InstrumentLabel(const FrameData &frame_data)
InstrumentLabel(const InstrumentLabel&) = delete
InstrumentLabel &operator=(const InstrumentLabel&) = delete
gxf_result_t start()
gxf_result_t tick()
gxf_result_t stop()

Public Members

const FrameData &frame_data_
NVGcontext *nvg_ctx_ = nullptr
int vp_width_ = -1
int vp_height_ = -1
float vp_aspect_ratio_ = 0.0f
std::string label_sans_font_path_ = "UNDEFINED"
std::string label_sans_bold_font_path_ = "UNDEFINED"
uint32_t num_tool_classes_ = 0
uint32_t num_tool_pos_components_ = 2
std::vector<std::string> tool_labels_ = {}
std::vector<std::string> tool_labels_or_numbers_ = {}

© Copyright 2022, NVIDIA. Last updated on Feb 1, 2023.