tsEDDImageMsg Struct Reference

Image Data Message (Server->Client). More...

#include <EDDImageDataMsg.h>

Collaboration diagram for tsEDDImageMsg:

Collaboration graph
[legend]

List of all members.

Public Attributes

tsEDDMsgHdr msHeader
 standard EDD interface header
uint32_t mnTotalPixels
 total number of pixels in image
uint32_t mnStartPixel
 see Description above
uint16_t mnNumPixels
 see Description above
uint16_t mnImageNumber
 Image number of data packet.


Detailed Description

Image Data Message (Server->Client).

This is a common header used for all 1, 2, and 3 dimensional data plot messages. The messages are variable length. Multiple messages may be required to completely transmit an image.

Following the mnImageNumber is the data payload, which is described below.

Data Packing Rules for EDDImageMsgs

  1. For no compression, data is packed row by row (col 0 to col N) into the appropriately sized octets (12 bit data is packed into 2 octets). mnStartPixel is starting offset. mnNumPixels is number of pixels in message. If mnStartPixel is 0, then first message for given image Image is ready when mnStartPixel+mnNumPixels >= mnTotalPixels.

  2. if sparse encoded data structure is packed by:
    Words 0-(mnNumPixels-1)uint32_tsparse pixel offsets
    Words mnNumPixels-(2*mnNumPixels-1)packed data type per mnImageTypesparse pixel value
    Word 2*mnNumPixelspacked data type per mnImageTypedefault pixel value

    The Image is ready when mnStartPixel = mnTotalPixels

Definition at line 112 of file EDDImageDataMsg.h.


Member Data Documentation

Image number of data packet.

Definition at line 118 of file EDDImageDataMsg.h.

see Description above

Definition at line 117 of file EDDImageDataMsg.h.

see Description above

Definition at line 116 of file EDDImageDataMsg.h.

total number of pixels in image

Definition at line 115 of file EDDImageDataMsg.h.

standard EDD interface header

Definition at line 114 of file EDDImageDataMsg.h.


The documentation for this struct was generated from the following file:

Generated on Sat Apr 25 17:20:45 2009 for EDD by  doxygen 1.5.8