Struct InstrumentLabel

Clara Holoscan v0.4.0
struct InstrumentLabel

Public Functions

inline explicit InstrumentLabel(const FrameData &frame_data)

InstrumentLabel(const InstrumentLabel&) = delete

InstrumentLabel &operator=(const InstrumentLabel&) = delete

gxf_result_t start()

gxf_result_t tick(float width, float height)

gxf_result_t stop()

Public Members

const FrameData &frame_data_

NVGcontext *nvg_ctx_ = nullptr

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 Jun 28, 2023.