diff Framework/Toolbox/OrientedBoundingBox.h @ 735:c3bbb130abc4

removing dependencies in ImageBuffer3D
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 21 May 2019 16:15:06 +0200
parents b70e9be013e4
children
line wrap: on
line diff
--- a/Framework/Toolbox/OrientedBoundingBox.h	Tue May 21 15:20:04 2019 +0200
+++ b/Framework/Toolbox/OrientedBoundingBox.h	Tue May 21 16:15:06 2019 +0200
@@ -21,9 +21,10 @@
 
 #pragma once
 
+#include "CoordinateSystem3D.h"
 #include "Extent2D.h"
 #include "LinearAlgebra.h"
-#include "../Volumes/ImageBuffer3D.h"
+#include "VolumeImageGeometry.h"
 
 namespace OrthancStone
 {
@@ -39,7 +40,7 @@
     double  hw_;  // half depth
 
   public:
-    OrientedBoundingBox(const ImageBuffer3D& image);
+    OrientedBoundingBox(const VolumeImageGeometry& geometry);
 
     const Vector& GetCenter() const
     {