comparison Framework/Loaders/LoaderCache.h @ 1440:49f31fa332b3 loader-injection-feature

Merge from default.
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 26 May 2020 09:52:09 +0200
parents 96044a18b98d
children
comparison
equal deleted inserted replaced
1432:758fb6958c20 1440:49f31fa332b3
58 GetMultiframeDicomVolumeImageMPRSlicer(std::string instanceUuid); 58 GetMultiframeDicomVolumeImageMPRSlicer(std::string instanceUuid);
59 59
60 boost::shared_ptr<OrthancMultiframeVolumeLoader> 60 boost::shared_ptr<OrthancMultiframeVolumeLoader>
61 GetMultiframeVolumeLoader(std::string instanceUuid); 61 GetMultiframeVolumeLoader(std::string instanceUuid);
62 62
63 /**
64 The DicomStructureSetLoader instances are stored in a map and indexed
65 by a key built from instanceUuid and uniqueKey.
66
67 If instanceUuid and uniqueKey correspond to an already existing loader, it is returned.
68
69 Please note that initiallyVisibleStructures is only used if the call results in the creation
70 of a new loader. In that case, the value is passed to the constructor.
71 */
63 boost::shared_ptr<DicomStructureSetLoader> 72 boost::shared_ptr<DicomStructureSetLoader>
64 GetDicomStructureSetLoader( 73 GetDicomStructureSetLoader(
65 std::string instanceUuid, 74 std::string instanceUuid,
66 const std::vector<std::string>& initiallyVisibleStructures); 75 const std::vector<std::string>& initiallyVisibleStructures,
76 const std::string& uniqueKey = "");
77
78 std::string BuildDicomStructureSetLoaderKey(
79 const std::string& instanceUuid,
80 const std::string& uniqueKey = "");
67 81
68 void ClearCache(); 82 void ClearCache();
69 83
70 /** 84 /**
71 Service method static and exposed for unit tests. 85 Service method static and exposed for unit tests.