Mercurial > hg > orthanc
diff OrthancServer/SliceOrdering.h @ 3920:82e88ff003d7 c-get
merge default -> c-get
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 12 May 2020 14:58:24 +0200 |
parents | 104e27133ebd |
children |
line wrap: on
line diff
--- a/OrthancServer/SliceOrdering.h Tue May 12 07:50:38 2020 +0200 +++ b/OrthancServer/SliceOrdering.h Tue May 12 14:58:24 2020 +0200 @@ -51,8 +51,7 @@ std::string seriesId_; bool hasNormal_; Vector normal_; - std::vector<Instance*> instances_; // this vector owns the instances - std::vector<Instance*> sortedInstances_; // this vectore references the instances of instances_ + std::vector<Instance*> instances_; bool isVolume_; static bool ComputeNormal(Vector& normal, @@ -78,14 +77,14 @@ ~SliceOrdering(); - size_t GetSortedInstancesCount() const + size_t GetInstancesCount() const { - return sortedInstances_.size(); + return instances_.size(); } - const std::string& GetSortedInstanceId(size_t index) const; + const std::string& GetInstanceId(size_t index) const; - unsigned int GetSortedInstanceFramesCount(size_t index) const; + unsigned int GetFramesCount(size_t index) const; void Format(Json::Value& result) const; };