diff Framework/Loaders/OrthancMultiframeVolumeLoader.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 86ac61a040c9
children 34ee7204fde3 5a2d5380148d
line wrap: on
line diff
--- a/Framework/Loaders/OrthancMultiframeVolumeLoader.h	Sat Aug 10 13:13:11 2019 +0200
+++ b/Framework/Loaders/OrthancMultiframeVolumeLoader.h	Tue Aug 13 16:01:05 2019 +0200
@@ -30,7 +30,8 @@
 {
   class OrthancMultiframeVolumeLoader :
     public LoaderStateMachine,
-    public IObservable
+    public IObservable,
+    public IGeometryProvider
   {
   private:
     class LoadRTDoseGeometry;
@@ -56,6 +57,9 @@
 
     void SetUncompressedPixelData(const std::string& pixelData);
 
+    virtual bool HasGeometry() const ORTHANC_OVERRIDE;
+    virtual const VolumeImageGeometry& GetImageGeometry() const ORTHANC_OVERRIDE;
+
   public:
     OrthancMultiframeVolumeLoader(boost::shared_ptr<DicomVolumeImage> volume,
                                   IOracle& oracle,