Mercurial > hg > orthanc
comparison Core/Enumerations.h @ 1396:ac4efabeb80c
Migration of the orthanc-client as a separate project
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 01 Jun 2015 11:15:55 +0200 |
parents | 60cc0ee61edb |
children | fbe40117eb21 |
comparison
equal
deleted
inserted
replaced
1395:785e01da36a1 | 1396:ac4efabeb80c |
---|---|
30 **/ | 30 **/ |
31 | 31 |
32 | 32 |
33 #pragma once | 33 #pragma once |
34 | 34 |
35 #include <laaw/laaw.h> | |
36 | |
37 namespace Orthanc | 35 namespace Orthanc |
38 { | 36 { |
39 enum Endianness | 37 enum Endianness |
40 { | 38 { |
41 Endianness_Unknown, | 39 Endianness_Unknown, |
76 ErrorCode_IncompatibleImageSize, | 74 ErrorCode_IncompatibleImageSize, |
77 ErrorCode_SharedLibrary, | 75 ErrorCode_SharedLibrary, |
78 ErrorCode_Plugin | 76 ErrorCode_Plugin |
79 }; | 77 }; |
80 | 78 |
79 | |
81 /** | 80 /** |
82 * {summary}{The memory layout of the pixels (resp. voxels) of a 2D (resp. 3D) image.} | 81 * {summary}{The memory layout of the pixels (resp. voxels) of a 2D (resp. 3D) image.} |
83 **/ | 82 **/ |
84 enum LAAW_API PixelFormat | 83 enum PixelFormat |
85 { | 84 { |
86 /** | 85 /** |
87 * {summary}{Color image in RGB24 format.} | 86 * {summary}{Color image in RGB24 format.} |
88 * {description}{This format describes a color image. The pixels are stored in 3 | 87 * {description}{This format describes a color image. The pixels are stored in 3 |
89 * consecutive bytes. The memory layout is RGB.} | 88 * consecutive bytes. The memory layout is RGB.} |
118 | 117 |
119 | 118 |
120 /** | 119 /** |
121 * {summary}{The extraction mode specifies the way the values of the pixels are scaled when downloading a 2D image.} | 120 * {summary}{The extraction mode specifies the way the values of the pixels are scaled when downloading a 2D image.} |
122 **/ | 121 **/ |
123 enum LAAW_API ImageExtractionMode | 122 enum ImageExtractionMode |
124 { | 123 { |
125 /** | 124 /** |
126 * {summary}{Rescaled to 8bpp.} | 125 * {summary}{Rescaled to 8bpp.} |
127 * {description}{The minimum value of the image is set to 0, and its maximum value is set to 255.} | 126 * {description}{The minimum value of the image is set to 0, and its maximum value is set to 255.} |
128 **/ | 127 **/ |