-------------------------------------------------------------------------------
| 52 | |
| 53 | //------------------------------------------------------------------------------- |
| 54 | void vtkRemoteSession::Set(vtkTypeUInt32 object, emscripten::val properties) |
| 55 | { |
| 56 | // Ensure the ID is set in the JSON state before updating the object |
| 57 | properties.set("Id", object); |
| 58 | vtkSessionJsonImpl propertiesImpl{ properties }; |
| 59 | return vtkSessionUpdateObjectFromState(this->Session, &propertiesImpl); |
| 60 | } |
| 61 | |
| 62 | //------------------------------------------------------------------------------- |
| 63 | emscripten::val vtkRemoteSession::Get(vtkTypeUInt32 object) |
no test coverage detected