diff OrthancStone/Sources/Toolbox/DicomStructureSet.h @ 1904:738814c24574

speed up rendering of axial slices of RT-STRUCT
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 31 Jan 2022 18:22:57 +0100
parents a5e54bd87b25
children 782ba9eb6f22
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/DicomStructureSet.h	Mon Jan 31 18:00:10 2022 +0100
+++ b/OrthancStone/Sources/Toolbox/DicomStructureSet.h	Mon Jan 31 18:22:57 2022 +0100
@@ -103,7 +103,9 @@
 
       bool UpdateReferencedSlice(const ReferencedSlices& slices);
 
-      bool IsOnSlice(const CoordinateSystem3D& geometry) const;
+      bool IsOnSlice(const CoordinateSystem3D& geometry,
+                     const Vector& estimatedNormal,
+                     double estimatedSliceThickness) const;
 
       const Vector& GetGeometryOrigin() const
       {
@@ -129,7 +131,9 @@
                    double& y1,
                    double& x2,
                    double& y2,
-                   const CoordinateSystem3D& slice) const;
+                   const CoordinateSystem3D& slice,
+                   const Vector& estimatedNormal,
+                   double estimatedSliceThickness) const;
     };
 
     typedef std::list<Polygon>  Polygons;