44 void Print(std::ostream &)
const override;
130 OverlayInternal *Internal;
Class to represent binary value (array of bytes)
Definition gdcmByteValue.h:35
Class to represent a Data Element either Implicit or Explicit.
Definition gdcmDataElement.h:59
Class to represent a Data Set (which contains Data Elements)
Definition gdcmDataSet.h:56
Object.
Definition gdcmObject.h:37
Overlay class.
Definition gdcmOverlay.h:39
bool IsZero() const
return true if all bits are set to 0
bool GrabOverlayFromPixelData(DataSet const &ds)
unsigned short GetBitsAllocated() const
return bits allocated
bool IsInPixelData() const
return if the Overlay is stored in the pixel data or not
const char * GetDescription() const
get description
unsigned short GetBitPosition() const
return bit position
void SetBitPosition(unsigned short bitposition)
set bit position
const char * GetType() const
get type
OverlayType GetTypeAsEnum() const
void SetNumberOfFrames(unsigned int numberofframes)
set number of frames
void SetFrameOrigin(unsigned short frameorigin)
set frame origin
bool GetUnpackBuffer(char *buffer, size_t len) const
void SetOverlay(const char *array, size_t length)
set overlay from byte array + length
void IsInPixelData(bool b)
Set whether or no the OverlayData is in the Pixel Data:
unsigned short GetColumns() const
get columns
bool IsEmpty() const
Return whether or not the Overlay is empty:
void SetColumns(unsigned short columns)
set columns
Overlay(Overlay const &ov)
void Print(std::ostream &) const override
Print.
void SetGroup(unsigned short group)
Set Group number.
unsigned short GetGroup() const
Get Group number.
const ByteValue & GetOverlayData() const
void SetOrigin(const signed short origin[2])
set origin
OverlayType
Definition gdcmOverlay.h:67
const signed short * GetOrigin() const
get origin
void SetType(const char *type)
set type
Overlay & operator=(Overlay const &ov)
size_t GetUnpackBufferLength() const
void SetRows(unsigned short rows)
set rows
void Decompress(std::ostream &os) const
Decode the internal OverlayData (packed bits) into unpacked representation.
unsigned short GetRows() const
get rows
void Update(const DataElement &de)
Update overlay from data element de:
static const char * GetOverlayTypeAsString(OverlayType ot)
void SetDescription(const char *description)
set description
void SetBitsAllocated(unsigned short bitsallocated)
set bits allocated
static OverlayType GetOverlayTypeFromString(const char *)
#define GDCM_EXPORT
Definition gdcmWin32.h:34