14 #ifndef GDCMRLECODEC_H
15 #define GDCMRLECODEC_H
55 unsigned int XMin,
unsigned int XMax,
56 unsigned int YMin,
unsigned int YMax,
57 unsigned int ZMin,
unsigned int ZMax,
61 bool DecodeByStreams(std::istream &is, std::ostream &os);
70 bool StartEncode( std::ostream & );
72 bool IsFrameEncoder();
73 bool AppendRowEncode( std::ostream & out,
const char * data,
size_t datalen );
74 bool AppendFrameEncode( std::ostream & out,
const char * data,
size_t datalen );
75 bool StopEncode( std::ostream & );
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,
unsigned long llen);
87 #endif //GDCMRLECODEC_H
void SetLength(unsigned long l)
Definition: gdcmRLECodec.h:64
Class to do RLE.
Definition: gdcmRLECodec.h:36
unsigned long GetBufferLength() const
Definition: gdcmRLECodec.h:45
void SetBufferLength(unsigned long l)
Definition: gdcmRLECodec.h:46
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
Class to represent a Fragment.
Definition: gdcmFragment.h:43
ImageCodec.
Definition: gdcmImageCodec.h:30
Class to represent a Data Element either Implicit or Explicit.
Definition: gdcmDataElement.h:58
Class to manipulate Transfer Syntax.
Definition: gdcmTransferSyntax.h:39
ImageRegionReader.
Definition: gdcmImageRegionReader.h:29
Definition: gdcmASN1.h:20