comparison Framework/Toolbox/CoordinateSystem3D.h @ 949:32eaf4929b08 toa2019081301

OrthancMultiframeVolumeLoader and OrthancSeriesVolumeProgressiveLoader now implement IGeometryProvider so that the geometry reference can be switched (CT or DOSE, for instance) + VolumeImageGeometry::SetSize renamed to VolumeImageGeometry::SetSizeInVoxels + prevent text layer update if text or properties do not change + a few stream operator<< for debug (Vector, Matrix,...) + fixed memory access aligment issues in ImageBuffer3D::ExtractSagittalSlice + fix for wrong screen Y offset of mpr slices in DicomVolumeImageMPRSlicer.
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 13 Aug 2019 16:01:05 +0200
parents 1181e1ad98ec
children 53cc787bd7bc
comparison
equal deleted inserted replaced
948:141cc19e6b7d 949:32eaf4929b08
23 23
24 #include "LinearAlgebra.h" 24 #include "LinearAlgebra.h"
25 25
26 #include <Plugins/Samples/Common/IDicomDataset.h> 26 #include <Plugins/Samples/Common/IDicomDataset.h>
27 27
28 #include <iosfwd>
29
28 namespace OrthancStone 30 namespace OrthancStone
29 { 31 {
30 // Geometry of a 3D plane 32 // Geometry of a 3D plane
31 class CoordinateSystem3D 33 class CoordinateSystem3D
32 { 34 {
49 public: 51 public:
50 CoordinateSystem3D() 52 CoordinateSystem3D()
51 { 53 {
52 SetupCanonical(); 54 SetupCanonical();
53 } 55 }
56
57 friend std::ostream& operator<< (std::ostream& s, const CoordinateSystem3D& that);
54 58
55 CoordinateSystem3D(const Vector& origin, 59 CoordinateSystem3D(const Vector& origin,
56 const Vector& axisX, 60 const Vector& axisX,
57 const Vector& axisY); 61 const Vector& axisY);
58 62