Mercurial > hg > orthanc-stone
diff Framework/StoneException.h @ 949:32eaf4929b08 toa2019081301
OrthancMultiframeVolumeLoader and OrthancSeriesVolumeProgressiveLoader now implement IGeometryProvider so that the geometry reference can be switched (CT or DOSE, for instance) + VolumeImageGeometry::SetSize renamed to VolumeImageGeometry::SetSizeInVoxels + prevent text layer update if text or properties do not change + a few stream operator<< for debug (Vector, Matrix,...) + fixed memory access aligment issues in ImageBuffer3D::ExtractSagittalSlice + fix for wrong screen Y offset of mpr slices in DicomVolumeImageMPRSlicer.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 13 Aug 2019 16:01:05 +0200 |
parents | 1091b2adeb5a |
children | e160159b1905 |
line wrap: on
line diff
--- a/Framework/StoneException.h Sat Aug 10 13:13:11 2019 +0200 +++ b/Framework/StoneException.h Tue Aug 13 16:01:05 2019 +0200 @@ -22,6 +22,9 @@ #pragma once #include "Core/OrthancException.h" +#include "Toolbox/LinearAlgebra.h" + +#include <iostream> #include <boost/lexical_cast.hpp> namespace OrthancStone @@ -126,7 +129,6 @@ return boost::lexical_cast<std::string>(applicationErrorCode_).c_str(); } }; - } // See https://isocpp.org/wiki/faq/misc-technical-issues#macros-with-multi-stmts @@ -151,6 +153,18 @@ # define GET_ORTHANC_ASSERT(_1,_2,NAME,...) NAME # define ORTHANC_ASSERT(...) ORTHANC_EXPAND(GET_ORTHANC_ASSERT(__VA_ARGS__, ORTHANC_ASSERT2, ORTHANC_ASSERT1, UNUSED)(__VA_ARGS__)) + + + + + + + + + + + + /* Explanation: