view Applications/Samples/CtPetDoseStructFusion/AppStatus.h @ 540:7428c5dfa5df ct-pet-dose-struct

Initial commit non working app
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 19 Mar 2019 16:29:07 +0100
parents
children
line wrap: on
line source

#pragma once

#include <string>


namespace CtPetDoseStructFusion
{
  struct AppStatus
  {
    std::string patientId;
    std::string studyDescription;
    std::string currentSeriesIdInMainViewport;
    // note: if you add members here, update the serialization code below and deserialization in ct-dose-struct-fusion.ts -> onAppStatusUpdated()


    AppStatus()
    {
    }

    void ToJson(Json::Value &output) const
    {
      output["patientId"] = patientId;
      output["studyDescription"] = studyDescription;
      output["currentSeriesIdInMainViewport"] = currentSeriesIdInMainViewport;
    }
  };
}