diff Framework/Volumes/DicomVolumeImage.h @ 1157:9ad62b031c47 broker

notes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 16 Nov 2019 16:08:03 +0100
parents 34ee7204fde3
children 5e9a4141b36c
line wrap: on
line diff
--- a/Framework/Volumes/DicomVolumeImage.h	Sat Nov 16 14:37:33 2019 +0100
+++ b/Framework/Volumes/DicomVolumeImage.h	Sat Nov 16 16:08:03 2019 +0100
@@ -36,11 +36,12 @@
   class DicomVolumeImage : public boost::noncopyable
   {
   public:
+    // TODO - Are these messages still useful?
     ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, GeometryReadyMessage, DicomVolumeImage);
     ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, ContentUpdatedMessage, DicomVolumeImage);
 
   private:
-    uint64_t                                revision_;
+    uint64_t                                revision_;  // TODO - Is revision still useful?
     std::auto_ptr<VolumeImageGeometry>      geometry_;
     std::auto_ptr<ImageBuffer3D>            image_;
     std::auto_ptr<DicomInstanceParameters>  parameters_;
@@ -59,8 +60,10 @@
     }
 
     void Initialize(const VolumeImageGeometry& geometry,
-                    Orthanc::PixelFormat format, bool computeRange = false);
+                    Orthanc::PixelFormat format, 
+                    bool computeRange = false);
 
+    // Used by volume slicers
     void SetDicomParameters(const DicomInstanceParameters& parameters);
     
     uint64_t GetRevision() const