Mercurial > hg > orthanc-stone
comparison Framework/Volumes/ImageBuffer3D.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 | e0ddd8cad909 |
children | 2eca030792aa |
comparison
equal
deleted
inserted
replaced
109:53bd9277b025 | 110:53025eecbc95 |
---|---|
20 | 20 |
21 | 21 |
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #include "../Enumerations.h" | 24 #include "../Enumerations.h" |
25 #include "../Toolbox/SliceGeometry.h" | 25 #include "../Toolbox/CoordinateSystem3D.h" |
26 #include "../Toolbox/ParallelSlices.h" | 26 #include "../Toolbox/ParallelSlices.h" |
27 | 27 |
28 #include "../../Resources/Orthanc/Core/Images/Image.h" | 28 #include "../../Resources/Orthanc/Core/Images/Image.h" |
29 | 29 |
30 namespace OrthancStone | 30 namespace OrthancStone |
31 { | 31 { |
32 class ImageBuffer3D : public boost::noncopyable | 32 class ImageBuffer3D : public boost::noncopyable |
33 { | 33 { |
34 private: | 34 private: |
35 SliceGeometry axialGeometry_; | 35 CoordinateSystem3D axialGeometry_; |
36 Vector voxelDimensions_; | 36 Vector voxelDimensions_; |
37 Orthanc::Image image_; | 37 Orthanc::Image image_; |
38 Orthanc::PixelFormat format_; | 38 Orthanc::PixelFormat format_; |
39 unsigned int width_; | 39 unsigned int width_; |
40 unsigned int height_; | 40 unsigned int height_; |
56 | 56 |
57 void Clear(); | 57 void Clear(); |
58 | 58 |
59 // Set the geometry of the first axial slice (i.e. the one whose | 59 // Set the geometry of the first axial slice (i.e. the one whose |
60 // depth == 0) | 60 // depth == 0) |
61 void SetAxialGeometry(const SliceGeometry& geometry); | 61 void SetAxialGeometry(const CoordinateSystem3D& geometry); |
62 | 62 |
63 void SetVoxelDimensions(double x, | 63 void SetVoxelDimensions(double x, |
64 double y, | 64 double y, |
65 double z); | 65 double z); |
66 | 66 |