33 #include "dcmtk/config/osconfig.h" 34 #include "dcmtk/dcmdata/dcsequen.h" 35 #include "dcmtk/dcmdata/dcofsetl.h" 93 virtual DcmEVR
ident(
void)
const {
return EVR_pixelSQ; }
102 virtual void print(STD_NAMESPACE ostream &out,
103 const size_t flags = 0,
105 const char *pixelFileName = NULL,
106 size_t *pixelCounter = NULL);
119 const E_EncodingType enctype);
128 unsigned long where = DCM_EndOfListIndex);
137 const unsigned long num);
147 const unsigned long num);
169 virtual OFBool
canWriteXfer(
const E_TransferSyntax newXfer,
170 const E_TransferSyntax oldXfer);
186 const E_TransferSyntax ixfer,
187 const E_GrpLenEncoding glenc = EGL_noChange,
188 const Uint32 maxReadLength = DCM_MaxReadLength);
198 const E_TransferSyntax oxfer,
199 const E_EncodingType enctype,
210 const E_TransferSyntax oxfer,
211 const E_EncodingType enctype,
224 Uint8 *compressedData,
225 Uint32 compressedLen,
226 Uint32 fragmentSize);
239 const Uint32 newLength);
250 unsigned long = DCM_EndOfListIndex,
253 return EC_IllegalCall;
a class representing a list of DICOM elements in which each element has a different tag and elements ...
virtual OFCondition insert(DcmItem *, unsigned long=DCM_EndOfListIndex, OFBool=OFFalse)
method inherited from base class that is useless in this class
this class implements a container for a fragment of compressed pixel data.
class representing a DICOM Sequence of Items (SQ).
virtual DcmEVR ident(void) const
get type identifier
virtual OFCondition read(DcmInputStream &inStream, const E_TransferSyntax ixfer, const E_GrpLenEncoding glenc=EGL_noChange, const Uint32 maxReadLength=DCM_MaxReadLength)
This function reads the information of all attributes which are captured in the input stream and capt...
this class encapsulates an attribute tag (group, element) and a VR.
This class implements a buffering mechanism that is used when writing large elements that reside in f...
base class for output streams.
E_TransferSyntax Xfer
the transfer syntax in which the compressed pixel data maintained by this object is encoded...
Abstract base class for most classes in module dcmdata.
virtual OFCondition getItem(DcmPixelItem *&item, const unsigned long num)
access a pixel item from the pixel sequence.
this class implements a sequence of pixel items, i.e.
virtual OFCondition insert(DcmPixelItem *item, unsigned long where=DCM_EndOfListIndex)
insert the given pixel item at the given position within the list maintained by this object...
virtual DcmObject * clone() const
clone method
virtual ~DcmPixelSequence()
destructor
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
write object to a stream
virtual OFCondition makeSubObject(DcmObject *&newObject, const DcmTag &newTag, const Uint32 newLength)
helper function for read().
OFCondition changeXfer(const E_TransferSyntax newXfer)
changes the transfer syntax of this object to the given one.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
virtual OFBool canWriteXfer(const E_TransferSyntax newXfer, const E_TransferSyntax oldXfer)
check if this DICOM object can be encoded in the given transfer syntax.
DcmPixelSequence & operator=(const DcmPixelSequence &obj)
copy assignment operator
virtual void print(STD_NAMESPACE ostream &out, const size_t flags=0, const int level=0, const char *pixelFileName=NULL, size_t *pixelCounter=NULL)
print all elements of the item to a stream
virtual Uint32 calcElementLength(const E_TransferSyntax xfer, const E_EncodingType enctype)
calculate the length of this DICOM element when encoded with the given transfer syntax and the given ...
virtual DcmItem * getItem(const unsigned long)
method inherited from base class that is useless in this class
virtual OFCondition storeCompressedFrame(DcmOffsetList &offsetList, Uint8 *compressedData, Uint32 compressedLen, Uint32 fragmentSize)
appends a single compressed frame to this DICOM pixel sequence
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
special write method for creation of digital signatures
DcmPixelSequence(const DcmTag &tag, const Uint32 len=0)
constructor
General purpose class for condition codes.