GDCM
2.4.5
|
SegmentedPaletteColorLookupTable class. More...
#include <gdcmSegmentedPaletteColorLookupTable.h>
Public Member Functions | |
SegmentedPaletteColorLookupTable () | |
~SegmentedPaletteColorLookupTable () | |
void | Print (std::ostream &) const |
void | SetLUT (LookupTableType type, const unsigned char *array, unsigned int length) |
Initialize a SegmentedPaletteColorLookupTable. More... | |
![]() | |
LookupTable () | |
LookupTable (LookupTable const &lut) | |
~LookupTable () | |
void | Allocate (unsigned short bitsample=8) |
Allocate the LUT. More... | |
void | Clear () |
Clear the LUT. More... | |
void | Decode (std::istream &is, std::ostream &os) const |
Decode the LUT. More... | |
bool | Decode (char *outputbuffer, size_t outlen, const char *inputbuffer, size_t inlen) const |
unsigned short | GetBitSample () const |
return the bit sample More... | |
bool | GetBufferAsRGBA (unsigned char *rgba) const |
return the LUT as RGBA buffer More... | |
void | GetLUT (LookupTableType type, unsigned char *array, unsigned int &length) const |
void | GetLUTDescriptor (LookupTableType type, unsigned short &length, unsigned short &subscript, unsigned short &bitsize) const |
unsigned int | GetLUTLength (LookupTableType type) const |
const unsigned char * | GetPointer () const |
return a raw pointer to the LUT More... | |
void | InitializeBlueLUT (unsigned short length, unsigned short subscript, unsigned short bitsize) |
bool | Initialized () const |
return whether the LUT has been initialized More... | |
void | InitializeGreenLUT (unsigned short length, unsigned short subscript, unsigned short bitsize) |
void | InitializeLUT (LookupTableType type, unsigned short length, unsigned short subscript, unsigned short bitsize) |
Generic interface: More... | |
void | InitializeRedLUT (unsigned short length, unsigned short subscript, unsigned short bitsize) |
RED / GREEN / BLUE specific: More... | |
void | SetBlueLUT (const unsigned char *blue, unsigned int length) |
void | SetGreenLUT (const unsigned char *green, unsigned int length) |
void | SetRedLUT (const unsigned char *red, unsigned int length) |
bool | WriteBufferAsRGBA (const unsigned char *rgba) |
Write the LUT as RGBA. More... | |
![]() | |
Object () | |
Object (const Object &) | |
Special requirement for copy/cstor, assignment operator. More... | |
virtual | ~Object () |
void | operator= (const Object &) |
Additional Inherited Members | |
![]() | |
enum | LookupTableType { RED = 0, GREEN, BLUE, GRAY, UNKNOWN } |
![]() | |
void | Register () |
void | UnRegister () |
![]() | |
unsigned short | BitSample |
bool | IncompleteLUT:1 |
LookupTableInternal * | Internal |
gdcm::SegmentedPaletteColorLookupTable::SegmentedPaletteColorLookupTable | ( | ) |
gdcm::SegmentedPaletteColorLookupTable::~SegmentedPaletteColorLookupTable | ( | ) |
|
inlinevirtual |
Reimplemented from gdcm::LookupTable.
|
virtual |
Initialize a SegmentedPaletteColorLookupTable.
Reimplemented from gdcm::LookupTable.