23 class OverlayInternal;
44 void Print(std::ostream &)
const;
50 void SetGroup(
unsigned short group);
52 unsigned short GetGroup()
const;
54 void SetRows(
unsigned short rows);
56 unsigned short GetRows()
const;
58 void SetColumns(
unsigned short columns);
60 unsigned short GetColumns()
const;
62 void SetNumberOfFrames(
unsigned int numberofframes);
64 void SetDescription(
const char* description);
66 const char *GetDescription()
const;
73 void SetType(
const char* type);
75 const char *GetType()
const;
76 OverlayType GetTypeAsEnum()
const;
77 static const char *GetOverlayTypeAsString(OverlayType ot);
78 static OverlayType GetOverlayTypeFromString(
const char *);
80 void SetOrigin(
const signed short origin[2]);
82 const signed short * GetOrigin()
const;
84 void SetFrameOrigin(
unsigned short frameorigin);
86 void SetBitsAllocated(
unsigned short bitsallocated);
88 unsigned short GetBitsAllocated()
const;
90 void SetBitPosition(
unsigned short bitposition);
92 unsigned short GetBitPosition()
const;
95 void SetOverlay(
const char *array,
size_t length);
97 bool GrabOverlayFromPixelData(
DataSet const &ds);
104 bool IsEmpty()
const;
110 bool IsInPixelData()
const;
113 void IsInPixelData(
bool b);
116 void Decompress(std::ostream &os)
const;
122 GDCM_LEGACY(
bool GetUnpackBuffer(
unsigned char *buffer)
const)
125 GDCM_LEGACY(
void Decode(std::istream &is, std::ostream &os))
128 size_t GetUnpackBufferLength()
const;
133 bool GetUnpackBuffer(
char *buffer,
size_t len)
const;
138 OverlayInternal *Internal;
143 #endif //GDCMOVERLAY_H
Class to represent a Data Set (which contains Data Elements) A Data Set represents an instance of a r...
Definition: gdcmDataSet.h:55
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
Object.
Definition: gdcmObject.h:36
Class to represent a Data Element either Implicit or Explicit.
Definition: gdcmDataElement.h:58
Class to represent binary value (array of bytes)
Definition: gdcmByteValue.h:33
#define GDCM_LEGACY(method)
Definition: gdcmLegacyMacro.h:44
Overlay class.
Definition: gdcmOverlay.h:38