Public Member Functions | |
DcmQuantPixelBoxArray (unsigned long entries) | |
constructor. | |
~DcmQuantPixelBoxArray () | |
destructor | |
DcmQuantPixelBox & | operator[] (size_t idx) |
looks up an array element | |
void | sort (unsigned long boxes) |
sorts the given number of pixel boxes in the array, starting with the first array element. | |
Private Member Functions | |
DcmQuantPixelBoxArray (const DcmQuantPixelBoxArray &src) | |
private undefined copy constructor | |
DcmQuantPixelBoxArray & | operator= (const DcmQuantPixelBoxArray &src) |
private undefined copy assignment operator | |
Private Attributes | |
DcmQuantPixelBoxPointer * | array |
array of pixel boxes | |
unsigned long | length |
number of elements in array |
An object of this class maintains an array of pixel boxes which is used to determine a color look-up table of given size for a true color image.
Definition at line 71 of file diqtpbox.h.
|
constructor. Creates an array with the given number of pixel boxes.
Referenced by operator[](). |
|
looks up an array element
Definition at line 88 of file diqtpbox.h. References array, DcmQuantPixelBoxArray(), length, operator=(), and sort(). |
|
sorts the given number of pixel boxes in the array, starting with the first array element. The boxes are sorted in decreasing order of the "sum" member.
Referenced by operator[](). |