Enum PrimitiveTopology

enum class holoscan::viz::PrimitiveTopology

Primitive topology

Values:

enumerator POINT_LIST

point primitives, one coordinate (x, y) per primitive

enumerator LINE_LIST

line primitives, two coordinates (x0, y0) and (x1, y1) per primitive

enumerator LINE_STRIP

line strip primitive, a line primitive i is defined by each coordinate (xi, yi) and the following (xi+1, yi+1)

enumerator TRIANGLE_LIST

triangle primitive, three coordinates (x0, y0), (x1, y1) and (x2, y2) per primitive

enumerator CROSS_LIST

cross primitive, a cross is defined by the center coordinate and the size (xi, yi, si)

enumerator RECTANGLE_LIST

axis aligned rectangle primitive, each rectangle is defined by two coordinates (xi, yi) and (xi+1, yi+1)

enumerator OVAL_LIST

oval primitive, an oval primitive is defined by the center coordinate and the axis sizes (xi, yi, sxi, syi)

© Copyright 2022, NVIDIA. Last updated on Jun 28, 2023.