diff OrthancStone/Sources/Toolbox/DicomStructureSet.h @ 1909:782ba9eb6f22

improved variable names
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 01 Feb 2022 08:56:36 +0100
parents 738814c24574
children 98952be6fb97
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/DicomStructureSet.h	Tue Feb 01 08:38:32 2022 +0100
+++ b/OrthancStone/Sources/Toolbox/DicomStructureSet.h	Tue Feb 01 08:56:36 2022 +0100
@@ -103,7 +103,7 @@
 
       bool UpdateReferencedSlice(const ReferencedSlices& slices);
 
-      bool IsOnSlice(const CoordinateSystem3D& geometry,
+      bool IsOnSlice(const CoordinateSystem3D& cuttingPlane,
                      const Vector& estimatedNormal,
                      double estimatedSliceThickness) const;
 
@@ -131,7 +131,7 @@
                    double& y1,
                    double& x2,
                    double& y2,
-                   const CoordinateSystem3D& slice,
+                   const CoordinateSystem3D& cuttingPlane,
                    const Vector& estimatedNormal,
                    double estimatedSliceThickness) const;
     };
@@ -163,7 +163,7 @@
   
     bool ProjectStructure(std::vector< std::vector<ScenePoint2D> >& chains,
                           const Structure& structure,
-                          const CoordinateSystem3D& slice) const;
+                          const CoordinateSystem3D& cuttingPlane) const;
 
     void EstimateGeometry();
     
@@ -205,21 +205,21 @@
 
     bool ProjectStructure(std::vector< std::vector<ScenePoint2D> >& chains,
                           size_t index,
-                          const CoordinateSystem3D& slice) const
+                          const CoordinateSystem3D& cuttingPlane) const
     {
-      return ProjectStructure(chains, GetStructure(index), slice);
+      return ProjectStructure(chains, GetStructure(index), cuttingPlane);
     }
 
     void ProjectOntoLayer(PolylineSceneLayer& layer,
-                          const CoordinateSystem3D& plane,
+                          const CoordinateSystem3D& cuttingPlane,
                           size_t structureIndex,
                           const Color& color) const;
 
     void ProjectOntoLayer(PolylineSceneLayer& layer,
-                          const CoordinateSystem3D& plane,
+                          const CoordinateSystem3D& cuttingPlane,
                           size_t structureIndex) const
     {
-      ProjectOntoLayer(layer, plane, structureIndex, GetStructureColor(structureIndex));
+      ProjectOntoLayer(layer, cuttingPlane, structureIndex, GetStructureColor(structureIndex));
     }
 
     void GetStructurePoints(std::list< std::vector<Vector> >& target,