Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Volumes/ImageBuffer3D.h @ 1785:58bebc904191
notes in ImageBuffer3D
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 14 May 2021 19:07:51 +0200 |
parents | 75d3e2ab1fe1 |
children | 3889ae96d2e9 |
comparison
equal
deleted
inserted
replaced
1784:42a2880d690f | 1785:58bebc904191 |
---|---|
30 | 30 |
31 namespace OrthancStone | 31 namespace OrthancStone |
32 { | 32 { |
33 /* | 33 /* |
34 | 34 |
35 This classes stores volume images sliced across the Z axis, | 35 IMPORTANT: The "ImageBuffer3D" class is *not* meant to be accessed |
36 vertically, in the DECREASING Z-order along the normal (this is the | 36 directly by the end users using the "GetVoxelXXX()" methods, |
37 REVERSE of the intuitive order): | 37 because of the swapping of the Z-axis (see below). The public |
38 interactions with this class should be limited to: | |
39 | |
40 1- Using "SliceReader" and "SliceWriter" to access the raw slices, | |
41 but only on the axial projection, *and* using the "z" | |
42 coordinates returned by some "SlicesSorter" object | |
43 | |
44 2- Extracting slices using a cutting plane through class deriving | |
45 from the "IVolumeSlicer" interface | |
46 | |
47 | |
48 IMPLEMENTATION NOTE: This classes stores volume images sliced across | |
49 the Z axis, vertically, in the DECREASING Z-order along the normal | |
50 (this is the REVERSE of the intuitive order): | |
38 | 51 |
39 +---------------+ | 52 +---------------+ |
40 | | | 53 | | |
41 | SLICE N-1 | | 54 | SLICE N-1 | |
42 | | | 55 | | |