Struct SimOne_Data_Marker_Entry

Struct Documentation

struct SimOne_Data_Marker_Entry

Public Members

char ns [ 100 ]

标记的命名空间,用于标识不同标记的类别或组

  • Namespace of the marker, used to identify different categories or groups of markers

int32_t id

标记的唯一标识符

  • Unique identifier for the marker

ESimone_Marker_Shape_Type type

标记的形状类型

  • Shape type of the marker

ESimOne_Marker_Action action

标记的动作类型

  • Action type for the marker

SimOne_Marker_Pose pose

标记的位置和朝向

  • Position and orientation of the marker

SimOne_Data_Vec3f scale

标记的缩放因子

  • Scale factor for the marker

SimOne_Marker_Color color

标记的颜色

  • Color of the marker

float lifetime

标记的生命周期,单位为秒

  • Lifetime of the marker, in seconds

bool frame_locked

是否锁定标记在帧中的位置

  • Whether the marker is frame-locked

int points_num

标记的点数

  • Number of points in the marker

SimOne_Data_Vec3f points [ 3840 ]

标记的点坐标

  • Coordinates of the points in the marker

int colors_num

标记的颜色数

  • Number of colors in the marker

SimOne_Marker_Color colors [ 3840 ]

标记的颜色数组

  • Array of colors for the marker

char resource [ 100 ]

资源标识符,用于引用标记的其他资源

  • Resource identifier for referencing additional resources of the marker

char mesh_resource [ 100 ]

网格资源标识符,用于引用标记的网格资源

  • Mesh resource identifier for referencing mesh resources of the marker

bool mesh_use_embedded_materials

是否使用嵌入的材质

  • Whether to use embedded materials in the mesh

ESimOne_Marker_SubType sub_type

标记的子类型

  • Subtype of the marker

int obstacle_id

障碍物标识符,仅在标记类型为障碍物时有效

  • Obstacle identifier, applicable only when the marker type is an obstacle