ensightservice::UpdateGeom Struct Reference
Last update: 16.07.2025Public Types | |
| enum | ArrayType { COORDINATES = 0 , TRIANGLES = 1 , LINES = 2 , EDGEFLAGS = 3 , ELEM_VARIABLE = 4 , NODE_VARIABLE = 5 , ELEM_NORMALS = 6 , NODE_NORMALS = 7 , TEX_COORDINATES = 8 } |
Public Attributes | |
| uint64 | id = 1 |
| uint64 | parent_id = 2 |
| ArrayType | payload_type = 3 |
| uint64 | variable_id = 4 |
| repeated float | flt_array = 5 [packed=true] |
| repeated uint32 | int_array = 6 [packed=true] |
| uint64 | chunk_offset = 7 |
| uint64 | total_array_size = 8 |
| string | hash = 9 |
Detailed Description
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 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 packet should be stored in the array.
Definition at line 370 of file dynamic_scene_graph.proto.
Member Enumeration Documentation
◆ ArrayType
The type of array the Geom represents
Definition at line 373 of file dynamic_scene_graph.proto.
Member Data Documentation
◆ chunk_offset
| uint64 ensightservice::UpdateGeom::chunk_offset = 7 |
The offset in "elements" (floats, uint32, etc) of the array represented by this Geom.
Definition at line 390 of file dynamic_scene_graph.proto.
◆ flt_array
| repeated float ensightservice::UpdateGeom::flt_array = 5 [packed=true] |
Used when payload_type is VARIABLE or COORDINATES.
Definition at line 388 of file dynamic_scene_graph.proto.
◆ hash
| string ensightservice::UpdateGeom::hash = 9 |
hash for this message payload
Definition at line 392 of file dynamic_scene_graph.proto.
◆ id
| uint64 ensightservice::UpdateGeom::id = 1 |
The Geom entity id.
Definition at line 384 of file dynamic_scene_graph.proto.
◆ int_array
| repeated uint32 ensightservice::UpdateGeom::int_array = 6 [packed=true] |
Used when payload_type is TRIANGLES, LINES or EDGEFLAGS.
Definition at line 389 of file dynamic_scene_graph.proto.
◆ parent_id
| uint64 ensightservice::UpdateGeom::parent_id = 2 |
Parent Part entity id.
Definition at line 385 of file dynamic_scene_graph.proto.
◆ payload_type
| ArrayType ensightservice::UpdateGeom::payload_type = 3 |
The type of the array represented by this entity.
Definition at line 386 of file dynamic_scene_graph.proto.
◆ total_array_size
| uint64 ensightservice::UpdateGeom::total_array_size = 8 |
The total size in "elements" (floats, uint32, etc) of the array represented by this Geom.
Definition at line 391 of file dynamic_scene_graph.proto.
◆ variable_id
| uint64 ensightservice::UpdateGeom::variable_id = 4 |
If the ArrayType is VARIABLE, this is the associated entity id of a Variable.
Definition at line 387 of file dynamic_scene_graph.proto.
The documentation for this struct was generated from the following file:
- D:/Product-src/ensight/client/rpc_interface/dynamic_scene_graph.proto