Skip to content

[feat] Add an udp point sender filter

Timothée Couble requested to merge feat/addUDPPointSenderFilter into master

This filter can be used to send vtkDataSet data over network with the udp protocol. The data sent will follow this format:

 *   ===== PAYLOAD HEADER =====
 *     header_size: uint16_t
 *     is_big_endian: bool
 *     data_type_size: uint8_t
 *     number_of_arrays: uint8_t
 *     |   array_name_size: uint8_t
 *     |   array_name: string
 *     |   array_number_of_components: uint8_t
 *     number_of_points: uint8_t
 *     end_of_header_bytes: 0x28 0x2a
 *
 *   ===== PAYLOAD DATA =====
 *     |   point: 3 * float
 *     |   point_data_array: n * float
 *
 *   ===== PAYLOAD FOOTER =====
 *     packet_size: uint16_t
 *     end_of_payload: 0x2a 0x2c
 *     null_bytes

image

By default the time array is not defined: (error case) image

Edited by Timothée Couble

Merge request reports

Loading