ensightservice::ImageStreamRequest Struct Reference
Last update: 17.04.2023Request the start of an image stream. More...
Public Attributes | |
bool | flip_vertical = 1 |
If true, flip the image over the X axis before sending the image. | |
bool | chunk = 2 |
Set to send images in 1MB chunks to speed up large (>1MB) image transfers. | |
Detailed Description
Request the start of an image stream.
This message dictates the form of the ImageReply messages. One can have the images flipped vertically and can optionally chunk an entire image frame into multiple ImageReply messages. Empirical measurements demonstrate that gRPC can transfer smaller blocks of pixels faster that larger blocks. If the chunk option is enabled, the ImageReply messages will contain 1MB of pixel data maximum. The client must concatenate the pixel data from consecutive ImageReply messages until it receives a message with the final flag set. At that point, all of the pixel data for a complete image frame has been received.
Definition at line 331 of file ensight.proto.
The documentation for this struct was generated from the following file:
- D:/ANSYSDev/NoBackup/branches/EnSight-Second-Coming/ensight/client/rpc_interface/ensight.proto