Skip to main content

Post-processing tools 2024 R1

ensightservice::SceneUpdateCommand Struct Reference

Last update: 16.07.2025

Public Types

enum  SceneUpdateCommandType {
  UPDATE_SCENE_BEGIN = 0 , UPDATE_SCENE_END = 1 , DELETE_ID = 2 , UPDATE_PART = 3 ,
  UPDATE_GROUP = 4 , UPDATE_GEOM = 5 , UPDATE_VARIABLE = 6 , UPDATE_VIEW = 7 ,
  UPDATE_TEXTURE = 8
}
 

Public Attributes

SceneUpdateCommandType command_type = 1
 
union {
   UpdateSceneBegin   scene_begin = 2
 
   UpdateSceneEnd   scene_end = 3
 
   DeleteID   delete_id = 4
 
   UpdatePart   update_part = 5
 
   UpdateGroup   update_group = 6
 
   UpdateGeom   update_geom = 7
 
   UpdateVariable   update_variable = 8
 
   UpdateView   update_view = 9
 
   UpdateTexture   update_texture = 10
 
UpdateCommand
 

Detailed Description

This command represents a union of a number of different commands: UpdateSceneBegin, UpdateSceneEnd, DeleteID, UpdatePart, UpdateGroup, UpdateGeom, UpdateVariable and UpdateView. To use the message, set the command_type to the type of the message and fill in the appropriate UpdateCommand sub-message.

Definition at line 504 of file dynamic_scene_graph.proto.

Member Enumeration Documentation

◆ SceneUpdateCommandType

Specify the specific command type.

SceneUpdateCommand object can represent many different sub-commands, but packed into a common message. The SceneUpdateCommandType is the specific sub-command type of the base message.

Enumerator
UPDATE_SCENE_BEGIN 

Marks the beginning of a scene update.

UPDATE_SCENE_END 

Marks the completion of a scene update.

DELETE_ID 

Tell the client to delete an entity ID that was defined in a previous scene update.

UPDATE_PART 

Create/update a Part entity.

UPDATE_GROUP 

Create/update a Group entity.

UPDATE_GEOM 

Create/update a Geom entity.

UPDATE_VARIABLE 

Create/update a Variable entity.

UPDATE_VIEW 

Create/update a View entity.

UPDATE_TEXTURE 

Create/update a Texture entity.

Definition at line 511 of file dynamic_scene_graph.proto.

Member Data Documentation

◆ command_type

SceneUpdateCommandType ensightservice::SceneUpdateCommand::command_type = 1

The update command type.

Definition at line 522 of file dynamic_scene_graph.proto.

◆ delete_id

DeleteID ensightservice::SceneUpdateCommand::delete_id = 4

Delete a collection of entities from the cache.

Definition at line 531 of file dynamic_scene_graph.proto.

◆ scene_begin

UpdateSceneBegin ensightservice::SceneUpdateCommand::scene_begin = 2

Begin a scene update.

Definition at line 529 of file dynamic_scene_graph.proto.

◆ scene_end

UpdateSceneEnd ensightservice::SceneUpdateCommand::scene_end = 3

End a scene update.

Definition at line 530 of file dynamic_scene_graph.proto.

◆ update_geom

UpdateGeom ensightservice::SceneUpdateCommand::update_geom = 7

Update a Geom entity.

Definition at line 534 of file dynamic_scene_graph.proto.

◆ update_group

UpdateGroup ensightservice::SceneUpdateCommand::update_group = 6

Update a Group entity.

Definition at line 533 of file dynamic_scene_graph.proto.

◆ update_part

UpdatePart ensightservice::SceneUpdateCommand::update_part = 5

Update a Part entity.

Definition at line 532 of file dynamic_scene_graph.proto.

◆ update_texture

UpdateTexture ensightservice::SceneUpdateCommand::update_texture = 10

Update a Texture entity.

Definition at line 537 of file dynamic_scene_graph.proto.

◆ update_variable

UpdateVariable ensightservice::SceneUpdateCommand::update_variable = 8

Update a Variable entity.

Definition at line 535 of file dynamic_scene_graph.proto.

◆ update_view

UpdateView ensightservice::SceneUpdateCommand::update_view = 9

Update a View entity.

Definition at line 536 of file dynamic_scene_graph.proto.

◆ 

union { ... } ensightservice::SceneUpdateCommand::UpdateCommand

The union of the sub-command messages.

Each SceneUpdateCommand message can be one of the types defined by the command_type. These are represented via a union message construct.


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

Connect with Ansys