ensightservice::UpdateGeom Struct Reference
Last update: 17.04.2023Update a Geom entity. More...
Public 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 |
The Geom entity id. | |
uint64 | parent_id = 2 |
Parent Part entity id. | |
ArrayType | payload_type = 3 |
The type of the array represented by this entity. | |
uint64 | variable_id = 4 |
If the ArrayType is VARIABLE, this is the associated entity id of a Variable. | |
repeated float | flt_array = 5 [packed=true] |
Used when payload_type is VARIABLE or COORDINATES. | |
repeated uint32 | int_array = 6 [packed=true] |
Used when payload_type is TRIANGLES, LINES or EDGEFLAGS. | |
uint64 | chunk_offset = 7 |
The offset in "elements" (floats, uint32, etc) of the array represented by this Geom. | |
uint64 | total_array_size = 8 |
The total size in "elements" (floats, uint32, etc) of the array represented by this Geom. | |
string | hash = 9 |
hash for this message payload | |
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 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.
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