55 unsigned int XMin,
unsigned int XMax,
56 unsigned int YMin,
unsigned int YMax,
57 unsigned int ZMin,
unsigned int ZMax,
73 bool AppendRowEncode( std::ostream & out,
const char * data,
size_t datalen )
override;
78 bool DecodeByStreamsCommon(std::istream &is, std::ostream &os);
79 RLEInternals *Internals;
81 unsigned long BufferLength;
82 size_t DecodeFragment(
Fragment const & frag,
char *buffer,
size_t llen);
Class to represent a Data Element either Implicit or Explicit.
Definition gdcmDataElement.h:59
Class to represent a Fragment.
Definition gdcmFragment.h:44
ImageCodec.
Definition gdcmImageCodec.h:31
ImageRegionReader.
Definition gdcmImageRegionReader.h:35
Class to do RLE.
Definition gdcmRLECodec.h:37
bool DecodeByStreams(std::istream &is, std::ostream &os) override
ImageCodec * Clone() const override
bool AppendRowEncode(std::ostream &out, const char *data, size_t datalen) override
bool AppendFrameEncode(std::ostream &out, const char *data, size_t datalen) override
bool CanCode(TransferSyntax const &ts) const override
Return whether this coder support this transfer syntax (can code it)
bool IsFrameEncoder() override
bool Code(DataElement const &in, DataElement &out) override
Code.
unsigned long GetBufferLength() const
Definition gdcmRLECodec.h:45
bool StartEncode(std::ostream &) override
bool DecodeExtent(char *buffer, unsigned int XMin, unsigned int XMax, unsigned int YMin, unsigned int YMax, unsigned int ZMin, unsigned int ZMax, std::istream &is)
bool GetHeaderInfo(std::istream &is, TransferSyntax &ts) override
bool CanDecode(TransferSyntax const &ts) const override
Return whether this decoder support this transfer syntax (can decode it)
void SetLength(unsigned long l)
Definition gdcmRLECodec.h:64
bool IsRowEncoder() override
void SetBufferLength(unsigned long l)
Definition gdcmRLECodec.h:46
bool StopEncode(std::ostream &) override
bool Decode(DataElement const &is, DataElement &os) override
Decode.
Class to manipulate Transfer Syntax.
Definition gdcmTransferSyntax.h:40
#define GDCM_EXPORT
Definition gdcmWin32.h:34