comparison Applications/Samples/SingleFrameEditorApplication.h @ 365:ef31240a73f6 am-2

no automatic call to moc and uic, CircleMeasureTracker using Orthanc fonts
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 31 Oct 2018 18:10:29 +0100
parents aad2f9293089
children 557c8ff1db5c
comparison
equal deleted inserted replaced
364:aad2f9293089 365:ef31240a73f6
2786 (widget.IsInvert() ? "MONOCHROME1" : "MONOCHROME2"); 2786 (widget.IsInvert() ? "MONOCHROME1" : "MONOCHROME2");
2787 2787
2788 2788
2789 // WARNING: The order of PixelSpacing is Y/X 2789 // WARNING: The order of PixelSpacing is Y/X
2790 char buf[32]; 2790 char buf[32];
2791 sprintf(buf, "%0.08f\\%0.08f", pixelSpacingY, pixelSpacingX); 2791 sprintf(buf, "%0.8f\\%0.8f", pixelSpacingY, pixelSpacingX);
2792 2792
2793 json["Tags"][Orthanc::DICOM_TAG_PIXEL_SPACING.Format()] = buf; 2793 json["Tags"][Orthanc::DICOM_TAG_PIXEL_SPACING.Format()] = buf;
2794 2794
2795 float center, width; 2795 float center, width;
2796 if (widget.GetStack().GetWindowing(center, width)) 2796 if (widget.GetStack().GetWindowing(center, width))