comparison Framework/Toolbox/LinearAlgebra.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 6af3099ed8da
children 341e68752354
comparison
equal deleted inserted replaced
948:141cc19e6b7d 949:32eaf4929b08
36 namespace OrthancStone 36 namespace OrthancStone
37 { 37 {
38 typedef boost::numeric::ublas::matrix<double> Matrix; 38 typedef boost::numeric::ublas::matrix<double> Matrix;
39 typedef boost::numeric::ublas::vector<double> Vector; 39 typedef boost::numeric::ublas::vector<double> Vector;
40 40
41 // logs, debugging...
42 std::ostream& operator<<(std::ostream& s, const Vector& vec);
43 std::ostream& operator<<(std::ostream& s, const Matrix& m);
44
41 namespace LinearAlgebra 45 namespace LinearAlgebra
42 { 46 {
43 void Print(const Vector& v); 47 void Print(const Vector& v);
44 48
45 void Print(const Matrix& m); 49 void Print(const Matrix& m);