Files
d330viewer/include/1225pc_viewer.h
2026-01-14 18:07:26 +08:00

18 lines
320 B
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#pragma once
#include <cstddef>
#include <cstdint>
// 初始化显示模块(内部创建线程)
bool pc_viewer_start();
// 停止显示模块
void pc_viewer_stop();
// 推送一帧 XYZ 数据floatxyzxyz...
// 只显示最新一帧,旧数据会被覆盖
void pc_viewer_update(
const float* xyz,
size_t point_count,
uint32_t block_id
);