Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/Slice.h @ 322:a902a07769d4 am-2
wip: preload slice
author | am@osimis.io |
---|---|
date | Mon, 15 Oct 2018 22:43:02 +0200 |
parents | 3a4ca166fafa |
children | 3e6e10a5a6c8 |
comparison
equal
deleted
inserted
replaced
321:56b2e47d3c0c | 322:a902a07769d4 |
---|---|
59 std::auto_ptr<Orthanc::DicomImageInformation> imageInformation_; | 59 std::auto_ptr<Orthanc::DicomImageInformation> imageInformation_; |
60 | 60 |
61 public: | 61 public: |
62 Slice() : | 62 Slice() : |
63 type_(Type_Invalid) | 63 type_(Type_Invalid) |
64 { | |
65 } | |
66 | |
67 | |
68 // this constructor is used to reference, i.e, a slice that is being loaded | |
69 Slice(const std::string& orthancInstanceId, | |
70 unsigned int frame) : | |
71 type_(Type_Invalid), | |
72 orthancInstanceId_(orthancInstanceId), | |
73 frame_(frame) | |
64 { | 74 { |
65 } | 75 } |
66 | 76 |
67 // TODO Is this constructor the best way to go to tackle missing | 77 // TODO Is this constructor the best way to go to tackle missing |
68 // layers within LayerWidget? | 78 // layers within LayerWidget? |