comparison Framework/Volumes/DicomStructureSetSlicer2.h @ 1019:29f5f2031310

Added a way to specificy which structures are to be initially displayed (the default being ALL structures displayed) + the loader maintains a list of structure display state, that can be modified continuously + the cache now takes the initial list of structure into account for computing the entry + added methods to change the loaded structure visibility + disabled the alternate loaders (DicomStructureSetLoader2 and friends) + disabled corresponding tests
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 27 Sep 2019 13:32:05 +0200
parents 38b6bb0bdd72
children 2d8ab34c8c91
comparison
equal deleted inserted replaced
1018:58eed6bbcabb 1019:29f5f2031310
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 **/ 19 **/
20 20
21 21
22 #pragma once 22 #pragma once
23
24 #ifdef BGO_ENABLE_DICOMSTRUCTURESETLOADER2
23 25
24 #include "../Toolbox/DicomStructureSet2.h" 26 #include "../Toolbox/DicomStructureSet2.h"
25 #include "../Volumes/IVolumeSlicer.h" 27 #include "../Volumes/IVolumeSlicer.h"
26 28
27 #include <boost/shared_ptr.hpp> 29 #include <boost/shared_ptr.hpp>
66 virtual IExtractedSlice* ExtractSlice(const CoordinateSystem3D& cuttingPlane) ORTHANC_OVERRIDE; 68 virtual IExtractedSlice* ExtractSlice(const CoordinateSystem3D& cuttingPlane) ORTHANC_OVERRIDE;
67 private: 69 private:
68 boost::weak_ptr<DicomStructureSet2> structureSet_; 70 boost::weak_ptr<DicomStructureSet2> structureSet_;
69 }; 71 };
70 } 72 }
73
74 #endif
75 // BGO_ENABLE_DICOMSTRUCTURESETLOADER2
76