GDCM
2.2.1
|
#include <gdcmOverlay.h>
Public Member Functions | |
Overlay () | |
Overlay (Overlay const &ov) | |
~Overlay () | |
void | Decode (std::istream &is, std::ostream &os) |
void | Decompress (std::ostream &os) const |
unsigned short | GetBitPosition () const |
return bit position More... | |
unsigned short | GetBitsAllocated () const |
return bits allocated More... | |
bool | GetBuffer (char *buffer) const |
unsigned short | GetColumns () const |
get columns More... | |
const char * | GetDescription () const |
get description More... | |
unsigned short | GetGroup () const |
Get Group number. More... | |
const signed short * | GetOrigin () const |
get origin More... | |
const ByteValue & | GetOverlayData () const |
unsigned short | GetRows () const |
get rows More... | |
const char * | GetType () const |
get type More... | |
bool | GetUnpackBuffer (unsigned char *buffer) const |
bool | GrabOverlayFromPixelData (DataSet const &ds) |
bool | IsEmpty () const |
bool | IsInPixelData () const |
void | IsInPixelData (bool b) |
bool | IsZero () const |
return true if all bits are set to 0 More... | |
void | Print (std::ostream &) const |
Print. More... | |
void | SetBitPosition (unsigned short bitposition) |
set bit position More... | |
void | SetBitsAllocated (unsigned short bitsallocated) |
set bits allocated More... | |
void | SetColumns (unsigned short columns) |
set columns More... | |
void | SetDescription (const char *description) |
set description More... | |
void | SetFrameOrigin (unsigned short frameorigin) |
set frame origin More... | |
void | SetGroup (unsigned short group) |
Set Group number. More... | |
void | SetNumberOfFrames (unsigned int numberofframes) |
set number of frames More... | |
void | SetOrigin (const signed short *origin) |
set origin More... | |
void | SetOverlay (const char *array, unsigned int length) |
set overlay from byte array + length More... | |
void | SetRows (unsigned short rows) |
set rows More... | |
void | SetType (const char *type) |
set type More... | |
void | Update (const DataElement &de) |
Update overlay from data element de: More... | |
![]() | |
Object () | |
Object (const Object &) | |
Special requirement for copy/cstor, assigment operator. More... | |
virtual | ~Object () |
void | operator= (const Object &) |
Additional Inherited Members | |
![]() | |
void | Register () |
void | UnRegister () |
Overlay class.
Example:
gdcm::Overlay::Overlay | ( | ) |
gdcm::Overlay::~Overlay | ( | ) |
gdcm::Overlay::Overlay | ( | Overlay const & | ov | ) |
void gdcm::Overlay::Decode | ( | std::istream & | is, |
std::ostream & | os | ||
) |
void gdcm::Overlay::Decompress | ( | std::ostream & | os | ) | const |
unsigned short gdcm::Overlay::GetBitPosition | ( | ) | const |
return bit position
unsigned short gdcm::Overlay::GetBitsAllocated | ( | ) | const |
return bits allocated
bool gdcm::Overlay::GetBuffer | ( | char * | buffer | ) | const |
unsigned short gdcm::Overlay::GetColumns | ( | ) | const |
get columns
const char* gdcm::Overlay::GetDescription | ( | ) | const |
get description
unsigned short gdcm::Overlay::GetGroup | ( | ) | const |
Get Group number.
const signed short* gdcm::Overlay::GetOrigin | ( | ) | const |
get origin
const ByteValue& gdcm::Overlay::GetOverlayData | ( | ) | const |
unsigned short gdcm::Overlay::GetRows | ( | ) | const |
get rows
const char* gdcm::Overlay::GetType | ( | ) | const |
get type
bool gdcm::Overlay::GetUnpackBuffer | ( | unsigned char * | buffer | ) | const |
bool gdcm::Overlay::GrabOverlayFromPixelData | ( | DataSet const & | ds | ) |
bool gdcm::Overlay::IsEmpty | ( | ) | const |
bool gdcm::Overlay::IsInPixelData | ( | ) | const |
void gdcm::Overlay::IsInPixelData | ( | bool | b | ) |
bool gdcm::Overlay::IsZero | ( | ) | const |
return true if all bits are set to 0
|
virtual |
Print.
Reimplemented from gdcm::Object.
void gdcm::Overlay::SetBitPosition | ( | unsigned short | bitposition | ) |
set bit position
void gdcm::Overlay::SetBitsAllocated | ( | unsigned short | bitsallocated | ) |
set bits allocated
void gdcm::Overlay::SetColumns | ( | unsigned short | columns | ) |
set columns
void gdcm::Overlay::SetDescription | ( | const char * | description | ) |
set description
void gdcm::Overlay::SetFrameOrigin | ( | unsigned short | frameorigin | ) |
set frame origin
void gdcm::Overlay::SetGroup | ( | unsigned short | group | ) |
Set Group number.
void gdcm::Overlay::SetNumberOfFrames | ( | unsigned int | numberofframes | ) |
set number of frames
void gdcm::Overlay::SetOrigin | ( | const signed short * | origin | ) |
set origin
void gdcm::Overlay::SetOverlay | ( | const char * | array, |
unsigned int | length | ||
) |
set overlay from byte array + length
void gdcm::Overlay::SetRows | ( | unsigned short | rows | ) |
set rows
void gdcm::Overlay::SetType | ( | const char * | type | ) |
set type
void gdcm::Overlay::Update | ( | const DataElement & | de | ) |
Update overlay from data element de: