comparison Framework/Toolbox/DicomStructureSet2.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
17 * You should have received a copy of the GNU Affero General Public License 17 * You should have received a copy of the GNU Affero General Public License
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 #pragma once 21 #pragma once
22
23 #ifdef BGO_ENABLE_DICOMSTRUCTURESETLOADER2
22 24
23 #include "DicomStructure2.h" 25 #include "DicomStructure2.h"
24 #include "CoordinateSystem3D.h" 26 #include "CoordinateSystem3D.h"
25 #include "Extent2D.h" 27 #include "Extent2D.h"
26 #include "../Scene2D/Color.h" 28 #include "../Scene2D/Color.h"
60 62
61 /** Internal use only */ 63 /** Internal use only */
62 std::vector<DicomStructure2> structures_; 64 std::vector<DicomStructure2> structures_;
63 }; 65 };
64 } 66 }
67
68 #endif
69 // BGO_ENABLE_DICOMSTRUCTURESETLOADER2
70
71