Mercurial > hg > orthanc-stone
diff Framework/Toolbox/Slice.h @ 110:53025eecbc95 wasm
renamed SliceGeometry as CoordinateSystem3D
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 14 Jun 2017 15:50:38 +0200 |
parents | fcec0ab44054 |
children | 42c05a3baee3 |
line wrap: on
line diff
--- a/Framework/Toolbox/Slice.h Wed Jun 14 15:34:08 2017 +0200 +++ b/Framework/Toolbox/Slice.h Wed Jun 14 15:50:38 2017 +0200 @@ -21,7 +21,7 @@ #pragma once -#include "SliceGeometry.h" +#include "CoordinateSystem3D.h" #include "DicomFrameConverter.h" namespace OrthancStone @@ -40,7 +40,7 @@ Type type_; std::string orthancInstanceId_; unsigned int frame_; - SliceGeometry geometry_; + CoordinateSystem3D geometry_; double pixelSpacingX_; double pixelSpacingY_; double thickness_; @@ -55,7 +55,7 @@ // TODO Is this constructor the best way to go to tackle missing // layers within LayerWidget? - Slice(const SliceGeometry& plane, + Slice(const CoordinateSystem3D& plane, double thickness) : type_(Type_Standalone), frame_(0), @@ -68,7 +68,7 @@ { } - Slice(const SliceGeometry& plane, + Slice(const CoordinateSystem3D& plane, double pixelSpacingX, double pixelSpacingY, double thickness, @@ -104,7 +104,7 @@ unsigned int GetFrame() const; - const SliceGeometry& GetGeometry() const; + const CoordinateSystem3D& GetGeometry() const; double GetThickness() const; @@ -118,7 +118,7 @@ const DicomFrameConverter& GetConverter() const; - bool ContainsPlane(const SliceGeometry& plane) const; + bool ContainsPlane(const CoordinateSystem3D& plane) const; void GetExtent(std::vector<Vector>& points) const; };