18 lines
320 B
C++
18 lines
320 B
C++
#pragma once
|
||
#include <cstddef>
|
||
#include <cstdint>
|
||
|
||
// 初始化显示模块(内部创建线程)
|
||
bool pc_viewer_start();
|
||
|
||
// 停止显示模块
|
||
void pc_viewer_stop();
|
||
|
||
// 推送一帧 XYZ 数据(float,xyzxyz...)
|
||
// 只显示最新一帧,旧数据会被覆盖
|
||
void pc_viewer_update(
|
||
const float* xyz,
|
||
size_t point_count,
|
||
uint32_t block_id
|
||
);
|