ensight
Last update: 16.07.2025 152 string prefix = 1; // The subscription prefix passed in SubscribeEventOptions or SubscribeImageOptions
163 string prefix = 1; // A unique prefix string (perhaps a GUID) used to identify this stream (used by Unsubscribe())
167 // For type=ChannelType::GRPC, 'uri' map key contains the URI for the server launched by the client (required). 'num_retries' map
168 // key is the number of times EnSight should attempt to connect before failing the operation. 'shared_secret' map
169 // key is the shared secret that the client gRPC server is expecting to see to authenticate a connection.
180 SHARED_MEM = 1; // EnSight should use a \ref SharedMemoryImageStream to send images back to the client
182 string prefix = 1; // A unique prefix string (perhaps a GUID) used to identify this stream (used by Unsubscribe())
185 bool chunk = 4; // Set to send images in 1MB chunks to speed up large (>1MB) image transfers (see ImageStreamRequest and ImageReply)
188 // For type=GRPC, 'uri' map key contains the URI for the server launched by the client (required). 'num_retries' map
189 // key is the number of times EnSight should attempt to connect before failing the operation. 'shared_secret' map
190 // key is the shared secret that the client gRPC server is expecting to see to authenticate a connection.
202 EXEC_RETURN_PYTHON = 1; // Run the string using eval() and return the resulting Python object via Python repr()
203 EXEC_RETURN_JSON = 2; // Run the string using eval() and return the resulting Python object encoded via json
205 CmdType type = 1; // Specify how the string should be executed and what the return value should be
206 string command = 2; // UTF8 encoded string to be exec() or eval() by the EnSight Python interpreter
211 string value = 1; // UTF8 encoded string, the repr() or json representation of the evaluated expression depending on the PythonRequest::CmdType specified
219 IMAGE_PNG = 0; // The returned image will be encoded into the PNG image file format and returned as an array of bytes.
220 IMAGE_RAW = 1; // The returned value be in raw binary bytes: RGBRGBRGB... width*height*3 bytes total
226 bool include_highlighting = 5; // If true, any dynamic overlay will be included in the rendered image
231 bytes value = 1; // An array of byte representing the image. See RenderRequest::RenderType for the specific format.
253 string id = 1; // Handle used to query progress or cancel a save. Any unique string, provided by the caller.
254 string filename = 2; // Name of file to save. Format determined from file extension. Defaults to .mp4 or .png with no file extension. UTF8 encoding. Existing files are overwritten.
255 map<string, string> format_options = 3; // Options specific to certain formats, as (option_name, value) pairs
259 bool white_background = 7; // If True, set background to white, and change text and misc colors to black as necessary. Restore all, after save. If False, leave all colors as they are.
260 int32 start_frame = 8; // First frame to save. 0-based. -1 special value that means the current timestep
261 int32 num_frames = 9; // Num frames to save. -1 special value that means all timesteps. num_frames > num timesteps allows multiple cycles through time.
268// Query the progress of an animation being saved. This can be called while AnimSaveRequest is in progress
286 Status status = 4; // If 'cancel' is True in the request, but the anim had already completed or errored out, returned status is COMPLETE or ERROR
302 bytes value = 1; // a binary array containing the geometry in the format specified by GeometryRequest::GeometryType
310// Note: it is not uncommon for the ExitRequest call to return a gRPC error due to shutdown race conditions.
316// This message dictates the form of the ImageReply messages. One can have the images flipped vertically
317// and can optionally chunk an entire image frame into multiple ImageReply messages. Empirical measurements
318// demonstrate that gRPC can transfer smaller blocks of pixels faster that larger blocks. If the chunk option
330// These messages can contain the pixel data for an entire image or some portion of the image. An
344 bool final = 5; // If the ImageStreamRequest chunk is true, this is the final message in an image frame
349 string prefix = 1; // Specify that only the events that begin with this prefix should be included in the event stream