Mercurial > hg > orthanc-stone
comparison Framework/Volumes/VolumeImageGeometry.h @ 799:a6ba676a93e2
Added doc
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 28 May 2019 14:13:18 +0200 |
parents | fa5febe0f0c2 |
children | e8fdf29cd0ca |
comparison
equal
deleted
inserted
replaced
798:11fc84650e4b | 799:a6ba676a93e2 |
---|---|
113 float z) const; | 113 float z) const; |
114 | 114 |
115 bool DetectProjection(VolumeProjection& projection, | 115 bool DetectProjection(VolumeProjection& projection, |
116 const Vector& planeNormal) const; | 116 const Vector& planeNormal) const; |
117 | 117 |
118 /** | |
119 Being given a cutting plane, this method will determine if it is an | |
120 axial, sagittal or coronal cut and returns | |
121 the slice number corresponding to this cut. | |
122 | |
123 If the cutting plane is not parallel to the tree x = 0, y = 0 or z = 0 | |
124 planes, it is considered as arbitrary and the method returns false. | |
125 Otherwise, it returns true. | |
126 */ | |
118 bool DetectSlice(VolumeProjection& projection, | 127 bool DetectSlice(VolumeProjection& projection, |
119 unsigned int& slice, | 128 unsigned int& slice, |
120 const CoordinateSystem3D& plane) const; | 129 const CoordinateSystem3D& plane) const; |
121 }; | 130 }; |
122 } | 131 } |