comparison OrthancStone/Sources/Volumes/VolumeReslicer.cpp @ 1640:52b8b96cb55f

cleaning namespaces
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Nov 2020 16:55:22 +0100
parents 59f95b9ea858
children 9ac2a65d4172
comparison
equal deleted inserted replaced
1639:5cdc5b98f14d 1640:52b8b96cb55f
756 const VolumeImageGeometry& geometry, 756 const VolumeImageGeometry& geometry,
757 const CoordinateSystem3D& plane) 757 const CoordinateSystem3D& plane)
758 { 758 {
759 // Choose the default voxel size as the finest voxel dimension 759 // Choose the default voxel size as the finest voxel dimension
760 // of the source volumetric image 760 // of the source volumetric image
761 const OrthancStone::Vector dim = 761 const Vector dim = geometry.GetVoxelDimensions(VolumeProjection_Axial);
762 geometry.GetVoxelDimensions(OrthancStone::VolumeProjection_Axial);
763 double voxelSize = dim[0]; 762 double voxelSize = dim[0];
764 763
765 if (dim[1] < voxelSize) 764 if (dim[1] < voxelSize)
766 { 765 {
767 voxelSize = dim[1]; 766 voxelSize = dim[1];