Mercurial > hg > orthanc-stone
comparison Framework/Volumes/ImageBuffer3D.cpp @ 667:e9339f2b5de7
refactoring of VolumeImage
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 15 May 2019 17:30:58 +0200 |
parents | b70e9be013e4 |
children | dbc1d8bfc68a |
comparison
equal
deleted
inserted
replaced
665:419e5662d7a5 | 667:e9339f2b5de7 |
---|---|
116 computeRange_(computeRange), | 116 computeRange_(computeRange), |
117 hasRange_(false) | 117 hasRange_(false) |
118 { | 118 { |
119 LinearAlgebra::AssignVector(voxelDimensions_, 1, 1, 1); | 119 LinearAlgebra::AssignVector(voxelDimensions_, 1, 1, 1); |
120 | 120 |
121 LOG(INFO) << "Created an image of " | 121 LOG(INFO) << "Created a 3D image of size " << width << "x" << height |
122 << (GetEstimatedMemorySize() / (1024ll * 1024ll)) << "MB"; | 122 << "x" << depth << " in " << Orthanc::EnumerationToString(format) |
123 << " (" << (GetEstimatedMemorySize() / (1024ll * 1024ll)) << "MB)"; | |
123 } | 124 } |
124 | 125 |
125 | 126 |
126 void ImageBuffer3D::Clear() | 127 void ImageBuffer3D::Clear() |
127 { | 128 { |