comparison Framework/Loaders/DicomStructureSetLoader.h @ 1342:13573ff63eb6 broker

New StructuresUpdated message that is sent during individual structure set addition.
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 06 Apr 2020 08:42:40 +0200
parents 556b4bc19118
children f4a06ad1580b
comparison
equal deleted inserted replaced
1341:d80a3e3cc800 1342:13573ff63eb6
73 protected: 73 protected:
74 DicomStructureSetLoader(OrthancStone::ILoadersContext& loadersContext); 74 DicomStructureSetLoader(OrthancStone::ILoadersContext& loadersContext);
75 75
76 public: 76 public:
77 ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, StructuresReady, DicomStructureSetLoader); 77 ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, StructuresReady, DicomStructureSetLoader);
78 ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, StructuresUpdated, DicomStructureSetLoader);
78 79
79 static boost::shared_ptr<DicomStructureSetLoader> Create( 80 static boost::shared_ptr<DicomStructureSetLoader> Create(
80 OrthancStone::ILoadersContext& loadersContext); 81 OrthancStone::ILoadersContext& loadersContext);
81 82
82 OrthancStone::DicomStructureSet* GetContent() 83 OrthancStone::DicomStructureSet* GetContent()
97 const std::vector<std::string>& initiallyVisibleStructures = std::vector<std::string>()); 98 const std::vector<std::string>& initiallyVisibleStructures = std::vector<std::string>());
98 99
99 virtual IExtractedSlice* ExtractSlice(const OrthancStone::CoordinateSystem3D& cuttingPlane) ORTHANC_OVERRIDE; 100 virtual IExtractedSlice* ExtractSlice(const OrthancStone::CoordinateSystem3D& cuttingPlane) ORTHANC_OVERRIDE;
100 101
101 void SetStructuresReady(); 102 void SetStructuresReady();
103 void SetStructuresUpdated();
102 104
103 bool AreStructuresReady() const; 105 bool AreStructuresReady() const;
104 }; 106 };
105 } 107 }