Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/LookupTableTextureSceneLayer.cpp @ 1105:640feb146fa8 toa2019102801
Code formatting (dummyc) + log level (dummyc)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 28 Oct 2019 11:13:48 +0100 |
parents | 369050c846a9 |
children | 177e7d431cd1 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
1101:141593f1aa88 | 1105:640feb146fa8 |
---|---|
129 minValue_ = minValue; | 129 minValue_ = minValue; |
130 maxValue_ = maxValue; | 130 maxValue_ = maxValue; |
131 IncrementRevision(); | 131 IncrementRevision(); |
132 } | 132 } |
133 } | 133 } |
134 | |
135 | 134 |
136 void LookupTableTextureSceneLayer::FitRange() | 135 void LookupTableTextureSceneLayer::FitRange() |
137 { | 136 { |
138 Orthanc::ImageProcessing::GetMinMaxFloatValue(minValue_, maxValue_, GetTexture()); | 137 Orthanc::ImageProcessing::GetMinMaxFloatValue(minValue_, maxValue_, GetTexture()); |
139 assert(minValue_ <= maxValue_); | 138 assert(minValue_ <= maxValue_); |