    

 ## On this page

  

 

 # ensightservice::SceneClientCommand Struct Reference

 Last update: 16.07.2025 

Aggregate command sent by a dynamic scene graph client. [More...](structensightservice_1_1_scene_client_command.xhtml#details)

## <a id="pub-types" name="pub-types"></a>Public Types

enum [ClientCommandType](structensightservice_1_1_scene_client_command.xhtml#a0d35bc799b8649f6ca89ba7b81d85c9d) { [INIT](structensightservice_1_1_scene_client_command.xhtml#a0d35bc799b8649f6ca89ba7b81d85c9daf4d487da2248189a4581a1da2ef697a6) = 0 , [UPDATE](structensightservice_1_1_scene_client_command.xhtml#a0d35bc799b8649f6ca89ba7b81d85c9da541ae893b9023272d6d91bc98e91ae28) = 1 } ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

<a id="adaad41cd970c13986e303aa114d76c32"></a>[ClientCommandType](structensightservice_1_1_scene_client_command.xhtml#a0d35bc799b8649f6ca89ba7b81d85c9d) [command\_type](structensightservice_1_1_scene_client_command.xhtml#adaad41cd970c13986e303aa114d76c32) = 1 The command type.   
 union { [SceneClientInit](structensightservice_1_1_scene_client_init.xhtml) [init](structensightservice_1_1_scene_client_command.xhtml#a308cfda6fa9526f29110cc95e3e08553) = 2 Init a session/request a scene graph update.   
  [SceneClientUpdate](structensightservice_1_1_scene_client_update.xhtml) [update](structensightservice_1_1_scene_client_command.xhtml#a872d1d1e4a69b5da888d1c41bd77c118) = 3 Modify an EnSight session.   
 } [ClientCommand](structensightservice_1_1_scene_client_command.xhtml#ab8fc63b3d61dc3fd04f63950464ff8fa) <a id="details" name="details"></a>## Detailed Description

Aggregate command sent by a dynamic scene graph client.

This command represents a union of two different base commands: [SceneClientInit](structensightservice_1_1_scene_client_init.xhtml "Request by the client for an EnSight scene update.") and [SceneClientUpdate](structensightservice_1_1_scene_client_update.xhtml "Update a parameter in the EnSight session."). To use the message, set the command\_type to the type of the message and fill in the appropriate ClientCommand sub-message.

Definition at line [204](dynamic__scene__graph_8proto_source.xhtml#l00204) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).



## Member Enumeration Documentation

<a id="a0d35bc799b8649f6ca89ba7b81d85c9d"></a>## [◆ ](#a0d35bc799b8649f6ca89ba7b81d85c9d)ClientCommandType

 enum [ensightservice::SceneClientCommand::ClientCommandType](structensightservice_1_1_scene_client_command.xhtml#a0d35bc799b8649f6ca89ba7b81d85c9d)

The type of the ClientCommand oneof that has been set

Enumerator<a id="a0d35bc799b8649f6ca89ba7b81d85c9daf4d487da2248189a4581a1da2ef697a6"></a>INIT Initial command to be sent. Can be sent repeatedly to reset session parameters or request a scene update.

<a id="a0d35bc799b8649f6ca89ba7b81d85c9da541ae893b9023272d6d91bc98e91ae28"></a>UPDATE Undefined at present, but used to send interaction information from VR1 back to EnSight.

Definition at line [207](dynamic__scene__graph_8proto_source.xhtml#l00207) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





## Member Data Documentation

<a id="ab8fc63b3d61dc3fd04f63950464ff8fa"></a>## [◆ ](#ab8fc63b3d61dc3fd04f63950464ff8fa)

 union { ... } ensightservice::SceneClientCommand::ClientCommand

message union





---

The documentation for this struct was generated from the following file:- D:/ANSYSDev/NoBackup/branches/EnSight-Second-Coming/ensight/client/rpc\_interface/[dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml)