    

 ## On this page

  

 

 # ensightservice::UpdateGeom Struct Reference

 Last update: 16.07.2025 

Update a Geom entity. [More...](structensightservice_1_1_update_geom.xhtml#details)

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

enum [ArrayType](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0e) {   
 [COORDINATES](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0ea97e70b5168d95bb016e911d62cc90413) = 0 , [TRIANGLES](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0ea45c719afcca86d40ae188d08a4382b2e) = 1 , [LINES](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0eae234c44b853e8e5aec672debc9c6c633) = 2 , [EDGEFLAGS](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0eab3ca9a043cffdaff1405f788c5e433f7) = 3 ,   
 [ELEM\_VARIABLE](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0ea821476181227b91975248ddb117280e7) = 4 , [NODE\_VARIABLE](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0eaa9c8b71b1e2d2d6750c1e37d2b59acaa) = 5 , [ELEM\_NORMALS](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0ea8e054c010865baf89a5933978d87cb96) = 6 , [NODE\_NORMALS](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0eac21f3699ed4e6ab0583a8c0becf04189) = 7 ,   
 [TEX\_COORDINATES](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0ea81b336746a62b3cc584202840ce51810) = 8   
 } ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

<a id="a42863e16202a18571b4b4bc42525873d"></a>uint64 [id](structensightservice_1_1_update_geom.xhtml#a42863e16202a18571b4b4bc42525873d) = 1 The Geom entity id.   
 <a id="ab03f346bd14498df04b4207f2e93c145"></a>uint64 [parent\_id](structensightservice_1_1_update_geom.xhtml#ab03f346bd14498df04b4207f2e93c145) = 2 Parent Part entity id.   
 <a id="a29bdb809b9ca3a2d515296c7e40fef76"></a>[ArrayType](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0e) [payload\_type](structensightservice_1_1_update_geom.xhtml#a29bdb809b9ca3a2d515296c7e40fef76) = 3 The type of the array represented by this entity.   
 <a id="a546c77b8d3c2c0ad1dc3928d9f7b0264"></a>uint64 [variable\_id](structensightservice_1_1_update_geom.xhtml#a546c77b8d3c2c0ad1dc3928d9f7b0264) = 4 If the ArrayType is VARIABLE, this is the associated entity id of a Variable.   
 <a id="a73bd310bba7f5ea16a52da72d5d2929f"></a>repeated float [flt\_array](structensightservice_1_1_update_geom.xhtml#a73bd310bba7f5ea16a52da72d5d2929f) = 5 \[packed=true\] Used when payload\_type is VARIABLE or COORDINATES.   
 <a id="a4de5b11969632599324c7b304388dd9d"></a>repeated uint32 [int\_array](structensightservice_1_1_update_geom.xhtml#a4de5b11969632599324c7b304388dd9d) = 6 \[packed=true\] Used when payload\_type is TRIANGLES, LINES or EDGEFLAGS.   
 <a id="a8af8c0efbd1661f75a5d486bd9339511"></a>uint64 [chunk\_offset](structensightservice_1_1_update_geom.xhtml#a8af8c0efbd1661f75a5d486bd9339511) = 7 The offset in "elements" (floats, uint32, etc) of the array represented by this Geom.   
 <a id="ae9574561ee21483fc13e0a252f6b655f"></a>uint64 [total\_array\_size](structensightservice_1_1_update_geom.xhtml#ae9574561ee21483fc13e0a252f6b655f) = 8 The total size in "elements" (floats, uint32, etc) of the array represented by this Geom.   
 <a id="afc7c61ce6676bea469456c73b70c0146"></a>string [hash](structensightservice_1_1_update_geom.xhtml#afc7c61ce6676bea469456c73b70c0146) = 9 hash for this message payload   
 <a id="details" name="details"></a>## Detailed Description

Update a Geom entity.

The geom entity holds the physical arrays used for rendering. It contains a coordinate array and connectivity that is relative to the coordinate array for this geom. The connectivity can be triangles, lines or empty (points). If triangles, optional edgeflags specify the "line" representation of the triangles (for element outlining) Otherwise, the geom object can hold the data payloads for other variables tagged via their variable id. The use of these variables is dictated by fields in the Part entity that note the use of specific variables for other purposes (e.g. normals, coloring, node size, etc). Multiple [UpdateGeom](structensightservice_1_1_update_geom.xhtml "Update a Geom entity.") packets are send to fill in an entire array, limited by the size specified in the init command. All Geom packets for a specific array will include the full size of the target array (in base type units, uint32 or float) and an offset where the payload of a specific [UpdateGeom](structensightservice_1_1_update_geom.xhtml "Update a Geom entity.") packet should be stored in the array.

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



## Member Enumeration Documentation

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

 enum [ensightservice::UpdateGeom::ArrayType](structensightservice_1_1_update_geom.xhtml#a3ed862b91954d35069a7744676f30c0e)

The type of array the Geom represents

Enumerator<a id="a3ed862b91954d35069a7744676f30c0ea97e70b5168d95bb016e911d62cc90413"></a>COORDINATES x1,y1,z1,x2,y2,z2 ...

<a id="a3ed862b91954d35069a7744676f30c0ea45c719afcca86d40ae188d08a4382b2e"></a>TRIANGLES 3\*uint32 per triangle (zero based)

<a id="a3ed862b91954d35069a7744676f30c0eae234c44b853e8e5aec672debc9c6c633"></a>LINES 2\*uint32 per line segment (zero based)

<a id="a3ed862b91954d35069a7744676f30c0eab3ca9a043cffdaff1405f788c5e433f7"></a>EDGEFLAGS uint32 per element (only used with triangles)

<a id="a3ed862b91954d35069a7744676f30c0ea821476181227b91975248ddb117280e7"></a>ELEM\_VARIABLE per element 1D variable values from the variable\_id

<a id="a3ed862b91954d35069a7744676f30c0eaa9c8b71b1e2d2d6750c1e37d2b59acaa"></a>NODE\_VARIABLE per node 1D variable values from the variable\_id

<a id="a3ed862b91954d35069a7744676f30c0ea8e054c010865baf89a5933978d87cb96"></a>ELEM\_NORMALS x1,y1,z1,x2,y2,z2 ...

<a id="a3ed862b91954d35069a7744676f30c0eac21f3699ed4e6ab0583a8c0becf04189"></a>NODE\_NORMALS x1,y1,z1,x2,y2,z2 ...

<a id="a3ed862b91954d35069a7744676f30c0ea81b336746a62b3cc584202840ce51810"></a>TEX\_COORDINATES 2\*float, always per vertex, u1,v1,u2,v2 ...

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





---

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)