ensightservice::ImageReply Struct Reference
Last update: 17.04.2023An image frame message. More...
Public Types | |
enum | CompressionType { NONE = 0 } |
the pixel compression, if any More... | |
Public Attributes | |
int32 | width = 1 |
The width of the image in pixels. | |
int32 | height = 2 |
The height of the image in pixels. | |
CompressionType | compression = 3 |
The compression scheme used for the pixel data payload. | |
bytes | pixels = 4 |
The pixel data in RGBRGBRGB... form, width*height*3 bytes. | |
bool | final = 5 |
If the ImageStreamRequest chunk is true, this is the final message in an image frame. | |
Detailed Description
An image frame message.
These messages can contain the pixel data for an entire image or some portion of the image. An image frame can be broken up into multiple ImageReply messages. If the client receives an ImageReply message with the final flag set to false, it must continue reading messages, concatenating the pixels data until it receives an ImageReply with the final flag set to true.
Definition at line 343 of file ensight.proto.
Member Enumeration Documentation
◆ CompressionType
the pixel compression, if any
Enumerator | |
---|---|
NONE | The data are in raw-binary uncompressed format. |
Definition at line 348 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