Mercurial > hg > orthanc-stone
view Applications/Samples/SimpleViewer/AppStatus.h @ 1072:391fb6d6905d
OrthancMultiframeVolumeLoader asks volume image to compute range +
added IsContextLost to wasm viewport +
added "computeRange" bool property to DicomVolumeImage +
added ability to ask the MPR slicer for its source volume (to retrieve voxel
value range)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 16 Oct 2019 15:43:21 +0200 |
parents | daa04d15192c |
children |
line wrap: on
line source
#pragma once #include <string> namespace SimpleViewer { struct AppStatus { std::string patientId; std::string studyDescription; std::string currentInstanceIdInMainViewport; // note: if you add members here, update the serialization code below and deserialization in simple-viewer.ts -> onAppStatusUpdated() AppStatus() { } void ToJson(Json::Value &output) const { output["patientId"] = patientId; output["studyDescription"] = studyDescription; output["currentInstanceIdInMainViewport"] = currentInstanceIdInMainViewport; } }; }