|
DCMTK
Version 3.6.5
OFFIS DICOM Toolkit
|
base class for all DICOM value representations storing a character string
More...
|
| class | DcmByteString |
| | base class for all DICOM value representations storing a character string More...
|
| |
base class for all DICOM value representations storing a character string
◆ normalizeString()
| DCMTK_DCMDATA_EXPORT void normalizeString |
( |
OFString & |
string, |
|
|
const OFBool |
multiPart, |
|
|
const OFBool |
leading, |
|
|
const OFBool |
trailing, |
|
|
const char |
paddingChar = ' ' |
|
) |
| |
normalize the given string value, i.e. remove leading and/or trailing padding
- Parameters
-
| string | input and output string value to be normalized |
| multiPart | handle string as multi-valued if OFTrue |
| leading | delete leading spaces if OFTrue |
| trailing | delete trailing spaces if OFTrue |
| paddingChar | padding character to be removed (usually a space) |
◆ dcmEnableVRCheckerForStringValues
| DCMTK_DCMDATA_EXPORT OFGlobal<OFBool> dcmEnableVRCheckerForStringValues |
|
extern |
This flag defines whether the VR checker is actually used by the various checkStringValue() methods.
Since this checker is currently limited to ASCII and Latin-1, and the detection of the character set might fail for incorrectly encoded DICOM datasets, this check can be disabled globally. Please note, however, that other checks (i.e. VM and max. value length) are still performed if the optional parameters are set accordingly. By default, the VR checker is enabled (value: "OFTrue").
virtual OFCondition setAdmittingDiagnosesDescription(const OFString &value, const OFBool check=OFTrue)
set AdmittingDiagnosesDescription (0008,1080)
const char * getReportFolder()
returns the folder to be used for Structured Reporting "templates".
virtual OFCondition streamedLength(unsigned long &length) const =0
Computes total length of item if streamed to a buffer.
@ AP_GeneralPurposeBDJPEG2000
General Purpose BD Interchange with JPEG 2000 (STD-GEN-BD-J2K)
Definition: dcddirif.h:127
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Interface class for ReferencedDoseSequence (300c,0080)
Definition: drtrds.h:28
OFCondition write(DcmItem &item)
write elements to sequence item
DcmPath(const OFList< DcmPathNode * > ¤tPath)
Constructor, creates a search result from a list of search nodes.
DcmCodeString BlockType
BlockType (300a,00f8) vr=CS, vm=1, type=1.
Definition: drtbl5.h:343
OFBool getQueryRetrieveAutoCreateConfigFile()
returns the AUTOCREATECONFIGFILE entry for the query/retrieve server from the section GENERAL/QUERY_R...
OFCondition setUID(const OFString &value, const OFBool check=OFTrue)
set UID (0040,a124)
virtual ~SiRSA()
destructor
Item & operator=(const Item ©)
assigment operator
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setMeasuredAPDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredAPDimension (0010,1023)
~NDCContextCreator()
Pops the NDC stack.
log4cplus::tstring const &(* LogLevelToStringMethod)(LogLevel)
This method type defined the signature of methods that convert LogLevels into strings.
Definition: loglevel.h:105
OFBool isValid() const
check if item is valid, i.e. not the empty default item
void clear()
clear all internal member variables
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrscs.h:324
OFCondition getPhotometricInterpretation(OFString &value, const signed long pos=0) const
get PhotometricInterpretation (0028,0004)
OFBool isEmpty()
check if item is empty
OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setCompensatorTrayID(const OFString &value, const OFBool check=OFTrue)
set CompensatorTrayID (300a,00ef)
const Item & operator[](const size_t num) const
get particular item in the sequence
static OFCondition readSingleItem(DcmItem &source, const DcmTagKey &seqKey, Container &destination, const OFString &type, const OFString &module)
Reads single DICOM item from a specific sequence into a destination class.
Definition: iodutil.h:543
EM_Overlay DefaultMode
default (stored) overlay mode
Definition: diovpln.h:456
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getStructureSetName(OFString &value, const signed long pos=0) const
get StructureSetName (3006,0004)
OFCondition setTreatmentControlPointTime(const OFString &value, const OFBool check=OFTrue)
set TreatmentControlPointTime (3008,0025)
DcmIntegerString CompensatorColumns
CompensatorColumns (300a,00e8) vr=IS, vm=1, type=1.
Definition: drtcos.h:449
virtual OFCondition setConsultingPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ConsultingPhysicianName (0008,009c)
void sortGraphicLayers(Sint32 lowestLayer=1)
sorts the graphic layers according to the graphic layer order.
void copyPresentationLUTSettings(DVPSStoredPrint &sp)
copies the film box Presentation LUT settings into the stored print object passed by reference.
OFBool haveCurveGroup(Uint16 group)
check presence of curve group
OFdirectory_iterator & operator++()
Increment the iterator.
Item & operator=(const Item ©)
assigment operator
Item & operator=(const Item ©)
assigment operator
virtual OFCondition setRTImageLabel(const OFString &value, const OFBool check=OFTrue)
set RTImageLabel (3002,0002)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtdvhs.h:504
@ EDC_guess
perform color space conversion from YCbCr to RGB if JPEG data is color image, and the underlying JPEG...
Definition: djutils.h:181
virtual int getPlanes() const =0
get number of planes (abstract).
DcmRepresentationListIterator repListEnd
Iterator to the last dummy element in representation list.
Definition: dcpixel.h:155
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool parseOptions(const char *mnemonic, char *valueptr)
extract arguments from the config file.
Uint32 getTargetPrinterNumberOfPortraitDisplayFormats(const char *targetID)
returns the number of distinct values (separated by backslash characters) in the DISPLAYFORMAT entry ...
DcmDate studyDate
Module=General_Study, VR=DA, VM=1, Type 2.
Definition: dcmpstat.h:807
OFVector(size_type n, const T &v=T())
construct an OFVector with predefined content.
Definition: ofvector.h:105
virtual OFCondition setPerformedProcedureStepDescription(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepDescription (0040,0254)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrshs.h:363
DRTPhysiciansOfRecordIdentificationSequence & operator=(const DRTPhysiciansOfRecordIdentificationSequence ©)
assigment operator
@ ESP_LinOD
shape LIN OD
Definition: diutils.h:294
OFBool appliesToFrame(const Sint32 frameNumber) const
check whether the image reference applies to a specific frame.
virtual OFBool isValid() const
check whether the current internal state is valid.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtscs.h:324
const unsigned long CIF_IgnoreModalityTransformation
ignore modality transformation (rescale slope/intercept or LUT) stored in the dataset
Definition: diutils.h:80
virtual OFCondition check() const =0
Check whether functional group has valid and complete data.
static OFString & getDirNameFromPath(OFString &result, const OFString &pathName, const OFBool assumeDirName=OFTrue)
get directory name component from given path name.
virtual ~DSRDocumentTreeNodeHasSiblingsFilter()
destructor
@ _62_Zinc
(65054007,SCT,"^62^Zinc")
Definition: cid4020.h:78
DcmCodeString BeamLimitingDeviceRotationDirection
BeamLimitingDeviceRotationDirection (300a,0121) vr=CS, vm=1, type=1C.
Definition: drtcps.h:655
DcmObject * seek_to(unsigned long absolute_position)
seek within element in list to given element index (i.e.
This class implements a simple container that stores an input stream, the position of that input stre...
Definition: dcfcache.h:36
Item & getCurrentItem()
get current item in the sequence
void clear()
clear all internal member variables
Item & operator[](const size_t num)
get particular item in the sequence
static const OFBool is_specialized
OFTrue for all T for which there exists a specialization of OFnumeric_limits, OFFalse otherwise.
Definition: oflimits.h:154
EnumType
available languages (in alphabetical order).
Definition: cid5000.h:42
Item & getCurrentItem()
get current item in the sequence
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
Interface class for ReferencedSeriesSequence (0008,1115)
Definition: drtrsers.h:29
virtual OFCondition get(CodeSequenceMacro &typeCode, CodeSequenceMacro &typeModifierCode, CodeSequenceMacro &unitsCode, const Float32 *&statisticValues, unsigned long &numValues)
Get Track statistic information.
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
const char * getUserID(Uint32 idx)
returns the symbolic identifier of the user with the given index.
OFCondition getItem(const size_t idx, Float32 &x, Float32 &y, Float32 &z) const
get copy of the specified value triplet
@ FastDiffusionCoefficientFraction
(113293,DCM,"Fast Diffusion Coefficient Fraction"), included from CID 7272
Definition: cid7469.h:132
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
DcmLongString ClinicalTrialSponsorName
ClinicalTrialSponsorName (0012,0010) vr=LO, vm=1, type=1.
Definition: drtimage.h:4856
virtual OFCondition getSeriesTime(OFString &value, const signed long pos=0) const
get SeriesTime (0008,0031)
OFCondition getCodingSchemeRegistry(OFString &value, const signed long pos=0) const
get CodingSchemeRegistry (0008,0112)
virtual OFCondition setCommentsOnThePerformedProcedureStep(const OFString &value, const OFBool check=OFTrue)
set CommentsOnThePerformedProcedureStep (0040,0280)
virtual ssize_t write(void *buf, size_t nbyte)
attempts to write nbyte bytes from the given buffer to the transport connection.
OFCondition findAndGetElements(const DcmTagKey &tagKey, DcmStack &resultStack)
find all elements matching a particular tag and return references to them on a stack.
int pt
for lossless compression, defines point transform
Definition: djeijg16.h:150
static OFBool isTimeValid(const unsigned int hour, const unsigned int minute, const double second, const double timeZone)
check whether the given time is valid.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual void clearData()
Clears all references.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drticps.h:1016
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual ~DRTExposureSequence()
destructor
size_t find_last_not_of(char c, size_t pos=OFString_npos) const
scans the current string up to the position pos and determines the highest location,...
size_t getNumberOfItems() const
get number of items in the sequence
void clearEntriesInNodeList()
clear all entries in the list of node IDs, i.e. set them to their initial value, which is 0
DcmCodeString SetupDeviceType
SetupDeviceType (300a,01b6) vr=CS, vm=1, type=1.
Definition: drtsds.h:201
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition gotoNextItem()
goto next item in the sequence
const char * getCurrentSignatureValidationOverview() const
returns a string containing a complete HTML page with the signature validation overview.
int setPresentationLutShape(const ES_PresentationLut shape)
set shape for presentation transformation.
Definition: dcmimage.h:925
static OFBool isConversionAvailable()
check whether the underlying character set conversion library is available.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getReferencedSegmentNumber(OFVector< Uint16 > &values)
Get Referenced Segment Number.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
@ ThoracicSpine
(122495006,SCT,"Thoracic spine")
Definition: cid4031.h:230
a base class for all classes that implement hash functions.
Definition: simac.h:37
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
DcmQuantHistogramItemList()
constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
void next_section(unsigned int level)
sets cursor to the next entry at the given level (without changing the cursor position at higher leve...
virtual size_t addByReferenceRelationship(const E_RelationshipType relationshipType, const size_t referencedNodeID)
add specified by-reference relationship to the current content item.
Class for checking the relationship content constraints of the Chest CAD SR IOD.
Definition: dsrchecc.h:44
@ Fluorouracil_F18
(425236000,SCT,"Fluorouracil F^18^")
Definition: cid4021.h:168
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFBool modified
flag indicating whether or not this DICOMDIR has been modified after being read from file.
Definition: dcdicdir.h:204
OFBool isEmpty()
check if sequence is empty
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmLongString SoftwareVersions
SoftwareVersions (0018,1020) vr=LO, vm=1-n, type=3.
Definition: drtiontr.h:3057
DRTRangeShifterSettingsSequenceInRTIonBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
const Item & getCurrentItem() const
get current item in the sequence
DVPSGraphicObject * addGraphicObject(const char *layer, const char *sopclassUID, const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability, DVPSGraphicObject *graphic=NULL)
creates a new graphic object on the given layer.
OFCondition getDVHMaximumDose(OFString &value, const signed long pos=0) const
get DVHMaximumDose (3004,0072)
OFCondition getDVHData(Float64 &value, const unsigned long pos=0) const
get DVHData (3004,0058)
virtual OFCondition checkSOPInstance(const OFString &sopClassUID, const OFString &sopInstanceUID, const OFString &transferSyntaxUID, const OFBool checkValues)
check given SOP Class UID, SOP Instance UID and Transfer Syntax UID for validity and conformance to t...
OFString m_imageFile
The input file.
Definition: i2dimgs.h:114
XMLNode deepCopy() const
deep copy (duplicate/clone) a XMLNode
Item & getItem(const size_t num)
get particular item in the sequence
DcmDateTime AttributeModificationDateTime
AttributeModificationDateTime (0400,0562) vr=DT, vm=1, type=1.
Definition: drtoas.h:173
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getRecommendedLineThickness(Float32 &value, const unsigned long pos=0)
Get Recommended Line Thickness.
DcmLongString ClinicalTrialCoordinatingCenterName
ClinicalTrialCoordinatingCenterName (0012,0060) vr=LO, vm=1, type=2.
Definition: drtplan.h:3205
OFCondition write(DcmItem &dataset) const
write list of referenced SOP instances.
OFCondition getLUTData(Uint16 *&value, unsigned long *count=NULL) const
get LUTData (0028,3006)
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
const unsigned long CIF_UsePresentationState
use presentation state instead of 'built-in' LUTs & overlays
Definition: diutils.h:71
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_CouldNotAddFG
Could not create functional group.
DCMTK_DCMDATA_EXPORT const char * dcmAllStorageSOPClassUIDs[]
an array of const strings containing all known Storage SOP Classes that fit into the conventional PAT...
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
virtual OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
virtual OFCondition getClinicalTrialSeriesID(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesID (0012,0071)
DcmTCPConnection(const DcmTCPConnection &)
private undefined copy constructor
DcmDataset & operator=(const DcmDataset &obj)
assignment operator
DRTReferencedDoseSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item(const Item ©)
copy constructor
virtual OFCondition setPerformedProcedureStepEndDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndDate (0040,0250)
this class describes the result of a database operation (for an incoming C-FIND, C-MOVE,...
Definition: dcmqrdbs.h:38
@ AP_GeneralPurposeBDMPEG4HPatLV42_2D
General Purpose BD Interchange with MPEG-4 AVC/H.264 HiP@Level4.2 for 2D video (STD-GEN-BD-MPEG4-HPLV...
Definition: dcddirif.h:137
OFCondition getPatientID(OFString &value, const signed long pos=0) const
get PatientID (0010,0020)
DcmLongString ClinicalTrialCoordinatingCenterName
ClinicalTrialCoordinatingCenterName (0012,0060) vr=LO, vm=1, type=2.
Definition: drtiontr.h:3034
Uint32 Count
number of LUT entries
Definition: dibaslut.h:278
virtual OFCondition putSint32Array(const Sint32 *sintVals, const unsigned long numSints)
set element value to given integer array data
void removeAllButCurrentRepresentations()
removes all but the current representation and sets the original representation to current
void SetNoSequenceExpansion(OFBool value)
Set value in a member variable.
OFBool isEmpty()
check if item is empty
Item(const Item ©)
copy constructor
Item(const Item ©)
copy constructor
virtual ~SiCreatorProfile()
destructor
Definition: sicreapr.h:43
Item & operator[](const size_t num)
get particular item in the sequence
static OFString dumpX509Certificate(X509 *peerCertificate)
gets the most important attributes of the given X.509 certificate.
const Item & getItem(const size_t num) const
get particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item EmptyItem
empty default item
Definition: drtbcps.h:414
virtual OFCondition getBeamLimitingDeviceAngle(Float64 &value, const unsigned long pos=0) const
get BeamLimitingDeviceAngle (300a,0120)
OFBool isEmpty()
check if sequence is empty
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmIntegerString ReferencedROINumber
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=2C.
Definition: drtchs.h:653
static unsigned long getElemValue(const DcmElement *elem, OFString &returnVal, const unsigned long pos=0)
get value of given element (OFString)
virtual void append(DcmConsumer &consumer)=0
determines the consumer to which the filter is supposed to write it's output.
DSRTree & operator=(DSRTree< T > tree)
assignment operator.
Definition: dsrtree.h:552
Item & getItem(const size_t num)
get particular item in the sequence
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtrics.h:362
DRTReferencedBolusSequenceInRTBeamsModule & getReferencedBolusSequence()
get ReferencedBolusSequence (300c,00b0)
Definition: drtbs.h:474
virtual OFCondition getMeasuredAPDimension(OFString &value, const signed long pos=0) const
get MeasuredAPDimension (0010,1023)
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read Alternate Content Description Sequence item from given item.
Template class to handle color pixel data.
Definition: dicopxt.h:100
void clear()
clear all internal member variables
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition gotoNextItem()
select the next item in the list
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
virtual OFCondition setSoftwareVersions(const OFString &value, const OFBool check=OFTrue)
set SoftwareVersions (0018,1020)
DRTRequestingServiceCodeSequence RequestingServiceCodeSequence
RequestingServiceCodeSequence (0032,1034) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4907
DcmDecimalString PixelSpacing
PixelSpacing (0028,0030) vr=DS, vm=2, type=1.
Definition: drtdose.h:4413
int vfprintf(const char *format, va_list arg)
print formatted string into stream, see printf(3)
Definition: offile.h:919
void clear()
clear all internal member variables
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
DcmUnsignedShort reflectedAmbientLight
VR=US, VM=1, Type 2c required if presentation SOP class present.
Definition: dvpsfs.h:166
virtual DcmObject * clone() const
clone method
Definition: dcvrul.h:87
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
OFshared_ptr< IODRules > getRules()
Get rules handled by this module.
Definition: modbase.h:106
OFBool hasValidGroup() const
returns true, if group is valid (permitted in DICOM command or data sets).
Definition: dctagkey.h:320
OFCondition setReference(const OFString &sopClassUID, const OFString &sopInstanceUID, const OFBool check=OFTrue)
set SOP class UID and SOP instance UID value.
SiPrivateKey & operator=(SiPrivateKey &arg)
private undefined copy assignment operator
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtes.h:515
OFCondition gotoNextItem()
goto next item in the sequence
virtual void clearData()
Clears all data.
@ EXS_JPEGProcess20_22
JPEG Spectral Selection, Hierarchical (lossy, 8/12 bit)
Definition: dcxfer.h:71
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrcs.h:374
Definition: jmemsys12.h:139
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition setCodingSchemeName(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeName (0008,0115)
void clear()
clear all internal member variables
virtual OFCondition getMeasuredAPDimension(OFString &value, const signed long pos=0) const
get MeasuredAPDimension (0010,1023)
OFBool getHostLookupEnabled() const
Returns whether a connecting system's host name is looked up.
virtual OFCondition setInstanceCreationTime(const OFString &value, const OFBool checkValue=OFTrue)
Set Instance Creation Date.
OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write current list in XML format
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmAgeString PatientAge
PatientAge (0010,1010) vr=AS, vm=1, type=3.
Definition: drttreat.h:2782
DcmQuantColorHashTable & operator=(const DcmQuantColorHashTable &src)
private undefined copy assignment operator
virtual ~Item()
destructor
virtual OFCondition getAuthorizationEquipmentCertificationNumber(OFString &value, const signed long pos=0) const
get AuthorizationEquipmentCertificationNumber (0100,0426)
const DRTFractionGroupSequence & getFractionGroupSequence() const
get FractionGroupSequence (300a,0070)
Definition: drtionpl.h:1397
static const size_t RF_readDigitalSignatures
read digital signatures from dataset
Definition: dsrtypes.h:254
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Item(const Item ©)
copy constructor
DcmIntegerString NumberOfScanSpotPositions
NumberOfScanSpotPositions (300a,0392) vr=IS, vm=1, type=1C.
Definition: drticps.h:799
virtual OFCondition setPatientPosition(const OFString &value, const OFBool checkValue=OFTrue)
Set Patient Position.
@ EVR_OW
other word
Definition: dcvr.h:174
virtual const OFString & getDelimiterChars() const
get delimiter characters specifying when to switch back to the default character set (in case code ex...
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool lockingMode
locking mode (OFFalse => shared, OFTrue => exclusive)
Definition: dviface.h:1660
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
DcmRLEEncoder(int doPad)
default constructor
Definition: dcrleenc.h:66
virtual OFCondition setMeasuredAPDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredAPDimension (0010,1023)
virtual OFCondition setLongitudinalTemporalEventType(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalEventType (0012,0053)
@ VT_SCoord3D
DICOM Value Type: SCOORD3D.
Definition: dsrtypes.h:603
OFshared_ptr(const OFshared_ptr &other)
Constructs a shared_ptr which shares ownership of the object managed by other.
Definition: ofmem.h:93
virtual OFBool attributeForbidden(const DcmTagKey &key) const =0
checks whether an attribute with the given tag must not be signed for the current security profile.
OFCondition getNumberOfBlocks(Sint32 &value, const unsigned long pos=0) const
get NumberOfBlocks (300a,00f0)
DRTControlPointSequence & getControlPointSequence()
get ControlPointSequence (300a,0111)
Definition: drtbs.h:426
DRTMACParametersSequence & getMACParametersSequence()
get MACParametersSequence (4ffe,0001)
Definition: drtionpl.h:1511
DRTPatientBreedCodeSequence & getPatientBreedCodeSequence()
get PatientBreedCodeSequence (0010,2293)
Definition: drtimage.h:2782
FGInterface m_FGInterface
Multi-frame Functional Groups high level interface.
Definition: dpmparametricmapbase.h:224
E_DirectoryGenerationMode
modes for generating subdirectories
Definition: dstorscp.h:59
DcmUnsignedShort(const DcmTag &tag)
constructor.
DcmListNode & operator=(const DcmListNode &)
private undefined copy assignment operator
@ PT_CompositingPlanarMPR
Compositing Planar MPR Volumetric Presentation State (CP-VPS)
Definition: dsrtypes.h:643
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition toFrontGraphicLayer(size_t idx)
makes a graphic layer the highest layer for display.
virtual OFCondition getCardiacCyclePosition(OFString &value, const signed long pos=0)
Get Cardiac Cycle Position.
@ CS_Latin4
ISO-IR 110: Latin alphabet No. 4.
Definition: dsrtypes.h:801
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setBurnedInAnnotation(const OFString &value, const OFBool checkValue=OFTrue)
Set Burned In Annotation.
unsigned long create6xxx3000Data(Uint8 *&buffer, unsigned int &width, unsigned int &height, unsigned long &frames)
create overlay plane data in (6xxx,3000) format.
OFCondition setConversionFlags(const unsigned flags)
set flags controlling converter behavior, e.g. illegal character sequences should be handled during c...
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_ApplicationProfileViolated
Storage media application profile violated.
DRTCodingSchemeResourcesSequence CodingSchemeResourcesSequence
CodingSchemeResourcesSequence (0008,0109) vr=SQ, vm=1, type=3.
Definition: drtcsis.h:223
const char * getPStateLabel(Uint32 idx)
returns label of specified presentation state referencing the currently selected image.
const char * createInstanceUID()
generates a new SOP Instance UID for the Presentation State.
T & back()
get a reference to the last element of this vector.
Definition: ofvector.h:286
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drthsdrs.h:155
const OFString & getPeerHostName() const
Returns the SCP's (peer's) host configured.
const DiLookupTable * getTableData() const
get pointer to lookup table data
Definition: dimomod.h:183
@ EFGS_ONLYSHARED
Functional Group can only be shared (not per-frame)
Definition: fgtypes.h:180
OFCondition errorFlag
condition flag
Definition: dcdicdir.h:196
Defines macros for controlling compiler diagnostic output, i.e. warnings.
virtual SharedAppenderPtr getAppender(const log4cplus::tstring &name)
Look for an attached appender named as name.
DSRTypes::E_GraphicType getGraphicType() const
get current graphic type.
Definition: dsrscovl.h:180
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmFileFormat format_
File format that was used when last loading an image.
Definition: drmimage.h:266
virtual CodeSequenceMacro & getContentCreatorIdentificationCode()
Get Content Creator Identification Code.
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtajcs.h:333
virtual OFCondition getSpatialResolution(Float64 &value, const unsigned long pos=0) const
get SpatialResolution (0018,1050)
DRTReferencedSetupImageSequence(const DRTReferencedSetupImageSequence ©)
copy constructor
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
a hash table of pointers to DcmDictEntry objects
Definition: dchashdi.h:193
const DRTDeliveredDepthDoseParametersSequence & getDeliveredDepthDoseParametersSequence() const
get DeliveredDepthDoseParametersSequence (300a,0506)
Definition: drttsibs.h:544
DRTPrivateDataElementDefinitionSequence & getPrivateDataElementDefinitionSequence()
get PrivateDataElementDefinitionSequence (0008,0310)
Definition: drtpdecs.h:141
DRTBreedRegistrationSequence BreedRegistrationSequence
BreedRegistrationSequence (0010,2294) vr=SQ, vm=1, type=2C.
Definition: drttreat.h:2683
void setFrameNumbers(const char *frames)
set the list of frame numbers of this image reference.
a class representing the DICOM value representation 'Floating Point Single' (FL)
Definition: dcvrfl.h:35
static OFCondition updateCodecParameter(const DcmCodec *aCodec, const DcmCodecParameter *aCodecParameter)
updates the codec parameters object for a codec that has been registered before.
OFCondition setPETImageRadiopharmaceuticalVolume(const CMR_SRNumericMeasurementValue &volume, const OFBool check=OFTrue)
set the value of the descriptor 'Radiopharmaceutical Volume' (TID 1607 - Row 6) for the current (most...
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrpcs.h:533
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtlsds7.h:134
virtual OFCondition setLongitudinalTemporalEventType(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalEventType (0012,0053)
virtual void transferEnd()
finalize the transfer state of this object.
@ PM_Optional
parameter is optional (# = 0..1), "[option]"
Definition: ofcmdln.h:97
virtual void setCheckFGOnWrite(const OFBool doCheck)
If enabled, functional group structure is checked before actual writing is performed in the write() m...
OFCondition getRangeModulatorGatingStopWaterEquivalentThickness(Float32 &value, const unsigned long pos=0) const
get RangeModulatorGatingStopWaterEquivalentThickness (300a,0388)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmUnlimitedText(const DcmUnlimitedText &old)
copy constructor
size_t gotoNode(const OFString &position, const char separator='.')
set cursor to specified node.
Definition: dsrtncsr.h:687
Item & operator=(const Item ©)
assigment operator
void clear()
clear all internal member variables
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtmucs.h:351
this class describes configuration settings for the quota of a storage area
Definition: dcmqrcnf.h:115
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrims.h:184
void clear()
clear all internal member variables
void setInsistOnJFIF(const OFBool enabled)
If enabled, conversion will only take place if JFIF data could be found and evaluated.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item & operator=(const Item ©)
assigment operator
OFCondition getApplicatorApertureShape(OFString &value, const signed long pos=0) const
get ApplicatorApertureShape (300a,0432)
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
int opt_acse_timeout
timeout for ACSE operations
Definition: wlcefs.h:88
void clear()
clear all internal member variables
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
DIC_AE calledAETitle
Called AE title.
Definition: scp.h:52
STD_NAMESPACE ostream * currentCerr
pointer to current cerr stream, never NULL
Definition: ofconsol.h:224
DSRPositionCounter Position
counter for the current position within the current level and on upper levels
Definition: dsrtncsr.h:316
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition getWedgeNumber(OFString &value, const signed long pos=0) const
get WedgeNumber (300a,00d2)
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtrscs.h:205
DRTROIPhysicalPropertiesSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmLongString IssuerOfPatientID
IssuerOfPatientID (0010,0021) vr=LO, vm=1, type=3.
Definition: drttreat.h:2645
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
OFCondition getPurposeOfReference(DSRCodedEntryValue &codeValue) const
get purpose of reference code of the currently selected entry (optional)
virtual ~DSRDocumentSubTree()
destructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Item(const Item ©)
copy constructor
T_ASC_PresentationContextID findPresentationContextID(const OFString &abstractSyntax, const OFString &transferSyntax, const T_ASC_SC_ROLE requestorRole=ASC_SC_ROLE_DEFAULT)
After negotiation association, this call returns the first usable presentation context given the desi...
ES_PresentationLut PresLutShape
presentation LUT shape (identity, inverse or lin od)
Definition: dimoimg.h:1119
OFCondition getLocalNamespaceEntityID(OFString &value, const signed long pos=0) const
get LocalNamespaceEntityID (0040,0031)
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the value of this element with a given element of the same type (e....
OFBool operator>(const OFpath &lhs, const OFpath &rhs)
Lexicographically compare two paths.
static const int radix
The base of the number system used in the representation of the type.
Definition: oflimits.h:551
virtual OFCondition setSegmentationAlgorithmIdentification(const AlgorithmIdentificationMacro &value, const OFBool checkValue=OFTrue)
Set Segmentation Algorithm Identification.
DRTBlockSequenceInRTImageModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTApplicatorSequenceInRTBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmPersonName ResponsiblePerson
ResponsiblePerson (0010,2297) vr=PN, vm=1, type=2C.
Definition: drttreat.h:2697
virtual ~DJCodecParameter()
destructor
OFBool operator()(const void *queryData, const size_t querySize, const void *candidateData, const size_t candidateSize) const
Match the given query and candidate using the internally stored matching function.
Item class.
Definition: drtircs.h:36
@ LEVEL_SERIES
Series Level.
Definition: iodreferences.h:53
Interface class for ROIElementalCompositionSequence (3006,00b6)
Definition: drtrecs.h:28
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getNumberOfFractionsPlanned(Sint32 &value, const unsigned long pos=0) const
get NumberOfFractionsPlanned (300a,0078)
const char * getSOPInstanceUID()
returns the SOP instance UID of the presentation LUT if present.
static OFCondition readDICOMImage(DicomImage *&di, OFBool isReference, const char *ifname, E_TransferSyntax xfer, E_FileReadMode readMode, unsigned long compatibilityMode, DcmItem *diffImage)
read DICOM image and store pointer to it
virtual OFCondition getUint32Array(Uint32 *&val)
get a pointer to the element value of the current element as type Uint32.
@ TKE_RSA
Static RSA key exchange.
Definition: tlsciphr.h:133
OFBool isEmpty()
check if sequence is empty
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
virtual OFCondition setGantryID(const OFString &value, const OFBool check=OFTrue)
set GantryID (0018,1008)
FGUnknown(const DcmTagKey &seqStartTag, const DcmFGTypes::E_FGSharedType sharedType=DcmFGTypes::EFGS_UNKNOWN)
Creates unknown (to the dcmfg class library) functional group.
DRTReferencedInstanceSequence ReferencedInstanceSequence
ReferencedInstanceSequence (0008,114a) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3138
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
Item EmptyItem
empty default item
Definition: drtdspcs.h:540
const DRTFractionGroupSummarySequence & getFractionGroupSummarySequence() const
get FractionGroupSummarySequence (3008,0220)
Definition: drttreat.h:1257
const char * getLUTFolder()
returns the folder to be used for Print Presentation LUTs.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
static int calculateCoefficients(const T1 *x, const T2 *y, const unsigned int n, const unsigned int o, T3_ *c)
calculate coefficients for resulting polynomial function.
Definition: dicrvfit.h:68
virtual OFCondition getFrameTime(Float64 &value, const unsigned long pos=0) const
get FrameTime (0018,1063)
virtual OFBool isEmpty(const OFBool normalize=OFTrue)
check if this item is empty
const OFGlobal< T > & operator=(const OFGlobal< T > &arg)
unimplemented private assignment operator
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
const char * getImageRequestedSize(size_t idx)
gets the requested size for the given registered image box.
OFCondition setRequestedDecimateCropBehaviour(DVPSDecimateCropBehaviour value)
sets the (optional) requested decimate/crop behaviour for this image box.
unsigned long maximumPrintBitmapHeight
maximum height of print bitmap (used for implicit scaling)
Definition: dviface.h:1759
DefaultConstructor()
The SCP must be default constructible.
TrcTractographyResults()
Protected default constructor.
DcmSegTypes::E_SegmentAlgoType m_SegmentAlgorithmType
Segment Algorithm Type: (CS, 1, Type 1)
Definition: segtypes.h:348
DCMTK_DCMSEG_EXPORT const OFConditionConst SG_EC_NoSuchSegment
error: specified segment does not exist
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setFluenceDataSource(const OFString &value, const OFBool check=OFTrue)
set FluenceDataSource (3002,0041)
DcmCodeString shutterShape
Module=Display_Shutter, VM=CS, VR=1-3, Type 1.
Definition: dcmpstat.h:890
OFCondition getNumericValue(Float64 &value, const unsigned long pos=0) const
get NumericValue (0040,a30a)
OFBool isEmpty()
check if item is empty
DcmUnsignedShort SmallestImagePixelValue
SmallestImagePixelValue (0028,0106) vr=US/SS, vm=1, type=3.
Definition: drtimage.h:5156
DSRCompositeReferenceValue * getCompositeReferencePtr()
get pointer to composite reference.
char * tagName
name of this attribute tag, remains NULL unless getTagName() is called
Definition: dctag.h:210
OFBool loadDictionary(const char *fileName, OFBool errorIfAbsent=OFTrue)
load a particular dictionary from file.
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtpcs.h:333
DcmIntegerString ReferencedLateralSpreadingDeviceNumber
ReferencedLateralSpreadingDeviceNumber (300c,0102) vr=IS, vm=1, type=1.
Definition: drtlsds7.h:139
DcmLongText CompensatorDescription
CompensatorDescription (300a,02eb) vr=LT, vm=1, type=3.
Definition: drtircs.h:406
DcmDateTime SOPAuthorizationDateTime
SOPAuthorizationDateTime (0100,0420) vr=DT, vm=1, type=3.
Definition: drtionpl.h:3287
Item class.
Definition: drtrims.h:37
const Item & getCurrentItem() const
get current item in the sequence
Interface class for IonWedgePositionSequence (300a,03ac)
Definition: drtiwps.h:28
OFBool matchesPresentationLUT(DVPSPrintPresentationLUTAlignment align) const
checks whether the given Presentation LUT type could be used together with all image boxes in this li...
OFDateTime(const unsigned int year, const unsigned int month, const unsigned int day, const unsigned int hour, const unsigned int minute, const double second, const double timeZone=0)
constructor
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtmucs.h:333
OFCondition getControlPointOrientation(Float32 &value, const unsigned long pos=0) const
get ControlPointOrientation (300a,0412)
virtual OFCondition setStrainNomenclature(const OFString &value, const OFBool check=OFTrue)
set StrainNomenclature (0010,0213)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbrdrs.h:322
virtual OFCondition getAliasedDataType(OFString &value, const signed long pos=0)
Get Aliased Data Type.
OFCondition getImageReference(DSRImageReferenceValue &referenceValue) const
get copy of image reference.
virtual ~SegmentedPropertyTypeCodeItem()
Virtual destructor, frees memory.
const Item & getCurrentItem() const
get current item in the sequence
DcmIntegerString NumberOfFrames
NumberOfFrames (0028,0008) vr=IS, vm=1, type=1.
Definition: drtimage.h:5239
virtual OFCondition getXRayImageReceptorTranslation(Float64 &value, const unsigned long pos=0) const
get XRayImageReceptorTranslation (3002,000d)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
virtual OFString getName() const
Get name of module ("ContentItemMacro")
void clear()
clear all internal member variables
OFCondition read(DcmItem &item)
read elements from sequence item
unsigned long getImageDisplayFormatRows()
gets the number of rows of the current image display format.
const_iterator begin() const
returns constant iterator pointing to the first element of this map
Definition: ofmap.h:119
virtual OFBool isValid() const
check whether the content item is valid.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getNumberOfBlockSlabItems(OFString &value, const signed long pos=0) const
get NumberOfBlockSlabItems (300a,0440)
virtual OFCondition makeSubObject(DcmObject *&subObject, const DcmTag &newTag, const Uint32 newLength)
helper function for read().
@ PancreaticDuctAndBileDuctSystems
(110621006,SCT,"Pancreatic duct and bile duct systems")
Definition: cid4031.h:178
@ Ultrasound
(US,DCM,"Ultrasound")
Definition: cid29.h:124
virtual OFCondition setLongitudinalTemporalInformationModified(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalInformationModified (0028,0303)
DRTBeamLimitingDeviceSequenceInRTBeamsModule & operator=(const DRTBeamLimitingDeviceSequenceInRTBeamsModule ©)
assigment operator
OFBool appliesToFrame(unsigned long frame)
checks whether this image reference applies to the given frame number.
DcmRLECodecEncoder()
default constructor
@ AP_GeneralPurposeBDMPEG4HPatLV41
General Purpose BD Interchange with MPEG-4 AVC/H.264 HiP@Level4.1 (STD-GEN-BD-MPEG4-HPLV41)
Definition: dcddirif.h:133
DcmTime TreatmentTime
TreatmentTime (3008,0251) vr=TM, vm=1, type=2.
Definition: drttreat.h:2926
OFBool dbCheckMoveIdentifier_
flag for database interface: check C-MOVE identifier
Definition: dcmqrsrv.h:162
static OFString cq2Str(const ContentQualification cq)
Convert Content Qualification enum to OFString.
void setOutputFileName(OFString fName)
Sets the output file name.
OFCondition addFindingSite(const DSRCodedEntryValue &site, const CID244e_Laterality &laterality=CID244e_Laterality(), const DSRCodedEntryValue &siteModifier=DSRCodedEntryValue(), const OFBool check=OFTrue)
add a 'Finding Site' content item (TID 1419 - Row 9, 10 and 11)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
the list of graphic annotations contained in a presentation state (internal use only).
Definition: dvpsgal.h:41
DSRCodedEntryValue(const OFString &codeValue, const OFString &codingSchemeDesignator, const OFString &codeMeaning, const DSRTypes::E_CodeValueType codeValueType=DSRTypes::CVT_auto, const OFExplicitBool check=OFTrue)
constructor.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrdrs8.h:351
DVIFhierarchyStatus getInstanceStatus()
returns the review status of the currently selected instance.
Helper class for resolving overloaded functions.
Definition: ofexbl.h:39
const Item & getItem(const size_t num) const
get particular item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getCommentsOnThePerformedProcedureStep(OFString &value, const signed long pos=0) const
get CommentsOnThePerformedProcedureStep (0040,0280)
OFString m_aetitle
AE title to be used for responding to SCU (default: DCMTK_SCP).
Definition: scpcfg.h:348
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
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_InvalidValue
error: a value is invalid according to the DICOM standard
Item(const Item ©)
copy constructor
virtual OFCondition getQualityControlSubject(OFString &value, const signed long pos=0) const
get QualityControlSubject (0010,0200)
Item EmptyItem
empty default item
Definition: drtris.h:332
const Item & operator[](const size_t num) const
get particular item in the sequence
LogLevel getThreshold() const
Returns this appenders threshold LogLevel.
Definition: appender.h:192
virtual ~DRTTreatmentSessionIonBeamSequence()
destructor
Item & getCurrentItem()
get current item in the sequence
void clear()
clear all internal member variables
const Item & getItem(const size_t num) const
get particular item in the sequence
size_t bytesInLastBlock
filled number of bytes in last block in pixelDataList
Definition: djeijg16.h:159
virtual OFBool validByReferenceRelationship(const OFString &sourcePosition, const OFString &targetPosition)
check whether a by-reference relationship from a given source to a target node (specified by the posi...
OFCondition getActiveSourceLength(Float64 &value, const unsigned long pos=0) const
get ActiveSourceLength (300a,021a)
DcmCodeString PatientSupportRotationDirection
PatientSupportRotationDirection (300a,0123) vr=CS, vm=1, type=1C.
Definition: drticpds.h:846
DcmLongString IssuerOfPatientID
IssuerOfPatientID (0010,0021) vr=LO, vm=1, type=3.
Definition: drtdose.h:4082
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmDecimalString OrganAtRiskFullVolumeDose
OrganAtRiskFullVolumeDose (300a,002a) vr=DS, vm=1, type=3.
Definition: drtdrs.h:499
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_PrematureSequDelimitationItem
Sequence delimiter occurs before explicit item length is completely read.
const Item & getItem(const size_t num) const
get particular item in the sequence
Interface class for RecordedWedgeSequence (3008,00b0)
Definition: drtrws.h:28
const Item & getCurrentItem() const
get current item in the sequence
DcmCodeString PatientSex
PatientSex (0010,0040) vr=CS, vm=1, type=2.
Definition: drtplan.h:2981
DcmUniqueIdentifier RelatedGeneralSOPClassUID
RelatedGeneralSOPClassUID (0008,001a) vr=UI, vm=1-n, type=3.
Definition: drtdose.h:4652
OFString dfPath
path to database files
Definition: wldsfs.h:45
Item & operator=(const Item ©)
assigment operator
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmDate FirstTreatmentDate
FirstTreatmentDate (3008,0054) vr=DA, vm=1, type=2.
Definition: drttreat.h:2939
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getCompensatorColumns(OFString &value, const signed long pos=0) const
get CompensatorColumns (300a,00e8)
virtual OFCondition getColumns(Uint16 &value, const unsigned long pos=0) const
get Columns (0028,0011)
@ TCS_unspecifiedError
unspecified error
Definition: dcmlayer.h:66
virtual OFCondition convertToUTF8()
convert all element values that are contained in this item and that are affected by SpecificCharacter...
DcmUnlimitedCharacters StrainDescription
StrainDescription (0010,0212) vr=UC, vm=1, type=3.
Definition: drtplan.h:3009
@ VolumetricDiffusionDyyComponent
(110813,DCM,"Volumetric Diffusion Dyy Component"), included from CID 7270
Definition: cid7469.h:110
DcmDecimalString SourceAxisDistance
SourceAxisDistance (300a,00b4) vr=DS, vm=1, type=3.
Definition: drtbs.h:787
OFBool isEmpty()
check if sequence is empty
const char * xferID
transfer syntax UID
Definition: dcxfer.h:310
static void initialize()
initialize this context group explicitly.
virtual IODSegmentationSeriesModule & getSegmentationSeriesModule()
Get Segmentation Series Module.
const Item & operator[](const size_t num) const
get particular item in the sequence
helper class maintaining an entry in a DcmList double-linked list
Definition: dclist.h:41
int MaxParamCount
maximum number of parameter which should be accepted
Definition: ofcmdln.h:1103
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
Item & getItem(const size_t num)
get particular item in the sequence
DRTDigitalSignaturePurposeCodeSequence & getDigitalSignaturePurposeCodeSequence()
get DigitalSignaturePurposeCodeSequence (0400,0401)
Definition: drtdss.h:156
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
static const int digits
The number of digits in base-radix that can be represented by the type T without change.
Definition: oflimits.h:475
virtual ~Item()
destructor
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool ConsistencyCheck
check consistency of newly added record
Definition: dcddirif.h:1582
virtual ~DcmTLSCiphersuiteHandler()
destructor
OFCondition getBeamCurrentModulationID(OFString &value, const signed long pos=0) const
get BeamCurrentModulationID (300a,034c)
virtual OFCondition getSeriesNumber(OFString &value, const signed long pos=0) const
get SeriesNumber (0020,0011)
void updateCache(DcmObject *dobj)
updates the private creator cache with the given object.
DRTAssigningAgencyOrDepartmentCodeSequence(const DRTAssigningAgencyOrDepartmentCodeSequence ©)
copy constructor
Class implementing the SOP Instance Reference Macro.
Definition: iodmacro.h:336
OFCondition setEquivalentMeaningOfConceptName(const OFString &meaning, const OFBool check=OFTrue)
set the value of the 'Equivalent Meaning of Concept Name' content item (TID 1419 - Row 18).
Class for SR numeric values and measurements (extended version with additional support of the DICOM C...
Definition: srnumvl.h:33
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
double getBoundingBoxTLHC_y()
gets the bounding box TLHC y value.
@ Choline_C11
(126703,DCM,"Choline C^11^")
Definition: cid4021.h:90
OFCondition getRadiationMassNumber(OFString &value, const signed long pos=0) const
get RadiationMassNumber (300a,0302)
virtual OFCondition getSOPClassUID(OFString &value, const signed long pos=0) const
get SOPClassUID (0008,0016)
this class encapsulates the compression routines of the IJG JPEG library configured for 16 bits/sampl...
Definition: djeijg16.h:44
XMLCSTR getName() const
name of the node
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtsdcs.h:347
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition setSpecificCharacterSet(const OFString &value, const OFBool check=OFTrue)
set SpecificCharacterSet (0008,0005)
virtual OFCondition getClinicalTrialSponsorName(OFString &value, const signed long pos=0) const
get ClinicalTrialSponsorName (0012,0010)
virtual OFCondition setFloatPixelPaddingValue(const Float32 value, const OFBool checkValue=OFTrue)
Set Float Pixel Pixel Padding Value.
OFBool ignore_missing_tags_option
if true, 'tag not found' errors are treated as being successful for modify and erase operations
Definition: mdfconen.h:195
Single consumer, multiple producers queue.
Definition: queue.h:49
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drttts.h:544
DcmCodeString borderDensity
Module=Film_Box_Module, VR=CS, VM=1, Type 3.
Definition: dvpssp.h:1020
static E_TransferSyntax associatedTS(const E_JPGMARKER &jpegEncoding)
Returns if possible the DICOM transfer syntax matching the coding of the JPEG data.
~DcmDictEntry()
destructor
DSRDocumentTreeNodeFilterList()
default constructor
virtual OFCondition importFromSourceImage(const OFString &filename, const OFBool takeOverCharset=OFTrue)
Import Patient, Study, and Frame of Reference level information from the given item.
DcmTransportLayerStatus addTrustedClientCertificateFile(const char *fileName)
loads certificates from a file and adds them to the pool of trusted client certificates.
OFCondition setImageRelativeDisplayedArea(DVPSPresentationSizeMode sizeMode, Sint32 tlhcX, Sint32 tlhcY, Sint32 brhcX, Sint32 brhcY, double magnification=1.0, DVPSObjectApplicability applicability=DVPSB_currentImage)
sets the displayed area and size mode (for the current frame, the current image or all images referen...
OFBool resolutionCheck() const
get current status of the "spatial resolution check" mode.
Definition: dcddirif.h:420
DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule(const DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule ©)
copy constructor
size_t getNumberOfItems() const
get number of items in the sequence
Class for checking the relationship content constraints of the X-Ray Radiation Dose SR IOD.
Definition: dsrxrdcc.h:46
OFCondition startPrintSpooler()
starts the print spooler process.
E_MarkupMode
Markup language mode.
Definition: ofstd.h:81
OFCondition getCompositeReference(DSRCompositeReferenceValue &referenceValue) const
get copy of composite reference.
@ IMAGETYPE_UNKNOWN
Unknown.
Definition: iodtypes.h:122
DcmDataset * dset
will hold the dataset that should be modified
Definition: mdfdsman.h:242
OFCondition getPatientSupportRotationDirection(OFString &value, const signed long pos=0) const
get PatientSupportRotationDirection (300a,0123)
unsigned long getNumberOfUntrustworthySignatures(DVPSObjectType objtype) const
returns number of untrustworthy signatures for given object type.
OFBool m_inventMissingType2Attribs
if enabled, missing type 2 attributes in the dataset are added automatically.
Definition: i2doutpl.h:214
OFvariant & operator=(const OFvariant &rhs)
Copy assigns the value rhs holds to *this.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition setManufacturer(const OFString &value, const OFBool checkValue=OFTrue)
Set Manufacturer.
IODImageReference()
Default constructor, uses level STUDY.
Item(const Item ©)
copy constructor
OFListIterator(Item *) CurrentItem
currently selected item
IODSOPCommonModule()
Constructor.
OFString htmlSR
current SR html page
Definition: dvsighdl.h:179
virtual void clearData()
Clear data within this group.
DRTScheduledProtocolCodeSequence & operator=(const DRTScheduledProtocolCodeSequence ©)
assigment operator
DcmDecimalString DoseRateSet
DoseRateSet (300a,0115) vr=DS, vm=1, type=3.
Definition: drtcps.h:661
virtual void inventMissing()
Set missing values by inventing "default values".
EnumType
types of numeric value qualifier
Definition: cid42.h:42
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
Item class.
Definition: drtcbars.h:38
OFBool isEmpty()
check if sequence is empty
DVPSStoredPrint_PList()
default constructor
OFCondition setReferencedSegment(const DSRImageReferenceValue &segment, const OFBool check=OFTrue)
set the value of the 'Referenced Segment' content item (TID 1411 - Row 7).
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence()
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtionpl.h:1319
DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule ReferencedRTPlanSequence
ReferencedRTPlanSequence (300c,0002) vr=SQ, vm=1, type=2.
Definition: drttreat.h:2928
DcmDecimalString XRayImageReceptorAngle
XRayImageReceptorAngle (3002,000e) vr=DS, vm=1, type=2.
Definition: drtimage.h:5292
DcmCodeString anchorPointVisibility
VR=CS, VM=1, Type 1c.
Definition: dvpstx.h:208
void set(const OFString &filename, const OFBool convert=OFFalse)
replace currently stored filename by given value
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTRequestAttributesSequence RequestAttributesSequence
RequestAttributesSequence (0040,0275) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2946
virtual int processNextFrames(const unsigned long fcount)
process next couple of frames
MdfConsoleEngine(const MdfConsoleEngine &)
private undefined copy constructor
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
OFBool isEmpty()
check if sequence is empty
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtchs.h:860
OFCondition getImageReference(size_t idx, const char *&studyUID, const char *&seriesUID, const char *&instanceUID)
returns the image UIDs that are required to look up the referenced image in the database
Definition: dvpssp.h:638
void printUsage(const OFCommandLine *cmd=NULL)
print usage (syntax of command line options) to standard output stream
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
Uint32 m_dimseTimeout
Timeout for DIMSE operations in seconds.
Definition: scpcfg.h:375
virtual OFCondition setPatientBirthDate(const OFString &value, const OFBool checkValue=OFTrue)
Set Patient's Birth Date.
static OFString & toLower(OFString &result, const OFString &value)
returns the lower-case version of a given string
@ RadiologicTechnologist
(159016003,SCT,"Radiologic Technologist")
Definition: cid7452.h:62
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
OFCondition setBeamLimitingDeviceAngleTolerance(const OFString &value, const OFBool check=OFTrue)
set BeamLimitingDeviceAngleTolerance (300a,0046)
OFCondition getRadiationAtomicNumber(OFString &value, const signed long pos=0) const
get RadiationAtomicNumber (300a,0304)
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFCondition setFinalCumulativeTimeWeight(const OFString &value, const OFBool check=OFTrue)
set FinalCumulativeTimeWeight (300a,02c8)
virtual OFCondition getClinicalTrialTimePointID(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointID (0012,0050)
DcmLongString ClinicalTrialSiteID
ClinicalTrialSiteID (0012,0030) vr=LO, vm=1, type=2.
Definition: drtdose.h:4159
OFCondition removeOverlayFromPresentationState(size_t idx)
removes an overlay from the presentation state.
virtual OFCondition setConcatenationInfo(const ConcatenationInfo &concatenationInfo)
Set concatenation information.
virtual ~DcmPrivateTagCache()
destructor
DcmIntegerString ChannelIdentificationCode
ChannelIdentificationCode (003a,0301) vr=IS, vm=1, type=1.
Definition: drtmacds.h:152
OFCondition write(DcmItem &item)
write elements to sequence item
Uint8 * buf_
write buffer
Definition: dcwcache.h:112
const OFString & getDestinationEncoding() const
get currently selected destination encoding, i.e. the name of the character set as used by the underl...
E_ParamValueStatus getParamAndCheckMin(const int pos, OFCmdFloat &value, const OFCmdFloat low, const OFExplicitBool incl=OFTrue)
gets value of specified parameter as floating point and checks for given boundary
@ Recording
(121097,DCM,"Recording")
Definition: cid7445.h:46
OFCondition write(DcmItem &item)
write elements to sequence item
DcmTime SeriesTime
SeriesTime (0008,0031) vr=TM, vm=1, type=3.
Definition: drttreat.h:2848
OFCondition moveGraphicObject(const char *old_layer, const char *sopclassUID, const char *instanceUID, unsigned long frame, size_t idx, DVPSObjectApplicability applicability, const char *new_layer)
moves the graphic object with the given index on the given layer to a different layer.
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
DRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModule & operator=(const DRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModule ©)
assigment operator
OFBool isEmpty()
check if sequence is empty
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtdimcs.h:205
DcmCodeString SOPInstanceStatus
SOPInstanceStatus (0100,0410) vr=CS, vm=1, type=3.
Definition: drtiontr.h:3182
helper class for working with radio therapy plan objects.
Definition: drmplan.h:37
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_UnknownDocumentType
error: the document type (SOP class UID) is unknown or not supported
void setISOLatin1(OFBool insertLatin1)
Enables/disables autotmatic insertion of the value "ISO_IR100" as a value for the Specific Character ...
virtual OFCondition getOFString(OFString &str, const unsigned long pos, OFBool normalize=OFTrue)
retrieve a single value of type string.
DcmShortString BeamCurrentModulationID
BeamCurrentModulationID (300a,034c) vr=SH, vm=1, type=1C.
Definition: drtrms.h:195
OFBool operator!=(const OFUUID &other) const
Compare this instance to another OFUUID instance.
Definition: ofuuid.h:100
virtual SharedAppenderPtrList getAllAppenders()
Get all previously added appenders as an vectory.
Item class.
Definition: drtcims.h:40
const char * peerHostName
current peer to talk to
Definition: dcmqrtis.h:255
DVPSOverlay_PList & operator=(const DVPSOverlay_PList &)
private undefined assignment operator
IODSeriesAndInstanceReferenceMacro m_ReferencedSeriesAndInstance
The Series and Instance Reference Macro used in this item.
Definition: modcommoninstanceref.h:240
virtual FGBase * clone() const
Returns a deep copy of this object.
virtual void clear()
Cleans up set of functional groups and frees the related memory.
OFString & insert(size_t pos, const char *s)
constructs a temporary string from the input and inserts it into the current string.
OFCondition getTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource, OFString &mappingResourceUID) const
get template identifier and mapping resource and optional mapping resource UID.
Item & operator=(const Item ©)
assigment operator
DcmPersonName referringPhysicianName
Module=General_Study, VR=PN, VM=1, Type 2.
Definition: dvpssp.h:972
const void * user_
object that currently uses the file cache, i.e. has created the stream
Definition: dcfcache.h:108
DcmDirectoryRecord(const char *recordTypeName, const char *referencedFileID, const OFFilename &sourceFileName, DcmFileFormat *fileFormat=NULL)
constructor
OFCmdUnsignedInt opt_sleepAfterFind
indicates how long the application shall sleep after a find
Definition: wlcefs.h:64
OFCondition gotoNextItem()
goto next item in the sequence
OFString privateCreator
the private creator name
Definition: dcpcache.h:71
virtual OFCondition getUint8Array(Uint8 *&val)
get a pointer to the element value of the current element as type string.
virtual OFCondition setPixelDataProviderURL(const OFString &value, const OFBool check=OFTrue)
set PixelDataProviderURL (0028,7fe0)
OFCondition addImageReference(const char *sopclassUID, const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability)
add a new image reference.
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
write object to a stream
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const DRTMACParametersSequence & getMACParametersSequence() const
get MACParametersSequence (4ffe,0001)
Definition: drtplan.h:1550
DcmLongString AdmissionID
AdmissionID (0038,0010) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3053
OFCondition checkConsistency(const char *key, const DcmPresentationContextMap &pclist, const char *pckey) const
checks if each abstract syntax in the role selection list identified by key is also contained in the ...
DiMono1Image(const DiMonoImage *image, const int degree)
constructor, rotate
@ IAUC60BN
(126325,DCM,"IAUC60BN"), included from CID 4109
Definition: cid7469.h:292
@ MagneticSusceptibility
(126396,DCM,"Magnetic Susceptibility"), included from CID 7180
Definition: cid7469.h:254
const Item & getCurrentItem() const
get current item in the sequence
this class manages a stack of pointers to DcmObject instances.
Definition: dcstack.h:72
virtual void supportedSOPClassUIDs(OFList< OFString > &suppSOPs)
Overwrites function from base class.
@ AP_UltrasoundSCSF
Ultrasound Single Frame with Spatial Calibration (STD-US-SC-SF-xxxx)
Definition: dcddirif.h:163
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
DVPSDisplayedArea_PList(const DVPSDisplayedArea_PList ©)
copy constructor
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_SeqOrItemContentOverflow
Item or sequence content larger than explicit 32-bit length field permits.
virtual unsigned long getSize() const
returns the size of a MAC in bytes.
OFBool isEmpty()
check if sequence is empty
virtual ~DcmQueryRetrieveProcessTable()
destructor
Interface class for ContourSequence (3006,0040)
Definition: drtcs.h:29
Item & getItem(const size_t num)
get particular item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtads.h:536
const char * getOverlayInImageDescription(size_t idx)
gets the overlay description of the given overlay in the attached image.
static const size_t PF_convertToOctalNumbers
quote non-ASCII string content as octal numbers
Definition: dctypes.h:194
OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
DcmUnsignedShort SamplesPerPixel
SamplesPerPixel (0028,0002) vr=US, vm=1, type=1.
Definition: drtimage.h:5254
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmIntegerString BlockNumber
BlockNumber (300a,00fc) vr=IS, vm=1, type=1.
Definition: drtibls.h:350
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getLongitudinalTemporalInformationModified(OFString &value, const signed long pos=0) const
get LongitudinalTemporalInformationModified (0028,0303)
const char * getImageSmoothingType(size_t idx)
gets the (optional) smoothing type for the given registered image box.
Definition: dvpssp.h:490
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
DcmSignedShort(const DcmTag &tag)
constructor.
const OFString & getDelimiterChars() const
retrieve delimiter characters to be used for character set conversion (to switch back to the default ...
virtual OFCondition renderHTML(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, size_t &annexNumber, const size_t flags) const
render temporal coordinates value in HTML/XHTML format
DcmCodeString SynchronizationTrigger
Synchronization Trigger: (CS, 1, 1)
Definition: dsrdoc.h:1391
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getSpatialResolution(OFString &value, const signed long pos=0) const
get SpatialResolution (0018,1050)
DcmTime StudyTime
StudyTime (0008,0030) vr=TM, vm=1, type=2.
Definition: drtimage.h:4881
virtual void flush()
instructs the consumer to flush its internal content until either the consumer becomes "flushed" or I...
virtual bool isEnabledFor(LogLevel ll) const
Check whether this logger is enabled for a given LogLevel passed as parameter.
OFCondition setReferencedStartControlPointIndex(const OFString &value, const OFBool check=OFTrue)
set ReferencedStartControlPointIndex (300c,00f4)
virtual OFCondition sendSTOREResponse(const T_ASC_PresentationContextID presID, const T_DIMSE_C_StoreRQ &reqMessage, const Uint16 rspStatusCode)
Respond to the C-STORE request (with details from the request message)
void clear()
clear all internal member variables
virtual void SetCfgFileSelectValues(const OFString &)
Set value in a member variable in a derived class.
Definition: wlds.h:448
OFCondition setRangeShifterSetting(const OFString &value, const OFBool check=OFTrue)
set RangeShifterSetting (300a,0362)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition write(DcmItem &dset)
writes the Graphic Layer Sequence managed by this object to a DICOM dataset.
DSRSpatialCoordinatesValue(const DSRTypes::E_GraphicType graphicType)
constructor
@ Thermography
(TG,DCM,"Thermography")
Definition: cid29.h:122
OFListIterator(Item *) CurrentItem
currently selected item
const DRTRTRelatedROISequence & getRTRelatedROISequence() const
get RTRelatedROISequence (3006,0030)
Definition: drtrros.h:197
DcmDecimalString SourceToReferenceObjectDistance
SourceToReferenceObjectDistance (3002,0028) vr=DS, vm=1, type=3.
Definition: drtimage.h:5310
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFCondition getBeamName(OFString &value, const signed long pos=0) const
get BeamName (300a,00c2)
OFCondition gotoNextItem()
goto next item in the sequence
DRTMACParametersSequence MACParametersSequence
MACParametersSequence (4ffe,0001) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5437
Item(const Item ©)
copy constructor
DRTAssigningJurisdictionCodeSequence & operator=(const DRTAssigningJurisdictionCodeSequence ©)
assigment operator
DcmLongString ClinicalTrialSeriesID
ClinicalTrialSeriesID (0012,0071) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2969
virtual OFCondition setRationalNumeratorValue(const Sint32 value, const unsigned long pos=0, const OFBool checkValue=OFTrue)
Set RationalNumeratorValue.
OFCondition getValue(DSRSpatialCoordinatesValue &coordinatesValue) const
get copy of spatial coordinates value
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
Item & operator[](const size_t num)
get particular item in the sequence
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtadcs.h:353
unsigned long getFrameCount() const
get number of frames.
Definition: dcmimage.h:215
DcmIntegerString ReferencedLateralSpreadingDeviceNumber
ReferencedLateralSpreadingDeviceNumber (300c,0102) vr=IS, vm=1, type=1.
Definition: drtlsds6.h:171
OFBool isEmpty()
check if item is empty
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
virtual OFCondition getOtherPatientNames(OFString &value, const signed long pos=0) const
get OtherPatientNames (0010,1001)
OFListIterator(Item *) CurrentItem
currently selected item
DcmUniqueIdentifier RelatedGeneralSOPClassUID
RelatedGeneralSOPClassUID (0008,001a) vr=UI, vm=1-n, type=3.
Definition: drtimage.h:5412
@ EFG_TEMPORALPOSITION
Temporal Position Macro.
Definition: fgtypes.h:164
DcmTag(const DcmTagKey &akey, const DcmVR &avr)
constructor.
static OFerror_code getLastSystemErrorCode()
Retrieve the last operating system error code that was emitted in the calling thread.
virtual size_t gotoAnnotatedNode(const OFString &annotationText, const OFBool startFromRoot=OFTrue)
set internal cursor to an annotated node.
void clear()
clear all internal member variables
virtual OFCondition getRescaleSlope(Float64 &value, const unsigned long pos=0) const
get RescaleSlope (0028,1053)
const char * getDatabaseFolder()
returns the database folder to be used for sending/receiving/browsing.
@ EFG_PLANEORIENTVOLUME
Plane Orientation (Volume)
Definition: fgtypes.h:148
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DVPSIPCMessage & operator=(const DVPSIPCMessage &)
copy assignment operator
void append(DcmPathNode *node)
Appends a search node at the end of the search result path.
void initialize(const OFBool valid=OFTrue, const size_t flags=0)
initialize the position counter
DRTRecordedRangeModulatorSequence RecordedRangeModulatorSequence
RecordedRangeModulatorSequence (3008,00f6) vr=SQ, vm=1, type=1C.
Definition: drttsibs.h:1038
OFBool isEmpty()
check if item is empty
OFFilenameCreator FilenameCreator
unique pseudo-random filename creator, which also checks for existing files
Definition: dstorscp.h:316
@ VisualAcuity
(VA,DCM,"Visual Acuity")
Definition: cid29.h:126
@ DCMSCP_BAD_APPLICATION_CONTEXT_NAME
Refusing association because of bad application context name.
Definition: scp.h:81
log4cplus::tstring const empty_str
Canonical empty string.
@ FractionalAnisotropy
(110808,DCM,"Fractional Anisotropy"), included from CID 7271
Definition: cid7469.h:116
OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
DRTPatientBreedCodeSequence & getPatientBreedCodeSequence()
get PatientBreedCodeSequence (0010,2293)
Definition: drtionpl.h:1571
virtual ~UserIdentityNegotiationSubItem()
Destructor, nothing to clean up.
Definition: dcuserid.h:135
OFCondition add(const OFString &key, const OFString &abstractSyntaxUID, const OFString &transferSyntaxKey)
add new entry to list within map.
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Get shared type of this functional group (can be both, shared and per-frame)
Definition: fgusimagedescription.h:76
OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read code from XML document.
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getImagesInAcquisition(Sint32 &value, const unsigned long pos=0) const
get ImagesInAcquisition (0020,1002)
virtual OFCondition setRecommendedLineThickness(const Float32 &value, const OFBool checkValue=OFTrue)
Set Recommended Line Thickness.
DcmLongString PatientSetupLabel
PatientSetupLabel (300a,0183) vr=LO, vm=1, type=3.
Definition: drtpss.h:331
DcmListNode * prevNode
pointer to previous node in double-linked list
Definition: dclist.h:62
E_ParamMode
mode specifying parameter's cardinality
Definition: ofcmdln.h:93
virtual OFCondition getImageOrientationVolume(Float64 &rowX, Float64 &rowY, Float64 &rowZ, Float64 &colX, Float64 &colY, Float64 &colZ)
Retrieve all values of Image Orientation Volume at the same time.
OFCondition gotoNextItem()
goto next item in the sequence
const DRTReferencedSeriesSequence & getReferencedSeriesSequence() const
get ReferencedSeriesSequence (0008,1115)
Definition: drtplan.h:1814
OFCondition getReferencedFrameNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFrameNumber (0008,1160)
OFCondition getBlockMountingPosition(OFString &value, const signed long pos=0) const
get BlockMountingPosition (300a,00fb)
Item & operator=(const Item ©)
assigment operator
T_ASC_Association * assoc
currently active association
Definition: dcmqrtis.h:270
virtual ~DRTReferencedControlPointSequence()
destructor
DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence()
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtionpl.h:1643
OFListIterator(Item *) CurrentItem
currently selected item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmCodeString TreatmentDeliveryType
TreatmentDeliveryType (300a,00ce) vr=CS, vm=1, type=1.
Definition: drtibs.h:1061
DcmRoleSelectionItem(T_ASC_SC_ROLE role, const DcmUIDHandler &abstractSyntax)
constructor
virtual ~DRTReferencedRTPlanSequenceInRTImageModule()
destructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmPersonName ConsultingPhysicianName
ConsultingPhysicianName (0008,009c) vr=PN, vm=1-n, type=3.
Definition: drtdose.h:4184
OFBool getForceSingleFragmentPerFrame() const
returns flag indicating whether one fragment per frame should be enforced while decoding
Definition: djcparam.h:211
virtual OFCondition putFloat32Array(const Float32 *floatVals, const unsigned long numFloats)
set element value to given float array data
virtual OFCondition error()
returns current status flag
virtual OFCondition setCommentsOnThePerformedProcedureStep(const OFString &value, const OFBool check=OFTrue)
set CommentsOnThePerformedProcedureStep (0040,0280)
unsigned flags_type
Type of the state flags field.
Definition: queue.h:52
Item class.
Definition: drtscris.h:37
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getSmokingStatus(OFString &value, const signed long pos=0) const
get SmokingStatus (0010,21a0)
@ EXS_JPEGProcess29
JPEG Lossless, Hierarchical, arithmetic coding.
Definition: dcxfer.h:81
SiAlgorithm * createAlgorithmForPublicKey()
creates an SiAlgorithm object for the public key contained in this certificate.
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
DcmInputStream * create() const
create an input stream that permits reading from the temporary file
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition setSOPAuthorizationDateTime(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationDateTime (0100,0420)
static OFBool registered
flag indicating whether the encoders are already registered.
Definition: djencode.h:109
OFList< ItemStruct * > ItemList
list of items
Definition: dsrrefin.h:255
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DCMTK_OFSTD_EXPORT const OFConditionConst EC_MemoryExhausted
condition constant: failure, memory exhausted
DVPSReferencedSeries_PList * clone()
clone method.
Definition: dvpsrsl.h:52
void set(const DcmTagKey &key)
set value to given tag key
Definition: dctagkey.h:263
OFCondition setOrganAtRiskFullVolumeDose(const OFString &value, const OFBool check=OFTrue)
set OrganAtRiskFullVolumeDose (300a,002a)
OFCondition setUID(const OFString &value, const OFBool check=OFTrue)
set UID (0040,a124)
virtual OFCondition setInstanceCoercionDateTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCoercionDateTime (0008,0015)
int flip(const int horz, const int vert)
flip current image (horizontally and/or vertically)
OFCondition setContinuityOfContent(const E_ContinuityOfContent continuityOfContent, const OFBool check=OFTrue)
set continuity of content flag.
@ NegativeEnhancementIntegral
(113054,DCM,"Negative enhancement integral"), included from CID 7180
Definition: cid7469.h:338
DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModule(const DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModule ©)
copy constructor
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const =0
get identifier and mapping resource of the root template (if any)
@ Florbetapir_F18
(456995000,SCT,"Florbetapir F^18^")
Definition: cid4021.h:132
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
DRTProcedureCodeSequence ProcedureCodeSequence
ProcedureCodeSequence (0008,1032) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2924
OFCondition getSourceToWedgeTrayDistance(OFString &value, const signed long pos=0) const
get SourceToWedgeTrayDistance (300a,00da)
DRTConsultingPhysicianIdentificationSequence & operator=(const DRTConsultingPhysicianIdentificationSequence ©)
assigment operator
DRTExposureSequence & getExposureSequence()
get ExposureSequence (3002,0030)
Definition: drtimage.h:2566
virtual FilterResult decide(const InternalLoggingEvent &event) const
Return the decision of this filter.
E_SegmentationType
Segmentation object types.
Definition: segtypes.h:88
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFString getWriteSeedFile() const
Get random seed file the PRNG should use to store back updated random seed information.
OFCondition writeSequence(DcmItem &dataset, const DcmTagKey &tagKey) const
write code sequence to dataset
OFCondition setUniversalEntityID(const OFString &value, const OFBool check=OFTrue)
set UniversalEntityID (0040,0032)
virtual OFCondition getEthnicGroup(OFString &value, const signed long pos=0) const
get EthnicGroup (0010,2160)
static size_t strlcat(char *dst, const char *src, size_t siz)
This function appends the NUL-terminated string src to the end of dst.
Definition: ofstd.h:138
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition initNetwork()
Initialize network, i.e. prepare for association negotiation.
CodeSequenceMacro m_SegmentedPropertyCategoryCode
Segment Property Category Code (SQ, 1, 1) Baseline CID 7150.
Definition: segtypes.h:355
virtual ~DSRComprehensive3DSRConstraintChecker()
destructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence() const
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtimage.h:2956
virtual OFCondition setContentQualification(const OFString &value, const OFBool checkValue=OFTrue)
Set ContentQualification.
OFunique_ptr & operator=(OFrvalue_ref(OFunique_ptr) rhs)
Move assignment operator.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtafs.h:327
OFCondition gotoFirstItem()
goto first item in the sequence
DRTReferencedSOPSequence & operator=(const DRTReferencedSOPSequence ©)
assigment operator
DcmIntegerString DoseReferenceNumber
DoseReferenceNumber (300a,0012) vr=IS, vm=1, type=1.
Definition: drtdrs.h:487
OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
void clear()
clear all internal member variables
General purpose class hiding global functions, constants and types from the global namespace.
Definition: drttypes.h:89
virtual OFCondition getDimensionOrganizationType(OFString &value, const signed long pos=0)
Get Dimension Organization Type.
EF_VoiLutFunction getVoiLutFunction() const
get VOI LUT function.
Class managing an SR document tree that is based on an arbitrary SR template.
Definition: dsrstpl.h:47
void getCertSubjectName(OFString &str)
returns the subject name (distinguished name) of the current certificate.
OFCondition getTableTopEccentricRotationDirection(OFString &value, const signed long pos=0) const
get TableTopEccentricRotationDirection (300a,0126)
virtual OFCondition setSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set SOPClassUID (0008,0016)
OFBool InventMode
invent missing attributes mode
Definition: dcddirif.h:1568
OFString pw_name
the username.
Definition: ofpwd.h:79
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
DcmPixelSequence(const DcmTag &tag, const Uint32 len)
constructor.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmShortText CommentsOnThePerformedProcedureStep
CommentsOnThePerformedProcedureStep (0040,0280) vr=ST, vm=1, type=3.
Definition: drtplan.h:3200
Item & getCurrentItem()
get current item in the sequence
DcmLongString ServiceEpisodeDescription
ServiceEpisodeDescription (0038,0062) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2906
virtual void clearData()
Clear (removes) all attributes handled by the modules of this component.
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches the filter criterion (value type)
OFBool setCurrentDateTime()
set the date and time value to the current system date and time.
const DSRSpatialCoordinates3DValue & getValue() const
get reference to spatial coordinates value
Definition: dsrsc3vl.h:171
virtual OFCondition getAdditionalPatientHistory(OFString &value, const signed long pos=0) const
get AdditionalPatientHistory (0010,21b0)
OFCondition addReferencedPLUTSQ(DcmItem &dset)
writes a Referenced Presentation LUT SQ to the given dataset.
OFCondition add(const char *key, const char *abstractSyntaxUID, const unsigned char *rawData, Uint32 length)
add new entry to list within map.
This is a very simple filter based on LogLevel matching, which can be used to reject messages with Lo...
Definition: filter.h:227
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
size_t getNextNodeID() const
get ID of the next node to be created.
Definition: dsrtree.h:613
OFCondition write(DcmItem &dset)
writes the list of graphic annotations managed by this object to a DICOM dataset.
virtual OFString getName() const
Get name of module.
DcmPathProcessor & operator=(const DcmPathProcessor &arg)
Private undefined assignment operator.
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFListIterator(Item *) CurrentItem
currently selected item
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtris.h:325
OFCondition checkDatasetForReading(DcmItem &dataset)
check the given dataset before reading.
const char * getCurrentVOIDescription()
returns a description string for a currently active VOI transform.
Item & getCurrentItem()
get current item in the sequence
OFBool isEmpty()
check if item is empty
Uint16 getTargetPrinterAnnotationPosition(const char *targetID)
returns the first value from the ANNOTATION entry for the printer with the given target ID from the c...
DcmFloatingPointSingle TableTopPitchAngleTolerance
TableTopPitchAngleTolerance (300a,004f) vr=FL, vm=1, type=3.
Definition: drtitts.h:426
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
virtual OFVector< AlgorithmIdentificationMacro * > & getTrackingAlgorithmIdentification()
Get access to tracking algorithm identification codes.
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CannotRemoveSubTree
error: the specified subtree could not be removed from the document tree
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtaadcs.h:345
DRTReferencedPatientSequence & getReferencedPatientSequence()
get ReferencedPatientSequence (0008,1120)
Definition: drttreat.h:1551
DRTFractionGroupSummarySequence & getFractionGroupSummarySequence()
get FractionGroupSummarySequence (3008,0220)
Definition: drtiontr.h:1335
int contains(const DcmTagKey &key, const char *privCreator) const
checks if the given tag key and private creator code are covered by this object.
Definition: dcdicent.h:291
virtual OFCondition getLaterality(TrcTypes::E_TrackSetLaterality &laterality)
Get Laterality.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrris1.h:377
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrcs.h:184
virtual ~DRTEquivalentCodeSequence()
destructor
const DRTReferencedStudySequence & getReferencedStudySequence() const
get ReferencedStudySequence (0008,1110)
Definition: drttreat.h:1605
Template class for polynomial curve fitting algorithm.
Definition: dicrvfit.h:51
Logger getInstance(const log4cplus::tstring &name, spi::LoggerFactory &factory)
Calls the getInstance() method on the locked Hierarchy.
DcmDate TreatmentDate
TreatmentDate (3008,0250) vr=DA, vm=1, type=2.
Definition: drtfsss.h:167
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
helper class for working with radio therapy dose information objects.
Definition: drmdose.h:38
unsigned long maximumPreviewImageWidth
maximum width of (optional) preview image
Definition: dviface.h:1771
virtual OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
Get Institution Name.
Class representing the Plane Orientation (Volume) Functional Group Macro.
Definition: fgplanorvol.h:34
OFCondition getNumericValueQualifier(DSRCodedEntryValue &valueQualifier) const
get copy of numeric value qualifier (optional).
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition setPrivateCreatorReference(const OFString &value, const OFBool check=OFTrue)
set PrivateCreatorReference (0008,0302)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Interface class for ConceptNameCodeSequence (0040,a043)
Definition: drtcncs.h:29
FilterPtr next
Points to the next filter in the filter chain.
Definition: filter.h:136
DSRSimplifiedAdultEchoSRConstraintChecker()
default constructor
OFshared_ptr< DcmItem > getData()
Get item managed by this IOD.
virtual DcmObject * clone() const
clone method
Definition: dcvrfd.h:85
DcmTLSOptions(T_ASC_NetworkRole networkRole)
Constructor.
Item & getCurrentItem()
get current item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1.
Definition: drtmris.h:144
void clear()
clear all internal member variables
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual ~DRTEncryptedAttributesSequence()
destructor
virtual OFCondition writeTagAndLength(DcmOutputStream &outStream, const E_TransferSyntax oxfer, Uint32 &writtenBytes) const
write tag, VR and length field to the given output stream
virtual size_t removeCurrentContentItem()
remove current content item from tree.
Item(const Item ©)
copy constructor
Item & operator[](const size_t num)
get particular item in the sequence
DcmDecimalString PatientSize
PatientSize (0010,1020) vr=DS, vm=1, type=3.
Definition: drtdose.h:4221
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setKVP(const OFString &value, const OFBool check=OFTrue)
set KVP (0018,0060)
static OFCondition copyTestImageAttributes(DcmItem *src, DcmItem *diffImage)
further populate the difference image DICOM dataset by copying all required attributes from the test ...
A class for managing and converting between different DICOM character sets.
Definition: dcspchrs.h:45
OFBool cipherNULLsupported() const
checks if the unencrypted ciphersuite TLS_RSA_WITH_NULL_SHA is supported by the underlying OpenSSL li...
virtual OFBool isByReferenceAllowed() const =0
check whether by-reference relationships are allowed for this SR IOD (abstract)
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
size_t getNumberOfItems() const
get number of items in the sequence
const Item & getCurrentItem() const
get current item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setDoseReferenceDescription(const OFString &value, const OFBool check=OFTrue)
set DoseReferenceDescription (300a,0016)
OFCondition setTextValue(const OFString &value, const OFBool check=OFTrue)
set TextValue (0040,a160)
DcmUnsignedShort imageBoxPosition
Module=Image_Box_List, VR=US, VM=1, Type 1.
Definition: dvpsib.h:341
DRTRecordedCompensatorSequence & getRecordedCompensatorSequence()
get RecordedCompensatorSequence (3008,00c0)
Definition: drttsibs.h:586
size_t getNumberOfItems() const
get number of items in the sequence
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtrscs.h:333
OFCondition insertEncapsulatedPixelData(DcmDataset *dset, char *pixData, Uint32 length, const E_TransferSyntax &outputTS) const
Correctly inserts encapsulated pixel data.
@ LaserScan
(LS,DCM,"Laser Scan")
Definition: cid29.h:80
OFCondition write(DcmItem &item)
write elements to sequence item
DRTBrachyControlPointSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition setServiceEpisodeID(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeID (0038,0060)
Item & operator[](const size_t num)
get particular item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtfsss.h:162
Uint16 getGroupNumber() const
get group number of overlay plane
Definition: diovpln.h:351
OFString getImageFile()
Returns the input image file that currently associated with plugin.
Definition: i2dimgs.h:105
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
General purpose class hiding global functions, constants and types in the segmentation context from t...
Definition: segtypes.h:81
DcmShortString SnoutID
SnoutID (300a,030f) vr=SH, vm=1, type=1.
Definition: drtsns.h:132
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
DRTPatientSizeCodeSequence PatientSizeCodeSequence
PatientSizeCodeSequence (0010,1021) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3035
OFBool empty() const
checks if the stack is empty
static size_t getValueFromString(const char *str, const size_t pos, const size_t len, OFString &val)
get the first value stored in the given string.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item & operator=(const Item ©)
assigment operator
DcmDecimalString TotalBlockTrayFactor
TotalBlockTrayFactor (300a,00f2) vr=DS, vm=1, type=3.
Definition: drtbs.h:789
virtual OFCondition getSoftwareVersions(OFString &value, const signed long pos=0) const
get SoftwareVersions (0018,1020)
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrtrs2.h:149
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setImagingDeviceSpecificAcquisitionParameters(const OFString &value, const OFBool check=OFTrue)
set ImagingDeviceSpecificAcquisitionParameters (300a,00cc)
const DRTSourceImageSequence & getSourceImageSequence() const
get SourceImageSequence (0008,2112)
Definition: drtstrct.h:1740
virtual OFCondition setReferencedFractionGroupNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFractionGroupNumber (300c,0022)
DcmCodeString ContentQualification
ContentQualification (0018,9004) vr=CS, vm=1, type=3.
Definition: drtdose.h:4693
DRTOperatorIdentificationSequence OperatorIdentificationSequence
OperatorIdentificationSequence (0008,1072) vr=SQ, vm=1, type=3.
Definition: drtces.h:351
OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtpsics.h:357
DRTMACParametersSequence MACParametersSequence
MACParametersSequence (4ffe,0001) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3111
virtual OFCondition setDerivationDescription(const OFString &value, const OFBool check=OFTrue)
set DerivationDescription (0008,2111)
@ PETCT_METImagingOfWholeBody
(443844003,SCT,"PET/CT MET imaging of whole body")
Definition: cid100.h:70
OFCondition gotoFirstItem()
goto first item in the sequence
const char * getSpoolFolder()
returns the spool folder to be used for print jobs.
Uint32 maxLength
maximum number of characters for each string component
Definition: dcbytstr.h:454
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getDoseGridScaling(Float64 &value, const unsigned long pos=0) const
get DoseGridScaling (3004,000e)
OFBool gotoNextArg()
sets next command line argument as the current one.
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
DcmShortText PrescriptionDescription
PrescriptionDescription (300a,000e) vr=ST, vm=1, type=3.
Definition: drtplan.h:3284
DcmLongString AdmissionID
AdmissionID (0038,0010) vr=LO, vm=1, type=3.
Definition: drtplan.h:3136
DcmPersonName PhysiciansOfRecord
PhysiciansOfRecord (0008,1048) vr=PN, vm=1-n, type=3.
Definition: drtplan.h:3083
DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence()
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtionpl.h:1283
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrris9.h:130
OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
static const OFBool is_iec559
OFTrue for all floating-point types T which fulfill the requirements of IEC 559 (IEEE 754) standard.
Definition: oflimits.h:400
DcmShortString MaterialID
MaterialID (300a,00e1) vr=SH, vm=1, type=3.
Definition: drtss.h:414
OFBool isEmpty()
check if item is empty
virtual void resetRules()
Resets rules of this module to their original values.
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition getClinicalTrialSiteID(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteID (0012,0030)
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
DcmDecimalString SourceApplicatorStepSize
SourceApplicatorStepSize (300a,02a0) vr=DS, vm=1, type=1C.
Definition: drtchs.h:667
DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence()
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtplan.h:1676
EP_Polarity getPolarity() const
get polarity.
Definition: dcmimage.h:858
a class representing a DICOM Value Representation
Definition: dcvr.h:280
OFCondition addItem(Item *&item)
add new item to the end of this sequence
EM_Overlay getOverlayMode(const unsigned int plane, const unsigned int idx=0) const
get mode of specified overlay plane
Definition: dcmimage.h:1240
virtual OFCondition setContentDate(const OFString &value, const OFBool checkValue=OFTrue)
Set Content Date.
Item class.
Definition: drtwrsrs.h:36
void clear()
clear all internal member variables
DcmCodeString DVHType
DVHType (3004,0001) vr=CS, vm=1, type=1.
Definition: drtdvhs.h:319
OFCondition setPresentationLabel(const char *label)
sets the presentation state label.
const Item & getCurrentItem() const
get current item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtrrpcs.h:343
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFListIterator(Item *) CurrentItem
currently selected item
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtbrcss.h:327
virtual DcmTransportLayerStatus renegotiate(const char *newSuite)
performs a re-negotiation of the connection with different connection parameters.
@ EMT_SHA1
SHA-1.
Definition: sitypes.h:94
virtual ~Item()
destructor
virtual ~Item()
destructor
OFCondition setSourceOfPreviousValues(const OFString &value, const OFBool check=OFTrue)
set SourceOfPreviousValues (0400,0564)
DcmIntegerString ControlPointIndex
ControlPointIndex (300a,0112) vr=IS, vm=1, type=1.
Definition: drtcps.h:657
static int isRepresentationSigned(EP_Representation repres)
determine whether integer representation is signed or unsigned
OFBool * ciphersuiteSupported
an array of booleans indicating which ciphersuites known to DCMTK are actually supported by the OpenS...
Definition: tlsciphr.h:425
OFBool isEmpty()
check if item is empty
OFCmdUnsignedInt filepad_
block size for file padding, pad DICOM files to multiple of this value
Definition: dcmqropt.h:73
const char * getStorageArea() const
return name of storage area
Class representing the Image SOP Instance Reference Macro.
Definition: iodmacro.h:575
OFCondition getReferencedFractionGroupNumber(OFString &value, const signed long pos=0) const
get ReferencedFractionGroupNumber (300c,0022)
OFCondition invertImage()
inverts image by changing presentation state LUT or presentation state LUT shape.
virtual OFCondition createUint8Array(const Uint32 numBytes, Uint8 *&bytes)
create an empty Uint8 array of given number of bytes and set it.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DRTDigitalSignaturesSequence & getDigitalSignaturesSequence()
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtimage.h:2542
Item class.
Definition: drtrbos7.h:36
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtlsds.h:366
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtcsas.h:167
OFCondition setBlockSlabThickness(const OFString &value, const OFBool check=OFTrue)
set BlockSlabThickness (300a,0442)
virtual DcmQueryRetrieveDatabaseHandle * createDBHandle(const char *callingAETitle, const char *calledAETitle, OFCondition &result) const
this method creates a new database handle instance on the heap and returns a pointer to it,...
OFBool getHaltOnUnsuccessfulStoreMode() const
get mode that specifies whether to halt if unsuccessful store encountered or whether to continue with...
DcmObject * top() const
returns uppermost entry of stack without removing it.
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
virtual void clear()
clear all member variables.
OFCondition setFixationDeviceRollAngle(const Float32 value, const unsigned long pos=0)
set FixationDeviceRollAngle (300a,019a)
virtual OFCondition read(DcmItem &item)
Read functional group from item, must contain the Segment Identification Sequence.
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtrpcs.h:327
OFtuple< Types &... > OFtie(Types &... args)
Creates a tuple of references to the given arguments.
OFshared_ptr & operator=(const OFshared_ptr &other)
Replaces the managed object with the one managed by other.
Definition: ofmem.h:102
DSRSCoordTreeNode(const DSRSCoordTreeNode &node)
copy constructor.
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
OFCondition setOverrideParameterPointer(const OFString &value, const OFBool check=OFTrue)
set OverrideParameterPointer (3008,0062)
DRTDigitalSignaturePurposeCodeSequence DigitalSignaturePurposeCodeSequence
DigitalSignaturePurposeCodeSequence (0400,0401) vr=SQ, vm=1, type=3.
Definition: drtdss.h:239
virtual OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
get study instance UID
OFCondition setCumulativeMetersetWeight(const OFString &value, const OFBool check=OFTrue)
set CumulativeMetersetWeight (300a,0134)
@ VT_Code
DICOM Value Type: CODE.
Definition: dsrtypes.h:587
DcmLongString PatientAdditionalPosition
PatientAdditionalPosition (300a,0184) vr=LO, vm=1, type=1C.
Definition: drtpss.h:327
virtual OFCondition getPerformedProcedureStepEndDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndDate (0040,0250)
OFIterator< T > & operator--()
moves the iterator to the previous element of the list.
Definition: oflist.h:277
static const int digits10
The number of base-10 digits that can be represented by the type T without change,...
Definition: oflimits.h:501
OFCondition getBeamDoseType(OFString &value, const signed long pos=0) const
get BeamDoseType (300a,0090)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
unsigned int Quality
quality value (0..100, in percent), default: 75
Definition: dipijpeg.h:98
void base_pop()
removes top element from stack.
Definition: ofstack.h:140
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
DcmCodeString CurrentTreatmentStatus
CurrentTreatmentStatus (3008,0200) vr=CS, vm=1, type=1.
Definition: drtiontr.h:3119
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtdose.h:4338
OFBool isEmpty()
check if item is empty
char * failedUIDs
instance UIDs of failed store sub-ops
Definition: dcmqrcbm.h:172
DcmLongString ChannelShieldName
ChannelShieldName (300a,02b4) vr=LO, vm=1, type=3.
Definition: drtcshs.h:230
DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule & getReferencedTreatmentRecordSequence()
get ReferencedTreatmentRecordSequence (3008,0030)
Definition: drttreat.h:1611
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrris6.h:155
virtual OFCondition getGantryID(OFString &value, const signed long pos=0) const
get GantryID (0018,1008)
Definition: lltraits.h:19
static void copyClinicalTrialSeriesModule(DcmItem &src, DcmItem &dest)
Copy Clinical Trial Series Module attributes.
@ CVT_Short
short code value (VR=SH)
Definition: dsrtypes.h:837
void clear()
clear all internal member variables
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Interface class for StrainStockSequence (0010,0216)
Definition: drtsss.h:29
const char * getModality()
returns the Modality of the currently selected series.
virtual OFCondition getOFStringArray(OFString &stringVal, OFBool normalize=OFTrue)
get the string value (all components)
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format to a stream
static T infinity()
The special value positive infinity, as represented by the floating-point type T.
a class implementing the hash function RIPEMD160
Definition: siripemd.h:41
DRTRangeModulatorSequence(const DRTRangeModulatorSequence ©)
copy constructor
OFCondition selectSeries(Uint32 idx)
selects the series with the given index within the currently selected study.
LossyImageCompression
Enum for attribute Lossy Image Compression.
Definition: dpmtypes.h:76
@ VT_invalid
internal type used to indicate an error
Definition: dsrtypes.h:583
static OFBool deleteFile(const OFFilename &filename)
delete given file from filesystem
SegmentedPropertyTypeCodeItem()
Constructor.
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition getPatientName(OFString &value, const signed long pos=0) const
get PatientName (0010,0010)
virtual OFString getName() const
Get name of macro.
virtual OFBool isRTIonToleranceTablesModulePresent(const OFBool complete=OFFalse)
check whether RTIonToleranceTablesModule (U) is present.
unsigned short code() const
get the status code identifier for this object.
Definition: ofcond.h:262
virtual OFCondition readSegmentAlgorithmType(DcmItem &item)
Read Segment Algorithm Type from given item.
const char * getAnnotationText()
gets the current annotation text.
Definition: dviface.h:1411
virtual void putback(offile_off_t num)=0
resets the stream to the position by the given number of bytes.
DcmShortString EthnicGroup
EthnicGroup (0010,2160) vr=SH, vm=1, type=3.
Definition: drtplan.h:2995
virtual OFCondition getInstanceNumber(OFString &value, const signed long pos=0) const
get InstanceNumber (0020,0013)
const char * getCurrentSignatureValidationOverview() const
returns a string containing a complete HTML page with the signature validation overview.
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n")
check whether given string value conforms to the VR "DT" (Date Time) and to the specified VM.
DcmEVR getEVR() const
returns VR code
Definition: dctag.h:114
OFList< DVPSStoredPrint * > list_
the list maintained by this object
Definition: dvpsspl.h:213
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
LogLevel getChainedLogLevel() const
Get the logger's log level.
Definition: oflog.h:76
log4cplus::tstring fullMessage
Definition: ndc.h:307
virtual OFBool canUseTemplateIdentification() const
check whether template identification is possible at all.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtiwps.h:148
Item(const Item ©)
copy constructor
virtual ~DRTControlPointSequence()
destructor
Item(const Item ©)
copy constructor
OFCondition setTransportLayer(DcmTransportLayer *tLayer)
enable user-defined transport layer.
@ EJLSBD_original
keep original bit depth
Definition: djlsutil.h:96
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_PixelDataExplLengthIllegal
Pixel data in top level dataset in compressed Transfer Syntax uses explicit length (undefined require...
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
OFBool isEmpty()
check if item is empty
virtual OFCondition setRTPlanGeometry(const OFString &value, const OFBool check=OFTrue)
set RTPlanGeometry (300a,000c)
const DRTReferencedSeriesSequence & getReferencedSeriesSequence() const
get ReferencedSeriesSequence (0008,1115)
Definition: drtionpl.h:1781
const char * myAETitle
my application entity title
Definition: dcmqrtis.h:264
@ EET_ExplicitLength
defined length
Definition: dctypes.h:93
Item class.
Definition: drttms9.h:36
DcmFloatingPointDouble RealWorldValueLUTData
RealWorldValueLUTData (0040,9212) vr=FD, vm=1-n, type=1C.
Definition: drtrwvms.h:272
virtual OFCondition getIsocenterPosition(Float64 &value, const unsigned long pos=0) const
get IsocenterPosition (300a,012c)
void InitUint8(DiMonoModality *modality)
initialize internal data structures (for Uint8)
Interface class to DICOM data management (dcmdata).
Definition: didocu.h:61
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtecs.h:320
@ EPR_Uint8
unsigned 8 bit integer
Definition: diutils.h:207
Uint16 getLastValue() const
get value of last LUT entry.
Definition: dibaslut.h:185
@ VT_includedTemplate
internal type used to indicate (enclose) included templates
Definition: dsrtypes.h:617
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
OFCmdUnsignedInt opt_sleepDuringFind
indicates how long the application shall sleep during a find
Definition: wlmactmg.h:54
virtual OFCondition getContentTime(OFString &value, const signed long pos=0) const
get content time
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
void clear()
clear all internal member variables
Class supporting color space conversions from and to CIELab.
Definition: cielabutil.h:41
static OFString tagKey2FGString(const DcmTagKey &key)
Returns the name of a functional group based on a given tag key.
size_t getNodeID() const
get ID of the current tree node
Definition: dsrdoctn.h:294
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setQualityControlSubject(const OFString &value, const OFBool check=OFTrue)
set QualityControlSubject (0010,0200)
OFCmdUnsignedInt itempad_
block size for item padding, pad DICOM files to multiple of this value
Definition: dcmqropt.h:82
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
virtual OFCondition setDoseType(const OFString &value, const OFBool check=OFTrue)
set DoseType (3004,0004)
Item & operator[](const size_t num)
get particular item in the sequence
MAX_LEVEL
The maximum DICOM entity level that this reference refers to.
Definition: iodreferences.h:49
virtual OFCondition setAlgorithmParameters(const OFString &value, const OFBool checkValue=OFTrue)
Set Algorithm Parameters.
OFCondition write(DcmItem &item)
write elements to sequence item
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtscs.h:357
Item class.
Definition: drtrvis.h:36
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool isEmpty()
check if item is empty
DcmLongString ClinicalTrialTimePointID
ClinicalTrialTimePointID (0012,0050) vr=LO, vm=1, type=2.
Definition: drtiontr.h:2931
OFString printerOwnerID
printer film session owner ID, may be empty.
Definition: dviface.h:1812
virtual OFCondition getProtocolName(OFString &value, const signed long pos=0) const
Get Protocol Name.
OFCondition getRetrieveURI(OFString &value, const signed long pos=0) const
get RetrieveURI (0040,e010)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcpas.h:347
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
virtual ~DVPresentationState()
destructor
static DJDecoderExtended * decext
pointer to decoder for extended JPEG
Definition: djdecode.h:83
Class for convenient access of stacks within an Enhanced DICOM object.
Definition: stackinterface.h:39
StudyStruct(const OFString &studyUID)
constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition getAlgorithmVersion(OFString &value, const signed long pos=0)
Get Algorithm Version.
virtual OFCondition createUint8Array(const Uint32 numBytes, Uint8 *&bytes)
create an empty Uint8 array of given number of bytes and set it.
virtual OFBool operator<=(const OFDateTime &dateTime) const
comparison operator (less than or equal).
OFCondition addProcedureReported(const CID100_QuantitativeDiagnosticImagingProcedures &procedure, const OFBool check=OFTrue)
add the imaging procedure whose results are reported (TID 1500 - Row 4).
OFCondition getRTImagePosition(OFVector< Float64 > &value) const
get RTImagePosition (3002,0012)
void clear()
clear all internal member variables
DRTPatientBreedCodeSequence PatientBreedCodeSequence
PatientBreedCodeSequence (0010,2293) vr=SQ, vm=1, type=2C.
Definition: drtplan.h:3005
DRTReferencedRTPlanSequenceInRTGeneralPlanModule & getReferencedRTPlanSequence()
get ReferencedRTPlanSequence (300c,0002)
Definition: drtionpl.h:1763
DIC_US status
current DIMSE status
Definition: dcmqrcbs.h:120
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
OFCondition read(DcmItem &item)
read elements from sequence item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual ~Item()
destructor
const char * getReportID(Uint32 idx)
returns the identifier of the SR "template" with the given index.
DJDecoderP14SV1()
default constructor
virtual void SetCfgFileMatchRecords(const OFString &)
Set value in a member variable in a derived class.
Definition: wlds.h:444
virtual ~DRTIssuerOfServiceEpisodeIDSequence()
destructor
OFCondition setBlockNumber(const OFString &value, const OFBool check=OFTrue)
set BlockNumber (300a,00fc)
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
DcmCodeString ApprovalStatus
ApprovalStatus (300e,0002) vr=CS, vm=1, type=1.
Definition: drtstrct.h:3046
virtual OFString isValid(DcmDataset &dataset) const
Do some completeness / validity checks.
virtual DSRDocumentTreeNode * clone() const =0
clone this tree node (abstract).
OFCondition setLateralSpreadingDeviceID(const OFString &value, const OFBool check=OFTrue)
set LateralSpreadingDeviceID (300a,0336)
DcmFloatingPointSingle TableTopPitchAngle
TableTopPitchAngle (300a,0140) vr=FL, vm=1, type=2C.
Definition: drticps.h:829
DRTPerformedProtocolCodeSequence PerformedProtocolCodeSequence
PerformedProtocolCodeSequence (0040,0260) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2960
Abstract base class to create monochrome output data.
Definition: dimoopx.h:46
int OriginalBitsAllocated
number of bits originally allocated for a LUT entry
Definition: diluptab.h:240
CID5000_Languages(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
@ ImagingProcedure
(363679005,SCT,"Imaging procedure")
Definition: cid100.h:44
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
OFCondition getReferencedRangeShifterNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedRangeShifterNumber (300c,0100)
Item & operator[](const size_t num)
get particular item in the sequence
DcmDate Date
Date (0040,a121) vr=DA, vm=1, type=1C.
Definition: drtcims.h:341
DcmShortText imageDisplayFormat
Module=Film_Box_Module, VR=ST, VM=1, Type 1.
Definition: dvpssp.h:1008
DRTHL7StructuredDocumentReferenceSequence HL7StructuredDocumentReferenceSequence
HL7StructuredDocumentReferenceSequence (0040,a390) vr=SQ, vm=1, type=1C.
Definition: drtstrct.h:3119
DcmLongText AdditionalPatientHistory
AdditionalPatientHistory (0010,21b0) vr=LT, vm=1, type=3.
Definition: drtimage.h:4950
void addOptional3DESCipherSuite()
add 3DES ciphersuite, print warning if unsupported
DRTEncryptedAttributesSequence & operator=(const DRTEncryptedAttributesSequence ©)
assigment operator
@ EJM_spectralSelection
JPEG spectral selection.
Definition: djutils.h:67
#define OFalign_typename
Alternate version of OFalign to be used within templates.
Definition: ofalign.h:131
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
static OFCondition createPlanarConfiguration1Byte(Uint8 *imageFrame, Uint16 columns, Uint16 rows)
converts an RGB or YBR frame with 8 bits/sample from color-by-pixel to color-by-plane planar configur...
const DcmDictEntry * findEntry(const char *name) const
dictionary lookup for the given attribute name.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual ~FGBase()
Virtual destructor.
@ EPD_withoutPadding
remove all padding tags
Definition: dctypes.h:116
virtual OFCondition getUint16(Uint16 &val, const unsigned long pos=0)
retrieve a single value of type Uint16.
static void initialize()
initialize this context group explicitly.
OFCondition getWedgeFactor(OFString &value, const signed long pos=0) const
get WedgeFactor (300a,00d6)
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition setEthnicGroup(const OFString &value, const OFBool check=OFTrue)
set EthnicGroup (0010,2160)
DiARGBImage(const DiDocument *docu, const EI_Status status)
constructor
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
Template class to copy monochrome pixel data.
Definition: dimocpt.h:42
OFCondition getReferenceAirKermaRate(OFString &value, const signed long pos=0) const
get ReferenceAirKermaRate (300a,022a)
DRTContextGroupIdentificationSequence & operator=(const DRTContextGroupIdentificationSequence ©)
assigment operator
@ IntradermalRoute
(372464004,SCT,"Intradermal route")
Definition: cid11.h:90
Item & getCurrentItem()
get current item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual ~IODGeneralStudyModule()
Destructor.
OFCondition setDoubleFloatRealWorldValueFirstValueMapped(const Float64 value, const unsigned long pos=0)
set DoubleFloatRealWorldValueFirstValueMapped (0040,9214)
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFCondition getRadiationType(OFString &value, const signed long pos=0) const
get RadiationType (300a,00c6)
DcmCodeString CurrentTreatmentStatus
CurrentTreatmentStatus (3008,0200) vr=CS, vm=1, type=1.
Definition: drttreat.h:2935
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtprsis.h:388
OFCondition getPrimaryDosimeterUnit(OFString &value, const signed long pos=0) const
get PrimaryDosimeterUnit (300a,00b3)
Item & getCurrentItem()
get current item in the sequence
OFCondition setWedgeAngle(const OFString &value, const OFBool check=OFTrue)
set WedgeAngle (300a,00d5)
OFCondition setGantryAngle(const OFString &value, const OFBool check=OFTrue)
set GantryAngle (300a,011e)
DRTEquivalentCodeSequence(const DRTEquivalentCodeSequence ©)
copy constructor
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtaadcs.h:329
virtual OFCondition setTreatmentProtocols(const OFString &value, const OFBool check=OFTrue)
set TreatmentProtocols (300a,0009)
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
@ EDC_photometricInterpretation
perform color space conversion from YCbCr to RGB if DICOM photometric interpretation indicates YCbCr.
Definition: djutils.h:154
SOPInstanceReferenceMacro m_ReferencedPerformedProcedureStep
Referenced Performed Procedure Step Sequence.
Definition: modenhusseries.h:128
DRTIconImageSequence(const DRTIconImageSequence ©)
copy constructor
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtdimcs.h:329
const DcmQueryRetrieveOptions & options_
reference to Q/R service options
Definition: dcmqrcbs.h:117
static Uint16 determinePlanarConfiguration(const OFString &sopClassUID, const OFString &photometricInterpretation)
determines if a given image requires color-by-plane planar configuration depending on SOP Class UID (...
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition setIssuerOfPatientID(const OFString &value, const OFBool check=OFTrue)
set IssuerOfPatientID (0010,0021)
DRTOtherPatientIDsSequence & getOtherPatientIDsSequence()
get OtherPatientIDsSequence (0010,1002)
Definition: drtimage.h:2770
OFBool activateAnnotation
true if annotation should be created when spooling print job
Definition: dviface.h:1816
virtual void notifyRECEIVEProgress(const unsigned long byteCount)
This function is called while receiving DIMSE messages, i.e. on each PDV of a dataset.
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtspccs.h:333
DRTPlannedVerificationImageSequence(const DRTPlannedVerificationImageSequence ©)
copy constructor
size_t fwrite(const void *ptr, size_t size, size_t n)
writes n elements of data, each size bytes long, to the stream, obtaining them from the location give...
Definition: offile.h:524
virtual OFCondition writeItem(DcmItem &dataset) const
write image reference value to dataset
@ Kep
(126313,DCM,"kep"), included from CID 4107
Definition: cid7469.h:258
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
Item class.
Definition: drtas7.h:36
LATERALITY m_FrameLaterality
Frame Laterality (DS, VM 1, Required type 1)
Definition: fgframeanatomy.h:151
virtual void closeNestedAppenders()
Close all attached appenders implementing the AppenderAttachable interface.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition setInstanceCreatorUID(const OFString &value, const OFBool check=OFTrue)
set InstanceCreatorUID (0008,0014)
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
@ ESM_fromHere
start search from current object
Definition: dctypes.h:124
OFCondition getGantryAngle(OFString &value, const signed long pos=0) const
get GantryAngle (300a,011e)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmDirectoryRecord * buildPatientRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFFilename &sourceFilename)
create or update patient record and copy required values from dataset
virtual ~WlmDataSource()
destructor
OFCondition read(DcmItem &item)
read elements from sequence item
DcmShortString TimezoneOffsetFromUTC
TimezoneOffsetFromUTC (0008,0201) vr=SH, vm=1, type=3.
Definition: drtdose.h:4662
T_ASC_PresentationContextID PresentationContextID
presentation context ID to be used for sending this SOP instance
Definition: dstorscu.h:429
static OFBool isDateQuery(const void *queryData, const size_t querySize)
Check whether the given query data conforms to the VR DA.
virtual OFString getName() const
Get name of component.
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print image reference.
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
virtual OFCondition setSeriesNumber(const OFString &value, const OFBool check=OFTrue)
set SeriesNumber (0020,0011)
virtual OFCondition getUint16Array(Uint16 *&wordVals)
get reference to stored 16 bit data.
virtual DcmEVR ident(void) const
get type identifier
Definition: dcpixseq.h:106
OFBool isWriteLock
did we acquire a write lock?
Definition: ofthread.h:555
STD_NAMESPACE ostream & lockCout()
acquires a lock on the cout stream and returns a reference to the stream.
Definition: ofconsol.h:84
void parseArguments(OFConsoleApplication &app, OFCommandLine &cmd)
Parse and evaluate the given command line arguments.
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_UnsupportedValue
error: a value is not supported by this implementation
Item & getCurrentItem()
get current item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Class representing a Track of of the "Tractography Results" IOD.
Definition: trctrack.h:36
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const DRTReferencedBeamSequenceInRTDoseModule & getReferencedBeamSequence() const
get ReferencedBeamSequence (300c,0004)
Definition: drtrfgs.h:121
virtual OFCondition getSeriesTime(OFString &value, const signed long pos=0) const
get SeriesTime (0008,0031)
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFCondition parse16BppRow(const Uint8 *row, const Uint16 width, char *pixData) const
Parse a single 16bpp row of BMP data.
bool immediateFlush
Immediate flush means that the underlying writer or output stream will be flushed at the end of each ...
Definition: fileap.h:148
virtual DSRContainerTreeNode * clone() const
clone this tree node.
DcmOtherByteOtherWord(const DcmOtherByteOtherWord &old)
copy constructor
virtual OFBool getCursorToSubTree(DSRDocumentTreeNodeCursor &cursor) const
get a cursor to the subtree below the current node.
DRTStrainStockSequence(const DRTStrainStockSequence ©)
copy constructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpss.h:320
Item EmptyItem
empty default item
Definition: drtitts.h:617
Class for managing common image IOD attributes.
Definition: iodimage.h:64
virtual unsigned long getOutputDataSize(const int bits=0) const =0
get number of bytes required for the rendered output of a single frame
const Item & getCurrentItem() const
get current item in the sequence
const DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModule & getTreatmentMachineSequence() const
get TreatmentMachineSequence (300a,0206)
Definition: drtplan.h:1994
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
void clear()
clear all internal member variables
OFCondition getTableTopEccentricAxisDistance(OFString &value, const signed long pos=0) const
get TableTopEccentricAxisDistance (300a,0124)
virtual OFBool operator!=(const OFTime &timeVal) const
comparison operator (unequal) Please note that the time values are first transformed to the Coordinat...
void clear()
clear all internal member variables
OFCondition setAnnotationSOPInstanceUID(size_t idx, const char *value)
sets the SOP instance UID for the given annotation.
Item class.
Definition: drtrshs6.h:36
virtual OFCondition getClinicalTrialSubjectID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectID (0012,0040)
DcmDecimalString MeasuredAPDimension
MeasuredAPDimension (0010,1023) vr=DS, vm=1, type=3.
Definition: drtstrct.h:2876
int compare(const DiBaseLUT *lut)
compares current LUT with specified LUT
OFCondition addItem(const OFString &studyUID, const OFString &seriesUID, const OFString &sopClassUID, const OFString &instanceUID, const OFBool check=OFTrue)
add the specified item to the list of references.
OFCondition getApplicatorType(OFString &value, const signed long pos=0) const
get ApplicatorType (300a,0109)
DcmLongString ClinicalTrialSubjectReadingID
ClinicalTrialSubjectReadingID (0012,0042) vr=LO, vm=1, type=1C.
Definition: drttreat.h:2728
virtual OFCondition setOriginalSpecializedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set OriginalSpecializedSOPClassUID (0008,001b)
OFBool isValid() const
check for validity/completeness.
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
const DRTStrainCodeSequence & getStrainCodeSequence() const
get StrainCodeSequence (0010,0219)
Definition: drttreat.h:1713
OFCondition getRangeShifterWaterEquivalentThickness(Float32 &value, const unsigned long pos=0) const
get RangeShifterWaterEquivalentThickness (300a,0366)
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition setFrameOfReferenceUID(const OFString &value, const OFBool check=OFTrue)
set FrameOfReferenceUID (0020,0052)
DcmObject * Parent
pointer to parent object if contained in a dataset/item (might be NULL)
Definition: dcobject.h:810
virtual void updateOriginalXfer()
update the original transfer syntax, e.g. in case the dataset was created in memory and pixel data wa...
OFCondition getRespiratoryMotionCompensationTechnique(OFString &value, const signed long pos=0) const
get RespiratoryMotionCompensationTechnique (0018,9170)
size_t getNumberOfItems() const
get number of items in the sequence
Item class.
Definition: drtcss.h:37
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition write(DcmItem &item)
write elements to sequence item
virtual ~DRTTypes()
destructor.
Base class for C-FIND, C-MOVE and C-GET responses.
Definition: scu.h:75
virtual OFCondition verifyDocument(const OFString &observerName, const DSRCodedEntryValue &observerCode, const OFString &organization, const OFString &dateTime="", const OFBool check=OFTrue)
verify the current document by a specific observer.
Item & getCurrentItem()
get current item in the sequence
OFCondition getFixationDeviceRollAngle(Float32 &value, const unsigned long pos=0) const
get FixationDeviceRollAngle (300a,019a)
OFCondition getNumberOfBoli(OFString &value, const signed long pos=0) const
get NumberOfBoli (300a,00ed)
virtual OFCondition setServiceEpisodeDescription(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeDescription (0038,0062)
virtual ~DRTLateralSpreadingDeviceSequence()
destructor
DcmTime PerformedProcedureStepEndTime
PerformedProcedureStepEndTime (0040,0251) vr=TM, vm=1, type=3.
Definition: drtionpl.h:3111
void insert(DVPSStoredPrint *newSP)
adds a Stored Print object to the list of managed objects.
Definition: dvpsspl.h:76
static const int hashTabLength
number of buckets in hash table
Definition: dchashdi.h:291
OFBool checkPrivateKeyMatchesCertificate()
checks if the private key and the certificate set using setPrivateKeyFile() and setCertificateFile() ...
DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence()
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drttreat.h:1479
virtual OFCondition getOverlayBitPosition(Uint16 &value, const unsigned long pos=0) const
get OverlayBitPosition (60xx,0102)
DiRotateTemplate(DiPixel *pixel, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int degree)
constructor.
Definition: dirotat.h:58
virtual DcmDirectoryRecord * removeSub(DcmDirectoryRecord *dirRec)
remove child directory record.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual ~Item()
destructor
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtrscs.h:339
DcmCodeString BurnedInAnnotation
BurnedInAnnotation (0028,0301) vr=CS, vm=1, type=3.
Definition: drtimage.h:5094
virtual ~DSRProcedureLogConstraintChecker()
destructor
@ DfFK_89Zr
(126760,DCM,"Df-FK ^89^Zr")
Definition: cid4021.h:110
@ ST_UNKNOWN
Unknown (e.g. not initialized)
Definition: segtypes.h:90
Item class.
Definition: drtrics.h:38
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
virtual OFBool isValid()
check whether the current internal state is valid
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setPositionMeasuringDevice(const OFString &value, const OFBool checkValue=OFTrue)
Set Position Measuring Device.
E_CompletionFlag
SR document completion flag.
Definition: dsrtypes.h:757
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtssrcs.h:536
OFCondition getSnoutID(OFString &value, const signed long pos=0) const
get SnoutID (300a,030f)
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrds.h:132
OFCondition getRTBeamLimitingDeviceType(OFString &value, const signed long pos=0) const
get RTBeamLimitingDeviceType (300a,00b8)
E_StreamCompression streamCompression
transfer syntax stream compression type
Definition: dcxfer.h:343
virtual ~DRTWedgePositionSequence()
destructor
const Uint16 Columns
width of source image
Definition: discalet.h:244
static const char * lookupProfileName(DcmTLSSecurityProfile profile)
look up the name of the given security profile
DRTStrainStockSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
DRTIssuerOfServiceEpisodeIDSequence & operator=(const DRTIssuerOfServiceEpisodeIDSequence ©)
assigment operator
DcmLongString ClinicalTrialSeriesID
ClinicalTrialSeriesID (0012,0071) vr=LO, vm=1, type=3.
Definition: drtimage.h:5023
virtual OFCondition getPatientID(OFString &value, const signed long pos=0) const
Get Patient ID.
virtual ~DRTReferencedSeriesSequence()
destructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtibs.h:1244
virtual ~Item()
destructor
virtual OFBool isMultiFrameModulePresent(const OFBool complete=OFFalse)
check whether MultiFrameModule (C) is present.
@ EPD_withPadding
add padding tags
Definition: dctypes.h:118
static const OFString & dicomToReadableTime(const OFString &dicomTime, OFString &readableTime)
convert DICOM time string to readable format.
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
virtual OFCondition setSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set series description
virtual OFCondition getString(char *&val, Uint32 &len)
get a pointer to the element value of the current element as type string.
DCMTK_LOG4CPLUS_EXPORT NDC & getNDC()
Return a reference to the singleton object.
DSRPNameTreeNode(const E_RelationshipType relationshipType)
constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtdvhs.h:501
unsigned long getPrintBitmapSize()
gets number of bytes used for the print bitmap.
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
OFCondition getCumulativeDoseToDoseReference(Float64 &value, const unsigned long pos=0) const
get CumulativeDoseToDoseReference (3008,0052)
OFCondition getEndCumulativeMetersetWeight(OFString &value, const signed long pos=0) const
get EndCumulativeMetersetWeight (300c,0009)
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setAccessionNumber(const OFString &value, const OFBool check=OFTrue)
set AccessionNumber (0008,0050)
@ Ranibizumab_89Zr
(126742,DCM,"Ranibizumab ^89^Zr")
Definition: cid4021.h:248
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtssrcs.h:205
virtual OFCondition setSOPInstanceStatus(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceStatus (0100,0410)
int dimse_timeout_
timeout for DIMSE operations
Definition: dcmqrtis.h:291
void Next()
Sets the iterator to the next element in the set.
Definition: ofsetit.h:99
OFCondition setSOPInstanceUID(const OFString &sopInstanceUID, const OFBool check=OFTrue)
set SOP instance UID value.
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
const Item & getCurrentItem() const
get current item in the sequence
const char * getConfigEntry(const char *l2_key, const char *l1_key, const char *l0_key)
returns the entry with the given keys.
Item(const Item ©)
copy constructor
Interface class for QuantityDefinitionSequence (0040,9220)
Definition: drtqds.h:32
DcmLongString SeriesDescription
SeriesDescription (0008,103e) vr=LO, vm=1, type=3.
Definition: drtimage.h:4990
virtual OFCondition setPhotometricInterpretation(const OFString &value, const OFBool check=OFTrue)
set PhotometricInterpretation (0028,0004)
const DRTRealWorldValueMappingSequence & getRealWorldValueMappingSequence() const
get RealWorldValueMappingSequence (0040,9096)
Definition: drtimage.h:2884
virtual OFCondition setRecognizableVisualFeatures(const OFString &value, const OFBool checkValue=OFTrue)
Set Recognizable Visual Features.
const Item & operator[](const size_t num) const
get particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
static const char * getOpenSSLVersionName()
returns the version name of the OpenSSL version used.
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtpics.h:345
Item & operator[](const size_t num)
get particular item in the sequence
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtbas.h:343
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Uint16 getMinValue() const
get minimum value of the LUT.
Definition: dibaslut.h:203
@ EGL_noChange
no change of group length values, WARNING: DO NOT USE THIS VALUE FOR WRITE OPERATIONS
Definition: dctypes.h:102
Item & operator[](const size_t num)
get particular item in the sequence
DRTMotionSynchronizationSequence MotionSynchronizationSequence
MotionSynchronizationSequence (300a,0410) vr=SQ, vm=1, type=3.
Definition: drtpss.h:325
virtual OFCondition setPatientWeight(const OFString &value, const OFBool check=OFTrue)
set PatientWeight (0010,1030)
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool isEmpty()
check if item is empty
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
virtual OFCondition updateLossyCompressionRatio(DcmItem *dataset, double ratio) const
create Lossy Image Compression and Lossy Image Compression Ratio.
Item & getCurrentItem()
get current item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
int rdunlock()
unlocks the read lock.
const Item & getItem(const size_t num) const
get particular item in the sequence
Item class.
Definition: drttsmds.h:36
OFCondition gotoNextItem()
goto next item in the sequence
@ DSM_Ignore
receive dataset in memory, but do not store it to file
Definition: dstorscp.h:93
@ BiomagneticImaging
(BI,DCM,"Biomagnetic Imaging")
Definition: cid29.h:48
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setFixationLightAzimuthalAngleTolerance(const OFString &value, const OFBool check=OFTrue)
set FixationLightAzimuthalAngleTolerance (300a,0154)
virtual OFCondition setAllergies(const OFString &value, const OFBool check=OFTrue)
set Allergies (0010,2110)
virtual void clearData()
Clear all data.
DVPSAnnotationContent_PList(const DVPSAnnotationContent_PList ©)
copy constructor
OFCondition read(DcmItem &item)
read elements from sequence item
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getWedgeOrientation(OFString &value, const signed long pos=0) const
get WedgeOrientation (300a,00d8)
DRTFractionGroupSequence FractionGroupSequence
FractionGroupSequence (300a,0070) vr=SQ, vm=1, type=1.
Definition: drtionpl.h:3218
OFCondition saveFile(const char *file_name, E_TransferSyntax opt_xfer=EXS_Unknown, E_EncodingType opt_enctype=EET_UndefinedLength, E_GrpLenEncoding opt_glenc=EGL_recalcGL, E_PaddingEncoding opt_padenc=EPD_noChange, OFCmdUnsignedInt opt_filepad=0, OFCmdUnsignedInt opt_itempad=0, OFBool opt_dataset=OFFalse)
Saves current dataset back to a file.
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
const DSRCodedEntryValue & getSelectedValue() const
get currently selected coded entry value (optional)
Definition: dsrctxgr.h:113
OFCondition setReferencedBeamNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedBeamNumber (300c,0006)
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
OFCondition getBeamType(OFString &value, const signed long pos=0) const
get BeamType (300a,00c4)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtgas.h:190
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmUniqueIdentifier SOPClassUID
SOPClassUID (0008,0016) vr=UI, vm=1, type=1.
Definition: drtdose.h:4638
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
@ ESM_afterStackTop
start search from object following the object pointed to by stack top
Definition: dctypes.h:128
OFString ObservationUID
observation unique identifier (VR=UI, optional)
Definition: dsrdoctn.h:762
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeApprovalNumber(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
void pop()
removes the top element from the stack.
Definition: ofstack.h:267
OFCondition setHeadFixationAngle(const Float32 value, const unsigned long pos=0)
set HeadFixationAngle (300a,0148)
static const size_t HF_HTML32Compatibility
external: output compatible to HTML version 3.2 (default: 4.01)
Definition: dsrtypes.h:323
OFCondition gotoFirstItem()
goto first item in the sequence
@ ERM_metaOnly
read meta-header only, do not read the dataset
Definition: dctypes.h:152
static const char * getString(const EI_Status status)
convert status code to status string
virtual OFCondition getInstanceCreationTime(OFString &value, const signed long pos=0) const
get instance creation time
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtiws.h:409
DcmUniqueIdentifier StudyInstanceUID
StudyInstanceUID (0020,000d) vr=UI, vm=1, type=1.
Definition: drttreat.h:2737
virtual OFBool isClinicalTrialStudyModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialStudyModule (U) is present.
DcmDictEntry(Uint16 g, Uint16 e, Uint16 ug, Uint16 ue, DcmVR vr, const char *nam, int vmMin, int vmMax, const char *vers, OFBool doCopyStrings, const char *pcreator)
constructor for repeating tags
@ DCMSCU_ABORT_ASSOCIATION
Abort the current association.
Definition: scu.h:49
@ EFG_UNKNOWN
Unknown functional group.
Definition: fgtypes.h:113
DcmCodeString BeamType
BeamType (300a,00c4) vr=CS, vm=1, type=1.
Definition: drttsibs.h:978
size_t getNumberOfItems() const
get number of items in the sequence
const DcmObject * getParent() const
get parent of this object.
Definition: dcobject.h:376
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setClinicalTrialCoordinatingCenterName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialCoordinatingCenterName (0012,0060)
DRTPurposeOfReferenceCodeSequence & getPurposeOfReferenceCodeSequence()
get PurposeOfReferenceCodeSequence (0040,a170)
Definition: drtris.h:114
virtual ~DRTContentItemModifierSequence()
destructor
Item & getItem(const size_t num)
get particular item in the sequence
DcmFloatingPointDouble FloatingPointValue
FloatingPointValue (0040,a161) vr=FD, vm=1-n, type=1C.
Definition: drtcims.h:345
DcmLongString PatientID
PatientID (0010,0020) vr=LO, vm=1, type=2.
Definition: drtiontr.h:2796
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getReferencedStopControlPointIndex(OFString &value, const signed long pos=0) const
get ReferencedStopControlPointIndex (300c,00f6)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool haveProcessWithWriteAccess(const char *calledAETitle) const
check if we have a child process that has write access to the given aetitle.
Item(const Item ©)
copy constructor
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
virtual OFCondition setPixelAspectRatio(const OFString &value, const OFBool check=OFTrue)
set PixelAspectRatio (0028,0034)
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
OFCondition setPolyShutterOrigin(Sint32 x, Sint32 y)
sets polygonal display shutter origin.
Item & operator=(const Item ©)
assigment operator
OFCondition getXRayImageReceptorAngle(OFString &value, const signed long pos=0) const
get XRayImageReceptorAngle (3002,000e)
OFCondition gotoNextItem()
goto next item in the sequence
DcmFloatingPointDouble m_ImagePositionVolume
Image Position (Volume) (FD, VM 3, Required type 1)
Definition: fgplanposvol.h:156
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmLongString PatientDeathDateInAlternativeCalendar
PatientDeathDateInAlternativeCalendar (0010,0034) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2739
virtual OFCondition setQualityControlSubject(const OFString &value, const OFBool check=OFTrue)
set QualityControlSubject (0010,0200)
OFCondition getDeliveredSecondaryMeterset(OFString &value, const signed long pos=0) const
get DeliveredSecondaryMeterset (3008,0037)
DRTDerivationCodeSequence DerivationCodeSequence
DerivationCodeSequence (0008,9215) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5121
DJEncoderSpectralSelection()
default constructor
@ AP_UltrasoundCCSF
Ultrasound Single Frame with Combined Calibration (STD-US-CC-SF-xxxx)
Definition: dcddirif.h:165
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getHeadFixationAngleTolerance(OFString &value, const signed long pos=0) const
get HeadFixationAngleTolerance (300a,0152)
const Item & getCurrentItem() const
get current item in the sequence
OFString filmSessionInstanceUID
the current film session instance
Definition: dvpssp.h:1087
void clear()
Free resources, e.g.
const Item & getItem(const size_t num) const
get particular item in the sequence
const DRTPersonIdentificationCodeSequence & getPersonIdentificationCodeSequence() const
get PersonIdentificationCodeSequence (0040,1101)
Definition: drtporis.h:154
T_DIMSE_BlockingMode m_dimseBlockingMode
Blocking mode for DIMSE operations.
Definition: scpcfg.h:371
IODRule * clone()
Return deep copy of this object.
OFCondition getROIObservationLabel(OFString &value, const signed long pos=0) const
get ROIObservationLabel (3006,0085)
OFCondition setRangeModulatorNumber(const OFString &value, const OFBool check=OFTrue)
set RangeModulatorNumber (300a,0344)
DcmLongString IssuerOfPatientID
IssuerOfPatientID (0010,0021) vr=LO, vm=1, type=3.
Definition: drtplan.h:2969
DcmFloatingPointSingle presentationPixelMagnificationRatio
VR=FL, VM=1, Type 1c (required if presentationSizeMode is "MAGNIFY")
Definition: dvpsda.h:264
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Returns shared type of this group (can be shared or per-frame)
Definition: fgpixmsr.h:53
int fseek(offile_off_t off, int whence)
sets the file position indicator for the stream pointed to by stream.
Definition: offile.h:750
OFCondition setSetupDeviceDescription(const OFString &value, const OFBool check=OFTrue)
set SetupDeviceDescription (300a,01ba)
OFCondition getDVHROIContributionType(OFString &value, const signed long pos=0) const
get DVHROIContributionType (3004,0062)
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
const DRTCalculatedDoseReferenceSequence & getCalculatedDoseReferenceSequence() const
get CalculatedDoseReferenceSequence (3008,0070)
Definition: drtiontr.h:1209
@ CS_Thai
ISO-IR 166: Thai.
Definition: dsrtypes.h:813
OFCondition setTemplateIdentification(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="", const OFBool check=OFTrue)
set template identifier and mapping resource.
OFCondition getRadiationAtomicNumber(Sint32 &value, const unsigned long pos=0) const
get RadiationAtomicNumber (300a,0304)
IteratorBasedFilter & operator=(const IteratorBasedFilter &)
disable copy assignment.
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getBlockData(OFVector< Float64 > &value) const
get BlockData (300a,0106)
DcmShortString StructureSetLabel
StructureSetLabel (3006,0002) vr=SH, vm=1, type=1.
Definition: drtstrct.h:3014
virtual OFCondition status() const
returns the status of the consumer as an OFCondition object.
OFCondition checkListData(const OFString &sopClassUID, const DSRImageFrameList &frameList, const DSRImageSegmentList &segmentList, const OFBool reportWarnings=OFFalse) const
check the given list of frame and segment numbers for validity.
OFCondition write(DcmItem &item)
write elements to sequence item
double getAbsMaximum() const
get absolute maximum pixel value.
Definition: dimopx.h:170
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid6147.h:152
Item(const Item ©)
copy constructor
OFBool setCurrentDate(const time_t &tt)
set the date value to the current system date.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtoas.h:170
Class representing the SOP Common Module.
Definition: modsopcommon.h:43
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTIonControlPointSequence & getIonControlPointSequence()
get IonControlPointSequence (300a,03a8)
Definition: drtibs.h:552
OFCondition setNumericValue(const OFString &value, const OFBool check=OFTrue)
set NumericValue (0040,a30a)
DcmLongString AuthorizationEquipmentCertificationNumber
AuthorizationEquipmentCertificationNumber (0100,0426) vr=LO, vm=1, type=3.
Definition: drttreat.h:3004
OFList< DVPSSoftcopyVOI * > list_
the list maintained by this object
Definition: dvpssvl.h:159
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getGeneralAccessoryType(OFString &value, const signed long pos=0) const
get GeneralAccessoryType (300a,0423)
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
DRTMACParametersSequence & getMACParametersSequence()
get MACParametersSequence (4ffe,0001)
Definition: drtdose.h:2200
virtual OFCondition setManufacturerModelName(const OFString &value, const OFBool checkValue=OFTrue)
Set Manufacturer's Model Name.
Item & operator[](const size_t num)
get particular item in the sequence
EnumType
types of laterality
Definition: cid244.h:42
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item class.
Definition: drtsss.h:37
OFCondition checkData(const DSRTypes::E_TemporalRangeType temporalRangeType, const DSRReferencedSamplePositionList &samplePositionList, const DSRReferencedTimeOffsetList &timeOffsetList, const DSRReferencedDateTimeList &dateTimeList, const OFBool reportWarnings=OFFalse) const
check the temporal range type and other data for validity.
ItemStruct * getCurrentItem() const
get pointer to currently selected item structure (if any)
OFCondition setCompensatorDescription(const OFString &value, const OFBool check=OFTrue)
set CompensatorDescription (300a,02eb)
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
@ interleaveLine
Line-interleaved (color-by-line)
Definition: djcparam.h:45
void remove()
Remove the diagnostic context for this thread.
CID6147_ResponseCriteria(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
OFCondition setCodingSchemeRegistry(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeRegistry (0008,0112)
virtual OFCondition setReviewerName(const OFString &value, const OFBool check=OFTrue)
set ReviewerName (300e,0008)
DRTReferencedStudySequence ReferencedStudySequence
ReferencedStudySequence (0008,1110) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2922
DcmLongString PerformedProcedureStepDescription
PerformedProcedureStepDescription (0040,0254) vr=LO, vm=1, type=3.
Definition: drtdose.h:4309
virtual OFCondition setSeriesNumber(const OFString &value, const OFBool checkValue=OFTrue)
Set Series Number.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual ~Item()
destructor
EM_Overlay Mode
current overlay mode
Definition: diovpln.h:454
void clear()
Clear any nested diagnostic information if any.
DRTContributingEquipmentSequence & operator=(const DRTContributingEquipmentSequence ©)
assigment operator
DimensionOrganizationItem(OFshared_ptr< DcmItem > data, OFshared_ptr< IODRules > rules, IODComponent *parent)
Constructor.
int fgetc()
reads the next character from stream and returns it as an unsigned char cast to an int,...
Definition: offile.h:561
Class for checking the relationship content constraints of the Implantation Plan SR Document IOD.
Definition: dsrimpcc.h:43
Item & operator[](const size_t num)
get particular item in the sequence
DcmUniqueIdentifier SOPClassUID
SOPClassUID (0008,0016) vr=UI, vm=1, type=1.
Definition: drtimage.h:5398
virtual ~DSRTypes()
destructor.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getGantryAngle(Float64 &value, const unsigned long pos=0) const
get GantryAngle (300a,011e)
virtual OFCondition setClinicalTrialSponsorName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSponsorName (0012,0010)
virtual OFCondition getStrainDescription(OFString &value, const signed long pos=0) const
get StrainDescription (0010,0212)
char ** supportedAbstractSyntaxes
array of supported abstract syntaxes
Definition: wlmactmg.h:79
virtual IODReferences & getReferencedInstances()
Return references to images that contributed to the Tractography Results object.
Item & operator=(const Item ©)
assigment operator
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmUnlimitedText StrainAdditionalInformation
StrainAdditionalInformation (0010,0218) vr=UT, vm=1, type=3.
Definition: drtplan.h:3015
virtual OFCondition getPixelSpacing(Float64 &value, const unsigned long pos=0) const
get PixelSpacing (0028,0030)
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setPerformedProcedureStepStartTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartTime (0040,0245)
const OFOrderedSet< T > & operator=(const OFOrderedSet< T > &src)
operator=.
Definition: ofoset.h:77
E_ValueStatus getValue(const char *&value)
returns next argument as a C string
virtual DcmItem * remove(DcmItem *item)
remove item from list.
OFBool isEmpty()
check if item is empty
OFBool isEmpty()
check if item is empty
FGPixelMeasures()
Constructor, creates empty Pixel Measures Functional Group.
This header defines Filter and all of it's subclasses.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition clear()
clear the currently stored value
OFCondition getBrachyAccessoryDeviceType(OFString &value, const signed long pos=0) const
get BrachyAccessoryDeviceType (300a,0264)
virtual OFCondition getInstanceCreatorUID(OFString &value, const signed long pos=0) const
Get Instance Creator UID.
Item & operator=(const Item ©)
assigment operator
void clear()
clear all internal member variables
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFList< DcmQueryRetrieveProcessSlot * > table_
the list of process entries maintained by this object.
Definition: dcmqrptb.h:92
virtual OFCondition setModality(const OFString &value, const OFBool check=OFTrue)
set Modality (0008,0060)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setTableTopPitchRotationDirection(const OFString &value, const OFBool check=OFTrue)
set TableTopPitchRotationDirection (300a,0142)
Base class to handle look-up tables.
Definition: dibaslut.h:49
E_TransferState getTransferState() const
return the current transfer state of this object during serialization/deserialization
Definition: dcobject.h:734
bool exists(const log4cplus::tstring &key) const
Tests to see if key can be found in this map.
virtual void clear()
clear all internal member variables
OFBool OptionBlockMode
OFTrue if option block is active, OFFalse otherwise.
Definition: ofcmdln.h:1084
OFCondition setPatientID(const OFString &value, const OFBool check=OFTrue)
set PatientID (0010,0020)
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getTableTopLateralPosition(Float64 &value, const unsigned long pos=0) const
get TableTopLateralPosition (300a,012a)
Definition: dulstruc.h:172
virtual OFCondition setImagePositionVolume(const Float64 &value, const unsigned long pos=0, const OFBool checkValue=OFTrue)
Set Image Position Volume, i.e. the x/y/z coordinates of the upper left hand corner (center of the fi...
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition setExternalContourEntryPoint(const Float32 value, const unsigned long pos=0)
set ExternalContourEntryPoint (300a,0133)
OFCondition setNumberOfFractionsPlanned(const OFString &value, const OFBool check=OFTrue)
set NumberOfFractionsPlanned (300a,0078)
DcmCodeString PatientAlternativeCalendar
PatientAlternativeCalendar (0010,0035) vr=CS, vm=1, type=1C.
Definition: drtimage.h:4795
size_t windowType
mode for VOI transformation of monochrome images.
Definition: djcparam.h:381
Class representing a Dimension Index Pointer Sequence Item managed by the Multi-frame Dimension Modul...
Definition: modmultiframedimension.h:110
static const OFString & currentTime(OFString &timeString)
Get current time in DICOM 'TM' format (HHMMSS) The optional UTC notation (e.g. +0100) is currently no...
E_EncodingType
encoding type for sequences and sequence items
Definition: dctypes.h:91
OFBool OrderSignificantMode
mode indicating whether the order of content items in this template is significant (default: false)
Definition: dsrctpl.h:225
unsigned char * buf
the buffer to which data is written
Definition: simaccon.h:153
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrros.h:482
DcmQueryRetrieveIndexDatabaseHandleFactory(const DcmQueryRetrieveConfig *config)
constructor
virtual offile_off_t avail() const
returns the minimum number of bytes that can be written with the next call to write().
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTPrivateDataElementCharacteristicsSequence PrivateDataElementCharacteristicsSequence
PrivateDataElementCharacteristicsSequence (0008,0300) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5455
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
this class describes configuration settings for a list of storage areas
Definition: dcmqrcnf.h:162
DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule & operator=(const DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule ©)
assigment operator
OFCondition getNumberOfLateralSpreadingDevices(Sint32 &value, const unsigned long pos=0) const
get NumberOfLateralSpreadingDevices (300a,0330)
virtual OFCondition setTreatmentStatusComment(const OFString &value, const OFBool check=OFTrue)
set TreatmentStatusComment (3008,0202)
int RLE_prev_
value of the last byte fed to the RLE compressor.
Definition: dcrleenc.h:403
OFCondition read(DcmItem &item)
read elements from sequence item
DcmCodeString m_FrameType
Frame Type (CS, VM 4, Required type 1)
Definition: fgusimagedescription.h:173
OFCondition getAlternateBeamDose(Float64 &value, const unsigned long pos=0) const
get AlternateBeamDose (300a,0091)
Interface class for MotionSynchronizationSequence (300a,0410)
Definition: drtmss.h:28
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getPatientBodyMassIndex(OFString &value, const signed long pos=0) const
get PatientBodyMassIndex (0010,1022)
Uint32 getMaxReceivePDULength() const
Returns maximum PDU length configured to be received by SCP.
const void * getData() const
get pointer to output pixel data
Definition: dimoopxt.h:167
E_ValueStatus getValueAndCheckMinMax(OFCmdFloat &value, const OFCmdFloat low, const OFCmdFloat high)
returns next argument as a floating point value and checks for given boundaries
virtual OFCondition readFrames(DcmItem &dataset)
Read frames.
OFCondition getWedgeOrientation(OFString &value, const signed long pos=0) const
get WedgeOrientation (300a,00d8)
OFCondition getRationalNumeratorValue(Sint32 &value, const unsigned long pos=0) const
get RationalNumeratorValue (0040,a162)
DiMonoPixel(const DiMonoPixel *pixel, const unsigned long count)
constructor
DSRSOPInstanceReferenceList CurrentRequestedProcedureEvidence
Current Requested Procedure Evidence Sequence: (SQ, 1-n, 1C)
Definition: dsrdoc.h:1449
Interface class for FractionGroupSequence (300a,0070) in RTFractionSchemeModule.
Definition: drtfgs.h:32
static OFCondition create(const OFString &trackSetLabel, const OFString &trackSetDescription, const CodeWithModifiers &trackSetAnatomy, const CodeSequenceMacro &trackSetDiffusionModelCode, const AlgorithmIdentificationMacro &trackSetAlgorithmIdentification, TrcTrackSet *&trackSet)
Create TrcTrackSet object by proving required data.
OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
virtual OFString getModule() const
Get module (or component name) the related attribute belongs to.
int writePPM(FILE *stream) const
write pixel data of selected frame to PPM/ASCII file
Definition: dicoopxt.h:199
void updatePrivateCreator(const char *c)
replace privateCreator with copy of given string
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
const DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence() const
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtstrct.h:1260
DRTReferencedFrameOfReferenceSequence & getReferencedFrameOfReferenceSequence()
get ReferencedFrameOfReferenceSequence (3006,0010)
Definition: drtdose.h:2428
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setPixelPaddingRangeLimit(const Uint16 value, const unsigned long pos=0)
set PixelPaddingRangeLimit (0028,0121)
@ YBR_RCT_CRComponent
(110848,DCM,"YBR RCT CR Component"), included from CID 7180
Definition: cid7469.h:232
DRTRecordedCompensatorSequence RecordedCompensatorSequence
RecordedCompensatorSequence (3008,00c0) vr=SQ, vm=1, type=1C.
Definition: drttsibs.h:1034
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
void clear()
clear all internal member variables
Item & getCurrentItem()
get current item in the sequence
DRTOtherPatientIDsSequence OtherPatientIDsSequence
OtherPatientIDsSequence (0010,1002) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2667
virtual OFCondition setLongitudinalTemporalEventType(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalEventType (0012,0053)
virtual OFCondition setRTImageSID(const OFString &value, const OFBool check=OFTrue)
set RTImageSID (3002,0026)
virtual ~DJDecoderExtended()
destructor
A non-POD version of "struct group" for thread- and memory-safe data access.
Definition: ofgrp.h:65
DRTReferencedPatientSequence & operator=(const DRTReferencedPatientSequence ©)
assigment operator
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setIsocenterPosition(const OFString &value, const OFBool check=OFTrue)
set IsocenterPosition (300a,012c)
@ VolumeOfSphere
(121222,DCM,"Volume of sphere"), included from CID 7472
Definition: cid7469.h:406
this class implements a hash table for colors.
Definition: diqthash.h:41
OFBool compactAfterTransfer
this flag is used during write operations and indicates that compact() should be called once the writ...
Definition: dcvrobow.h:377
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
unsigned int maxLevel_
depth of tree, i.e. number of entries in array_
Definition: ofconfig.h:534
const OFString & getObservationDateTime() const
get observation date/time.
Definition: dsrdoctn.h:361
OFCondition setPrinterFilmSessionLabel(const char *value)
sets the (optional) printer film session label.
static const size_t HF_convertNonASCIICharacters
internal: convert non-ASCII characters (> #127) to &#nnn;
Definition: dsrtypes.h:347
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtssrcs.h:211
Item & operator[](const size_t num)
get particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
@ DT_ComprehensiveSR
DICOM IOD: Comprehensive SR.
Definition: dsrtypes.h:511
Item class.
Definition: drtpics.h:37
static const size_t PF_useANSIEscapeCodes
use ANSI escape codes for output
Definition: dsrtypes.h:432
virtual OFBool isValid()
check whether the current internal state is valid.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool hasStorageAbility
Indicator if process has storage ability.
Definition: scp.h:58
Class representing the Algorithm Identification Macro.
Definition: iodmacro.h:821
static const unsigned int ftoa_format_f
Use f or F conversion format instead of g or G.
Definition: ofstd.h:838
DcmIntegerString ReferencedLateralSpreadingDeviceNumber
ReferencedLateralSpreadingDeviceNumber (300c,0102) vr=IS, vm=1, type=1.
Definition: drtrlsds.h:155
OFCondition gotoNextItem()
goto next item in the sequence
DcmUniversalResourceIdentifierOrLocator(const DcmUniversalResourceIdentifierOrLocator &old)
copy constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
IODModule & operator=(const IODModule &rhs)
Assignment operator, creates shallow copy.
DRTOtherPatientIDsSequence & getOtherPatientIDsSequence()
get OtherPatientIDsSequence (0010,1002)
Definition: drtdose.h:2260
void setDIMSETimeout(const Uint32 dimseTimeout)
Set the timeout to be waited for incoming DIMSE message packets.
type definitions, constants and helper classes for the dcmseg module
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtiais.h:324
void clear()
clear all internal member variables
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1.
Definition: drtcsis.h:215
Item(const Item ©)
copy constructor
DRTReferencedSeriesSequence & getReferencedSeriesSequence()
get ReferencedSeriesSequence (0008,1115)
Definition: drtstrct.h:1662
DcmShortString RTPlanLabel
RTPlanLabel (300a,0002) vr=SH, vm=1, type=1.
Definition: drtionpl.h:3169
OFCondition error() const
returns current status flag
Definition: dcdirrec.h:222
Item(const Item ©)
copy constructor
OFBool isEmpty()
check if sequence is empty
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition removeGraphicLayer(size_t idx)
removes and deletes a graphic layer.
virtual OFCondition writeFractionalFrames(DcmItem &dataset)
Write fractional frames to given item.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Interface class for GeneticModificationsCodeSequence (0010,0229)
Definition: drtgmcs.h:29
DcmTime SeriesTime
SeriesTime (0008,0031) vr=TM, vm=1, type=3.
Definition: drtstrct.h:2934
DcmCodeString ApprovalStatus
ApprovalStatus (300e,0002) vr=CS, vm=1, type=1.
Definition: drtionpl.h:3228
const OFString & getRetrieveLocationUID(OFString &stringValue) const
get the retrieve location UID of the currently selected entry (optional)
OFCondition setControlPointOrientation(const Float32 value, const unsigned long pos=0)
set ControlPointOrientation (300a,0412)
DcmShortString TimezoneOffsetFromUTC
TimezoneOffsetFromUTC (0008,0201) vr=SH, vm=1, type=3.
Definition: drtimage.h:5422
DcmEVR getEVR() const
get enumerated VR managed by this object
Definition: dcvr.h:350
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getPatientWeight(OFString &value, const signed long pos=0) const
get PatientWeight (0010,1030)
size_t size() const
get number of VOI Windows in this list.
Definition: dvpsvwl.h:74
OFCondition write(DcmItem &item)
write elements to sequence item
DcmIntegerString RadiationMassNumber
RadiationMassNumber (300a,0302) vr=IS, vm=1, type=1C.
Definition: drtibs.h:1033
void updateAttributes()
update various DICOM attributes
virtual OFCondition getRows(Uint16 &value, const unsigned long pos=0)
Get Rows.
virtual OFCondition read(DcmItem &item)
Read Frame VOI LUT Sequence from given item.
virtual OFBool attributeForbidden(const DcmTagKey &key) const
checks whether an attribute with the given tag must not be signed for the current security profile.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtrscs.h:331
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition getAcquisitionTimeSynchronized(OFString &value, const signed long pos=0) const
Get Acquisition Time Synchronized.
static double labfInv(double n)
CIE L*a*b* inverse f function.
void clear()
clear all internal member variables
virtual ~DVPSPresentationLUT()
destructor
OFBool hasVolumetricROIMeasurements(const OFBool checkChildren=OFFalse) const
check whether there is an included 'Volumetric ROI Measurements' template (TID 1500 - Row 8) in this ...
@ _45_Titanium
(75696008,SCT,"^45^Titanium")
Definition: cid4020.h:62
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtpics.h:329
DcmOtherFloat & operator=(const DcmOtherFloat &obj)
assignment operator
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtsptcs.h:351
OFCondition setCompensatorNumber(const OFString &value, const OFBool check=OFTrue)
set CompensatorNumber (300a,00e4)
virtual OFCondition setSeriesTime(const OFString &value, const OFBool check=OFTrue)
set SeriesTime (0008,0031)
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
DcmDate InstanceCreationDate
InstanceCreationDate (0008,0012) vr=DA, vm=1, type=3.
Definition: drtstrct.h:3078
virtual OFCondition setMedicalAlerts(const OFString &value, const OFBool check=OFTrue)
set MedicalAlerts (0010,2000)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtblds1.h:367
OFCondition setType(DVPSPresentationLUTType newType)
sets the current Presentation LUT type.
virtual IODGeneralStudyModule & getIODGeneralStudyModule()
Get General Study Module.
DcmIntegerString & operator=(const DcmIntegerString &obj)
assignment operator
DcmInputStreamFactory * fLoadValue
required information to load value later
Definition: dcelem.h:995
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item EmptyItem
empty default item
Definition: drtiws.h:416
DRTReferencedDoseSequence & getReferencedDoseSequence()
get ReferencedDoseSequence (300c,0080)
Definition: drtibs.h:636
DRTReferencedDoseSequence & getReferencedDoseSequence()
get ReferencedDoseSequence (300c,0080)
Definition: drtplan.h:1724
@ Butanol_O15
(422540000,SCT,"Butanol O^15^")
Definition: cid4021.h:76
OFCondition getApplicatorOpeningY(Float32 &value, const unsigned long pos=0) const
get ApplicatorOpeningY (300a,0435)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
ContentIdentificationMacro(const OFString &instanceNumber, const OFString &contentLabel, const OFString &contentDescription, const OFString &contentCreatorName)
Constructor initializing basic data.
DcmDictEntry * insertAndReplace(DcmDictEntry *entry)
inserts an entry into the list and returns any replaced entry
OFBool EncodingCheck
check pixel encoding
Definition: dcddirif.h:1574
DcmShortString TreatmentMachineName
TreatmentMachineName (300a,00b2) vr=SH, vm=1, type=2.
Definition: drttms0.h:212
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setCommentsOnThePerformedProcedureStep(const OFString &value, const OFBool check=OFTrue)
set CommentsOnThePerformedProcedureStep (0040,0280)
DcmLongString m_AlgorithmSource
Algorithm Source: (LO, VM 1, Typ 3)
Definition: iodmacro.h:954
@ CF_Partial
DICOM enumerated value: PARTIAL.
Definition: dsrtypes.h:761
RetrieveResponse(const RetrieveResponse &other)
Private undefined copy constructor.
int isOverlayVisible(const unsigned int plane, const unsigned int idx=0)
check whether specified overlay plane is visible/activated.
Definition: dcmimage.h:1044
void addSTLCommandlineOptions(OFCommandLine &cmd)
Add STL specific command line options to the OFCommandLine object passed to the constructor.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTReferencedRTPlanSequenceInRTImageModule ReferencedRTPlanSequence
ReferencedRTPlanSequence (300c,0002) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5312
DcmShortText configurationInformation
Module=Image_Box_List, VR=ST, VM=1, Type 3.
Definition: dvpsib.h:347
virtual void clearData()
Clear (removes) all attributes handled by the modules of this component.
DcmQuantHistogramItem()
default constructor
Definition: diqthitm.h:52
DcmDecimalString m_ImageOrientationPatient
Image Orientation (Patient) (DS, VM 6, Required type 1C)
Definition: fgplanor.h:172
Class for checking the relationship content constraints of the Basic Text SR IOD.
Definition: dsrbascc.h:40
DRTReferencedSpatialRegistrationSequence(const DRTReferencedSpatialRegistrationSequence ©)
copy constructor
DcmCodeString PatientSex
PatientSex (0010,0040) vr=CS, vm=1, type=2.
Definition: drtdose.h:4094
DVPSPresentationLUT * getImagePresentationLUT(size_t idx)
gets the presentation LUT for the given registered image box.
OFCondition removeGraphicObject(const char *layer, const char *instanceUID, unsigned long frame, size_t idx)
deletes the graphic object with the given index on the given layer.
DVPSReferencedSeries_PList referencedSeriesList
ReferencedSeriesSequence, Module=Presentation_State.
Definition: dcmpstat.h:861
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
unsigned long getMaxVal() const
after a call to computeHistogram(), this method returns the maximum pixel value to which all color sa...
Definition: diqtctab.h:83
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence()
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtdose.h:2296
virtual ~DSRDocumentTreeNode()
destructor
Item class.
Definition: drtrmdrs.h:36
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
virtual ~Item()
destructor
OFCondition getBlockThickness(Float64 &value, const unsigned long pos=0) const
get BlockThickness (300a,0100)
virtual OFCondition getSOPInstanceUID(OFString &value, const signed long pos=0) const
get SOPInstanceUID (0008,0018)
virtual OFBool hasExtendedCodedEntries() const
check whether this context group has any extended coded entries.
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtspcs.h:344
virtual ~Item()
destructor
virtual OFCondition setPositionReferenceIndicator(const OFString &value, const OFBool check=OFTrue)
set PositionReferenceIndicator (0020,1040)
void closeFile()
Closes BMP file.
Uint32 writeBuffer(DcmOutputStream &outStream)
write buffer content to output stream
const Item & getItem(const size_t num) const
get particular item in the sequence
static const OFString m_ModuleName
This module's name ("ImagePixelModule")
Definition: modimagepixel.h:211
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getPerformedProcedureStepEndTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndTime (0040,0251)
@ DENY
The log event must be dropped immediately without consulting with the remaining filters,...
Definition: filter.h:51
virtual OFCondition setPatientSex(const OFString &value, const OFBool checkValue=OFTrue)
Set Patient's Sex.
ConcatenationInfo(OFshared_ptr< DcmItem > data, OFshared_ptr< IODRules > rules)
Constructor.
virtual OFVector< CodeSequenceMacro * > & getEntireMeasurementUnitsCodeSequence()
Get a reference to the entire MeasurementUnitsCodeSequence, including items exceeding the value multi...
@ Micrometer
(um,UCUM,"micrometer"), included from CID 7460
Definition: cid7181.h:64
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Class representing the Plane Orientation (Patient) Functional Group Macro.
Definition: fgplanor.h:35
DSRGraphicData3DList & getGraphicDataList()
get reference to graphic data list.
Definition: dsrsc3vl.h:191
Item & getItem(const size_t num)
get particular item in the sequence
DcmIntegerString NumberOfLeafJawPairs
NumberOfLeafJawPairs (300a,00bc) vr=IS, vm=1, type=1.
Definition: drtiblds.h:182
virtual OFCondition getStudyDescription(OFString &value, const signed long pos=0) const
Get Study Description.
~DcmQuantScaleTable()
destructor
Definition: diqtstab.h:53
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format to a stream
XMLClear * updateClear_WOSD(XMLSTR lpszNewValue, XMLCSTR lpszOldValue)
if the clearTag to update is missing, a new one will be added
OFBool operator!=(const DSRSpatialCoordinatesValue &coordinatesValue) const
comparison operator "not equal"
virtual OFCondition setPatientBreedDescription(const OFString &value, const OFBool check=OFTrue)
set PatientBreedDescription (0010,2292)
virtual OFCondition setFrameAcquisitionDuration(const Float64 &value, const OFBool checkValue=OFTrue)
Set Frame Acquisition Duration.
long usec() const
Returns microseconds value.
Definition: timehelp.h:79
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition getPatientSize(Float64 &value, const unsigned long pos=0) const
get PatientSize (0010,1020)
OFCondition getNumericValue(OFVector< Float64 > &value) const
get NumericValue (0040,a30a)
Item & operator[](const size_t num)
get particular item in the sequence
DRTReferencedSeriesSequence ReferencedSeriesSequence
ReferencedSeriesSequence (0008,1115) vr=SQ, vm=1, type=1C.
Definition: drtdose.h:4700
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
OFCondition setRangeModulatorGatingStopWaterEquivalentThickness(const Float32 value, const unsigned long pos=0)
set RangeModulatorGatingStopWaterEquivalentThickness (300a,0388)
DRTApplicatorSequenceInRTIonBeamsModule & getApplicatorSequence()
get ApplicatorSequence (300a,0107)
Definition: drtibs.h:492
DcmProfileEntry & operator=(const DcmProfileEntry &arg)
copy assignment operator
virtual ~FilterInterface()
enable virtual destructor.
Definition: dcfilter.h:45
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
@ Area
(42798000,SCT,"Area"), included from CID 7471
Definition: cid7469.h:392
virtual OFCondition listen()
Listen for incoming association requests.
virtual OFCondition remove(DcmPixelItem *&item, const unsigned long num)
remove pixel item from list.
const DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence() const
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtiontr.h:1365
void clear()
clear all internal member variables
virtual OFCondition getFrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix(Float64 &value, const unsigned long pos=0) const
get FrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix (0070,030b)
static const char * valueTypeToReadableName(const E_ValueType valueType)
convert value type to readable name.
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtsptcs.h:345
virtual OFCondition setClinicalTrialTimePointDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointDescription (0012,0051)
Class representing rules for a set of DICOM attributes, e.g. for all attributes of a module,...
Definition: iodrules.h:47
virtual OFCondition getLossyImageCompression(OFString &value, const signed long pos=0)
Get Lossy Image Compression.
OFBool isEmpty()
check if sequence is empty
virtual OFBool good() const
returns the status of the consumer.
offile_off_t bufIndex_
number of bytes read from the user buffer
Definition: dcistrmb.h:126
const DRTROIContourSequence & getROIContourSequence() const
get ROIContourSequence (3006,0039)
Definition: drtstrct.h:1560
virtual OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
get SeriesInstanceUID (0020,000e)
DVPSVOIWindow * getVOIWindow(size_t idx)
returns a pointer to the VOI Window with the given index or NULL if it does not exist.
Decoder class for JPEG Spectral Selection (lossy, 8/12-bit)
Definition: djdecsps.h:32
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
DRTReferencedStudySequence ReferencedStudySequence
ReferencedStudySequence (0008,1110) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3093
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
Get Modality (always returns "SEG")
virtual OFBool canAddContentItem(const E_RelationshipType relationshipType, const E_ValueType valueType, const E_AddMode addMode=AM_afterCurrent) const
check whether specified content item can be added to the current one.
Item & operator=(const Item ©)
assigment operator
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DiTIFFCompression compressionType
TIFF compression type.
Definition: dipitiff.h:142
OFCondition setRangeShifterWaterEquivalentThickness(const Float32 value, const unsigned long pos=0)
set RangeShifterWaterEquivalentThickness (300a,0366)
void clear()
clear all internal member variables
Interface class for IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtiseis.h:28
DSRImageSegmentList & getSegmentList()
get reference to list of referenced segment numbers.
Definition: dsrimgvl.h:381
DRTReferencedDoseSequence & getReferencedDoseSequence()
get ReferencedDoseSequence (300c,0080)
Definition: drtcps.h:433
DcmLongString SoftwareVersions
SoftwareVersions (0018,1020) vr=LO, vm=1-n, type=3.
Definition: drttreat.h:2904
DVPSPresentationLUT(const DVPSPresentationLUT ©)
copy constructor
OFBool operator!=(const OFpath &lhs, const OFpath &rhs)
Lexicographically compare two paths.
OFCondition findAndGetSint64Array(const DcmTagKey &tagKey, const Sint64 *&value, unsigned long *count=NULL, const OFBool searchIntoSub=OFFalse)
find element and get value as an array of signed 64-bit integers.
DCMTK_OFSTD_EXPORT const OFConditionConst EC_CouldNotCreateTemporaryFile
condition constant: error, could not create temporary file
DRTAdmittingDiagnosesCodeSequence AdmittingDiagnosesCodeSequence
AdmittingDiagnosesCodeSequence (0008,1084) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2866
static OFCondition create(const Float32 *trackDataPoints, const size_t numPoints, const Uint16 *colors, const size_t numColors, TrcTrack *&trackSet)
Create TrcTrack object from required data.
virtual ~DRTRealWorldValueMappingSequence()
destructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmShortString TimezoneOffsetFromUTC
TimezoneOffsetFromUTC (0008,0201) vr=SH, vm=1, type=3.
Definition: drtionpl.h:3278
virtual OFCondition setNameOfPhysiciansReadingStudy(const OFString &value, const OFBool check=OFTrue)
set NameOfPhysiciansReadingStudy (0008,1060)
OFStatus status() const
get the error status this object represents.
Definition: ofcond.h:270
CID7464_GeneralRegionOfInterestMeasurementModifiers(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
@ ArbitraryUnit
([arb'U],UCUM,"arbitrary unit")
Definition: cid7181.h:136
unsigned int Count
number of (valid) overlay planes
Definition: diovdat.h:69
DCMTK_OFSTD_EXPORT const OFConditionConst EC_setuidFailed
condition constant: error, call to setuid() failed
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtporcs.h:327
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual ~Item()
destructor
DcmDecimalString windowWidth
Module=VOI_LUT, VR=DS, VM=1-n, Type 1c.
Definition: dvpssv.h:215
virtual OFBool deleteShared(const DcmFGTypes::E_FGType fgType)
Deletes a shared functional group of the given type.
void clear()
clear all internal member variables
Uint32 getACSETimeout() const
Returns ACSE timeout in seconds used by timer for message timeouts during association negotiation.
Float32 XCoord
x value (VR=FL)
Definition: dsrsc3gr.h:78
OFCondition getBeamDoseSpecificationPoint(OFString &value, const signed long pos=0) const
get BeamDoseSpecificationPoint (300a,0082)
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFCondition getLeafPositionBoundaries(OFVector< Float64 > &value) const
get LeafPositionBoundaries (300a,00be)
DRTUDISequence UDISequence
UDISequence (0018,100a) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2908
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrbas2.h:302
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Item class.
Definition: drtadcs.h:37
DcmShortString accessionNumber
Module=General_Study, VR=SH, VM=1, Type 2.
Definition: dcmpstat.h:815
static const size_t XF_useDcmsrNamespace
write: add DCMSR namespace declaration to the XML output
Definition: dsrtypes.h:385
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
Item(const Item ©)
copy constructor
Item & getCurrentItem()
get current item in the sequence
OFCondition getBeamLimitingDeviceAngleTolerance(OFString &value, const signed long pos=0) const
get BeamLimitingDeviceAngleTolerance (300a,0046)
Item EmptyItem
empty default item
Definition: drtrsrs.h:315
Item & getCurrentItem()
get current item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
virtual OFCondition setOriginalSpecializedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set OriginalSpecializedSOPClassUID (0008,001b)
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
DcmUnlimitedCharacters(const DcmTag &tag, const Uint32 len=0)
constructor
OFString getOutputFileName()
Returns the output file name.
Base class for a single document tree node filter.
Definition: dsrdnflt.h:53
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtpscs.h:337
virtual OFCondition read(DcmItem &item)
Read Frame Content Sequence from given item.
FGInterface m_FGInterface
Multi-frame Functional Groups high level interface.
Definition: segdoc.h:615
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition setSOPInstanceStatus(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceStatus (0100,0410)
OFCondition getROIElementalCompositionAtomicNumber(Uint16 &value, const unsigned long pos=0) const
get ROIElementalCompositionAtomicNumber (3006,00b7)
Item & operator=(const Item ©)
assigment operator
virtual FGBase * clone() const
Returns a deep copy of this object.
OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
OFCondition setImageRequestedSize(size_t idx, const char *value)
sets the requested size for the given registered image box.
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 ...
DSRSharedSubTemplate ReferencedTemplate
shared pointer to included template that is managed by this class
Definition: dsrtpltn.h:255
virtual OFCondition checkSOPClassUID(const OFString &sopClassUID) const
check the specified SOP class UID for validity.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const DcmPixelData & getPixelData() const
get PixelData (7fe0,0010)
Definition: drtdose.h:1928
OFCondition negotiateAssociation(DcmTransportLayer *tlayer, const char *myAEtitle, const char *peerAEtitle, const char *peerHost, int peerPort, long peerMaxPDU, OFBool negotiatePresentationLUT, OFBool negotiateAnnotationBox, OFBool implicitOnly)
opens a DICOM association to a remote printer.
virtual const DSRDocumentTreeNode * getCurrentNode() const
get read-only access to current node (content item)
OFCondition setScanSpotTuneID(const OFString &value, const OFBool check=OFTrue)
set ScanSpotTuneID (300a,0390)
IODComponent(IODComponent *parent=NULL)
Constructor, creates rules and item from scratch.
Item(const Item ©)
copy constructor
DcmShortString Occupation
Occupation (0010,2180) vr=SH, vm=1, type=3.
Definition: drtimage.h:4948
virtual OFCondition setStudyInstanceUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Study Instance UID.
virtual OFCondition storeCompressedFrame(DcmOffsetList &offsetList, Uint8 *compressedData, Uint32 compressedLen, Uint32 fragmentSize)
appends a single compressed frame to this DICOM pixel sequence
OFCondition getTableTopEccentricAxisDistance(Float64 &value, const unsigned long pos=0) const
get TableTopEccentricAxisDistance (300a,0124)
virtual OFCondition getTableTopEccentricAxisDistance(Float64 &value, const unsigned long pos=0) const
get TableTopEccentricAxisDistance (300a,0124)
DcmOutputBufferStream & operator=(const DcmOutputBufferStream &)
private unimplemented copy assignment operator
void removeIncompleteItems()
remove empty/incomplete items from the list.
OFCondition gotoNextItem()
goto next item in the sequence
Item EmptyItem
empty default item
Definition: drticpds.h:1071
CodeSequenceMacro m_PerformedProtocolCode
Performed Protocol Code Sequence (so far, without optional data)
Definition: modenhusseries.h:131
static void doConfigure(const log4cplus::tstring &configFilename, Hierarchy &h=Logger::getDefaultHierarchy(), unsigned flags=0)
This method eliminates the need to create a temporary PropertyConfigurator to configure log4cplus.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item EmptyItem
empty default item
Definition: drtpscs.h:540
OFCondition getPersonTelecomInformation(OFString &value, const signed long pos=0) const
get PersonTelecomInformation (0040,1104)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmLongString ClinicalTrialProtocolID
ClinicalTrialProtocolID (0012,0020) vr=LO, vm=1, type=1.
Definition: drtionpl.h:2959
DcmLongString ClinicalTrialCoordinatingCenterName
ClinicalTrialCoordinatingCenterName (0012,0060) vr=LO, vm=1, type=2.
Definition: drtimage.h:5021
OFBool useModalityLUT
if true, a modality LUT is set
Definition: dcmpstat.h:956
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
DcmRLEEncoderRegistration & operator=(const DcmRLEEncoderRegistration &)
private undefined copy assignment operator
virtual OFCondition getContentDate(OFString &value, const signed long pos=0)
Get Content Date (from Tractography Results Module)
OFCondition getNumberOfScanSpotPositions(OFString &value, const signed long pos=0) const
get NumberOfScanSpotPositions (300a,0392)
virtual ~DiDocument()
destructor
DcmCodeString BlockType
BlockType (300a,00f8) vr=CS, vm=1, type=1.
Definition: drtibls.h:360
DcmShortString StationName
StationName (0008,1010) vr=SH, vm=1, type=3.
Definition: drtionpl.h:3144
@ Inositol
(72164009,SCT,"Inositol"), included from CID 4033
Definition: cid7469.h:66
SiRSA & operator=(SiRSA &arg)
private undefined copy assignment operator
OFCondition gotoNextItem()
goto next item in the sequence
virtual ~Item()
destructor
virtual OFCondition getStartCumulativeMetersetWeight(OFString &value, const signed long pos=0) const
get StartCumulativeMetersetWeight (300c,0008)
const char * getOverlayLabel()
gets the overlay label if present.
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=3.
Definition: drtces.h:343
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule & getTreatmentMachineSequence() const
get TreatmentMachineSequence (300a,0206)
Definition: drtiontr.h:1857
virtual ~DcmZLibOutputFilter()
destructor
OFCondition readDocumentContentMacro(DcmItem &dataset, const OFString &posString, const size_t flags)
read document content macro
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtporcs.h:536
@ VT_DateTime
DICOM Value Type: DATETIME.
Definition: dsrtypes.h:591
Item & getItem(const size_t num)
get particular item in the sequence
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtecs.h:332
Interface class for InstitutionCodeSequence (0008,0082)
Definition: drtics.h:29
virtual OFString checkAndInventType1Attrib(const DcmTagKey &key, DcmDataset *targetDset, const OFString &defaultValue="") const
Checks whether a given tag exists in a dataset and provides a non-empty value.
Definition: i2doutpl.h:112
virtual OFCondition setSegmentLabel(const OFString &value, const OFBool checkValue=OFTrue)
Set Segment Label.
OFCondition getDVHMeanDose(OFString &value, const signed long pos=0) const
get DVHMeanDose (3004,0074)
virtual OFCondition getClinicalTrialSiteName(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteName (0012,0031)
virtual void run()
Overwrites run() function provided by OFThread.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
unsigned long minimumPrintBitmapWidth
minimum width of print bitmap (used for implicit scaling)
Definition: dviface.h:1747
virtual CodeSequenceMacro & getTransducerApplication()
Get Transducer Application.
OFPair< iterator, bool > insert(const value_type &val)
inserts a new element into the map, but does not overwrite existing elements
Definition: ofmap.h:210
virtual ~Item()
destructor
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual void clear()
clear all member variables, i.e. the tree with all nodes
Definition: dsrtree.h:561
Implementation of DCMR Template: TID 1501 - Measurement Group (and included templates 1502 and 300).
Definition: tid1501.h:55
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFBool isTemplateSupportRequired() const =0
check whether this SR IOD requires template support (abstract)
DRTReferencedSeriesSequence & getReferencedSeriesSequence()
get ReferencedSeriesSequence (0008,1115)
Definition: drtdose.h:2500
void scale(const T *pixel[3], const int interpolate)
scale pixel data
Definition: dicosct.h:100
@ Dynscm5PerM2
(dyn.s.cm-5/m2,UCUM,"dyn.s.cm-5/m2"), included from CID 3503
Definition: cid7181.h:58
@ OphthalmicVisualField
(OPV,DCM,"Ophthalmic Visual Field")
Definition: cid29.h:102
OFCondition getCompensatorMillingToolDiameter(Float32 &value, const unsigned long pos=0) const
get CompensatorMillingToolDiameter (300a,02e8)
OFCondition setICCProfile(const Uint8 *value, const unsigned long count)
set ICCProfile (0028,2000)
OFCondition setDeviceVolume(const OFString &value, const OFBool check=OFTrue)
set DeviceVolume (0050,0018)
virtual OFCondition setImageComments(const OFString &value, const OFBool checkValue=OFTrue)
Set Image Comments.
void setTemplateFile(const OFString &file)
Sets a DICOM file that should serve as a template for the resulting DICOM object.
virtual OFCondition setPatientSex(const OFString &value, const OFBool check=OFTrue)
set PatientSex (0010,0040)
A class for managing and converting between different character encodings.
Definition: ofchrenc.h:45
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
virtual OFCondition getPatientSize(Float64 &value, const unsigned long pos=0) const
get PatientSize (0010,1020)
const DRTDeviceSequence & getDeviceSequence() const
get DeviceSequence (0050,0010)
Definition: drtimage.h:2536
bool putVal(const log4cplus::tstring &name, void *object)
Used to enter an object into the registry.
OFBool isEmpty()
check if item is empty
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrbos7.h:137
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
@ EVR_AT
attribute tag
Definition: dcvr.h:129
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_MandatoryAttributeMissing
error: a mandatory attribute is missing
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getSeriesTime(OFString &value, const signed long pos=0) const
get series time
DRTSourceImageSequence & operator=(const DRTSourceImageSequence ©)
assigment operator
DcmIntegerString ReferencedFractionNumber
ReferencedFractionNumber (3008,0223) vr=IS, vm=1, type=1.
Definition: drtfsss.h:165
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmDateTime SOPAuthorizationDateTime
SOPAuthorizationDateTime (0100,0420) vr=DT, vm=1, type=3.
Definition: drtstrct.h:3105
double getMinDensityValue() const
get minimum optical density value "Dmin".
Definition: didispfn.h:293
virtual OFCondition getString(char *&val)
get a pointer to the element value of the current element as type string.
DRTReferencedCalculatedDoseReferenceSequence(const DRTReferencedCalculatedDoseReferenceSequence ©)
copy constructor
DRTReferencedBeamSequenceInRTFractionSchemeModule & operator=(const DRTReferencedBeamSequenceInRTFractionSchemeModule ©)
assigment operator
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtfds.h:197
DcmDecimalString WindowCenter
WindowCenter (0028,1050) vr=DS, vm=1-n, type=1C.
Definition: drtimage.h:5376
OFCondition setPatientSupportRotationDirection(const OFString &value, const OFBool check=OFTrue)
set PatientSupportRotationDirection (300a,0123)
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
DVPSAnnotationContent_PList * clone()
clone method.
Definition: dvpsabl.h:52
virtual OFCondition setAcquisitionNumber(const OFString &value, const OFBool check=OFTrue)
set AcquisitionNumber (0020,0012)
Uint32 getDIMSETimeout() const
Returns DIMSE timeout (only applicable in blocking mode)
virtual OFCondition getDimensionIndexPrivateCreator(OFString &value, const signed long pos=0) const
Get Dimension Index Private Creator.
DcmObject * prepend(DcmObject *obj)
insert object at start of list
virtual OFCondition getContentDate(OFString &value, const signed long pos=0)
Get Content Date.
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
virtual OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
virtual DcmObject * clone() const
clone method
Definition: dcvrlt.h:83
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getCompensatorTransmissionData(OFVector< Float64 > &value) const
get CompensatorTransmissionData (300a,00eb)
virtual OFCondition getStructureSetDate(OFString &value, const signed long pos=0) const
get StructureSetDate (3006,0008)
signed long renderedImageTop
contains the top hand corner of the attached image after pixel data have been rendered.
Definition: dvpstat.h:1225
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTBreedRegistryCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
const char * getGraphicLayerDescription(size_t idx)
gets a description string for the graphic layer with the given index.
static OFCondition createWithIndices(const Float32 *dataValues, const unsigned long numValues, const Uint32 *trackPointIndices, TrcMeasurement::Values *&values)
Create TrcMeasurement::Values from minimal data by providing measurement values as well as indices of...
DRTRealWorldValueMappingSequence & operator=(const DRTRealWorldValueMappingSequence ©)
assigment operator
DcmCodeString ColorSpace
ColorSpace (0028,2002) vr=CS, vm=1, type=3.
Definition: drtiis.h:411
Interface class for ReferencedBeamSequence (300c,0004) in RTFractionSchemeModule.
Definition: drtrbs8.h:28
DVPSInstanceType getInstanceType()
returns the type of the currently selected instance.
virtual OFVector< DimensionIndexItem * > & getDimensionIndexSequence()
Get content of the Dimension Index Sequence.
OFBool get_bool_value(OFBool defaultvalue)
gets the value for the current entry and interprets it as a boolean value.
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtsptcs.h:353
OFCondition getRangeShifterSetting(OFString &value, const signed long pos=0) const
get RangeShifterSetting (300a,0362)
DRTDeviceSequence(const DRTDeviceSequence ©)
copy constructor
const DRTDerivationCodeSequence & getDerivationCodeSequence() const
get DerivationCodeSequence (0008,9215)
Definition: drtplan.h:1406
OFCondition createDefaultValues()
create default values for all missing type 1 elements.
virtual OFCondition sign(const unsigned char *inputHash, unsigned long inputHashSize, E_MACType inputHashAlgorithm, unsigned char *outputSignature, unsigned long &outputSignatureSize)
creates a signature.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition setClinicalTrialSiteName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteName (0012,0031)
@ T2WeightedDynamicContrastEnhancedMRSignalIntensity
(110817,DCM,"T2 Weighted Dynamic Contrast Enhanced MR Signal Intensity"), included from CID 7180
Definition: cid7469.h:150
void clear()
clear all internal member variables
DcmUnlimitedText StrainAdditionalInformation
StrainAdditionalInformation (0010,0218) vr=UT, vm=1, type=3.
Definition: drtiontr.h:2844
DRTOriginalAttributesSequence & getOriginalAttributesSequence()
get OriginalAttributesSequence (0400,0561)
Definition: drtionpl.h:1547
virtual OFBool isFrameOfReferenceModulePresent(const OFBool complete=OFFalse)
check whether FrameOfReferenceModule (U) is present.
virtual OFCondition setPatientAge(const OFString &value, const OFBool check=OFTrue)
set PatientAge (0010,1010)
@ BoneMineralDensitometry
(BMD,DCM,"Bone Mineral Densitometry")
Definition: cid29.h:50
Structure for XML clear (unformatted) node (usually comments)
Definition: ofxml.h:252
DCMTK_LOG4CPLUS_EXPORT LocaleFactoryRegistry & getLocaleFactoryRegistry()
Returns the "singleton" LocaleFactoryRegistry.
DcmFloatingPointSingle CompensatorColumnOffset
CompensatorColumnOffset (300a,02e5) vr=FL, vm=1, type=1C.
Definition: drtircs.h:402
Item & operator=(const Item ©)
assigment operator
DVPresentationState * pState
pointer to the current presentation state object
Definition: dviface.h:1600
I2DBmpSource()
Constructor, initializes member variables.
Item EmptyItem
empty default item
Definition: drtrrshs.h:338
OFCondition getTreatmentMachineName(OFString &value, const signed long pos=0) const
get TreatmentMachineName (300a,00b2)
virtual OFCondition setAdmittingDiagnosesDescription(const OFString &value, const OFBool check=OFTrue)
set AdmittingDiagnosesDescription (0008,1080)
DVPSGraphicLayer_PList * clone()
clone method.
Definition: dvpsgll.h:52
static OFBool isSequenceTag(const DcmTagKey &key, const OFString &privateCreator="")
Check whether given tag is a sequence tag.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_SequEnd
Sequence end.
virtual OFVector< TrcMeasurement::Values * > & getValues()
Get measurement values for all tracks.
Float32 Row
row value (VR=FL)
Definition: dsrscogr.h:95
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid7452.h:196
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmAttributeTag * offendingElements
list of offending elements
Definition: wlds.h:66
@ Ublituximab_89Zr
(126739,DCM,"Ublituximab ^89^Zr")
Definition: cid4021.h:292
void erasePayload()
removes all payload
OFCondition getReferencedSegmentNumber(Uint16 &value, const unsigned long pos=0) const
get ReferencedSegmentNumber (0062,000b)
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
This template class provides a data structure and operations for administrating an ordered set of ele...
Definition: ofoset.h:45
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const DRTDigitalSignaturesSequence & getDigitalSignaturesSequence() const
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtplan.h:1418
general Service Class Provider (SCP) class
const void * getOverlayData(const unsigned int plane, unsigned int &left_pos, unsigned int &top_pos, unsigned int &width, unsigned int &height, EM_Overlay &mode, const unsigned long frame=0, const int bits=8, const Uint16 fore=0xff, const Uint16 back=0x0, const unsigned int idx=2) const
create bitmap for specified overlay plane.
Definition: dcmimage.h:1274
virtual OFCondition check(const OFBool quiet=OFFalse)
Check whether class has valid data.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrrtps.h:328
DcmPersonName ROIInterpreter
ROIInterpreter (3006,00a6) vr=PN, vm=1, type=2.
Definition: drtrros.h:285
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual ~DVPSReferencedSeries_PList()
destructor
~OFThreadSpecificData()
destructor.
Item & getCurrentItem()
get current item in the sequence
DRTOperatorIdentificationSequence OperatorIdentificationSequence
OperatorIdentificationSequence (0008,1072) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3180
virtual DataType getDataType() const
Get pixel data type, always returns DataType::DOUBLE for this class.
size_t find_first_not_of(const OFString &str, size_t pos=0) const
determines the first location loc, between pos and the end of the current string, such that the chara...
virtual OFCondition getStudyDate(OFString &value, const signed long pos=0) const
get study date
DcmCodeString ApplicatorType
ApplicatorType (300a,0109) vr=CS, vm=1, type=1.
Definition: drtas5.h:195
virtual Uint32 getLength(const E_TransferSyntax xfer=EXS_LittleEndianImplicit, const E_EncodingType enctype=EET_UndefinedLength)
calculate the value length (without attribute tag, VR and length field) of this DICOM element when en...
static void errorstr(OFString &description, int code)
converts any of the error codes returned by the methods of this class into a textual description,...
const Item & getCurrentItem() const
get current item in the sequence
Item EmptyItem
empty default item
Definition: drtas6.h:347
DcmShortString PerformedProcedureStepID
PerformedProcedureStepID (0040,0253) vr=SH, vm=1, type=3.
Definition: drtstrct.h:2948
virtual OFCondition getAdmissionID(OFString &value, const signed long pos=0) const
get AdmissionID (0038,0010)
virtual unsigned long createAWTBitmap(void *&data, const unsigned long frame, const int bits)=0
create true color (32 bit) bitmap for Java AWT (abstract).
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtdimcs.h:341
virtual OFCondition getPatientAge(OFString &value, const signed long pos=0) const
get PatientAge (0010,1010)
DVPSSoftcopyVOI * clone()
clone method.
Definition: dvpssv.h:51
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual ~DiPalettePixelTemplate()
destructor
Definition: dipalpxt.h:73
OFBool operator==(const DSRNumericMeasurementValue &numericMeasurement) const
comparison operator "equal".
Item & operator[](const size_t num)
get particular item in the sequence
void clear()
clear all internal member variables
const DRTGeneticModificationsSequence & getGeneticModificationsSequence() const
get GeneticModificationsSequence (0010,0221)
Definition: drtiontr.h:1353
TI_DBEntry ** dbEntries
the CTN databases we know
Definition: dcmqrtis.h:249
int getOutputData(void *buffer, const unsigned long size, const unsigned long frame, const int bits, const int planar=0)
get pixel data with specified format.
DSRTemporalCoordinatesValue()
default constructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
void copyElementType2(DcmItem *dataset, const DcmTagKey &key, DcmDirectoryRecord *record, const OFFilename &sourceFilename)
copy type 2 element from given dataset to directory record
Definition: dcddirif.h:1472
virtual FilterPtr createObject(const log4cplus::helpers::Properties &props)=0
Create a "Filter" object.
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
virtual OFCondition getRescaleSlope(OFString &value, const signed long pos=0) const
get RescaleSlope (0028,1053)
DVPresentationState * pStoredPState
pointer to the stored presentation state object (if any)
Definition: dviface.h:1612
int showOverlay(const unsigned int plane, const Uint16 pvalue)
activate specified overlay plane and change 'pvalue' (only for bitmap shutters)
Definition: dcmimage.h:1093
int psv
for lossless compression, defines selection value
Definition: djeijg8.h:153
E_ValueStatus getValueAndCheckMin(OFCmdFloat &value, const OFCmdFloat low, const OFExplicitBool incl=OFTrue)
returns next argument as a floating point value and checks for given boundary
DCMTK_DCMSEG_EXPORT const OFConditionConst SG_EC_MaxSegmentsReached
error: specified functional group is already existing
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence()
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drttreat.h:1563
DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence()
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtstrct.h:1722
Uint32 getNumberOfVOIPresets(const char *modality)
returns the number of VOI Presets defined for the given modality
Internal structure defining the list items.
Definition: dsrcsidl.h:292
Interface class for RecordedBlockSequence (3008,00d0)
Definition: drtrbls.h:28
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtbrcss.h:347
Uint32 JPEGProcess12
12-bit lossy JPEG process ID for this transfer syntax, 0 if not applicable
Definition: dcxfer.h:334
OFBool haveTable()
checks if a real Presentation LUT (not shape) is available.
DcmLongString & getLabel()
return reference to overlay label
Definition: dvpsov.h:134
OFCondition read(DcmItem &dset)
reads a graphic annotation from a DICOM dataset.
DcmIntegerString numberOfCopies
VR=IS, VM=1.
Definition: dvpsfs.h:151
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const DRTDerivationCodeSequence & getDerivationCodeSequence() const
get DerivationCodeSequence (0008,9215)
Definition: drttreat.h:1221
T & operator*() const
dereferences the iterator.
Definition: oflist.h:233
void clear()
clear all internal member variables
OFCondition setBeamLimitingDeviceAngle(const OFString &value, const OFBool check=OFTrue)
set BeamLimitingDeviceAngle (300a,0120)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbldts.h:318
void clear()
clear all internal member variables
OFBool isLengthInChar() const
check whether the maximum or minimum length of a value with this VR is in bytes or characters.
OFCondition setBeamDoseType(const OFString &value, const OFBool check=OFTrue)
set BeamDoseType (300a,0090)
int writePPM(STD_NAMESPACE ostream &stream) const
write pixel data of selected frame to PPM/ASCII file
Definition: dicoopxt.h:178
DcmShortText CommentsOnThePerformedProcedureStep
CommentsOnThePerformedProcedureStep (0040,0280) vr=ST, vm=1, type=3.
Definition: drtdose.h:4313
OFBool gotoFirst()
sets internal cursor to first position in cache list
Definition: dvcache.h:516
Internal structure to store valid command line parameters.
Definition: ofcmdln.h:88
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition getTotalBlockTrayFactor(OFString &value, const signed long pos=0) const
get TotalBlockTrayFactor (300a,00f2)
virtual OFBool operator<=(const OFTime &timeVal) const
comparison operator (less than or equal) Please note that the time values are first transformed to th...
Interface class for TID 300 in module dcmsr/cmr.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getColumns(Uint16 &value, const signed long pos=0)
Get Columns.
Definition: modimagepixelvariant.h:171
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
static const size_t CB_maskPrintFlags
bit mask (filter) for valid print flags (see PF_xxx)
Definition: dsrtypes.h:488
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item(const Item ©)
copy constructor
DRTStructureSetROISequence StructureSetROISequence
StructureSetROISequence (3006,0020) vr=SQ, vm=1, type=1.
Definition: drtstrct.h:3029
OFCondition setSOPInstanceUID(const char *value)
sets the SOP instance UID (which is returned by the Print SCP).
DCMTK_DCMDATA_EXPORT char * dcmGenerateUniqueIdentifier(char *uid, const char *prefix=NULL)
creates a Unique Identifier in uid and returns uid.
Class for checking the relationship content constraints of the Spectacle Prescription Report IOD.
Definition: dsrspecc.h:43
virtual ~DSRRootTemplate()
destructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTBlockSlabSequence & getBlockSlabSequence()
get BlockSlabSequence (300a,0441)
Definition: drtibls.h:232
OFCondition gotoFirstItem()
goto first item in the sequence
virtual EP_Representation getRepresentation() const =0
get integer representation (abstract)
Template class to handle HSV pixel data.
Definition: dihsvpxt.h:41
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual ~DRTReferencedMeasuredDoseReferenceSequence()
destructor
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setRTPlanTime(const OFString &value, const OFBool check=OFTrue)
set RTPlanTime (300a,0007)
virtual OFCondition write(DcmItem &item)
Write Image SOP Instance Reference Macrom to given item.
virtual OFCondition initialize()
initializes the MAC algorithm.
DRTGeneralAccessorySequence & getGeneralAccessorySequence()
get GeneralAccessorySequence (300a,0420)
Definition: drttsibs.h:550
void clear()
clear all internal member variables
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual ~DRTDeviceSequence()
destructor
OFCondition setContourSlabThickness(const OFString &value, const OFBool check=OFTrue)
set ContourSlabThickness (3006,0044)
void clear()
clear all internal member variables
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtaadcs.h:211
Item & getCurrentItem()
get current item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getSourceApplicatorWallNominalThickness(Float64 &value, const unsigned long pos=0) const
get SourceApplicatorWallNominalThickness (300a,029c)
Interface class for ApplicatorGeometrySequence (300a,0431)
Definition: drtags.h:28
virtual DcmTransportLayerStatus clientSideHandshake()
performs client side handshake on established socket.
virtual OFString getName() const
Get name of module.
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags=0)
print current SR document tree to specified output stream
CID4031_CommonAnatomicRegions(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
OFBool isEmpty()
check if item is empty
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual offile_off_t skip(offile_off_t skiplen)
skips over the given number of bytes (or less)
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format.
virtual ~DRTDoseReferenceSequence()
destructor
const DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence() const
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtstrct.h:1476
OFBool operator==(const OFpath &lhs, const OFpath &rhs)
Lexicographically compare two paths.
virtual void createDerivationDescription(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio, OFString &derivationDescription) const
creates 'derivation description' string after encoding.
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
@ TKE_DH
Diffie–Hellman key exchange.
Definition: tlsciphr.h:145
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getContoursForROINumber(OFList< DRTROIContourSequence::Item * > result, Sint32 roiNumber)
get all contours for a region of interest.
OFCondition loadSRTemplate(const char *reportID)
loads a structured reporting "template".
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
static OFCondition copyElementToDataset(OFCondition &result, DcmItem &dataset, const DcmElement &delem, const IODRule *rule)
Copy given element to the dataset.
@ EVR_OV
other 64-bit very long
Definition: dcvr.h:171
void clear()
clear all internal member variables
OFBool initialized() const
checks whether creation of the object was successful.
DRTReferencedInstanceSequence(const DRTReferencedInstanceSequence ©)
copy constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrbos7.h:315
DRTBeamLimitingDevicePositionSequence & getBeamLimitingDevicePositionSequence()
get BeamLimitingDevicePositionSequence (300a,011a)
Definition: drticps.h:453
OFCondition getTargetMinimumDose(Float64 &value, const unsigned long pos=0) const
get TargetMinimumDose (300a,0025)
OFCondition setCompensatorPixelSpacing(const OFString &value, const OFBool check=OFTrue)
set CompensatorPixelSpacing (300a,00e9)
virtual OFCondition getSpecificCharacterSet(OFString &value, const signed long pos=0) const
Get Specific Character Set.
static OFCondition getAndCheckSingleItem(DcmSequenceOfItems &seq, DcmItem *&item, const DcmTagKey &checkKey=DCM_UndefinedTagKey)
Returns single item from given sequence.
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
virtual OFCondition setMeasuredLateralDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredLateralDimension (0010,1024)
virtual Uint16 bytesPerSample() const
returns the number of bytes per sample that will be written when decoding.
Definition: djdijg16.h:78
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const char * ApplicationTitle
remote peer AE title
Definition: dcmqrcnf.h:127
virtual OFCondition setTableTopLongitudinalPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopLongitudinalPosition (300a,0129)
DcmLongString graphicLayerDescription
VR=LO, VM=1, Type 3.
Definition: dvpsgl.h:163
virtual DiImage * createMono(const double red, const double green, const double blue) const =0
create monochrome copy of the current image (abstract).
OFCondition setPrintReflectedAmbientLight(Uint16 value)
sets the reflected ambient light to be used with the print Presentation LUT SOP Class.
OFBool operator==(const DSRTreeNodeAnnotation &annotation) const
comparison operator.
Definition: dsrtnant.h:69
const DRTReferencedPatientSequence & getReferencedPatientSequence() const
get ReferencedPatientSequence (0008,1120)
Definition: drtdose.h:2470
@ Phantom
(113681,DCM,"Phantom")
Definition: cid4031.h:190
DcmFloatingPointDouble FloatingPointValue
FloatingPointValue (0040,a161) vr=FD, vm=1-n, type=1C.
Definition: drtpcxs.h:360
DcmIntegerString SeriesNumber
SeriesNumber (0020,0011) vr=IS, vm=1, type=2.
Definition: drtplan.h:3168
virtual OFBool isImagePixelModulePresent(const OFBool complete=OFFalse)
check whether ImagePixelModule (C) is present.
OFCondition setLUTLabel(const OFString &value, const OFBool check=OFTrue)
set LUTLabel (0040,9210)
virtual OFCondition setResponsiblePerson(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePerson (0010,2297)
DcmCodeString magnificationType
Module=Image_Box_List, VR=CS, VM=1, Type 3.
Definition: dvpsib.h:345
virtual OFCondition setInstanceNumber(const OFString &value, const OFBool checkValue=OFTrue)
Set Instance Number.
this class manages the lifetime of a temporary file.
Definition: oftempf.h:44
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
void dumpProfile(STD_NAMESPACE ostream &out, const DcmProfileEntry *profile, const OFString &profileName)
dump a single association profile, mainly interesting for debugging purposes.
@ EJLSPC_auto
automatically determine whether color-by-plane is required from the SOP Class UID and decompressed ph...
Definition: djlsutil.h:81
virtual OFCondition putUint8Array(const Uint8 *byteValue, const unsigned long numBytes)
set element value to given 8 bit data.
const OFString & getPosition(OFString &position, const char separator='.') const
get position string of the current node.
Definition: dsrtncsr.h:792
Template class to create monochrome output data.
Definition: dimoopxt.h:57
Template class to handle monochrome pixel data.
Definition: dimopxt.h:46
void split()
splits combined cerr and cout streams.
virtual LoggerList getCurrentLoggers()
Returns all the currently defined loggers in this hierarchy.
DRTReferencedVerificationImageSequence(const DRTReferencedVerificationImageSequence ©)
copy constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition setNormalizationPoint(const OFString &value, const OFBool check=OFTrue)
set NormalizationPoint (3004,0008)
DcmLongString manufacturer
Module=General_Equipment, VR=LO, VM=1, Type 2.
Definition: dcmpstat.h:831
virtual void callback(unsigned long mode)=0
callback method
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition setObservationDateTime(const OFString &value, const OFBool check=OFTrue)
set ObservationDateTime (0040,a032)
Item & operator=(const Item ©)
assigment operator
virtual DSRDocumentSubTree * extractSubTree()
extract a subtree, i.e. a fragment from this tree.
virtual OFCondition getSOPClassUID(OFString &value, const signed long pos=0) const
get SOP class UID
static DcmItem * findNextSignatureItem(DcmItem &item, DcmStack &stack)
recursively browses through the given dataset and searches the next occurence of the DigitalSignature...
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
DcmLongString StudyDescription
StudyDescription (0008,1030) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2843
virtual OFCondition setPatientBodyMassIndex(const OFString &value, const OFBool check=OFTrue)
set PatientBodyMassIndex (0010,1022)
void clear()
reset the object to initial state.
DcmCodeString AlternateBeamDoseType
AlternateBeamDoseType (300a,0092) vr=CS, vm=1, type=1C.
Definition: drtrbs4.h:271
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getTableTopLongitudinalPosition(Float64 &value, const unsigned long pos=0) const
get TableTopLongitudinalPosition (300a,0129)
virtual OFCondition getSpatialResolution(OFString &value, const signed long pos=0) const
get SpatialResolution (0018,1050)
virtual ~DRTDoseIOD()
destructor
DcmUniqueIdentifier StudyInstanceUID
StudyInstanceUID (0020,000d) vr=UI, vm=1, type=3.
Definition: drtras.h:289
const Item & operator[](const size_t num) const
get particular item in the sequence
int isValid() const
check whether DisplayFunction is valid
Definition: didispfn.h:149
Uint32 getAbsMaxRange() const
get absolute value range of the LUT entries.
Definition: dibaslut.h:222
virtual SharedAppenderPtrList getAllAppenders()=0
Get all previously added appenders as an Enumeration.
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const DRTBrachyControlPointSequence & getBrachyControlPointSequence() const
get BrachyControlPointSequence (300a,02d0)
Definition: drtchs.h:422
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence()
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drttreat.h:1311
unsigned int getDay() const
get the currently stored day value
E_TransferSyntax opt_networkTransferSyntax
preferred network transfer syntax
Definition: wlcefs.h:70
OFCondition getReferencedFrameOfReferenceUID(OFString &value, const signed long pos=0) const
get ReferencedFrameOfReferenceUID (3006,0024)
DRTPrimaryFluenceModeSequence(const DRTPrimaryFluenceModeSequence ©)
copy constructor
OFString keyword_
configuration keyword
Definition: ofconfig.h:175
Definition: syncprim.h:41
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setVOIWindow(double wCenter, double wWidth, const char *description=NULL, DVPSObjectApplicability applicability=DVPSB_currentImage)
sets a user defined VOI window center and width.
virtual const char * getDefinedTerm() const =0
returns the DICOM identifier for this MAC algorithm
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtscs.h:329
OFCondition setChairHeadFramePositionTolerance(const OFString &value, const OFBool check=OFTrue)
set ChairHeadFramePositionTolerance (300a,0153)
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtds.h:511
Item(const Item ©)
copy constructor
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_InvalidSegmentationObject
error: the given segmentation object does not conform to the template constraints
DRTSourceImageSequence(const DRTSourceImageSequence ©)
copy constructor
OFCondition setFixationDeviceType(const OFString &value, const OFBool check=OFTrue)
set FixationDeviceType (300a,0192)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtdias.h:127
const char * getPresentationLabel()
returns the Presentation Label of the currently selected instance.
@ TCA_ECDH
Elliptic Curve Diffie–Hellman.
Definition: tlsciphr.h:161
virtual void clear()
clear non-static member variables
OFBool gotoNext()
sets internal cursor to next position in cache list
Definition: dvcache.h:801
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
IODEnhUSImageModule()
Constructor.
virtual ~DcmItem()
destructor
OFBool isEmpty()
check if item is empty
virtual OFCondition setPerformedProcedureStepEndTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndTime (0040,0251)
@ STUDY_ROOT
study root Q/R model
Definition: dcmqridx.h:68
virtual size_t getNumberOfFrames()
Returns number of frames.
void printAttributeErrorMessage(const DcmTagKey &key, const OFCondition &error, const char *operation)
print an error message that something went wrong with an attribute.
OFCondition getReferenceImageNumber(Sint32 &value, const unsigned long pos=0) const
get ReferenceImageNumber (300a,00c8)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrmdrs.h:348
OFBool isEmpty()
check if item is empty
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtbrcss.h:341
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
write data element to a stream
@ Glutamate_N13
(129509006,SCT,"Glutamate N^13^")
Definition: cid4021.h:182
Item & getItem(const size_t num)
get particular item in the sequence
the list of Image Boxes contained in a stored print object.
Definition: dvpsibl.h:41
DRTPrivateDataElementCharacteristicsSequence(const DRTPrivateDataElementCharacteristicsSequence ©)
copy constructor
virtual OFCondition setIssuerOfPatientID(const OFString &value, const OFBool check=OFTrue)
set IssuerOfPatientID (0010,0021)
virtual OFCondition getServiceEpisodeDescription(OFString &value, const signed long pos=0) const
get ServiceEpisodeDescription (0038,0062)
DcmDate MostRecentTreatmentDate
MostRecentTreatmentDate (3008,0056) vr=DA, vm=1, type=2.
Definition: drtiontr.h:3125
virtual OFCondition setPerformedProcedureStepID(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepID (0040,0253)
iterator begin()
returns iterator pointing to the first element of this map
Definition: ofmap.h:109
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmCodeString ApprovalStatus
ApprovalStatus (300e,0002) vr=CS, vm=1, type=1.
Definition: drtimage.h:5387
void clear()
clear all internal member variables
OFCondition setReferencedSegment(DcmItem &dataset, const Uint16 segmentNumber, const OFBool copyTracking=OFTrue, const OFBool check=OFTrue)
set the value of the 'Referenced Segment' content item (TID 1411 - Row 7).
DRTStrainCodeSequence StrainCodeSequence
StrainCodeSequence (0010,0219) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2775
void filmBoxNAction(T_DIMSE_Message &rq, T_DIMSE_Message &rsp)
implements the N-ACTION operation for the Basic Film Box SOP Class.
virtual OFCondition setModality(const OFString &value, const OFBool checkValue=OFTrue)
Set Modality.
@ Extremity
(66019005,SCT,"Extremity")
Definition: cid4031.h:96
const OFerror_category * m_Category
holds the error category
Definition: oferror.h:229
CID42_NumericValueQualifier(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
Item & operator=(const Item ©)
assigment operator
virtual OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
get SeriesInstanceUID (0020,000e)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmDecimalString MeasuredDoseValue
MeasuredDoseValue (3008,0016) vr=DS, vm=1, type=2.
Definition: drtmdrs.h:215
static void dicomlab2Lab(double &L, double &a, double &b, double LDicom, double aDicom, double bDicom)
Convert CIELab color representation as found in DICOM to CIELab representation.
virtual OFCondition setObservationDateTime(const OFString &observationDateTime, const OFBool check=OFTrue)
set observation date/time
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition getNumberOfFramesInOverlay(OFString &value, const signed long pos=0) const
get NumberOfFramesInOverlay (60xx,0015)
virtual OFCondition sendEVENTREPORTRequest(const T_ASC_PresentationContextID presID, const OFString &sopInstanceUID, const Uint16 messageID, const Uint16 eventTypeID, DcmDataset *reqDataset, Uint16 &rspStatusCode)
Send N-EVENT-REPORT request on the current association and receive a corresponding response.
UserIdentityNegotiationSubItemRQ(const UserIdentityNegotiationSubItemRQ &rhs)
Copy constructor, does a deep copy of a class instance.
virtual const void * getData() const =0
get pointer to output pixel data (abstract)
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
virtual OFCondition setSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceUID (0008,0018)
DcmDecimalString LossyImageCompressionRatio
LossyImageCompressionRatio (0028,2112) vr=DS, vm=1-n, type=3.
Definition: drtimage.h:5100
virtual OFCondition setSeriesInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SeriesInstanceUID (0020,000e)
const char * getImageMagnificationType(size_t idx)
gets the (optional) magnification type for the given registered image box.
void setDIMSEBlockingMode(const T_DIMSE_BlockingMode blockingMode)
Set whether to send in DIMSE blocking or non-blocking mode.
void HandleAssociation(T_ASC_Association *assoc)
This function takes care of handling the other DICOM application's request.
virtual DSRReferencedInstanceList & getReferencedInstances()
get list of referenced SOP instances significantly related to the current SOP instance.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbrdrs.h:141
virtual OFCondition getPatientWeight(OFString &value, const signed long pos=0) const
get PatientWeight (0010,1030)
size_t numberOfImageReferences()
gets the number of image references in all series managed by this list.
~OFConfigFileNode()
destructor, recursively deletes whole tree
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
static void cleanChildren()
helper function that cleans up pending processes under Unix.
const DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence() const
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtplan.h:1922
virtual OFCondition getLossyImageCompression(OFString &value, const signed long pos=0) const
get LossyImageCompression (0028,2110)
OFBool getFlip()
gets the current horizontal flip status of the presentation state.
structure for photometric string and related constant
Definition: diutils.h:146
virtual OFCondition readTagAndLength(DcmInputStream &inStream, const E_TransferSyntax xfer, DcmTag &tag, Uint32 &length)
This function reads tag and length information from inStream and returns this information to the call...
double-linked list class that maintains pointers to DcmObject instances.
Definition: dclist.h:99
OFCondition createSignature(SiPrivateKey &key, SiCertificate &cert, SiMAC &mac, SiSecurityProfile &profile, E_TransferSyntax xfer=EXS_LittleEndianExplicit, const DcmAttributeTag *tagList=NULL, SiTimeStamp *timeStamp=NULL)
creates a new digital signature in the current dataset.
DcmCodeString DVHROIContributionType
DVHROIContributionType (3004,0062) vr=CS, vm=1, type=1.
Definition: drtdvrrs.h:137
virtual OFCondition setSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set SeriesDescription (0008,103e)
unsigned long maximumPreviewImageWidth
maximum width of (optional) preview image
Definition: dvpstat.h:1322
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtaadcs.h:351
DcmPersonName NameOfPhysiciansReadingStudy
NameOfPhysiciansReadingStudy (0008,1060) vr=PN, vm=1-n, type=3.
Definition: drtstrct.h:2849
DcmTime ContrastBolusStopTime
ContrastBolusStopTime (0018,1043) vr=TM, vm=1, type=3.
Definition: drtimage.h:5197
int convertToPlaneNumber(unsigned int &plane, const int mode) const
convert given plane or group number to a valid plane number
Item & operator=(const Item ©)
assigment operator
virtual OFCondition setClinicalTrialTimePointID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointID (0012,0050)
DcmUniqueIdentifier FrameOfReferenceUID
FrameOfReferenceUID (0020,0052) vr=UI, vm=1, type=1.
Definition: drtplan.h:3214
OFVector< StudiesOtherInstancesItem * > m_StudiesContainingOtherReferencedInstancesSequence
Items of Studies Containing Other Referenced Instances Sequence.
Definition: modcommoninstanceref.h:146
Definition: syncprim.h:132
virtual ~DRTReferencedImageSequence()
destructor
Item & operator=(const Item ©)
assigment operator
OFBool cornellWorkaroundEnabled_
flag indicating that the workaround for buggy Cornell JPEG lossless images with huffman table overflo...
Definition: djcparam.h:423
CodeSequenceMacro m_TransducerScanPattern
Item of Transducer Scan Pattern Code Sequence.
Definition: modenhusimage.h:581
OFCondition putAndInsertSint16(const DcmTag &tag, const Sint16 value, const unsigned long pos=0, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
OFBool IsCalledApplicationEntityTitleSupported()
Checks if the called application entity title is supported.
OFCondition gotoNextItem()
goto next item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence()
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtimage.h:2890
OFString FilenameExtension
filename extension appended to the generated filenames
Definition: dstorscp.h:310
unsigned int pos
current position in the set
Definition: ofsetit.h:50
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtrpcs.h:345
OFTime Time
currently stored time value
Definition: ofdatime.h:273
DSRCodingSchemeIdentificationList CodingSchemeIdentification
Coding Scheme Identification Sequence: (SQ, 1-n, 3)
Definition: dsrdoc.h:1326
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getConsultingPhysicianName(OFString &value, const signed long pos=0) const
get ConsultingPhysicianName (0008,009c)
OFCondition getCurrentDataElementsSigned(DcmAttributeTag &desig)
returns the Data Elements Signed attribute of the current signature if present.
virtual OFCondition setResponsiblePersonRole(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePersonRole (0010,2298)
unsigned int getPlaneGroupNumber(unsigned int plane) const
get group number of specified plane
const double Illumination
illumination value (measured in cd/m^2)
Definition: didislut.h:83
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtspcs.h:348
virtual OFCondition getBitsStored(Uint16 &value, const signed long pos=0) const
Get Bits Stored.
Item & operator=(const Item ©)
assigment operator
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition getPerformedProcedureStepEndDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndDate (0040,0250)
E_TransferSyntax getOriginalXfer() const
return the transfer syntax in which this dataset was originally read or created.
DRTReferencedCalculatedDoseReferenceSequence & getReferencedCalculatedDoseReferenceSequence()
get ReferencedCalculatedDoseReferenceSequence (3008,0090)
Definition: drttsibs.h:670
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
this class maintains the context information that is passed to the callback function called by DIMSE_...
Definition: dcmqrcbg.h:37
virtual TYPE getType() const
Get type (always returns IMAGE type)
Definition: iodreferences.h:198
DSRBasicCodedEntry(const OFString &codeValue, const OFString &codingSchemeDesignator, const OFString &codeMeaning, const DSRTypes::E_CodeValueType codeValueType=DSRTypes::CVT_Short)
constructor.
Item(const Item ©)
copy constructor
DiMonoImage(const DiMonoImage *image, DiMonoOutputPixel *pixel, const unsigned long frame, const int stored, const int alloc)
constructor, createMonoOutput
DRTRecordedSnoutSequence RecordedSnoutSequence
RecordedSnoutSequence (3008,00f0) vr=SQ, vm=1, type=1C.
Definition: drttsibs.h:1042
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
DcmTagKey getBaseTag() const
returns base tag, i.e.
size_t gotoNode(const T &nodeValue, const OFBool startFromRoot=OFTrue)
set internal cursor to specified node (given by its value).
Definition: dsrtree.h:676
OFCondition getReferencedROINumber(OFString &value, const signed long pos=0) const
get ReferencedROINumber (3006,0084)
OFCondition getBeamLimitingDeviceRotationDirection(OFString &value, const signed long pos=0) const
get BeamLimitingDeviceRotationDirection (300a,0121)
OFBool isEmpty()
check if item is empty
DRTSourceInstanceSequence & getSourceInstanceSequence()
get SourceInstanceSequence (0042,0013)
Definition: drtimage.h:3058
virtual OFCondition getDoubleFloatPixelPaddingValue(Float64 &value, const signed long pos=0)
Get Double Float Pixel Padding Value.
virtual OFBool operator>(const OFDateTime &dateTime) const
comparison operator (greater than).
OFCondition write(DcmItem &item)
write elements to sequence item
DRTIonToleranceTableSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFList< DcmDataset * > matchingDatasets
array of matching datasets
Definition: wlds.h:78
virtual void initIODRules()
Initialize IOD rules.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drteas.h:308
const DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence() const
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtplan.h:1526
virtual OFCondition setPatientOrientation(const OFString &value, const OFBool check=OFTrue)
set PatientOrientation (0020,0020)
EP_Interpretation decompressedColorModel
color model after decompression
Definition: djdijg8.h:124
virtual OFCondition getTimeOfLastCalibration(OFString &value, const signed long pos=0) const
get TimeOfLastCalibration (0018,1201)
T_ASC_Parameters * m_params
Association parameters.
Definition: scu.h:989
double RescaleSlope
rescale slope
Definition: dimomod.h:268
OFBool less(const char *c) const
check if keyword compares "<" to given string
Definition: ofconfig.h:118
OFCondition gotoFirstItem()
goto first item in the sequence
Uint16 jpls_t1_
JPEG-LS parameter "Threshold 1" (used for quantization), 0 if unused.
Definition: djcparam.h:236
Item class.
Definition: drtrscs.h:37
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtaadcs.h:333
SiAlgorithm * createAlgorithmForPrivateKey()
creates an SiAlgorithm object for the private key contained in this certificate.
size_t getNumberOfItems() const
get number of items in the sequence
DcmShortString CompensatorTrayID
CompensatorTrayID (300a,00ef) vr=SH, vm=1, type=3.
Definition: drtcos.h:471
DcmDate PerformedProcedureStepEndDate
PerformedProcedureStepEndDate (0040,0250) vr=DA, vm=1, type=3.
Definition: drtplan.h:3192
static const OFString m_ComponentName
Name of this component ("CommonInstanceReferenceModule")
Definition: modcommoninstanceref.h:143
int packColumnValues(int longCols, int shortCols) const
packs the two 16 bit values into one 32 bit value
virtual ~DRTCodingSchemeIdentificationSequence()
destructor
double getTimeZone() const
get the currently stored time zone value.
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Returns whether this group is potentially per-frame, shared or can be both.
Definition: fgbase.h:194
@ EVR_lt
US, SS or OW depending on context, used for LUT Data (thus the name)
Definition: dcvr.h:228
OFBool fopen(const OFFilename &filename, const char *modes)
opens the file whose name is a conventional or wide character string pointed to by path and associate...
Definition: offile.h:368
Item class.
Definition: drtfgss.h:37
OFBool rejectWhenNoImplementationClassUID_
reject associations if implementatino class UID is missing
Definition: dcmqropt.h:113
virtual OFCondition setTemplateIdentification(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="", const OFBool check=OFTrue)
set template identifier and mapping resource.
DcmDecimalString SpatialResolution
SpatialResolution (0018,1050) vr=DS, vm=1, type=3.
Definition: drtces.h:359
DRTTreatmentSummaryRecordIOD & operator=(const DRTTreatmentSummaryRecordIOD ©)
assigment operator
virtual OFBool isValid() const
check whether the current spatial coordinates value is valid.
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition writeDataset(DcmItem &dataset)
Write current object to given item.
virtual ~DcmRepresentationParameter()
destructor
Definition: dcpixel.h:53
@ English
(eng,RFC5646,"English")
Definition: cid5000.h:44
const DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence() const
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtplan.h:1334
virtual void ensureInstanceUID(const OFBool correctInvalid=OFFalse)
Make sure that the module contains a Series Instance UID, i.e. a new one is created if empty.
virtual unsigned long createAWTBitmap(void *&data, const Uint16 width, const Uint16 height, const unsigned long frame, const int fromBits, const int toBits) const =0
create true color (32 bit) bitmap for Java (AWT default format).
DRTReferencedStudySequence(const DRTReferencedStudySequence ©)
copy constructor
virtual OFCondition getMeasuredLateralDimension(OFString &value, const signed long pos=0) const
get MeasuredLateralDimension (0010,1024)
virtual OFCondition setGantryPitchAngle(const Float32 value, const unsigned long pos=0)
set GantryPitchAngle (300a,014a)
DRTRangeShifterSequence & operator=(const DRTRangeShifterSequence ©)
assigment operator
DRTIonToleranceTableSequence & operator=(const DRTIonToleranceTableSequence ©)
assigment operator
virtual OFCondition getLongitudinalTemporalInformationModified(OFString &value, const signed long pos=0) const
get LongitudinalTemporalInformationModified (0028,0303)
OFCondition stream(unsigned char *targetBuffer, unsigned long &lengthWritten) const
Stream the package into a byte stream for network transmission.
DcmDictEntry * find(const DcmTagKey &key, const char *privCreator)
find an entry in the set
virtual OFCondition setPatientComments(const OFString &value, const OFBool check=OFTrue)
set PatientComments (0010,4000)
Item EmptyItem
empty default item
Definition: drtblds1.h:374
DcmLongString IssuerOfPatientID
IssuerOfPatientID (0010,0021) vr=LO, vm=1, type=3.
Definition: drtspgis.h:145
DRTRequestAttributesSequence RequestAttributesSequence
RequestAttributesSequence (0040,0275) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5000
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmUnsignedShort PixelRepresentation
PixelRepresentation (0028,0103) vr=US, vm=1, type=1.
Definition: drtimage.h:5269
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtsns.h:311
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition createUint16Array(const Uint32 numWords, Uint16 *&words)
create an empty Uint16 array of given number of words and set it.
@ AP_GeneralPurposeDVDJPEG
General Purpose DVD Interchange with JPEG (STD-GEN-DVD-JPEG)
Definition: dcddirif.h:121
OFCondition setLUTData(const Uint16 *value, const unsigned long count)
set LUTData (0028,3006)
DRTProcedureCodeSequence ProcedureCodeSequence
ProcedureCodeSequence (0008,1032) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2771
OFCondition printSCUsetBasicImageBox(DVPSPrintMessageHandler &printHandler, size_t idx, DicomImage &image, OFBool useMonochrome1=OFFalse)
Transmits a DICOM image to the printer (Basic Grayscale Image Box N-SET).
static OFString & toLower(OFString &value)
returns the lower-case version of a given string.
const Item & getItem(const size_t num) const
get particular item in the sequence
Item(const Item ©)
copy constructor
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtpcs.h:343
DRTSourceImageSequence & getSourceImageSequence()
get SourceImageSequence (0008,2112)
Definition: drtiontr.h:1779
a class representing the DICOM value representation 'Age String' (AS)
Definition: dcvras.h:35
virtual ~DSRAcquisitionContextSRConstraintChecker()
destructor
OFCondition getRequestedProcedureID(OFString &value, const signed long pos=0) const
get RequestedProcedureID (0040,1001)
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtics.h:357
OFCondition setSmallestImagePixelValue(const Uint16 value, const unsigned long pos=0)
set SmallestImagePixelValue (0028,0106)
DRTReferencedImageSequence ReferencedImageSequence
ReferencedImageSequence (0008,1140) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3239
const char * getGUIConfigEntry(const char *key)
returns the value of configuration file entry key=value in the section GENERAL/GUI of the config file...
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFBool isClinicalTrialStudyModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialStudyModule (U) is present.
unsigned long getQueryRetrieveMaxAssociations()
returns the MaxAssociations entry for the Q/R server from the section GENERAL/QUERY_RETRIEVE in the c...
DicomImageComparison(const DicomImageComparison &rhs)
private undefined copy constructor
DcmBufferConsumer consumer_
the final consumer of the filter chain
Definition: dcostrmb.h:163
static const OFfloat_round_style round_style
Identifies the rounding style used by the floating-point type T whenever a value that is not one of t...
Definition: oflimits.h:373
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmDecimalString PatientSize
PatientSize (0010,1020) vr=DS, vm=1, type=3.
Definition: drtplan.h:3108
virtual OFCondition getPerformedProcedureStepEndDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndDate (0040,0250)
virtual OFCondition getExposureTime(Sint32 &value, const unsigned long pos=0) const
get ExposureTime (0018,1150)
virtual CodeSequenceMacro & getTransducerGeometry()
Get Transducer Geometry Code.
OFCondition setFixationLightAzimuthalAngle(const Float32 value, const unsigned long pos=0)
set FixationLightAzimuthalAngle (300a,0356)
a class representing the DICOM value representation 'Short String' (SH)
Definition: dcvrsh.h:39
DRTPerformedProtocolCodeSequence PerformedProtocolCodeSequence
PerformedProtocolCodeSequence (0040,0260) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2874
virtual OFCondition setSeriesNumber(const OFString &value, const OFBool check=OFTrue)
set SeriesNumber (0020,0011)
OFFilename DefaultIcon
filename of the default icon (if any)
Definition: dcddirif.h:1598
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
~DcmQuantColorHashTable()
destructor
virtual size_t gotoNextMatchingNode(const DSRDocumentTreeNodeFilter &filter, const OFBool searchIntoSub=OFTrue)
set internal cursor to the next matching node.
static const DSRTemporalCoordinatesValue EmptyTemporalCoordinates
empty temporal coordinates value.
Definition: dsrcitem.h:615
DSRCodedEntryValue mapModality(const OFString &definedTerm, const OFBool enhancedEncodingMode=OFFalse) const
map a defined term for Modality (0008,0060) to the associated coded entry
OFCondition getDoseReferenceDescription(OFString &value, const signed long pos=0) const
get DoseReferenceDescription (300a,0016)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrbas8.h:168
OFCondition setChairHeadFramePosition(const OFString &value, const OFBool check=OFTrue)
set ChairHeadFramePosition (300a,0151)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition createEmptyRoleList(const char *key)
adds empty role list, also returns ok if list is already existing.
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition gotoNextItem()
goto next item in the sequence
DcmUniqueIdentifier SOPClassUID
SOPClassUID (0008,0016) vr=UI, vm=1, type=1.
Definition: drtplan.h:3350
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcos.h:657
OFCondition getShieldingDeviceType(OFString &value, const signed long pos=0) const
get ShieldingDeviceType (300a,01a2)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtaadcs.h:355
Abstract base class for Find SCU callbacks.
Definition: dfindscu.h:81
virtual const void * getPlane(const int plane) const =0
get pointer to given plane of output pixel data (abstract)
virtual void Insert(const OFOrderedSet< T > &other)
Inserts all items of another set into this set.
Definition: ofoset.h:158
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
XMLCSTR addText_WOSD(XMLSTR lpszValue, XMLElementPosition pos=-1)
Add a new text content.
DcmIntegerString SeriesNumber
Series Number: (IS, 1, 1)
Definition: dsrdoc.h:1402
OFCondition gotoNextItem()
goto next item in the sequence
const DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence() const
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtiontr.h:1257
int nAttribute() const
nbr of attribute
size_t gotoEntryFromNodeList(DSRDocumentSubTree *tree, const size_t pos)
set internal cursor of a given document tree to a specific node
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid7181.h:235
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition write(DcmItem &dataset)
write object to dataset
const DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence() const
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtdose.h:1990
Class for managing the Parametric Map IOD attributes.
Definition: dpmparametricmapbase.h:67
const OFBool HasChildren
mode specifying whether the filter matches on the presence or absence of child nodes
Definition: dsrdnflt.h:187
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getPresentationLUTShape(OFString &value, const signed long pos=0)
Get Presentation LUT Shape.
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool m_disableProgrTs
If true, JPEGs with progressive coding are not supported.
Definition: i2djpgs.h:332
Iterator const m_Begin
an iterator referring to the first element in the range of values.
Definition: dcfilter.h:87
const DRTReferencedSOPSequence & getReferencedSOPSequence() const
get ReferencedSOPSequence (0008,1199)
Definition: drtqds.h:242
OFCondition getCompensatorThicknessData(OFVector< Float64 > &value) const
get CompensatorThicknessData (300a,00ec)
virtual OFCondition getLossyImageCompressionRatio(OFString &value, const signed long pos=0)
Get Lossy Image Compression.
Item(const Item ©)
copy constructor
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setStrainDescription(const OFString &value, const OFBool check=OFTrue)
set StrainDescription (0010,0212)
static void copyMem(const T *src, T *dest, const size_t count)
copies specified number of elements from source to destination.
Definition: ofbmanip.h:55
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFBool isEmpty()
check if sequence is empty
virtual OFBool check()
Perform some basic checking.
OFCondition getDoseUnits(OFString &value, const signed long pos=0) const
get DoseUnits (3004,0002)
Class for graphic data lists.
Definition: dsrscogr.h:103
OFCondition setWaveformReference(const DSRWaveformReferenceValue &referenceValue, const OFBool check=OFTrue)
set waveform reference.
Item & operator=(const Item ©)
assigment operator
void clear()
clear all internal member variables
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtdvrrs.h:318
DVPSImageBoxContent_PList imageBoxContentList
Module=Image_Box_List_Module, VR=SQ, VM=1, Type 1.
Definition: dvpssp.h:1050
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
special write method for creation of digital signatures
OFCondition setTreatmentVerificationStatus(const OFString &value, const OFBool check=OFTrue)
set TreatmentVerificationStatus (3008,002c)
OFBool isEmpty()
check if item is empty
DcmFloatingPointSingle TableTopPitchAngle
TableTopPitchAngle (300a,0140) vr=FL, vm=1, type=3.
Definition: drtimage.h:5340
T_ASC_Network * net
active network
Definition: dcmqrtis.h:267
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_ElemLengthLargerThanItem
Element length is larger than (explicit) length of surrounding item.
OFCondition setDigitalSignatureUID(const OFString &value, const OFBool check=OFTrue)
set DigitalSignatureUID (0400,0100)
virtual OFCondition getCommentsOnThePerformedProcedureStep(OFString &value, const signed long pos=0) const
get CommentsOnThePerformedProcedureStep (0040,0280)
T_DIMSE_BlockingMode blockMode
blocking mode for receive
Definition: dvpspr.h:285
void setProgressNotificationMode(const OFBool mode)
Set the mode that specifies whether the progress of sending and receiving DIMSE messages is notified ...
virtual Uint32 getLength(const E_TransferSyntax=EXS_LittleEndianImplicit, const E_EncodingType=EET_UndefinedLength)
calculate the value length (without attribute tag, VR and length field) of this DICOM element when en...
Definition: dcelem.h:126
OFBool isDicomDirValid() const
check whether current DICOMDIR is valid.
OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
Class for YCbCr Partial 4:2:2 images.
Definition: diyp2img.h:39
const Item & getCurrentItem() const
get current item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTContributingEquipmentSequence & getContributingEquipmentSequence()
get ContributingEquipmentSequence (0018,a001)
Definition: drtiontr.h:1263
static const char * DEF_UndefinedSubdirectory
default value for the name of the subdirectory that might be used for the "exceptional" case
Definition: dstorscp.h:294
OFBool lastElementComplete
flag used during suspended I/O.
Definition: dcitem.h:1349
virtual OFCondition setTemplateIdentification(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="", const OFBool check=OFTrue)
set template identifier and mapping resource
static OFCondition addNumericContentItemFromDataset(DSRDocumentSubTree &tree, DcmItem &dataset, const DcmTagKey &tagKey, const signed long pos, const DSRCodedEntryValue &conceptName, const DSRCodedEntryValue &measurementUnit, const OFString &annotationText, const OFBool check)
add a NUM content item with a numeric value copied from the given dataset.
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const DRTExposureSequence & getExposureSequence() const
get ExposureSequence (3002,0030)
Definition: drtimage.h:2572
virtual OFCondition setRealWorldValueFirstValueMappedSigned(const Sint16 &value, const OFBool checkValue=OFTrue)
Set Real World Value First Value Mapped.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtgms.h:328
DcmLongString PatientSpeciesDescription
PatientSpeciesDescription (0010,2201) vr=LO, vm=1, type=1C.
Definition: drtdose.h:4112
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
OFCondition write(DcmItem &item)
write elements to sequence item
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFCondition setSourceToBeamLimitingDeviceDistance(const OFString &value, const OFBool check=OFTrue)
set SourceToBeamLimitingDeviceDistance (300a,00ba)
virtual OFCondition setPatientSpeciesDescription(const OFString &value, const OFBool check=OFTrue)
set PatientSpeciesDescription (0010,2201)
DcmQueryRetrieveDatabaseStatus(const DcmQueryRetrieveDatabaseStatus &org)
copy constructor
virtual OFCondition convertCharacterSet(DcmSpecificCharacterSet &converter)
convert this object from the currently selected source character set to the currently selected destin...
char isAttributeSet(XMLCSTR name) const
test if an attribute with a specific name is given
OFBool isEmpty()
check if item is empty
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtspcs.h:368
OFBool isEmpty()
check if item is empty
DcmUnlimitedText LocalNamespaceEntityID
LocalNamespaceEntityID (0040,0031) vr=UT, vm=1, type=1C.
Definition: drtiais.h:144
OFCondition setMaterialID(const OFString &value, const OFBool check=OFTrue)
set MaterialID (300a,00e1)
DRTDeidentificationActionSequence & operator=(const DRTDeidentificationActionSequence ©)
assigment operator
virtual OFCondition getPatientBirthDate(OFString &value, const signed long pos=0) const
get PatientBirthDate (0010,0030)
OFCondition setAlternateBeamDoseType(const OFString &value, const OFBool check=OFTrue)
set AlternateBeamDoseType (300a,0092)
Item(const Item ©)
copy constructor
virtual EP_Representation getRepresentation() const =0
get integer representation (abstract)
OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags=0, const char separator=',') const
print list of referenced frame numbers.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setClinicalTrialProtocolID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolID (0012,0020)
Abstract base class to create color output data.
Definition: dicoopx.h:51
virtual ~DSRImageFrameList()
destructor
OFBool m_respondWithCalledAETitle
If set, the AE title as received in the request (called AE title) is used in response (default: OFTru...
Definition: scpcfg.h:392
DIC_AE callingAETitle
Calling AE title.
Definition: scp.h:50
const Uint16 * Ptr
pointer to current element of 'Data'
Definition: diovpln.h:488
this class implements Floyd-Steinberg error diffusion.
Definition: diqtfs.h:42
DRTEncryptedAttributesSequence(const DRTEncryptedAttributesSequence ©)
copy constructor
virtual OFCondition setAllergies(const OFString &value, const OFBool check=OFTrue)
set Allergies (0010,2110)
Item & getItem(const size_t num)
get particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
void clear()
clear all internal member variables
size_t getNumberOfActivations(const char *layer, OFBool isCurve)
returns the number of activations for the given graphic layer and object type (curve or overlay).
virtual ~DcmUniversalResourceIdentifierOrLocator()
destructor
OFString SourceCharacterSet
selected source character set(s) based on one or more DICOM defined terms
Definition: dcspchrs.h:293
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
DcmLongString PatientBirthDateInAlternativeCalendar
PatientBirthDateInAlternativeCalendar (0010,0033) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2737
void push_back(const T &v)
insert an entry at the end of this object
Definition: ofvector.h:302
OFBool canWriteRandomSeed()
checks if enough entropy data is available to write back a modified random seed file.
Definition: tlslayer.h:289
Helper class which wraps searchPropertyEqual and findItem to make it easier to search through an IOD.
Definition: drmsrch.h:103
OFBool gotoNextOption()
sets next command line option as the current one.
OFCondition setCompensatorRows(const OFString &value, const OFBool check=OFTrue)
set CompensatorRows (300a,00e7)
virtual OFCondition setSOPInstanceStatus(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceStatus (0100,0410)
Uint32 getNumberOfFrames() const
get number of frames
Definition: diimage.h:108
void convertValue(T2 &red, T2 &green, T2 &blue, const T2 y, const T2 cb, const T2 cr, const T2 maxvalue)
convert a single YCbCr value to RGB
Definition: diybrpxt.h:272
virtual ~DSRDocumentTreeNodeValueTypeFilter()
destructor
Item & getCurrentItem()
get current item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtbss.h:151
OFCondition setBlockThickness(const OFString &value, const OFBool check=OFTrue)
set BlockThickness (300a,0100)
virtual OFCondition getRelatedGeneralSOPClassUID(OFString &value, const signed long pos=0) const
get RelatedGeneralSOPClassUID (0008,001a)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrsos.h:366
DcmByteString(const DcmTag &tag)
constructor.
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFString m_SoftwareVersions
Software Version(s) (VM 1-n)
Definition: modenhequipment.h:94
DcmCodeString m_CardiacCyclePosition
Cardiac Cycle Position (CS, 1, 3)
Definition: fgfracon.h:354
OFListIterator(Item *) CurrentItem
currently selected item
OFListIterator(Item *) CurrentItem
currently selected item
int setWindow(const unsigned long pos=0)
set specified window (given by index to window width/center sequence stored in image file).
static void initialize()
initialize this context group explicitly.
OFCondition losslessRawEncode(const Uint16 *pixelData, const Uint32 length, DcmItem *dataset, const DJLSRepresentationParameter *djrp, DcmPixelSequence *&pixSeq, const DJLSCodecParameter *djcp, double &compressionRatio) const
lossless encoder that compresses the complete pixel cell (very much like the RLE encoder in module dc...
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtdspcs.h:337
DiOverlayData * Data
points to overlay data (provides shared data)
Definition: diovlay.h:468
DcmDecimalString IsocenterPosition
IsocenterPosition (300a,012c) vr=DS, vm=3, type=2C.
Definition: drtcps.h:673
virtual OFCondition determineDecompressedColorModel(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, OFString &decompressedColorModel) const
determine color model of the decompressed image
Item(const Item ©)
copy constructor
virtual OFCondition getImagePositionPatient(OFString &value, const signed long pos)
Get Image Position Patient.
@ VolumeOfCircumscribedSphere
(121220,DCM,"Volume of circumscribed sphere"), included from CID 7472
Definition: cid7469.h:410
DcmDecimalString BeamLimitingDeviceAngle
BeamLimitingDeviceAngle (300a,0120) vr=DS, vm=1, type=3.
Definition: drtes.h:520
virtual const char * className() const
returns the class name as string.
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a particular value as a character string.
virtual DcmElement * getElement(const unsigned long num)
access an element from the item.
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
DcmLongString StudyDescription
StudyDescription (0008,1030) vr=LO, vm=1, type=3.
Definition: drttreat.h:2757
virtual OFCondition getPatientState(OFString &value, const signed long pos=0) const
get PatientState (0038,0500)
const DcmCodec * codec
pointer to codec object
Definition: dccodec.h:494
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmDecimalString SourceEncapsulationNominalTransmission
SourceEncapsulationNominalTransmission (300a,0224) vr=DS, vm=1, type=3.
Definition: drtss.h:422
const DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence() const
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtimage.h:2680
virtual OFCondition getPatientSupportAngle(Float64 &value, const unsigned long pos=0) const
get PatientSupportAngle (300a,0122)
OFBool ignoreStoreData_
ignore incoming data, receive but do not store (for debugging)
Definition: dcmqropt.h:79
OFBool isEmpty()
check if item is empty
OFCondition setGraphicLayerDescription(size_t idx, const char *descr)
sets a new description to the given graphic layer.
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtbrcss.h:357
virtual OFCondition setStrainDescription(const OFString &value, const OFBool check=OFTrue)
set StrainDescription (0010,0212)
void clearInstanceUID()
clears the SOP instance UID for the Stored Print object.
Definition: dvpssp.h:629
OFThreadSpecificData & operator=(const OFThreadSpecificData &arg)
unimplemented private assignment operator
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmFindSCUCallback(const DcmFindSCUCallback &other)
private undefined copy constructor.
virtual int setMaxDensityValue(const double value)
set maximum optical density value "Dmax".
OFListIterator(Item *) CurrentItem
currently selected item
DRTReferencedCalculatedDoseReferenceSequence & operator=(const DRTReferencedCalculatedDoseReferenceSequence ©)
assigment operator
Visitor for returning base class of given Image Pixel Module.
Definition: modimagepixelvariant.h:34
OFCondition gotoFirstItem()
goto first item in the sequence
Item EmptyItem
empty default item
Definition: drtcbars.h:555
virtual OFCondition encodeMonochromeImage(DcmItem *dataset, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DJCodecParameter *cp, double &compressionRatio) const
compresses the given uncompressed monochrome DICOM image and stores the result in the given pixSeq el...
DcmElement & operator=(const DcmElement &obj)
assignment operator
int getVMMin() const
returns lower limit for VM (value multiplicity)
Definition: dcdicent.h:158
DRTConsentForClinicalTrialUseSequence ConsentForClinicalTrialUseSequence
ConsentForClinicalTrialUseSequence (0012,0083) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3159
@ CQ_PRODUCT
PRODUCT.
Definition: dpmtypes.h:67
unsigned int Hour
currently stored hour value
Definition: oftime.h:412
X509_STORE * x509store
OpenSSL X.509 certificate store.
Definition: sicertvf.h:97
const Item & getCurrentItem() const
get current item in the sequence
DRTIonRangeCompensatorSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmQueryRetrieveSCP(const DcmQueryRetrieveConfig &config, const DcmQueryRetrieveOptions &options, const DcmQueryRetrieveDatabaseHandleFactory &factory, const DcmAssociationConfiguration &associationConfiguration)
constructor
virtual OFCondition getUint8(Uint8 &val, const unsigned long pos=0)
retrieve a single value of type Uint8.
DRTOperatorIdentificationSequence & getOperatorIdentificationSequence()
get OperatorIdentificationSequence (0008,1072)
Definition: drtces.h:206
~OFCondition()
destructor
Definition: ofcond.h:218
DcmDecimalString BeamLimitingDeviceAngle
BeamLimitingDeviceAngle (300a,0120) vr=DS, vm=1, type=1C.
Definition: drticpds.h:804
DVPSTextObject_PList()
default constructor
DcmCodeString RespiratoryMotionCompensationTechnique
RespiratoryMotionCompensationTechnique (0018,9170) vr=CS, vm=1, type=1.
Definition: drtmss.h:158
static size_t strlcpy(char *dst, const char *src, size_t siz)
This function copies up to size - 1 characters from the NUL- terminated string src to dst,...
Definition: ofstd.h:112
DcmDateTime m_FrameReferenceDateTime
Frame Reference DateTime (DT, 1, 1C)
Definition: fgfracon.h:345
virtual DcmEVR ident() const
get type identifier
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_InvalidOffset
Invalid offset.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item & operator=(const Item ©)
assigment operator
DcmLongText m_AlgorithmParameters
Algorithm Parameters: (LT, VM 1, Typ 3)
Definition: iodmacro.h:951
@ EVR_LO
long string
Definition: dcvr.h:153
virtual OFCondition getEndCumulativeMetersetWeight(Float64 &value, const unsigned long pos=0) const
get EndCumulativeMetersetWeight (300c,0009)
Item(const Item ©)
copy constructor
virtual OFCondition getPatientName(OFString &value, const signed long pos=0) const
get PatientName (0010,0010)
DIC_US nWarning
number of completed sub-operations that causes warnings
Definition: dcmqrcbm.h:184
OFBool isEmpty()
check if item is empty
OFCondition getROIElementalCompositionAtomicMassFraction(Float32 &value, const unsigned long pos=0) const
get ROIElementalCompositionAtomicMassFraction (3006,00b8)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getRows(Uint16 &value, const unsigned long pos=0) const
get Rows (0028,0010)
@ EPP_Normal
NORMAL.
Definition: diutils.h:303
@ SecondPerSquareMillimeter
(s/mm2,UCUM,"second per square millimeter")
Definition: cid7181.h:162
E_Flags
Special flags that a test can have.
Definition: oftest.h:70
virtual OFCondition getInstanceCreationDate(OFString &value, const signed long pos=0) const
get InstanceCreationDate (0008,0012)
virtual OFCondition setSpecificCharacterSet(const OFString &value, const OFBool check=OFTrue)
set SpecificCharacterSet (0008,0005)
OFCondition computeHistogram(DicomImage &image, unsigned long maxcolors)
creates a color table containing a histogram of the given image.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DicomDirImagePlugin * ImagePlugin
pointer to the optional image plugin (required for icon image support)
Definition: dcddirif.h:1556
long errorCode
OpenSSL X.509 certificate verification error code for the last operation.
Definition: sicertvf.h:100
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getUniversalEntityID(OFString &value, const signed long pos=0) const
get UniversalEntityID (0040,0032)
virtual OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
DcmCodeString QualityControlSubject
QualityControlSubject (0010,0200) vr=CS, vm=1, type=3.
Definition: drtiontr.h:2814
OFCondition writePresentationLUTforPrint(DcmItem &dset)
writes the current Presentation LUT to a DICOM dataset.
OFCondition setReferencedFractionNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFractionNumber (3008,0223)
OFCondition getNumberOfFractionPatternDigitsPerDay(Sint32 &value, const unsigned long pos=0) const
get NumberOfFractionPatternDigitsPerDay (300a,0079)
static void checkSubSequence(OFCondition &result, DcmItem &surroundingItem, const DcmTagKey &seqKey, const OFString &cardinality, const OFString &type, const OFString &module, const dcmtk::log4cplus::LogLevel logLevel)
Check whether a given sequence exists in a given item and whether it conforms to to its requirement t...
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getCompensatorMountingPosition(OFString &value, const signed long pos=0) const
get CompensatorMountingPosition (300a,02e1)
DcmIntegerString BlockNumber
BlockNumber (300a,00fc) vr=IS, vm=1, type=1.
Definition: drtbl2.h:356
OFString m_PatientID
Patient ID.
Definition: iodreferences.h:125
Interface class for ApplicatorSequence (300a,0107) in RTIonBeamsSessionRecordModule.
Definition: drtas7.h:28
@ Surgeon
(304292004,SCT,"Surgeon")
Definition: cid7452.h:86
OFCondition getWedgeAngle(Sint32 &value, const unsigned long pos=0) const
get WedgeAngle (300a,00d5)
const DRTMACParametersSequence & getMACParametersSequence() const
get MACParametersSequence (4ffe,0001)
Definition: drtiontr.h:1437
unsigned long getVoiLutCount() const
get number of VOI LUTs (stored in image file)
Definition: dcmimage.h:797
Item class.
Definition: drtois.h:38
OFCondition setPresentationLookupTable(DcmItem &dset)
stores a presentation lookup table in the presentation state.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item & operator=(const Item ©)
assigment operator
OFString UID
instance UID
Definition: dvcache.h:428
DcmTransportConnection(const DcmTransportConnection &)
private undefined copy constructor
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid7452.h:157
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getFrameAcquisitionDateTime(OFString &value, const signed long pos=0)
Get Frame Acquisition Date Time.
OFSetIterator(OFSet< T > &ofsetv)
Constructor.
Definition: ofsetit.h:56
const OFString & getSOPClassName(OFString &stringValue, const OFString &defaultName="unknown SOP Class UID") const
get name associated with the SOP class UID of the currently selected entry
virtual OFCondition getOriginalSpecializedSOPClassUID(OFString &value, const signed long pos=0) const
get OriginalSpecializedSOPClassUID (0008,001b)
virtual OFCondition getClinicalTrialTimePointDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointDescription (0012,0051)
@ KurtosisDiffusionCoefficient
(113294,DCM,"Kurtosis Diffusion Coefficient"), included from CID 7272
Definition: cid7469.h:134
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtplan.h:3225
virtual OFCondition getPatientBirthTime(OFString &value, const signed long pos=0) const
get PatientBirthTime (0010,0032)
void removeGraphicLayerRecommendedDisplayValue(size_t idx, OFBool rgb, OFBool monochrome)
removes recommended display values for the given graphic layer.
OFCondition setReferencedMeasuredDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedMeasuredDoseReferenceNumber (3008,0082)
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setUniversalEntityID(const OFString &value, const OFBool check=OFTrue)
set UniversalEntityID (0040,0032)
OFCondition getChannelShieldNumber(Sint32 &value, const unsigned long pos=0) const
get ChannelShieldNumber (300a,02b2)
static OFCondition writeTagAndVR(DcmOutputStream &outStream, const DcmTag &tag, DcmEVR vr, const E_TransferSyntax oxfer)
static helper method used in writeSignatureFormat().
FILE * dumpFile
if nonzero, the data fed to the MAC algorithm is also stored in this file.
Definition: dcsignat.h:251
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
OFBool isEmpty()
check if item is empty
static OFCondition correctVOIWindows(DcmItem *dataset, double voiOffset, double voiFactor)
modifies all VOI window center/width settings in the image.
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Returns shared functional group type (always "per-frame")
Definition: fgfracon.h:54
static OFGroup getGrNam(const char *name)
Thread-safe version of getgrnam.
virtual size_t gotoLast()
goto last node on the same level (last sibling).
Definition: dsrtncsr.h:519
OFBool isEmpty()
check if sequence is empty
OFBool isEmpty()
check if item is empty
virtual OFCondition getResponsibleOrganization(OFString &value, const signed long pos=0) const
get ResponsibleOrganization (0010,2299)
EquipmentInfo(const OFString &manufacturer, const OFString &manufacturerModelName, const OFString &deviceSerialNumber, const OFString &softwareVersions)
Convenience Constructor setting commonly used values.
Definition: modequipment.h:66
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
DcmDateTime(const DcmTag &tag, const Uint32 len=0)
constructor.
OFBool isEmpty()
check if item is empty
Item & operator[](const size_t num)
get particular item in the sequence
DRTIssuerOfAccessionNumberSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item(const Item ©)
copy constructor
DcmUnsignedShort BluePaletteColorLookupTableDescriptor
BluePaletteColorLookupTableDescriptor (0028,1103) vr=US/SS, vm=3, type=1C.
Definition: drtimage.h:5164
@ DT_EnhancedSR
DICOM IOD: Enhanced SR.
Definition: dsrtypes.h:509
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getPerformedProcedureStepStartTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartTime (0040,0245)
Uint32 payloadUsed
number of bytes actually used in payload
Definition: dvpsmsg.h:146
void interpolatePixel(const T *src[], T *dest[])
free scaling method with interpolation
Definition: discalet.h:528
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
DRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModule & operator=(const DRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModule ©)
assigment operator
void clear()
clear all internal member variables
virtual OFCondition getConsultingPhysicianName(OFString &value, const signed long pos=0) const
get ConsultingPhysicianName (0008,009c)
OFCondition findAndGetSint64(const DcmTagKey &tagKey, Sint64 &value, const unsigned long pos=0, const OFBool searchIntoSub=OFFalse)
find element and get value as a signed 64-bit integer.
@ CS_ChineseISO
ISO-IR 6/58: Chinese.
Definition: dsrtypes.h:819
DRTIonBeamSequence IonBeamSequence
IonBeamSequence (300a,03a2) vr=SQ, vm=1, type=1.
Definition: drtionpl.h:3223
DcmIntegerString NumberOfLateralSpreadingDevices
NumberOfLateralSpreadingDevices (300a,0330) vr=IS, vm=1, type=1.
Definition: drttsibs.h:1010
OFBool isEmpty()
check if item is empty
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getDisplayedAreaPresentationPixelMagnificationRatio(double &magnification)
gets the presentation pixel magnification ratio for the current image and frame if it is present.
const DRTPersonIdentificationCodeSequence & getPersonIdentificationCodeSequence() const
get PersonIdentificationCodeSequence (0040,1101)
Definition: drtrpis.h:154
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition setTimeOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set TimeOfLastCalibration (0018,1201)
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtrpcs.h:335
DRTBlockSequenceInRTBeamsModule BlockSequence
BlockSequence (300a,00f4) vr=SQ, vm=1, type=1C.
Definition: drtbs.h:733
virtual void clear()
Clear reference data.
OFCondition getReferencedBrachyApplicationSetupNumber(OFString &value, const signed long pos=0) const
get ReferencedBrachyApplicationSetupNumber (300c,000c)
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcctus.h:141
const DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence() const
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtstrct.h:1632
const OFString & getSOPInstanceUID(OFString &instanceUID) const
get the SOP instance UID of the currently selected entry
void clear()
clear all internal member variables
DRTReferencedImageSequence & getReferencedImageSequence()
get ReferencedImageSequence (0008,1140)
Definition: drtstrct.h:1602
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_UnknownTransferSyntax
Given transfer syntax is unknown.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtpsics.h:353
Item class.
Definition: drtcctus.h:36
double getWidthHeightRatio() const
get width height ratio (pixel aspect ratio: x/y).
Definition: dcmimage.h:327
Item class.
Definition: drtwrs.h:36
Class to handle color palette look-up tables.
Definition: diluptab.h:53
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition getLongitudinalTemporalOffsetFromEvent(Float64 &value, const unsigned long pos=0) const
get LongitudinalTemporalOffsetFromEvent (0012,0052)
DVPresentationState & getCurrentPState()
returns a reference to the current presentation state.
Definition: dviface.h:240
double getAbsMinimum() const
get absolute (possible) minimum pixel value after modality transform
Definition: dimomod.h:147
a class representing the DICOM value representation 'Application Entity' (AE)
Definition: dcvrae.h:35
DcmDictEntry(Uint16 g, Uint16 e, DcmVR vr, const char *nam, int vmMin, int vmMax, const char *vers, OFBool doCopyStrings, const char *pcreator)
constructor
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTReferencedDoseReferenceSequenceInRTIonBeamsModule(const DRTReferencedDoseReferenceSequenceInRTIonBeamsModule ©)
copy constructor
OFCondition gotoNextItem()
goto next item in the sequence
@ RGBGComponent
(110835,DCM,"RGB G Component"), included from CID 7180
Definition: cid7469.h:206
unsigned long getPrinterNumberOfCopies()
gets the (optional) print number of copies.
virtual CodeSequenceMacro * getConceptCodeSequence()
Get reference to the ConceptCodeSequence.
virtual ~DiScaleTemplate()
destructor
Definition: discalet.h:165
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbcps.h:407
DRTRealWorldValueMappingSequence RealWorldValueMappingSequence
RealWorldValueMappingSequence (0040,9096) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4408
OFCondition gotoNextItem()
select the next item in the list.
virtual OFCondition setSliceThickness(const OFString &value, const OFBool checkValue=OFTrue)
Set Slice Thickness.
@ ISO1_F18
(C2981788,UMLS,"ISO-1 F^18^")
Definition: cid4021.h:190
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool restrictMoveToSameVendor_
restrict MOVE operations to same vendor according to vendor table
Definition: dcmqropt.h:125
const_iterator begin() const
Return const iterator to first frame (not sorted after stack position)
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtssrcs.h:337
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrws.h:396
DcmDecimalString FixationLightPolarAngleTolerance
FixationLightPolarAngleTolerance (300a,0155) vr=DS, vm=1, type=3.
Definition: drtitts.h:412
OFCondition setDVHData(const OFString &value, const OFBool check=OFTrue)
set DVHData (3004,0058)
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
const Item & getCurrentItem() const
get current item in the sequence
const DRTOriginalAttributesSequence & getOriginalAttributesSequence() const
get OriginalAttributesSequence (0400,0561)
Definition: drtionpl.h:1553
@ _51_Manganese
(126601,DCM,"^51^Manganese")
Definition: cid4020.h:64
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
Interface class for BrachyReferencedDoseReferenceSequence (300c,0055)
Definition: drtbrdrs.h:28
const DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence() const
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtimage.h:2824
OFCondition getImageReference(OFString &sopclassUID, OFString &instanceUID, OFString &frames)
gets the image reference managed by this object.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition read(DcmItem &dset)
reads an displayed area selection from a DICOM dataset.
virtual OFCondition sendCANCELRequest(const T_ASC_PresentationContextID presID)
Send C-CANCEL and, therefore, ends the C-FIND -GET or -MOVE session, i.e. no further responses will b...
virtual EP_Interpretation getInternalColorModel() const =0
get color model of internal pixel representation.
virtual OFCondition init()
initializes internal object structures.
OFBool m_incInstNoFromFile
If true, Instance Number ist read from file and incremented by 1.
Definition: i2d.h:243
@ Glutamine_C11
(126709,DCM,"Glutamine C^11^")
Definition: cid4021.h:184
OFCondition setTableTopEccentricAngleTolerance(const OFString &value, const OFBool check=OFTrue)
set TableTopEccentricAngleTolerance (300a,004e)
virtual OFCondition setIrradiationEventUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Irradiation Event UID.
@ NeckChestAndAbdomen
(416152001,SCT,"Neck, Chest and Abdomen")
Definition: cid4031.h:170
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmTLSSCU()
Constructor, just initializes internal class members.
virtual ~Item()
destructor
virtual OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
virtual OFCondition getBitsStored(Uint16 &value, const unsigned long pos=0) const
get BitsStored (0028,0101)
DRTApplicatorSequenceInRTIonBeamsModule(const DRTApplicatorSequenceInRTIonBeamsModule ©)
copy constructor
virtual DcmDirectoryRecord * getSub(const unsigned long num)
access child directory record.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item(const Item ©)
copy constructor
DcmStackNode(DcmObject *obj)
constructor.
virtual OFBool good() const
returns the status of the producer.
void setUpper(const DcmTagKey &key)
converts entry into repeating tag entry by defining an upper limit for group and element,...
Definition: dcdicent.h:194
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtssrcs.h:353
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Returns that this functional group can be used as both, shared and per-frame.
Definition: fgrealworldvaluemapping.h:59
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition setAcquisitionTimeSynchronized(const OFString &value, const OFBool checkValue=OFTrue)
Set Acquisition Time Synchronized.
CID5001_Countries(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
OFCondition setPrivateDataElementValueRepresentation(const OFString &value, const OFBool check=OFTrue)
set PrivateDataElementValueRepresentation (0008,030a)
void setPrimField(const char *buffer, const Uint16 length)
Sets content of primary field.
@ EFG_DERIVATIONIMAGE
Derivation Image.
Definition: fgtypes.h:119
OFFile file_
the file we're actually reading from
Definition: dcistrmf.h:99
Item class.
Definition: drtvls.h:36
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
LST_HEAD()
default constructor
DcmPixelSequence & operator=(const DcmPixelSequence &obj)
copy assignment operator
TrcTrack()
Protected constructor, use create() method to create a new track set.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition convert(DcmDataset &dataset) const
Outputs SOP class specific information into dataset.
virtual DcmObject * clone() const
clone method
Definition: dcdatset.h:68
OFCondition setBolusDescription(const OFString &value, const OFBool check=OFTrue)
set BolusDescription (300a,00dd)
DcmDecimalString DoseValue
DoseValue (3004,0012) vr=DS, vm=1, type=1.
Definition: drtrdros.h:160
OFCondition getNumberOfLeafJawPairs(OFString &value, const signed long pos=0) const
get NumberOfLeafJawPairs (300a,00bc)
OFCondition getChannelEffectiveLength(OFString &value, const signed long pos=0) const
get ChannelEffectiveLength (300a,0271)
DcmCodeString Modality
Modality (0008,0060) vr=CS, vm=1, type=1.
Definition: drtstrct.h:2926
DcmPersonName OperatorsName
OperatorsName (0008,1070) vr=PN, vm=1-n, type=2.
Definition: drtplan.h:3178
DcmCodeString ResponsiblePersonRole
ResponsiblePersonRole (0010,2298) vr=CS, vm=1, type=1C.
Definition: drtiontr.h:2852
virtual OFCondition getPPSSOPInstanceUID(OFString &value, const signed long pos=0) const
Get Referenced PPS SOP Instance UID.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setReviewDate(const OFString &value, const OFBool check=OFTrue)
set ReviewDate (300e,0004)
DcmRLERepresentationParameter(const DcmRLERepresentationParameter &arg)
copy constructor
virtual OFCondition getAndCheckImagePixelAttributes(DcmItem &dataset, Uint16 &allocated, Uint16 &stored, Uint16 &high, Uint16 &spp, Uint16 &pixelRep, Uint16 &rows, Uint16 &cols, Uint16 &numberOfFrames, OFString &colorModel)
Get Image Pixel module attributes and perform some basic checking.
Item & getItem(const size_t num)
get particular item in the sequence
DVPSImageBoxContent_PList()
default constructor
static OFString & getFilenameFromPath(OFString &result, const OFString &pathName, const OFBool assumeFilename=OFTrue)
get file name component from given path name.
virtual OFCondition setContentDate(const OFString &value, const OFBool check=OFTrue)
set content date
@ MonoExponentialApparentDiffusionCoefficient
(113290,DCM,"Mono-exponential Apparent Diffusion Coefficient"), included from CID 7272
Definition: cid7469.h:126
OFCondition setGantryPitchAngleTolerance(const Float32 value, const unsigned long pos=0)
set GantryPitchAngleTolerance (300a,014e)
DcmTag(Uint16 g, Uint16 e, const char *privCreator=NULL)
constructor.
Interface class for BeamLimitingDeviceSequence (300a,00b6) in RTImageModule.
Definition: drtblds5.h:28
const DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence() const
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtdose.h:2158
virtual OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read numeric measurement value from XML document
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrsrs.h:132
DcmBaseSCPPool & m_pool
Reference to pool in order to notify pool if thread exits, etc.
Definition: scppool.h:118
virtual OFCondition decode(const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *pixSeq, DcmPolymorphOBOW &uncompressedPixelData, const DcmCodecParameter *cp, const DcmStack &objStack) const
decompresses the given pixel sequence and stores the result in the given uncompressedPixelData elemen...
virtual DcmObject * nextInContainer(const DcmObject *obj)
this method is only used in container classes, that is, DcmItem and DcmSequenceOfItems.
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrvis.h:127
Item & operator[](const size_t num)
get particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
void rejectAssociation(T_ASC_Association *assoc, const T_ASC_RejectParametersReason &reason)
Reject association using the given reason, e.g. because maximum number of connections is currently al...
DcmSequenceOfItems * macParametersSq
pointer to mac parameters sequence of attached item, may be NULL if not attached or not yet present
Definition: dcsignat.h:245
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Definition: syncprim.h:65
virtual ~DRTPurposeOfReferenceCodeSequence()
destructor
virtual OFCondition getReferencedFractionGroupNumber(OFString &value, const signed long pos=0) const
get ReferencedFractionGroupNumber (300c,0022)
OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format
DcmLongString ModalityLUTType
ModalityLUTType (0028,3004) vr=LO, vm=1, type=1.
Definition: drtmls.h:164
virtual OFCondition getPatientState(OFString &value, const signed long pos=0) const
get PatientState (0038,0500)
OFCondition getReferencedFractionGroupNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFractionGroupNumber (300c,0022)
void cleanupLayers()
deletes all graphic annotation sequence items containing no text and no graphic object.
DcmDirectoryRecord * buildRegistrationRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update registration record and copy required values from dataset
DSRNumericMeasurementValue()
default constructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFString Filename
filename of instance
Definition: dvcache.h:111
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrps.h:308
OFCondition getPatientSupportAngle(Float64 &value, const unsigned long pos=0) const
get PatientSupportAngle (300a,0122)
const DRTDigitalSignaturesSequence & getDigitalSignaturesSequence() const
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtiontr.h:1317
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition toBackGraphicLayer(size_t idx)
makes a graphic layer the lowest layer for display.
DRTReferringPhysicianIdentificationSequence(const DRTReferringPhysicianIdentificationSequence ©)
copy constructor
DRTConsultingPhysicianIdentificationSequence ConsultingPhysicianIdentificationSequence
ConsultingPhysicianIdentificationSequence (0008,009d) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2990
OFCondition applyStudyOrSeriesFromFile(DcmDataset *targetDset)
Parses patient/study/series level attributes from file as defined on command line and fills internal ...
virtual unsigned long getNumberOfValues()
get number of values stored in this element.
Result OFvisit(Visitor visitor, OFvariant< Alternatives... > &v)
Applies the given visitor to the given OFvariant object.
OFCondition setNumberOfLateralSpreadingDevices(const OFString &value, const OFBool check=OFTrue)
set NumberOfLateralSpreadingDevices (300a,0330)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence() const
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtiontr.h:1221
Uint32 biSizeImage
size of the image data (in bytes), might be set to '0' if image is uncompressed
Definition: diutils.h:190
@ EKT_DSA
DSA key.
Definition: sitypes.h:77
DRTPersonIdentificationCodeSequence & getPersonIdentificationCodeSequence()
get PersonIdentificationCodeSequence (0040,1101)
Definition: drtporis.h:148
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
virtual OFCondition setStudyID(const OFString &value, const OFBool check=OFTrue)
set StudyID (0020,0010)
DcmSimpleMap(const DcmSimpleMap &arg)
private undefined copy constructor
virtual DcmTagKey getTagKey() const
Get tag key of the attribute rule.
const DRTProcedureCodeSequence & getProcedureCodeSequence() const
get ProcedureCodeSequence (0008,1032)
Definition: drtplan.h:1706
const char * getAccessionNumber()
returns the Accession Number of the currently selected study.
DJDecompressIJG8Bit & operator=(const DJDecompressIJG8Bit &)
private undefined copy assignment operator
Interface class for DerivationCodeSequence (0008,9215)
Definition: drtdcs.h:29
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFCondition gotoFirstItem()
goto first item in the sequence
void setConnectionTimeout(const Sint32 connectionTimeout)
Set global timeout for connecting to the SCP.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrics.h:548
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual ~DVPSOverlay_PList()
destructor
size_t getNumberOfFrames() const
Get number of frames, based on the number of items in the shared functional functional groups sequenc...
virtual OFCondition setHighBit(const Uint16 value, const OFBool checkValue=OFTrue)
Set High Bit.
OFCondition setReferencedRangeShifterNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedRangeShifterNumber (300c,0100)
virtual OFCondition getTableTopLongitudinalPosition(Float64 &value, const unsigned long pos=0) const
get TableTopLongitudinalPosition (300a,0129)
OFBool getHaltOnInvalidFileMode() const
get mode that specifies whether to halt if an invalid file is encountered during batch processing (e....
virtual OFCondition getPatientSpeciesDescription(OFString &value, const signed long pos=0) const
get PatientSpeciesDescription (0010,2201)
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags=0, const char separator=',') const
print list of referenced sample positions.
virtual OFCondition writeItem(DcmItem &dataset) const
write reference value to dataset
DRTROIElementalCompositionSequence & getROIElementalCompositionSequence()
get ROIElementalCompositionSequence (3006,00b6)
Definition: drtrpps.h:121
const Item & getItem(const size_t num) const
get particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmFileFormat * dcmff
DICOM file format into which the image is received.
Definition: dcmqrcbs.h:126
size_t getNumberOfActiveOverlays(size_t layer)
gets the number of overlays that are currently activated on the given graphic layer.
virtual OFCondition readItem(DcmItem &dataset, const size_t flags)
read image reference value from dataset
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition addPresentationContext(T_ASC_Parameters *params, const char *abstractSyntax, E_TransferSyntax preferredTransferSyntax)
add presentation context for given abstract syntax and given preferred transfer syntax to the ACSE pa...
DcmLongText PersonTelecomInformation
PersonTelecomInformation (0040,1104) vr=LT, vm=1, type=3.
Definition: drtrpis.h:210
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition getSeriesDate(OFString &value, const signed long pos=0) const
Get Series Date.
virtual DSRCodingSchemeIdentificationList & getCodingSchemeIdentification()
get list of coding schemes used (Coding Scheme Identification).
Interface class for LateralSpreadingDeviceSettingsSequence (300a,0370) in RTIonBeamsSessionRecordModu...
Definition: drtlsds7.h:28
Interface class for ModalityLUTSequence (0028,3000)
Definition: drtmls.h:28
OFBool keepDBHandleDuringAssociation_
keep DB handle open for the complete lifetime of an association.
Definition: dcmqropt.h:149
void clear()
resets the object to initial state.
DCMTK_DCMDATA_EXPORT const unsigned short EC_CODE_CannotConvertCharacterSet
error, cannot convert specific character set
static OFBool safeMult(T a, T b, T &product)
check whether multiplication is safe (i.e. no overflow occurs) and if so, perform it (i....
Definition: ofstd.h:951
IODMultiFrameFGModule m_FG
Multi-frame Functional Groups module.
Definition: segdoc.h:584
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition setApplicationSetupNumber(const OFString &value, const OFBool check=OFTrue)
set ApplicationSetupNumber (300a,0234)
OFList< unsigned char * > pixelDataList
list of compressed pixel data blocks
Definition: djeijg12.h:166
virtual void clear()
clear all member variables.
DRTSourceSequence(const DRTSourceSequence ©)
copy constructor
OFCondition getCurrentWindowWidth(double &w)
gets the width of the current VOI window.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Uint32 getMaxReceivePDULength() const
Returns maximum PDU length configured to be received by SCP.
virtual OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
Get Institution Address.
OFBool isEmpty()
check if item is empty
const char * getTargetPrivateKey(const char *targetID)
returns the PRIVATEKEY entry for the storage peer with the given target ID from the configuration fil...
OFCondition saveDICOMImage(const void *pixelData, unsigned long width, unsigned long height, double aspectRatio=1.0)
saves a monochrome bitmap as a DICOM Secondary Capture image in the same directory in which the datab...
int LookupTable
status flag: lookup table present
Definition: dimomod.h:271
E_StringMode
internal type used to specify the current string representation
Definition: dcbytstr.h:340
E_VRType
enumeration of VR encoding options
Definition: dcxfer.h:141
OFCondition getROIObservationDescription(OFString &value, const signed long pos=0) const
get ROIObservationDescription (3006,0088)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getFrameTimeVector(Float64 &value, const unsigned long pos=0) const
get FrameTimeVector (0018,1065)
OFCondition read(DcmItem &item)
read elements from sequence item
@ UpperLimb
(53120007,SCT,"Upper limb")
Definition: cid4031.h:242
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtsdcs.h:211
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
virtual OFCondition getOperatorsName(OFString &value, const signed long pos=0) const
get OperatorsName (0008,1070)
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
OFCondition getRespiratorySignalSourceID(OFString &value, const signed long pos=0) const
get RespiratorySignalSourceID (0018,9186)
OFList< OFCmdOption * > ValidOptionList
list of valid/defined command line options
Definition: ofcmdln.h:1061
CMR_SRNumericMeasurementValue(const CID42_NumericValueQualifier &valueQualifier, const OFBool check=OFTrue)
constructor
OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
DRTScheduledProtocolCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual ~DRTIonPlanIOD()
destructor
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
DcmBufferConsumer & operator=(const DcmBufferConsumer &)
private unimplemented copy assignment operator
OFBool apply(DcmItem &item) const
apply the filter on a DcmItem.
OFCondition getElementFromAttribute(const DSRXMLCursor &cursor, DcmElement &delem, const char *name, const OFBool encoding=OFFalse, const OFBool required=OFTrue) const
get element value from particular XML attribute
virtual DSRContentItem & getCurrentContentItem()
get reference to current content item.
const DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence() const
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtdose.h:2338
virtual ~DiDisplayLUT()
destructor
virtual OFCondition setRealWorldValueFirstValueMappedUnsigned(const Uint16 value, const OFBool checkValue=OFTrue)
Set Real World Value First Value Mapped.
static OFBool pathExists(const OFFilename &pathName)
check whether the given path exists.
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
DcmLongString StudyDescription
StudyDescription (0008,1030) vr=LO, vm=1, type=3.
Definition: drtimage.h:4897
DcmLongString StructureSetName
StructureSetName (3006,0004) vr=LO, vm=1, type=3.
Definition: drtdose.h:4608
virtual OFCondition getPatientIdentityRemoved(OFString &value, const signed long pos=0) const
get PatientIdentityRemoved (0012,0062)
int appendLoopOnAppenders(const spi::InternalLoggingEvent &event) const
Call the doAppend method on all attached appenders.
#define OFFIS_DCMTK_VERSION_STRING
DCMTK version number (as string) for this release.
Definition: dcuid.h:225
virtual OFCondition setStationName(const OFString &value, const OFBool check=OFTrue)
set StationName (0008,1010)
OFCondition updateDerivationDescription(DcmItem *dataset, const DJLSRepresentationParameter *djrp, double ratio) const
create Derivation Description.
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read Series and Instance Reference Macro from given item.
const OFBool MULTIPART
handle string as multi-valued (components separated by a backslash)
Definition: dcbytstr.h:477
size_t getNumberOfItems() const
get number of items in the sequence
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3150
virtual OFCondition setSeriesNumber(const OFString &value, const OFBool check=OFTrue)
set SeriesNumber (0020,0011)
virtual OFCondition setObservationDateTime(DcmItem &dataset, const DcmTagKey &tagKey, const unsigned long pos=0, const OFBool check=OFTrue)
set observation date/time from dataset
DcmIntegerString ReferencedROINumber
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=1.
Definition: drtrbos1.h:171
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtaadcs.h:533
Interface class for FractionGroupSummarySequence (3008,0220)
Definition: drtfgss.h:29
virtual OFBool empty()
Returns whether code is empty, i.e.
static const int PF_NoCommandFiles
disable support for command files ("@filename") containing additional arguments
Definition: ofcmdln.h:971
CMR_SRNumericMeasurementValue()
default constructor
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtssrcs.h:329
DcmLongString SourceManufacturer
SourceManufacturer (300a,0216) vr=LO, vm=1, type=3.
Definition: drtss.h:428
virtual OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
void filmSessionNDelete(T_DIMSE_Message &rq, T_DIMSE_Message &rsp)
implements the N-DELETE operation for the Basic Film Session SOP Class.
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTBrachyReferencedDoseReferenceSequence BrachyReferencedDoseReferenceSequence
BrachyReferencedDoseReferenceSequence (300c,0055) vr=SQ, vm=1, type=3.
Definition: drtbcps.h:221
const char * getCurrentPrinter()
gets the current printer's target ID.
void cleanup()
cleans up pixelDataList, called from destructor and error handlers
OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
OFCondition read(DcmItem &item)
read elements from sequence item
DRTBreedRegistrationSequence(const DRTBreedRegistrationSequence ©)
copy constructor
DcmLongText AdditionalPatientHistory
AdditionalPatientHistory (0010,21b0) vr=LT, vm=1, type=3.
Definition: drtdose.h:4247
virtual void print(STD_NAMESPACE ostream &out, const size_t flags=0, const int level=0, const char *pixelFileName=NULL, size_t *pixelCounter=NULL)=0
print object to a stream
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTApplicatorSequenceInRTBeamsModule & operator=(const DRTApplicatorSequenceInRTBeamsModule ©)
assigment operator
OFString curveDescription
curve data description if present
Definition: dvpscu.h:128
OFCondition incrementInstanceNumber(DcmDataset *targetDset)
Increments instance number in given dataset.
static OFBool wildCardMatching(const void *queryData, const size_t querySize, const void *candidateData, const size_t candidateSize)
Match the query and the candidate string using Wild Card Matching, as defined by the DICOM standard.
OFBool isMonochrome1Image()
checks whether the attached image is MONOCHROME1.
Definition: dvpstat.h:196
OFCondition initializeDiffImage(OFCmdFloat amplify=1.0)
instruct the DicomImageComparison instance that the creation of a difference image during image compa...
OFCondition getBlockThickness(OFString &value, const signed long pos=0) const
get BlockThickness (300a,0100)
virtual OFCondition getPhotometricInterpretation(OFString &value, const signed long pos=0)
Get Photometric Interpretation.
virtual OFCondition setStudyInstanceUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Study Instance UID.
DicomDirImagePlugin()
constructor (protected)
Definition: dcddirif.h:98
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
const DSRImageReferenceValue & getImageReference() const
get image reference.
OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
abstract codec class for JPEG-LS encoders.
Definition: djcodece.h:43
OFBool disableBackupMode(const OFBool newMode=OFFalse)
disable/enable the "create backup file" mode.
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
DcmShortString TimezoneOffsetFromUTC
Context Group Identification Sequence: (SQ, 1-n, 3)
Definition: dsrdoc.h:1332
virtual OFCondition setMeasuredAPDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredAPDimension (0010,1023)
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_TooManyItems
Too many Items.
DRTRecordedRangeShifterSequence RecordedRangeShifterSequence
RecordedRangeShifterSequence (3008,00f2) vr=SQ, vm=1, type=1C.
Definition: drttsibs.h:1040
OFCondition getNumberOfBoli(Sint32 &value, const unsigned long pos=0) const
get NumberOfBoli (300a,00ed)
OFCondition DB_GetStudyDesc(StudyDescRecord *pStudyDesc)
get study descriptor record from start of index file
virtual OFCondition makeSubObject(DcmObject *&newObject, const DcmTag &newTag, const Uint32 newLength)
helper function for read().
OFBool isEmpty()
check if sequence is empty
Interface class for the Softcopy Presentation State viewer.
Definition: dviface.h:50
void * dequeue()
removes first element from list and returns it.
virtual OFCondition write(DcmItem &item)
Writes this functional group to item, i.e. will write the Real World Value Mapping Sequence.
Float32 ZCoord
z value (VR=FL)
Definition: dsrsc3gr.h:82
@ _11_Carbon
(40565003,SCT,"^11^Carbon")
Definition: cid4020.h:44
DcmDirectoryRecord * buildModalityLutRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update modality LUT record and copy required values from dataset
DCMTK_DCMDATA_EXPORT const int numberOfDcmShortSCUStorageSOPClassUIDs
number of entries in dcmShortSCUStorageSOPClassUIDs.
DRTChannelSourceSequence ChannelSourceSequence
ChannelSourceSequence (003a,0208) vr=SQ, vm=1, type=1.
Definition: drtmacds.h:156
virtual ~DRTWedgeSequence()
destructor
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmCodeString GantryPitchRotationDirection
GantryPitchRotationDirection (300a,014c) vr=CS, vm=1, type=3.
Definition: drtcps.h:669
virtual OFCondition getStructureSetTime(OFString &value, const signed long pos=0) const
get StructureSetTime (3006,0009)
OFCondition getValue(DSRTemporalCoordinatesValue &coordinatesValue) const
get copy of temporal coordinates value
OFCondition read(DcmItem &item)
read elements from sequence item
DcmUniqueIdentifier FrameOfReferenceUID
FrameOfReferenceUID (0020,0052) vr=UI, vm=1, type=1.
Definition: drtstrct.h:3007
virtual OFCondition setRealWorldValueLUTData(const OFVector< Float64 > &value, const OFBool checkValue=OFTrue)
Set Real World Value LUT Data.
Iterator const m_End
an iterator referring to one past the end in the range of values.
Definition: dcfilter.h:90
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drttms0.h:206
virtual OFCondition getPatientBirthDate(OFString &value, const signed long pos=0) const
get PatientBirthDate (0010,0030)
@ EBO_LittleEndian
little endian
Definition: dcxfer.h:133
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getSourceToWedgeTrayDistance(Float64 &value, const unsigned long pos=0) const
get SourceToWedgeTrayDistance (300a,00da)
DcmShortString CompensatorID
CompensatorID (300a,00e5) vr=SH, vm=1, type=3.
Definition: drtrcos.h:153
const DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence() const
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drttreat.h:1149
virtual OFCondition getApprovalStatus(OFString &value, const signed long pos=0) const
get ApprovalStatus (300e,0002)
DVPSAnnotationContent & operator=(const DVPSAnnotationContent &)
private undefined assignment operator
DcmPresentationContextMap()
constructor
static OFString algoType2OFString(E_SegmentAlgoType algo)
Return string representation of algorithm type.
size_t getWindowParameter() const
returns parameter for VOI transform of monochrome images, used in VOI modes 1, 2, 4,...
Definition: djcparam.h:203
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
long getCertKeyBits()
returns the strength (number of bits) of the public key contained in the current certificate.
virtual OFCondition getSOPAuthorizationDateTime(OFString &value, const signed long pos=0) const
get SOPAuthorizationDateTime (0100,0420)
virtual OFCondition setLongitudinalTemporalInformationModified(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalInformationModified (0028,0303)
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getFrameOfReferenceUID(OFString &value, const signed long pos=0) const
get FrameOfReferenceUID (0020,0052)
OFCondition getTableTopVerticalPositionTolerance(OFString &value, const signed long pos=0) const
get TableTopVerticalPositionTolerance (300a,0051)
DcmDecimalString ContourData
ContourData (3006,0050) vr=DS, vm=3-3n, type=1.
Definition: drtcs.h:271
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drtimage.h:5049
OFCondition removeImageReferenceAttached()
removes a reference to the currently attached image from this presentation state.
DRTPatientSpeciesCodeSequence PatientSpeciesCodeSequence
PatientSpeciesCodeSequence (0010,2202) vr=SQ, vm=1, type=1C.
Definition: drtstrct.h:2763
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrbos6.h:318
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getPatientIdentityRemoved(OFString &value, const signed long pos=0) const
get PatientIdentityRemoved (0012,0062)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
offile_off_t size_
number of bytes in file
Definition: dcistrmf.h:105
LogLevel getChainedLogLevel() const
Starting from this logger, search the logger hierarchy for a "set" LogLevel and return it.
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmRLECodecParameter(const DcmRLECodecParameter &arg)
copy constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtsns.h:308
OFCondition read(DcmItem &item)
read elements from sequence item
DVPSAnnotationContent()
default constructor
OFTempFile(const OFTempFile &)
private undefined copy constructor
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtspcs.h:358
virtual OFBool isClinicalTrialStudyModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialStudyModule (U) is present.
OFCondition addToPrintHardcopyFromDB(const char *studyUID, const char *seriesUID, const char *instanceUID)
adds an existing DICOM image (should be Hardcopy Grayscale) that is already present in the image data...
pointer release()
Releases the ownership of the managed object if any.
Definition: ofmem.h:384
DRTDigitalSignaturesSequence & getDigitalSignaturesSequence()
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtplan.h:1412
virtual void clear()
clear all internal variables.
OFCondition setPETImageRadiopharmaceuticalAgent(const CID4021_PETRadiopharmaceutical &agent, const OFBool check=OFTrue)
set the value of the descriptor 'Radiopharmaceutical Agent' (TID 1607 - Row 2) for the current (most ...
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
virtual OFCondition getStationName(OFString &value, const signed long pos=0) const
get StationName (0008,1010)
DVStudyCache()
Constructor.
Definition: dvcache.h:714
DcmCharString & operator=(const DcmCharString &obj)
assignment operator
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTBreedRegistrationSequence BreedRegistrationSequence
BreedRegistrationSequence (0010,2294) vr=SQ, vm=1, type=2C.
Definition: drtimage.h:4823
OFCondition loadValue(DcmInputStream *inStream=NULL)
This function reads the data value of an attribute and stores the information which was read in this.
Class managing a SR document subtree.
Definition: dsrdocst.h:76
@ Sarcosine_C11
(C122684,NCIt,"Sarcosine C^11^")
Definition: cid4021.h:268
Item(const Item ©)
copy constructor
DRTPurposeOfReferenceCodeSequence(const DRTPurposeOfReferenceCodeSequence ©)
copy constructor
virtual OFCondition setSmallestImagePixelValue(const Uint16 value, const unsigned long pos=0)
set SmallestImagePixelValue (0028,0106)
DcmPixelItem(const DcmPixelItem &old)
copy constructor
static X509 * loadCertificateFile(const char *fileName, DcmKeyFileFormat fileType)
load an X.509 certificate from file.
const DSRCodedEntryValue & getValue() const
get reference to the code
Definition: dsrcodvl.h:363
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool isROI()
checks whether this overlay is ROI type.
DcmVR(const DcmVR &avr)
copy constructor
Definition: dcvr.h:314
OFBool getMissingParam(OFString ¶m)
returns name of parameter which is missed in the parsed command line (used for error output)
DRTReasonForRequestedProcedureCodeSequence(const DRTReasonForRequestedProcedureCodeSequence ©)
copy constructor
OFCondition setMetersetRateDelivered(const Float32 value, const unsigned long pos=0)
set MetersetRateDelivered (3008,0046)
virtual OFCondition setRTPlanLabel(const OFString &value, const OFBool check=OFTrue)
set RTPlanLabel (300a,0002)
DCMTK_DCMSEG_EXPORT const OFConditionConst SG_EC_NotEnoughData
error: not enough data
virtual OFCondition getReportedValuesOrigin(OFString &value, const signed long pos=0) const
get ReportedValuesOrigin (3002,000a)
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableUnknownVRConversion
Global flag to enable/disable the automatic re-conversion of defined length UN elements read in an ex...
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtpscs.h:331
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtdspcs.h:339
DiOverlayPlane ** Planes
pointer to an array of planes
Definition: diovdat.h:74
DcmRLECodecEncoder & operator=(const DcmRLECodecEncoder &)
private undefined copy assignment operator
OFCondition write(DcmItem &dataset) const
write list of graphic data
OFCondition getReferencedBeamNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedBeamNumber (300c,0006)
Item class.
Definition: drtbrs.h:37
XMLCharEncoding
Enumeration for XML character encoding.
Definition: ofxml.h:537
E_ParamValueStatus getParam(const int pos, OFCmdString &value)
gets value of specified parameter as C++ string.
DIC_US origMsgId
message id of request
Definition: dcmqrcbm.h:154
OFCondition read(DcmItem &item)
read elements from sequence item
Item & getCurrentItem()
get current item in the sequence
void clear()
reset all member variables to initial state.
Definition: dvcache.h:142
OFCondition findAndGetSint32Array(const DcmTagKey &tagKey, const Sint32 *&value, unsigned long *count=NULL, const OFBool searchIntoSub=OFFalse)
find element and get value as an array of signed 32-bit integers.
@ CardiacElectrophysiology
(EPS,DCM,"Cardiac Electrophysiology")
Definition: cid29.h:62
OFCondition getLeafPositionBoundaries(Float64 &value, const unsigned long pos=0) const
get LeafPositionBoundaries (300a,00be)
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition setSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set SOPClassUID (0008,0016)
virtual OFCondition setClinicalTrialSiteName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteName (0012,0031)
const DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence() const
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtiontr.h:1845
double getSecond() const
get the currently stored second value
void clear()
clear all internal member variables
const char * getSeriesNumber()
returns the Series Number of the currently selected series.
static OFCondition readSubSequence(DcmSequenceOfItems *source, const DcmTagKey &seqKey, Container &destination, const OFString &cardinality, const OFString &type, const OFString &module)
Reads items from DICOM sequence into container by creating a dedicated container item for each DICOM ...
Definition: iodutil.h:411
virtual ~DRTStructureSetROISequence()
destructor
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrris1.h:197
OFCondition getReferencedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtporcs.h:355
const Item & operator[](const size_t num) const
get particular item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
Item EmptyItem
empty default item
Definition: drtopis.h:348
virtual OFCondition getResponsiblePersonRole(OFString &value, const signed long pos=0) const
get ResponsiblePersonRole (0010,2298)
virtual void resetRules()
Resets rules to their original values.
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
static DSRCodedEntryValue mapBodyPartExamined(const OFString &definedTerm, const OFBool enhancedEncodingMode=OFFalse)
map a defined term for Body Part Examined (0018,0015) to the associated coded entry.
OFBool opt_refuseAssociation
indicates if incoming associations shall be refused or not
Definition: wlcefs.h:58
Item & operator[](const size_t num)
get particular item in the sequence
virtual int write(DiImage *image, FILE *stream, const unsigned long frame=0) const
write given image to a file stream (PNG format)
virtual OFCondition negotiateAssociation()
Negotiates association by using presentation contexts and parameters as defined by earlier function c...
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition set(const OFString &value, const OFString &scheme, const OFString &meaning, const OFString &schemeVersion="", const OFBool checkValue=OFTrue)
Set all values in this class conveniently.
Item class.
Definition: drtrcs.h:37
DRTPhysiciansOfRecordIdentificationSequence PhysiciansOfRecordIdentificationSequence
PhysiciansOfRecordIdentificationSequence (0008,1049) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2914
virtual unsigned long getPeerCertificateLength()
returns the size in bytes of the peer certificate of a secure connection.
DcmBufferProducer & operator=(const DcmBufferProducer &)
private unimplemented copy assignment operator
@ AP_GeneralPurposeDVDJPEG2000
General Purpose DVD Interchange with JPEG 2000 (STD-GEN-DVD-J2K)
Definition: dcddirif.h:123
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item class.
Definition: drtlsds6.h:36
Item class.
Definition: drtiblds.h:36
virtual OFCondition setSOPAuthorizationComment(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationComment (0100,0424)
Sint32 getRectShutterUH()
gets rectangular shutter upper horitontal edge.
virtual OFCondition getFirstTreatmentDate(OFString &value, const signed long pos=0) const
get FirstTreatmentDate (3008,0054)
DcmCodeString QueryRetrieveView
QueryRetrieveView (0008,0053) vr=CS, vm=1, type=1C.
Definition: drtiontr.h:3202
virtual IODSeriesAndInstanceReferenceMacro & getReferencedSeriesAndInstanceReferences()
Get Series And Instance Reference Macro.
EW_WindowType
type of VOI LUT transformation to apply.
Definition: diutils.h:326
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoMeasurementGroup
error: there is no measurement group to add entries to
@ MilliliterPerSecond
(ml/s,UCUM,"milliliter per second")
Definition: cid7181.h:150
void clear()
clear all internal member variables
Item class.
Definition: drtcps.h:40
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
DcmCodeString PatientPosition
PatientPosition (0018,5100) vr=CS, vm=1, type=1C.
Definition: drtimage.h:5352
virtual OFCondition setStructureSetLabel(const OFString &value, const OFBool check=OFTrue)
set StructureSetLabel (3006,0002)
virtual OFCondition write(DcmItem &dataset)
Write current Parametric Map's attributes to DICOM dataset.
this class extends DcmQuantPixel by an integer value which is used for various purposes.
Definition: diqthitm.h:39
virtual ~DiPaletteImage()
destructor
T ** items
array containing the entries
Definition: ofset.h:41
const char * get_keyword(unsigned int level)
gets the name of the keyword at the specified level in the cursor path.
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getReferencedFrameNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFrameNumber (0008,1160)
OFCondition getSourceAxisDistance(Float64 &value, const unsigned long pos=0) const
get SourceAxisDistance (300a,00b4)
DcmDecimalString DVHNormalizationPoint
DVHNormalizationPoint (3004,0040) vr=DS, vm=3, type=3.
Definition: drtdose.h:4597
const char * first
The first value in the range, i.e.
Definition: dcmatch.h:81
DcmLongString IssuerOfPatientID
IssuerOfPatientID (0010,0021) vr=LO, vm=1, type=3.
Definition: drtgpis.h:173
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setSpatialResolution(const OFString &value, const OFBool check=OFTrue)
set SpatialResolution (0018,1050)
Item class.
Definition: drtags.h:36
const DJCodecParameter * cparam
codec parameters
Definition: djdijg16.h:109
DiMonoOutputPixel * OutputData
points to current output data (object)
Definition: dimoimg.h:1146
OFCondition getBeamCurrentModulationID(OFString &value, const signed long pos=0) const
get BeamCurrentModulationID (300a,034c)
const char * getSOPInstanceUID(size_t idx)
gets the current SOP Instance UID for the given registered annotation.
OF_SHARED_PTR_COUNTER_TYPE m_Count
The counter.
Definition: ofmem.h:247
void printWarning(const char *str, const char *prefix="warning")
print warning message (w/o header) to standard error stream
const Item & getCurrentItem() const
get current item in the sequence
DcmIntegerString NumberOfBrachyApplicationSetups
NumberOfBrachyApplicationSetups (300a,00a0) vr=IS, vm=1, type=1.
Definition: drtfgs.h:334
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFList< OFCmdParam * > ValidParamList
list of valid/defined command line parameters
Definition: ofcmdln.h:1063
static OFunique_ptr< dcmtk::log4cplus::helpers::Properties > configProperties_
If we loaded a config file in configureFromCommandLine(), this is it.
Definition: oflog.h:134
Template class to store and access items in a list structure.
Definition: dsrtlist.h:53
~OFConfigFileCursor()
destructor
Definition: ofconfig.h:205
DSRSpectaclePrescriptionReportConstraintChecker()
default constructor
@ ProtonDensity
(113058,DCM,"Proton Density"), included from CID 7180
Definition: cid7469.h:82
OFCondition setParameterValueNumber(const Uint16 value, const unsigned long pos=0)
set ParameterValueNumber (3008,0067)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getPerformedProcedureStepStartDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartDate (0040,0244)
OFBool isEmpty()
check if sequence is empty
DRTReferencedFractionGroupSequence ReferencedFractionGroupSequence
ReferencedFractionGroupSequence (300c,0020) vr=SQ, vm=1, type=1C.
Definition: drtrrtps.h:145
virtual OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
virtual OFCondition getUniversalEntityIDType(OFString &value, const signed long pos=0) const
Get Universal Entity ID Type.
virtual unsigned long getVM()=0
get value multiplicity of this object.
void clear()
clear all internal member variables
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtdimcs.h:536
virtual OFCondition sendMOVEResponse(const T_ASC_PresentationContextID presID, const Uint16 messageID, const OFString &sopClassUID, DcmDataset *rspDataset, const Uint16 rspStatusCode, DcmDataset *statusDetail=NULL, const Uint16 numRemain=0, const Uint16 numComplete=0, const Uint16 numFail=0, const Uint16 numWarn=0)
Respond to the C-MOVE request.
DcmVR(const char *vrName)
constructor.
Definition: dcvr.h:305
static OFCondition create(const CodeSequenceMacro &typeCode, const CodeSequenceMacro &typeModifierCode, const CodeSequenceMacro &unitsCode, const Float64 statisticValue, TrcTrackSetStatistic *&statistic)
Create track statistic by providing the required information.
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
DcmDecimalString DeliveredMeterset
DeliveredMeterset (3008,0044) vr=DS, vm=1, type=1.
Definition: drticpds.h:814
OFCondition getTableTopRollRotationDirection(OFString &value, const signed long pos=0) const
get TableTopRollRotationDirection (300a,0146)
virtual void clearData()
Clear (removes) all attributes handled by the modules of this component.
OFintegral_constant wraps a static constant of specified type.
Definition: oftraits.h:363
@ IntracutaneousRoute
(372464004,SCT,"Intracutaneous route")
Definition: cid11.h:52
Item(const Item ©)
copy constructor
virtual OFCondition getStudyTime(OFString &value, const signed long pos=0) const
get StudyTime (0008,0030)
OFCondition getFluenceMode(OFString &value, const signed long pos=0) const
get FluenceMode (3002,0051)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtibs.h:954
const DRTOperatorIdentificationSequence & getOperatorIdentificationSequence() const
get OperatorIdentificationSequence (0008,1072)
Definition: drtces.h:212
virtual OFCondition checkSubTreeConstraints(const DSRDocumentSubTree *tree, const DSRIODConstraintChecker *checker) const
check whether the given subtree complies with the constraints of the given checker
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrbos1.h:350
virtual OFCondition setBitsAllocated(const Uint16 value, const OFBool checkValue=OFTrue)
Set Bits Allocated.
singleton class that registers an RLE encoder.
Definition: dcrleerg.h:35
@ PathLength
(121211,DCM,"Path length"), included from CID 7470
Definition: cid7469.h:354
DcmLongString ApplicatorDescription
ApplicatorDescription (300a,010a) vr=LO, vm=1, type=3.
Definition: drtas6.h:160
DcmIntegerString NumberOfFractionsPlanned
NumberOfFractionsPlanned (300a,0078) vr=IS, vm=1, type=2.
Definition: drtiontr.h:3110
DVIFhierarchyStatus Status
review status
Definition: dvcache.h:105
virtual OFCondition setTemplateIdentification(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="", const OFBool check=OFTrue)
set template identifier and mapping resource
DcmDecimalString GantryAngleTolerance
GantryAngleTolerance (300a,0044) vr=DS, vm=1, type=3.
Definition: drttts.h:345
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getAlternateBeamDose(OFString &value, const signed long pos=0) const
get AlternateBeamDose (300a,0091)
virtual OFCondition getRecognizableVisualFeatures(OFString &value, const signed long pos=0) const
Get Recognizable Visual Features.
OFBool buildTestsToRun(OFCommandLine &cmd, OFList< OFTestTest * > &tests) const
Build a list of tests which should be executed from the command line.
Definition: oftest.h:317
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtshds.h:356
DcmUnsignedShort PrivateDataElement
PrivateDataElement (0008,0308) vr=US, vm=1, type=1.
Definition: drtpdeds.h:228
virtual ~Item()
destructor
void clear()
clear all internal member variables
virtual OFCondition setOccupation(const OFString &value, const OFBool check=OFTrue)
set Occupation (0010,2180)
XMLCSTR updateText(XMLCSTR lpszNewValue, XMLCSTR lpszOldValue)
if the text to update is missing, a new one will be added
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
Item class.
Definition: drtrfgs.h:38
DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence()
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drttreat.h:1203
OFString printerPriority
printer print priority, may be empty.
Definition: dviface.h:1808
OFBool empty() const
Returns whether path is empty, ie does not contain any path nodes.
@ SpatialDisplacementXComponent
(110822,DCM,"Spatial Displacement X Component"), included from CID 7180
Definition: cid7469.h:160
@ Forearm
(14975008,SCT,"Forearm")
Definition: cid4031.h:112
virtual OFCondition setLastMenstrualDate(const OFString &value, const OFBool check=OFTrue)
set LastMenstrualDate (0010,21d0)
virtual OFCondition decode(Uint8 *compressedFrameBuffer, Uint32 compressedFrameBufferSize, Uint8 *uncompressedFrameBuffer, Uint32 uncompressedFrameBufferSize, OFBool isSigned)
suspended decompression routine.
XMLAttribute * addAttribute(XMLCSTR lpszName, XMLCSTR lpszValuev)
Add a new attribute.
Item & getItem(const size_t num)
get particular item in the sequence
Class representing a User Identity Negotiation acknowledgement sub item.
Definition: dcuserid.h:299
virtual OFCondition setSeriesDescription(const OFString &value, const OFBool checkValue=OFTrue)
Set Series Description.
DCMTK_DCMDATA_EXPORT const int numberOfDcmLongSCUStorageSOPClassUIDs
number of entries in dcmLongSCUStorageSOPClassUIDs.
virtual OFCondition setServiceEpisodeID(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeID (0038,0060)
virtual OFCondition getSOPAuthorizationDateTime(OFString &value, const signed long pos=0) const
get SOPAuthorizationDateTime (0100,0420)
OFCondition setSpatialLocationsPreserved(const OFString &value, const OFBool check=OFTrue)
set SpatialLocationsPreserved (0028,135a)
OFBool isEmpty()
check if sequence is empty
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
DcmCodeString BlockMountingPosition
BlockMountingPosition (300a,00fb) vr=CS, vm=1, type=3.
Definition: drtbl2.h:352
this class implements a color table that can either be a look-up table or an image color histogram.
Definition: diqtctab.h:42
Metafunction to determine if a type is unsigned.
Definition: oftraits.h:381
virtual void clear()
clear all member variables.
DcmUnsignedShort SmallestImagePixelValue
SmallestImagePixelValue (0028,0106) vr=US/SS, vm=1, type=3.
Definition: drtiis.h:443
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getHighDoseTechniqueType(OFString &value, const signed long pos=0) const
get HighDoseTechniqueType (300a,00c7)
DcmShortString EthnicGroup
EthnicGroup (0010,2160) vr=SH, vm=1, type=3.
Definition: drtstrct.h:2757
DVPSInstanceType Type
type of all instances within this series
Definition: dvcache.h:432
EnumType
types of PET radionuclide
Definition: cid4020.h:42
OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
OFListIterator(Item *) CurrentItem
currently selected item
unsigned long cardinality
number of elements in list
Definition: dclist.h:178
virtual OFCondition setAcquisitionTimeSynchronized(const OFString &value, const OFBool check=OFTrue)
set acquisition time synchronized
OFCondition setSeriesInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SeriesInstanceUID (0020,000e)
DVPSGraphicObject(const DVPSGraphicObject ©)
copy constructor
DcmDictEntryList & operator=(const DcmDictEntryList &)
private undefined copy assignment operator
DcmDirectoryRecord(const DcmTag &tag, const Uint32 len)
constructor.
@ EKT_RSA
RSA key.
Definition: sitypes.h:74
virtual OFCondition getPatientSex(OFString &value, const signed long pos=0) const
get PatientSex (0010,0040)
OFCondition write(DcmItem &dset)
writes the list of image references managed by this object to a DICOM dataset.
DcmCodeString smoothingType
Module=Image_Box_List, VR=CS, VM=1, Type 3.
Definition: dvpsib.h:349
const char * getCurrentSignatureValidationHTML(DVPSObjectType objtype) const
returns a string containing a complete HTML page with the signature validation results for the last o...
OFPair< const K, V > value_type
the type of values saved in this map
Definition: ofmap.h:52
DcmLongString PatientBreedDescription
PatientBreedDescription (0010,2292) vr=LO, vm=1, type=2C.
Definition: drttreat.h:2679
DcmLongString ClinicalTrialProtocolEthicsCommitteeApprovalNumber
ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2818
virtual OFCondition setBluePaletteColorLookupTableDescriptor(const Uint16 value, const unsigned long pos=0)
set BluePaletteColorLookupTableDescriptor (0028,1103)
@ Right
(24028007,SCT,"Right")
Definition: cid244.h:44
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtgpis.h:357
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFString getName() const
Get name of module ("PatientStudyModule")
DRTReferencedBeamSequenceInRTGeneralTreatmentRecordModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
type definitions, constants and classes for User Identity Negotiation
@ PS_NoArguments
no arguments to be parsed
Definition: ofcmdln.h:155
Item & getItem(const size_t num)
get particular item in the sequence
void clear()
clear all internal member variables
DcmPersonName PatientName
PatientName (0010,0010) vr=PN, vm=1, type=2.
Definition: drtimage.h:4781
void clipPixel(const T *src[], T *dest[])
clip image to specified area (only inside image boundaries).
Definition: discalet.h:257
DiDisplayLUT * getDisplayLUT(unsigned long count)
create GSDF LUT with specified number of entries
virtual OFCondition read(DcmItem &dataset)
Read enhanced multi-frame information from DICOM item, usually DcmDataset, i.e. must contain Shared a...
@ ATSM_Cu61
(126701,DCM,"ATSM Cu^61^")
Definition: cid4021.h:62
DcmLongString LateralSpreadingDeviceSetting
LateralSpreadingDeviceSetting (300a,0372) vr=LO, vm=1, type=1.
Definition: drtlsds7.h:137
OFCondition getReferencedSegmentNumber(Uint16 &value, const unsigned long pos=0) const
get ReferencedSegmentNumber (0062,000b)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
DcmDecimalString OrganAtRiskLimitDose
OrganAtRiskLimitDose (300a,002b) vr=DS, vm=1, type=3.
Definition: drtdrs.h:501
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write reference value in XML format
Item & getCurrentItem()
get current item in the sequence
virtual void resetRules()
Resets rules to their original values.
@ EVR_UI
unique identifier
Definition: dcvr.h:204
OFString Identification
Identification string (rcsid)
Definition: ofconapp.h:226
size_t getNumberOfItems() const
get number of items in the sequence
DcmShortText DerivationDescription
DerivationDescription (0008,2111) vr=ST, vm=1, type=3.
Definition: drtstrct.h:3061
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
OFCondition setSpecifiedTreatmentTime(const OFString &value, const OFBool check=OFTrue)
set SpecifiedTreatmentTime (3008,003a)
DcmCodeString CompensatorMountingPosition
CompensatorMountingPosition (300a,02e1) vr=CS, vm=1, type=3.
Definition: drtcos.h:457
virtual OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
DcmLongString Allergies
Allergies (0010,2110) vr=LO, vm=1-n, type=3.
Definition: drtiontr.h:2964
virtual OFCondition readSeriesData(DcmItem &dataset)
read SeriesData from dataset.
DcmFloatingPointSingle SourceToExternalContourDistance
SourceToExternalContourDistance (300a,0132) vr=FL, vm=1, type=3.
Definition: drtcps.h:685
virtual OFCondition getClinicalTrialCoordinatingCenterName(OFString &value, const signed long pos=0) const
get ClinicalTrialCoordinatingCenterName (0012,0060)
DVPSGraphicObject_PList graphicObjectList
GraphicObjectSequence, Type 1c
Definition: dvpsga.h:182
iterator end()
Return iterator pointing behind last frame (not sorted after stack position)
virtual unsigned long getNumberOfValues()
get number of values stored in this element
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrros.h:479
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrfgs.h:331
virtual OFCondition getTableTopVerticalPosition(OFString &value, const signed long pos=0) const
get TableTopVerticalPosition (300a,0128)
@ AnkleJoint
(70258002,SCT,"Ankle joint")
Definition: cid4031.h:50
OFCondition setDoseReferenceStructureType(const OFString &value, const OFBool check=OFTrue)
set DoseReferenceStructureType (300a,0014)
const DRTDigitalSignaturesSequence & getDigitalSignaturesSequence() const
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtstrct.h:1284
@ DGM_SeriesDate
generated subdirectories based on the Series Date (0008,0021)
Definition: dstorscp.h:63
DcmSequenceOfItems * MRDRSeq
container in which all MRDR (multi-reference directory records) for this DICOMDIR are kept
Definition: dcdicdir.h:218
DVPSGraphicAnnotation & operator=(const DVPSGraphicAnnotation &)
private undefined assignment operator
virtual int writePPM(FILE *stream) const =0
write pixel data of selected frame to PPM/ASCII file (abstract)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DVPSAnnotationContent(const DVPSAnnotationContent ©)
copy constructor
virtual OFCondition createNewFGSequence(DcmItem &destination, const DcmTagKey &seqKey, const unsigned long numItems, DcmItem *&firstItem)
Create functional group sequence specified by given sequence tag key.
virtual OFCondition writeTagAndLength(DcmOutputStream &outStream, const E_TransferSyntax oxfer, Uint32 &writtenBytes) const
write tag, VR and length field to the given output stream
virtual ~DRTToleranceTableSequence()
destructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtags.h:343
virtual OFCondition setFrameType(const OFString &value, const OFBool checkValue=OFTrue)
Set FrameType.
virtual ~DSRTreeNodeAnnotation()
destructor
Definition: dsrtnant.h:52
OFBool isEmpty()
check if sequence is empty
offile_off_t bytePos
The byte position of the marker.
Definition: i2djpgs.h:66
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const Uint32 Frames
number of frames
Definition: ditranst.h:132
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrpps.h:149
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
~DcmAssociationConfiguration()
destructor
DcmFGTypes::E_FGSharedType m_sharedType
Denotes whether this group is potentially per-frame, shared or can be both.
Definition: fgbase.h:264
@ TCE_3DES
Triple DES in Cipher Block Chaining (CBC) mode.
Definition: tlsciphr.h:182
virtual OFBool matches(const DSRDocumentTreeNode *node) const =0
check whether given node matches the filter criterion (abstract)
DVPSImageBoxContent * duplicateImageBox(const char *uid)
looks up the image box with the given SOP instance UID in the image box list and returns a pointer to...
Definition: dvpssp.h:851
virtual DJEncoder * createEncoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample) const
creates an instance of the compression library to be used for encoding/decoding.
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
Item(const Item ©)
copy constructor
void filmSessionNAction(T_DIMSE_Message &rq, T_DIMSE_Message &rsp)
implements the N-ACTION operation for the Basic Film Session SOP Class.
static DJLSCodecParameter * cp_
pointer to codec parameter shared by all decoders
Definition: djdecode.h:75
@ EMO_InvertBitmap
invert the overlay bitmap
Definition: diutils.h:262
XMLElementPosition positionOfChildNode(XMLCSTR name, int i=0) const
return the position of the ith childNode with the specified name if (name==NULL) return the position ...
void addGeneralOptions(const int longCols=0, const int shortCols=0)
generates all exclusive options in "general" group (top-level).
size_t getDepth() const
Get the current nesting depth of this diagnostic context.
Item EmptyItem
empty default item
Definition: drtibls.h:549
Item EmptyItem
empty default item
Definition: drttsibs.h:1257
DRTRecordedBlockSequence RecordedBlockSequence
RecordedBlockSequence (3008,00d0) vr=SQ, vm=1, type=1C.
Definition: drttsibs.h:1032
OFCondition setPatientSupportAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set PatientSupportAccessoryCode (300a,0354)
const DRTDVHReferencedROISequence & getDVHReferencedROISequence() const
get DVHReferencedROISequence (3004,0060)
Definition: drtdvhs.h:224
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
void clear()
clear all internal member variables
unsigned long AutoCurveNumber
current curve number used to invent missing attribute values
Definition: dcddirif.h:1620
OFvariant()
Constructs a variant holding a default constructed value of the first alternative.
static void errorstr(OFString &description, int code)
converts any of the error codes returned by the methods of this class into a textual description,...
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getReferencedStartControlPointIndex(Sint32 &value, const unsigned long pos=0) const
get ReferencedStartControlPointIndex (300c,00f4)
DcmIntegerString InstanceNumber
InstanceNumber (0020,0013) vr=IS, vm=1, type=1.
Definition: drttreat.h:2922
virtual OFCondition setReferringPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ReferringPhysicianName (0008,0090)
OFCondition writeReferencedImageBoxSQ(DcmItem &dset)
writes a Referenced Image Box Sequence for the image boxes managed by this object.
@ Dynscm5
(dyn.s.cm-5,UCUM,"dyn.s.cm-5"), included from CID 3502
Definition: cid7181.h:52
virtual ~Item()
destructor
virtual OFCondition getGantryID(OFString &value, const signed long pos=0) const
get GantryID (0018,1008)
const T & top() const
returns a const reference to the top element on the stack.
Definition: ofstack.h:250
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
void clear()
clear all internal member variables
OFCondition setBlockType(const OFString &value, const OFBool check=OFTrue)
set BlockType (300a,00f8)
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
virtual void clear()
clear internal member variables.
DRTPersonIdentificationCodeSequence PersonIdentificationCodeSequence
PersonIdentificationCodeSequence (0040,1101) vr=SQ, vm=1, type=1.
Definition: drtrpis.h:208
OFCondition getBeamLimitingDeviceAngleTolerance(Float64 &value, const unsigned long pos=0) const
get BeamLimitingDeviceAngleTolerance (300a,0046)
OFCondition getControlPoint3DPosition(OFVector< Float64 > &value) const
get ControlPoint3DPosition (300a,02d4)
int maxStudies
maximum number of studies
Definition: dcmqrcnf.h:117
OFString Value
string value (various VRs, type 1)
Definition: dsrstrvl.h:221
@ Height
(121207,DCM,"Height"), included from CID 7470
Definition: cid7469.h:382
OFCondition write(DcmItem &item)
write elements to sequence item
Item(const Item ©)
copy constructor
Uint32 offsetInFile
byte offset at which the start of this directory record resides in the file from which it was read
Definition: dcdirrec.h:520
OFBool convertUtf8ToCharset(const xmlChar *fromString, OFString &toString) const
convert given string from 'libxml' format (UTF8) to current character set
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set the coding scheme version of the currently selected entry
virtual OFCondition getBluePaletteColorLookupTableDescriptor(Uint16 &value, const unsigned long pos=0) const
get BluePaletteColorLookupTableDescriptor (0028,1103)
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
DcmTime SourceStrengthReferenceTime
SourceStrengthReferenceTime (300a,022e) vr=TM, vm=1, type=1.
Definition: drtss.h:440
Interface class for ReferencedSetupImageSequence (300a,0401)
Definition: drtrsis.h:28
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getCodingSchemeUID(OFString &value, const signed long pos=0) const
get CodingSchemeUID (0008,010c)
DCMTK_LOG4CPLUS_EXPORT FilterResult checkFilter(const Filter *filter, const InternalLoggingEvent &event)
This method is used to filter an InternalLoggingEvent.
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
const DRTIonControlPointSequence & getIonControlPointSequence() const
get IonControlPointSequence (300a,03a8)
Definition: drtibs.h:558
virtual OFCondition getGantryAngle(OFString &value, const signed long pos=0) const
get GantryAngle (300a,011e)
void updateStatusCache()
updates (hierarchical) status cache (propagates status information from instances to series and from ...
DiImage(const DiDocument *docu, const EI_Status status, const int spp)
constructor
Metafunction to select one of two types depending on a template parameter.
Definition: oftraits.h:352
DcmFloatingPointSingle IsocenterToCompensatorTrayDistance
IsocenterToCompensatorTrayDistance (300a,02e4) vr=FL, vm=1, type=1C.
Definition: drtircs.h:430
OFMutex theMutex
if compiled for multi-thread operation, the Mutex protecting access to the value of this object.
Definition: diobjcou.h:114
const Item & getCurrentItem() const
get current item in the sequence
DcmUniqueIdentifier SOPInstanceUID
SOPInstanceUID (0008,0018) vr=UI, vm=1, type=1.
Definition: drtimage.h:5400
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmWriteOversizedSeqsAndItemsUndefined
This flag influences behaviour when writing a dataset with items and sequences set to be encoded with...
const DRTReferencedDoseSequence & getReferencedDoseSequence() const
get ReferencedDoseSequence (300c,0080)
Definition: drtplan.h:1730
virtual OFCondition setInstitutionName(const OFString &value, const OFBool checkValue=OFTrue)
Set Institution Name.
OFCondition read(DcmItem &item)
reads an X.509 certificate from an item of the Digital Signatures Sequence and checks the certificate...
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const DRTIonWedgePositionSequence & getIonWedgePositionSequence() const
get IonWedgePositionSequence (300a,03ac)
Definition: drticps.h:471
DcmShortString Occupation
Occupation (0010,2180) vr=SH, vm=1, type=3.
Definition: drttreat.h:2808
virtual OFCondition encode(const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *fromPixSeq, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
transcodes (re-compresses) the given compressed DICOM image and stores the result in the given toPixS...
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
@ Glutamine_C14
(126710,DCM,"Glutamine C^14^")
Definition: cid4021.h:186
DRTCorrectedParameterSequence & operator=(const DRTCorrectedParameterSequence ©)
assigment operator
OFBool singleProcess_
single process mode
Definition: dcmqropt.h:131
OFVector< DerivationImageItem * > m_DerivationImageItems
List of derivation image items making up the Derivation Image Sequence.
Definition: fgderimg.h:410
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_InvalidTemplateStructure
error: the internally managed structure of a template class is invalid
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setColorSpace(const OFString &value, const OFBool check=OFTrue)
set ColorSpace (0028,2002)
OFCondition getSourceMovementType(OFString &value, const signed long pos=0) const
get SourceMovementType (300a,0288)
OFString m_ManufacturerModelName
Manufacturer's Model Name (VM 1)
Definition: modenhequipment.h:88
virtual OFCondition getSint32(Sint32 &val, const unsigned long pos=0)
retrieve a single value of type Sint32.
DcmOther64bitVeryLong(const DcmTag &tag, const Uint32 len)
constructor.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmFloatingPointSingle FixationLightPolarAngle
FixationLightPolarAngle (300a,0358) vr=FL, vm=1, type=3.
Definition: drttsibs.h:994
OFCondition createQualitativeEvaluations()
create the 'Qualitative Evaluations' content item (TID 1500 - Row 12) if not existing yet
OFCondition addItem(Item *&item)
add new item to the end of this sequence
@ EPI_YBR_Partial_422
YCbCr partial 4:2:2.
Definition: diutils.h:139
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtgmcs.h:341
OFCondition getPatientSupportAngle(OFString &value, const signed long pos=0) const
get PatientSupportAngle (300a,0122)
virtual OFCondition digest(const unsigned char *data, unsigned long length)
feeds data into the MAC algorithm
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition getRecommendedDisplayCIELabValue(Uint16 &L, Uint16 &a, Uint16 &b)
Get copy of Recommended Display CIELab Value.
const char * getTargetPrinterConfigurationSetting(const char *targetID, Uint32 idx)
returns the value from one of the CONFIGURATION_x entries for the printer with the given target ID fr...
void dump(STD_NAMESPACE ostream &outstream) const
Dump content of this user identity sub item to output stream.
void removeEnhancedEncodingMode()
remove the "Enhanced Encoding Mode" from this code.
virtual OFCondition getLastMenstrualDate(OFString &value, const signed long pos=0) const
get LastMenstrualDate (0010,21d0)
void print()
Prints response to INFO log level.
@ THK5351_F18
(C4279748,UMLS,"THK5351 F^18^")
Definition: cid4021.h:282
Interface class for OperatorIdentificationSequence (0008,1072)
Definition: drtois.h:30
OFCondition getIsocenterPosition(OFString &value, const signed long pos=0) const
get IsocenterPosition (300a,012c)
DcmTLSCipherKeyExchange
This enum describes the key exchange protocol used in a certain TLS ciphersuite.
Definition: tlsciphr.h:131
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setPresentationLUTShape(const OFString &value, const OFBool checkValue=OFTrue)
Set Presentation LUT Shape.
unsigned long createAWTBitmap(void *&data, const unsigned long frame, const int bits)
create true color (32 bit) or palette (8 bit) bitmap for Java (AWT default format).
virtual OFCondition handle8BitSC(DcmDataset *dataset) const
Checks whether Image Pixel module attributes conform to the specification of a a 8 bit Secondary Capt...
abstract class that defines an interface through which encoder classes (such as DcmRLEEncoder) may ex...
Definition: dcrleenc.h:41
Item & getItem(const size_t num)
get particular item in the sequence
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drtds.h:525
virtual OFCondition setClinicalTrialTimePointDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointDescription (0012,0051)
DcmDecimalString ImagePlanePixelSpacing
ImagePlanePixelSpacing (3002,0011) vr=DS, vm=2, type=2.
Definition: drtimage.h:5296
OFCondition setReferencedBrachyApplicationSetupNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedBrachyApplicationSetupNumber (300c,000c)
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setPersonTelephoneNumbers(const OFString &value, const OFBool check=OFTrue)
set PersonTelephoneNumbers (0040,1103)
DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence()
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drttreat.h:1659
E_TrackColorMode
Tractography coloring modes.
Definition: trctypes.h:81
OFCondition readSequenceItem(DcmItem &item, const DcmTagKey &tagKey, const size_t flags=0)
read code from sequence item
DRTCodingSchemeResourcesSequence & operator=(const DRTCodingSchemeResourcesSequence ©)
assigment operator
const DRTFractionStatusSummarySequence & getFractionStatusSummarySequence() const
get FractionStatusSummarySequence (3008,0240)
Definition: drtfgss.h:155
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
class for reading and evaluating configuration files.
Definition: ofconfig.h:336
const char * data() const
if size() is nonzero, this function returns a pointer to the initial element of an array whose first ...
virtual int getOutputData(void *buffer, const unsigned long size, const unsigned long frame, const int bits, const int planar=0)=0
get pixel data with specified format.
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
T & back()
returns a reference to the last element in the list.
Definition: oflist.h:388
OFCondition getLocalNamespaceEntityID(OFString &value, const signed long pos=0) const
get LocalNamespaceEntityID (0040,0031)
const DRTRequestAttributesSequence & getRequestAttributesSequence() const
get RequestAttributesSequence (0040,0275)
Definition: drtiontr.h:1749
virtual void determineUsedValues()=0
examine which pixel values are actually used (abstract)
@ GammaDistributionShapeParameter
(113296,DCM,"Gamma Distribution Shape Parameter"), included from CID 7272
Definition: cid7469.h:138
DRTSourceInstanceSequence & operator=(const DRTSourceInstanceSequence ©)
assigment operator
const DRTIonWedgeSequence & getIonWedgeSequence() const
get IonWedgeSequence (300a,03aa)
Definition: drtibs.h:582
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFBool shouldStopAfterCurrentSOPInstance()
this method is called each time after a SOP instance is sent to a peer.
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
static OFCondition createPaletteColorImage(DicomImage &sourceImage, DcmItem &target, OFBool writeAsOW, OFBool write16BitEntries, OFBool floydSteinberg, Uint32 numberOfColors, OFString &description, DcmLargestDimensionType largeType=DcmLargestDimensionType_default, DcmRepresentativeColorType repType=DcmRepresentativeColorType_default)
converts the given color image into a palette color image.
virtual DSRIncludedTemplateTreeNode * clone() const
clone this tree node.
DRTSourcePatientGroupIdentificationSequence(const DRTSourcePatientGroupIdentificationSequence ©)
copy constructor
OFCondition setTreatmentControlPointDate(const OFString &value, const OFBool check=OFTrue)
set TreatmentControlPointDate (3008,0024)
OFCondition getTreatmentTerminationStatus(OFString &value, const signed long pos=0) const
get TreatmentTerminationStatus (3008,002a)
OFCondition getBeamLimitingDeviceRotationDirection(OFString &value, const signed long pos=0) const
get BeamLimitingDeviceRotationDirection (300a,0121)
const char * getTargetPrinterMinDensity(const char *targetID, Uint32 idx, OFString &value)
returns one value from the MINDENSITY entry for the printer with the given target ID from the configu...
static const OFString m_ModuleName
Name of this module ("GeneralStudyModule")
Definition: modgeneralstudy.h:232
size_t length
Number of pixel data bytes (i.e. Bits Allocated)
Definition: iodtypes.h:78
DicomImage * di_reference
pointer to reference image
Definition: dcmicmph.h:253
virtual OFCondition getUint16(Uint16 &uintVal, const unsigned long pos=0)
get particular integer value
static T signaling_NaN()
The special value signaling not-a-number, as represented by the floating-point type T.
Item & operator[](const size_t num)
get particular item in the sequence
DVPSPeerType getTargetType(const char *targetID)
returns the TYPE entry for the communication partner with the given target ID from the configuration ...
const OFString m_ImageType
Image Type: (CS, VM 2-n, Type 1), in Segmentations fixed to "DERIVED\PRIMARY".
Definition: segdoc.h:595
Item EmptyItem
empty default item
Definition: drtrsss.h:315
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getSourceApplicatorTipLength(OFString &value, const signed long pos=0) const
get SourceApplicatorTipLength (300a,0274)
DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence()
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtplan.h:1352
static void registerCodecs(E_DecompressionColorSpaceConversion pDecompressionCSConversion=EDC_photometricInterpretation, E_UIDCreation pCreateSOPInstanceUID=EUC_default, E_PlanarConfiguration pPlanarConfiguration=EPC_default, OFBool predictor6WorkaroundEnable=OFFalse, OFBool cornellWorkaroundEnable=OFFalse, OFBool pForceSingleFragmentPerFrame=OFFalse)
registers decoders for all supported JPEG processes.
TID1600_ImageLibrary(const OFBool createLibrary=OFTrue)
(default) constructor
@ TCS_illegalCall
operation failed because an illegal parameter was passed
Definition: dcmlayer.h:62
const OFString & getMappingResourceUID() const
get optional mapping resource UID
Definition: dsrctpl.h:115
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getSamplesPerPixel(Uint16 &value, const unsigned long pos=0)
Get Samples Per Pixel.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_CorruptedData
Corrupted data.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtiblds.h:175
DRTPhysiciansReadingStudyIdentificationSequence PhysiciansReadingStudyIdentificationSequence
PhysiciansReadingStudyIdentificationSequence (0008,1062) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3089
virtual OFString getName() const
Get name of module ("CommonInstanceReferenceModule")
OFBool disableConsistencyCheck(const OFBool newMode=OFFalse)
disable/enable the "consistency check".
double getTimeInHours(const OFBool useTimeZone=OFFalse, const OFBool normalize=OFTrue) const
get the currently stored time in hours.
OFString(const OFString &str, size_t pos=0, size_t n=OFString_npos)
Constructs a string from the given input string str.
const DRTROIPhysicalPropertiesSequence & getROIPhysicalPropertiesSequence() const
get ROIPhysicalPropertiesSequence (3006,00b0)
Definition: drtrros.h:173
DRTReferencedFrameOfReferenceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool RLESupport
flag indicating whether RLE decompression is supported
Definition: dcddirif.h:1601
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
non-template single linked list class, used to store elements of a stack.
Definition: ofstack.h:54
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual ~Item()
destructor
OFCondition getRadiationMassNumber(Sint32 &value, const unsigned long pos=0) const
get RadiationMassNumber (300a,0302)
static int getRSAKeySize(X509 *certificate)
gets the size of the public key of an RSA certificate.
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
@ Raclopride_C11
(129512009,SCT,"Raclopride C^11^")
Definition: cid4021.h:246
DRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModule & getRangeShifterSettingsSequence()
get RangeShifterSettingsSequence (300a,0360)
Definition: drticpds.h:535
DcmOtherByteOtherWord EncryptedContent
EncryptedContent (0400,0520) vr=OB, vm=1, type=1.
Definition: drteas.h:130
unsigned int Illumination
illumination (ditto)
Definition: dimoimg.h:1128
DcmLongString ReasonForTheRequestedProcedure
ReasonForTheRequestedProcedure (0040,1002) vr=LO, vm=1, type=3.
Definition: drtras.h:273
OFCondition setBlockThickness(const OFString &value, const OFBool check=OFTrue)
set BlockThickness (300a,0100)
virtual OFCondition getServiceEpisodeID(OFString &value, const signed long pos=0) const
get ServiceEpisodeID (0038,0060)
virtual OFCondition putUint16Array(const Uint16 *uintVals, const unsigned long numUints)
set element value to given integer array data
OFCondition getSpatialCoordinates(DSRSpatialCoordinatesValue &coordinatesValue) const
get copy of spatial coordinates.
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setInstanceUID(const char *uid)
sets a new SOP Instance UID for the Stored Print object.
Class representing the Multi-Frame Dimension Module:
Definition: modmultiframedimension.h:47
virtual void clear()
clear all member variables.
Definition: dsrtncsr.h:384
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtsds.h:379
DRTIssuerOfServiceEpisodeIDSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition getSint64(Sint64 &val, const unsigned long pos=0)
retrieve a single value of type Sint64.
Implementation of DCMR Context Group: CID 4021 - PET Radiopharmaceutical.
Definition: cid4021.h:35
virtual OFCondition getRadiationMachineSSD(Float64 &value, const unsigned long pos=0) const
get RadiationMachineSSD (3002,0024)
virtual OFCondition getAcquisitionNumber(OFString &value, const signed long pos=0) const
get AcquisitionNumber (0020,0012)
OFBool extractIntFromPayload(Uint32 &i)
extracts an integer from the message payload.
DcmIntegerString ReferencedFrameNumber
ReferencedFrameNumber (0008,1160) vr=IS, vm=1-n, type=1C.
Definition: drtes.h:548
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setServiceEpisodeID(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeID (0038,0060)
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtrpcs.h:337
DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence()
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtionpl.h:1259
OFBool has_root_name() const
Test whether the path contains a root name.
@ StandardizedUptakeValueIdealBodyWeight
(g/ml{SUVibw},UCUM,"Standardized Uptake Value ideal body weight"), included from CID 85
Definition: cid7181.h:90
OFBool isEmpty()
check if sequence is empty
OFCondition setCodingSchemeExternalID(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeExternalID (0008,0114)
DRTCalculatedDoseReferenceSequence & operator=(const DRTCalculatedDoseReferenceSequence ©)
assigment operator
unsigned long maximumPreviewImageHeight
maximum height of (optional) preview image
Definition: dviface.h:1775
void storeLastError()
store last error code. For now we simply store the content of errno.
Definition: offile.h:1073
DcmSignature(DcmSignature &arg)
private undefined copy constructor
virtual OFBool scaleImage(DcmItem *dataset, Uint8 *pixel, const unsigned long count, const unsigned long frame, const unsigned int width, const unsigned int height, const OFBool decompressAll=OFFalse) const
get scaled pixel data from DICOM image.
OFCondition removeItem(const OFString &studyUID, const OFString &seriesUID, const OFString &instanceUID)
remove the specified item from the list of references.
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
DRTPlanIOD()
default constructor
DRTReferencedSeriesSequence ReferencedSeriesSequence
ReferencedSeriesSequence (0008,1115) vr=SQ, vm=1, type=1C.
Definition: drtimage.h:5460
virtual OFCondition setDerivationDescription(const OFString &value, const OFBool check=OFTrue)
set DerivationDescription (0008,2111)
virtual OFCondition getPatientDeathDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientDeathDateInAlternativeCalendar (0010,0034)
virtual void concatFrames(OFVector< DcmIODTypes::Frame * > frames, Uint8 *pixData, const size_t bitsPerFrame)
This is the counterpart to the extractFrames() function.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getStrainNomenclature(OFString &value, const signed long pos=0) const
get StrainNomenclature (0010,0213)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getBlockNumberOfPoints(OFString &value, const signed long pos=0) const
get BlockNumberOfPoints (300a,0104)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setStudyID(const OFString &value, const OFBool check=OFTrue)
set StudyID (0020,0010)
virtual size_t size() const
Returns number of references managed by this class.
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
virtual OFCondition setSmokingStatus(const OFString &value, const OFBool check=OFTrue)
set SmokingStatus (0010,21a0)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtdvrrs.h:315
virtual OFCondition getMeasuredLateralDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredLateralDimension (0010,1024)
DRTPatientBreedCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
void clear()
clear all internal member variables
OFCondition setTotalReferenceAirKerma(const OFString &value, const OFBool check=OFTrue)
set TotalReferenceAirKerma (300a,0250)
virtual OFCondition getPrescriptionDescription(OFString &value, const signed long pos=0) const
get PrescriptionDescription (300a,000e)
const Item & getCurrentItem() const
get current item in the sequence
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=1C.
Definition: drtois.h:204
DRTChannelShieldSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool isValid() const
check if item is valid, i.e. not the empty default item
T_ASC_Network ** accessNet()
provide read/write access to network structure maintained by this object.
Definition: dcmqrtis.h:169
FGPlanePosPatient()
Constructor, creates empty functional group.
OFCondition deleteTag(OFString tag_path, const OFBool all_tags, const OFBool ignore_missing_tags)
Deletes tag in dataset.
Item & getCurrentItem()
get current item in the sequence
CID244e_Laterality(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
void compressInputBuffer(OFBool finalize)
feed data from the input ring buffer to the compression codec until complete or the output ring buffe...
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
void clear()
clear all internal member variables
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getStrainDescription(OFString &value, const signed long pos=0) const
get StrainDescription (0010,0212)
virtual OFCondition getContrastFlowRate(OFVector< Float64 > &value) const
get ContrastFlowRate (0018,1046)
virtual DcmEVR ident() const
get element type identifier
virtual ~Item()
destructor
Item & operator[](const size_t num)
get particular item in the sequence
OFLogger::LogLevel getLogLevel()
returns the log level / filter to be used for general application messages.
virtual OFCondition setInstanceNumber(const OFString &value, const OFBool checkValue=OFTrue)
Set Instance Number.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmShortString BlockTrayID
BlockTrayID (300a,00f5) vr=SH, vm=1, type=3.
Definition: drtbl5.h:341
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtssrcs.h:347
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
DRTSourceImageSequence SourceImageSequence
SourceImageSequence (0008,2112) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3343
OFBool isKnownKey(const char *key) const
checks if the key is known
General purpose class hiding global functions used for the "Content Mapping Resource" (CMR) from the ...
Definition: init.h:31
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
Interface class for RTTreatmentSummaryRecordIOD.
Definition: drttreat.h:86
OFCondition checkDatasetForReading(DcmItem &dataset)
check the given dataset before reading.
DVPSGraphicLayer & operator=(const DVPSGraphicLayer &)
private undefined assignment operator
void wrunlock()
unlocks the write lock which must have been acquired previously.
const char * getCharPointer() const
get stored filename consisting of conventional characters
Definition: offile.h:212
DcmTLSECMismatchedPrivateKeyAndCertificateConst()
Constructor, initializes the OFConditionConst base.
OFListIterator(ItemStruct *) Iterator
internal cursor to current (selected) list item
Item(const Item ©)
copy constructor
@ Volume
(118565006,SCT,"Volume"), included from CID 7472
Definition: cid7469.h:398
SiSHA512 & operator=(SiSHA512 &arg)
private undefined copy assignment operator
DcmIntegerString ReferencedToleranceTableNumber
ReferencedToleranceTableNumber (300c,00a0) vr=IS, vm=1, type=3.
Definition: drttsibs.h:1056
DRTReferencedBeamSequenceInRTDoseModule & operator=(const DRTReferencedBeamSequenceInRTDoseModule ©)
assigment operator
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtads.h:331
DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence()
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtionpl.h:1619
virtual unsigned long createDIB(void *&data, const unsigned long size, const Uint16 width, const Uint16 height, const unsigned long frame, const int fromBits, const int toBits, const int mode, const int upsideDown, const int padding) const =0
create true color (24/32 bit) bitmap for MS Windows.
virtual OFBool isUniversalMatch(const OFBool normalize=OFTrue, const OFBool enableWildCardMatching=OFTrue)
Determine if this element is universal matching.
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid7021.h:152
virtual OFCondition getPatientBodyMassIndex(OFString &value, const signed long pos=0) const
get PatientBodyMassIndex (0010,1022)
virtual OFCondition getLossyImageCompressionRatio(Float64 &value, const unsigned long pos=0) const
get LossyImageCompressionRatio (0028,2112)
~OFvariant()
Destroys the value that the variant currently holds.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const DRTReferencedInstanceSequence & getReferencedInstanceSequence() const
get ReferencedInstanceSequence (0008,114a)
Definition: drttreat.h:1533
static const OFString & currentTime(OFString &timeString)
get current time in DICOM 'TM' format.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item(const Item ©)
copy constructor
this class implements a simple map of key-value pairs.
Definition: dcmsmap.h:122
void Init()
initialize internal data structures and member variables
const DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence() const
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtimage.h:2512
DcmUnlimitedCharacters(const DcmUnlimitedCharacters &old)
copy constructor
virtual OFBool isAllowableTransferSyntax(E_TransferSyntax xfer) const =0
checks whether the given transfer syntax can be used with this security profile
Item & operator=(const Item ©)
assigment operator
DcmQuantComponent getRed(unsigned long idx) const
returns the red color component at index idx
Definition: diqtctab.h:104
const Item & operator[](const size_t num) const
get particular item in the sequence
DSRGraphicDataList GraphicDataList
Graphic Data (associated DICOM VR=FL, VM=2-n, type 1)
Definition: dsrscovl.h:275
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
DcmCodeString CertifiedTimestampType
CertifiedTimestampType (0400,0305) vr=CS, vm=1, type=1C.
Definition: drtdss.h:235
static DJLSLosslessDecoder * losslessdecoder_
pointer to losslessdecoder
Definition: djdecode.h:78
void setExtSeqSupport(const OFBool enabled)
Enable/Disable support for Extended Sequential JPEG Coding.
DcmIntegerString PatientSetupNumber
PatientSetupNumber (300a,0182) vr=IS, vm=1, type=1.
Definition: drtpss.h:333
OFCondition setCompensatorMountingPosition(const OFString &value, const OFBool check=OFTrue)
set CompensatorMountingPosition (300a,02e1)
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtpcs.h:345
DRTPatientBreedCodeSequence & getPatientBreedCodeSequence()
get PatientBreedCodeSequence (0010,2293)
Definition: drtiontr.h:1503
virtual OFCondition setColumns(const Uint16 value, const OFBool checkValue=OFTrue)
Set Columns.
void writeTrackSetStatistics(OFCondition &result, DcmItem &destination)
Write Track Statistics to given item.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item & getCurrentItem()
get current item in the sequence
virtual ~Item()
destructor
virtual ~DRTInstitutionCodeSequence()
destructor
DcmIntegerString BeamNumber
BeamNumber (300a,00c0) vr=IS, vm=1, type=1.
Definition: drtibs.h:963
DRTReferencedDoseReferenceSequenceInRTBeamsModule ReferencedDoseReferenceSequence
ReferencedDoseReferenceSequence (300c,0050) vr=SQ, vm=1, type=3.
Definition: drtbs.h:777
DRTRequestingServiceCodeSequence RequestingServiceCodeSequence
RequestingServiceCodeSequence (0032,1034) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2767
static OFCondition encodeBase64(STD_NAMESPACE ostream &out, const unsigned char *data, const size_t length, const size_t width=0)
encode binary data according to "Base64" as described in RFC 2045 (MIME).
virtual OFCondition setPatientName(const OFString &value, const OFBool check=OFTrue)
set PatientName (0010,0010)
virtual OFCondition getPixelPaddingValue(Uint16 &value, const unsigned long pos=0) const
get PixelPaddingValue (0028,0120)
virtual void notifyDIMSEError(const OFCondition &cond)
Overwrite this function to be notified when a DIMSE error occurs.
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 element to a stream.
structure for handling arbitrary types of superior sequences in query result datasets
Definition: wltypdef.h:115
OFCondition gotoFirstItem()
goto first item in the sequence
const DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence() const
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtplan.h:1970
E_ValueType getValueTypeFromNode(const DSRXMLCursor &cursor) const
get value type from particular node.
OFCondition getFixationLightPolarAngle(Float32 &value, const unsigned long pos=0) const
get FixationLightPolarAngle (300a,0358)
Interface class for IonBlockSequence (300a,03a6)
Definition: drtibls.h:29
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
get StudyInstanceUID (0020,000d)
DRTModifiedAttributesSequence ModifiedAttributesSequence
ModifiedAttributesSequence (0400,0550) vr=SQ, vm=1, type=1.
Definition: drtoas.h:175
OFCondition setTableTopPitchAngleTolerance(const Float32 value, const unsigned long pos=0)
set TableTopPitchAngleTolerance (300a,004f)
OFCondition gotoFirstItem()
select the first item in the list.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition setRescaleIntercept(const OFString &value, const OFBool check=OFTrue)
set RescaleIntercept (0028,1052)
static void convertValue(const T3_ input, Sint8 &output)
helper routine: convert to signed 8 bit value
Definition: dicrvfit.h:205
virtual ~Item()
destructor
virtual OFCondition listen()
Starts providing the implemented services to SCUs.
virtual OFCondition getOtherPatientNames(OFString &value, const signed long pos=0) const
get OtherPatientNames (0010,1001)
unsigned int getBits() const
get number of bits per pixel
Definition: dimopx.h:150
FGBase()
Private default constructor, shall not be used.
Implementation of DCMR Context Group: CID 7469 - Generic Intensity and Size Measurements.
Definition: cid7469.h:35
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item class.
Definition: drtras.h:41
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
Item & operator[](const size_t num)
get particular item in the sequence
void pop_void()
Same as pop() but without the return value.
DcmLongString PatientSpeciesDescription
PatientSpeciesDescription (0010,2201) vr=LO, vm=1, type=1C.
Definition: drttreat.h:2675
virtual OFCondition putFloat32(const Float32 val, const unsigned long pos=0)
insert into the element value a copy of the given Float32 value.
virtual ~DJCodecEncoder()
destructor
Item class.
Definition: drtopis.h:37
virtual ~DJEncoderSpectralSelection()
destructor
virtual OFCondition setInstanceCreatorUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Instance Creator UID.
static OFBool foundVR(const Uint8 *atposition)
helper function that interprets the given pointer as a pointer to an array of two characters and chec...
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
DRTDVHReferencedROISequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
@ IE_STUDY
Study Entity.
Definition: iodtypes.h:92
OFCondition gotoNextItem()
goto next item in the sequence
DcmCodeString BlockDivergence
BlockDivergence (300a,00fa) vr=CS, vm=1, type=1.
Definition: drtibls.h:344
static double getJNDIndex(const double lum)
calculate the JND index for a given luminance value
virtual ~Item()
destructor
DRTReferencedBolusSequenceInRTIonBeamsModule & operator=(const DRTReferencedBolusSequenceInRTIonBeamsModule ©)
assigment operator
size_t getNumberOfItems() const
get number of items in the sequence
void setMaxPDU(OFCmdUnsignedInt pdu)
set max receive PDU
Definition: dcmqrtis.h:153
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
Item & operator=(const Item ©)
assigment operator
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTDeidentificationMethodCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition getInstanceCreationTime(OFString &value, const signed long pos=0) const
get InstanceCreationTime (0008,0013)
DcmUniqueIdentifier SOPInstanceUID
SOPInstanceUID (0008,0018) vr=UI, vm=1, type=1.
Definition: drtdose.h:4640
@ PRUPerM2
([PRU]/m2,UCUM,"P.R.U./m2"), included from CID 3503
Definition: cid7181.h:54
OFCondition write(DcmItem &item)
write elements to sequence item
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmCodeString ValueType
ValueType (0040,a040) vr=CS, vm=1, type=1.
Definition: drtcims.h:367
virtual size_t addNode(DSRDocumentTreeNode *node, const E_AddMode addMode=AM_afterCurrent)
add new node to the current one.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmPersonName presentationCreatorsName
Module=Presentation_State, VR=PN, VM=1, Type 2.
Definition: dcmpstat.h:859
const int Bits
number of bits per plane/pixel
Definition: ditranst.h:134
DCMTK_OFSTD_EXPORT const OFConditionConst EC_IllegalParameter
condition constant: error, function called with illegal parameters
OFListIterator(Item *) CurrentItem
currently selected item
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtaadcs.h:337
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setRTBeamLimitingDeviceType(const OFString &value, const OFBool check=OFTrue)
set RTBeamLimitingDeviceType (300a,00b8)
OFCondition getTableTopLongitudinalPositionTolerance(Float64 &value, const unsigned long pos=0) const
get TableTopLongitudinalPositionTolerance (300a,0052)
const DRTReferencedFractionGroupSequence & getReferencedFractionGroupSequence() const
get ReferencedFractionGroupSequence (300c,0020)
Definition: drtrrtps.h:120
DCMTK_DCMTRACT_EXPORT const OFConditionConst TRC_EC_InvalidColorInformation
Invalid Color Information.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setSOPAuthorizationComment(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationComment (0100,0424)
virtual OFCondition setOperatorsName(const OFString &value, const OFBool check=OFTrue)
set OperatorsName (0008,1070)
OFCondition findAndGetUint16(const DcmTagKey &tagKey, Uint16 &value, const unsigned long pos=0, const OFBool searchIntoSub=OFFalse)
find element and get value as an unsigned 16-bit integer.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
void deleteDicomDirBackup()
delete backup file if one has been created
OFIterator< T > operator++(int)
moves the iterator to the next element of the list.
Definition: oflist.h:265
Item & getItem(const size_t num)
get particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
DVPSGraphicObject * getGraphicObject(const char *layer, const char *instanceUID, unsigned long frame, size_t idx)
gets the graphic object with the given index on the given layer.
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
DcmShortString TreatmentMachineName
TreatmentMachineName (300a,00b2) vr=SH, vm=1, type=2.
Definition: drtibs.h:1063
OFCondition addItem(Item *&item)
add new item to the end of this sequence
@ EVR_dataset
used internally for datasets
Definition: dcvr.h:243
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getReviewerName(OFString &value, const signed long pos=0) const
get ReviewerName (300e,0008)
void initDestination(jpeg_compress_struct *cinfo)
callback for IJG compress destination manager.
DiScaleTemplate(const int planes, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int bits=0)
constructor, scale whole image.
Definition: discalet.h:148
OFBool findParam(const int pos)
checks whether specified parameter exists in the command line.
OFCondition getBeamNumber(OFString &value, const signed long pos=0) const
get BeamNumber (300a,00c0)
OFCondition setRadiationType(const OFString &value, const OFBool check=OFTrue)
set RadiationType (300a,00c6)
virtual ~Item()
destructor
DicomImage * IconImage
icon image from Icon Image Sequence (optional)
Definition: dsrimgvl.h:503
DRTReferencedImageSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getReferencedToleranceTableNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedToleranceTableNumber (300c,00a0)
OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
DcmIntegerString RadiationAtomicNumber
RadiationAtomicNumber (300a,0304) vr=IS, vm=1, type=1C.
Definition: drtibs.h:1029
int timeout
timeout for receive
Definition: dvpspr.h:288
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const char * getDescriptionOfVOILUTsInImage(size_t idx)
returns a description string for the given VOI LUT in the attached image.
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
OFCondition checkGraphicData(const DSRTypes::E_GraphicType3D graphicType, const DSRGraphicData3DList &graphicDataList, const OFBool reportWarnings=OFFalse) const
check the specified graphic type and data for validity.
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setSourceApplicatorTipLength(const OFString &value, const OFBool check=OFTrue)
set SourceApplicatorTipLength (300a,0274)
DSRPositionCounter & operator--()
pre-decrement operator.
Definition: dsrposcn.h:88
DRTPersonIdentificationCodeSequence & getPersonIdentificationCodeSequence()
get PersonIdentificationCodeSequence (0040,1101)
Definition: drtprsis.h:148
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getDistributionType(OFString &value, const signed long pos=0) const
get DistributionType (0012,0084)
virtual ~DJLSEncoderBase()
destructor
virtual OFCondition setInstanceCreatorUID(const OFString &value, const OFBool check=OFTrue)
set InstanceCreatorUID (0008,0014)
DcmDicomDir()
default constructor
@ GammaDistributionMode
(113297,DCM,"Gamma Distribution Mode"), included from CID 7272
Definition: cid7469.h:140
virtual ~DRTRTDoseROISequence()
destructor
OFCondition setFinalCumulativeMetersetWeight(const OFString &value, const OFBool check=OFTrue)
set FinalCumulativeMetersetWeight (300a,010e)
Item & getItem(const size_t num)
get particular item in the sequence
DcmQueryRetrieveDatabaseHandle & dbHandle
reference to database handle
Definition: dcmqrcbf.h:84
virtual OFCondition encode(const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *fromPixSeq, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
transcodes (re-compresses) the given compressed DICOM image and stores the result in the given toPixS...
@ EVR_SQ
sequence of items
Definition: dcvr.h:186
DSRGraphicData3DItem(const Float32 x=0, const Float32 y=0, const Float32 z=0)
(default) constructor
Definition: dsrsc3gr.h:48
OFCondition getReferenceImageNumber(OFString &value, const signed long pos=0) const
get ReferenceImageNumber (300a,00c8)
DRTProtocolContextSequence & operator=(const DRTProtocolContextSequence ©)
assigment operator
virtual OFCondition convert(DcmDataset &dataset) const
Outputs SOP class specific information into dataset.
@ TRT_Multipoint
DICOM Temporal Range Type: MULTIPOINT.
Definition: dsrtypes.h:713
DVPresentationState & operator=(const DVPresentationState &other)
private undefined assignment operator
Definition: dulstruc.h:188
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setDestination(const char *aetitle)
sets the application entity title of the print SCU.
Item(const Item ©)
copy constructor
DcmIntegerString ReferencedDoseReferenceNumber
ReferencedDoseReferenceNumber (300c,0051) vr=IS, vm=1, type=1.
Definition: drtbrdrs.h:146
void setInputFileName(OFString fName)
Sets the input file name to the given string.
bool additive
Additivity is set to true by default, that is children inherit the appenders of their ancestors by de...
Definition: logimpl.h:196
const Item & getCurrentItem() const
get current item in the sequence
DiMonoPixelTemplate(DiMonoOutputPixel *pixel, DiMonoModality *modality)
constructor
Definition: dimopxt.h:102
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
virtual unsigned long getSize() const =0
returns the size of a MAC in bytes.
OFCondition gotoNextItem()
goto next item in the sequence
virtual ~Item()
destructor
virtual OFBool isValid() const
check whether the content item is valid.
OFCondition getNumberOfRangeModulators(OFString &value, const signed long pos=0) const
get NumberOfRangeModulators (300a,0340)
OFCondition setDVHVolumeUnits(const OFString &value, const OFBool check=OFTrue)
set DVHVolumeUnits (3004,0054)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DSRSCoordTreeNode(const E_RelationshipType relationshipType)
constructor
OFCondition getBlockType(OFString &value, const signed long pos=0) const
get BlockType (300a,00f8)
OFCondition getImageRelativeDisplayedArea(Sint32 &tlhcX, Sint32 &tlhcY, Sint32 &brhcX, Sint32 &brhcY)
gets the displayed area top lefthand corner and bottom righthand corner for the current image and fra...
virtual DJDecoder * createDecoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, OFBool isYBR) const
creates an instance of the compression library to be used for decoding.
DcmQuantFloydSteinberg()
constructor
FGSegmentation()
Constructor, creates empty functional group.
int getArgCount() const
gets number of command line arguments.
Definition: ofcmdln.h:396
const OFString & getFiducialUID() const
get fiducial UID.
Definition: dsrscovl.h:200
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrrshs.h:334
Interface class for RTDoseROISequence (3004,0010)
Definition: drtrdros.h:28
virtual OFCondition getPatientBodyMassIndex(Float64 &value, const unsigned long pos=0) const
get PatientBodyMassIndex (0010,1022)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getPatientAge(OFString &value, const signed long pos=0) const
Get Patient's Age (string as defined by VR "AS", see DICOM part 5)
DcmShortString MaterialID
MaterialID (300a,00e1) vr=SH, vm=1, type=2.
Definition: drtbl2.h:368
Result OFvisit(Visitor visitor, const OFvariant< Alternatives... > &v)
Applies the given visitor to the given OFvariant object.
DcmShortText ClinicalTrialTimePointDescription
ClinicalTrialTimePointDescription (0012,0051) vr=ST, vm=1, type=3.
Definition: drttreat.h:2829
virtual ~DVPSStoredPrint()
destructor
virtual ~DiObjectCounter()
destructor
Definition: diobjcou.h:98
virtual void clear()
clear internal member variables.
@ _15_Oxygen
(129504001,SCT,"^15^Oxygen")
Definition: cid4020.h:50
virtual OFCondition writeMultiFrameFunctionalGroupsModule(DcmItem &dataset)
Write Multi-Frame Functional Groups.
OFCondition setRadiationAtomicNumber(const OFString &value, const OFBool check=OFTrue)
set RadiationAtomicNumber (300a,0304)
Item & operator=(const Item ©)
assigment operator
OFBool getSpoolerAlwaysDeleteTerminateJobs()
returns the ALWAYSDELETETERMINATEJOBS entry for the print spooler from the section GENERAL/PRINT in t...
OFCondition getIsocenterPosition(Float64 &value, const unsigned long pos=0) const
get IsocenterPosition (300a,012c)
@ TPV_TLSv12
Transport Layer Security (TLS) version 1.2 or newer.
Definition: tlsciphr.h:121
void updateAttributes()
update various DICOM attributes
void printGeneralNodeError(const DSRXMLCursor &cursor, const OFCondition &result) const
print general node error message
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
virtual OFBool isValid() const
check whether the content item is valid.
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition setClinicalTrialSubjectReadingID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectReadingID (0012,0042)
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
@ NuclearMedicineTomographicActivity
(110821,DCM,"Nuclear Medicine Tomographic Activity"), included from CID 7180
Definition: cid7469.h:158
void clear()
clear all internal member variables
Item class.
Definition: drtrcps.h:36
const DRTProcedureCodeSequence & getProcedureCodeSequence() const
get ProcedureCodeSequence (0008,1032)
Definition: drtiontr.h:1605
virtual void notifySOPInstanceSent(const TransferEntry &transferEntry)
this method is called each time after a SOP instance has been sent to a peer.
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
CMR_SRNumericMeasurementValue & operator=(const CMR_SRNumericMeasurementValue &numericMeasurement)
assignment operator
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
this class encapsulates the compression routines of the IJG JPEG library configured for 12 bits/sampl...
Definition: djeijg12.h:44
T MaxValue[2]
maximum pixel values
Definition: dimopxt.h:428
const OFString InstanceUID
SOP Instance UID (VR=UI, type 1)
Definition: dsrsoprf.h:345
DRTMeasurementUnitsCodeSequence & operator=(const DRTMeasurementUnitsCodeSequence ©)
assigment operator
OFCondition setSubjectRelativePositionInImage(const Uint16 value, const unsigned long pos=0)
set SubjectRelativePositionInImage (0010,0028)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcpas.h:350
size_t getNumberOfImageReferences()
gets the number of image references contained in the current presentation state.
DcmDecimalString m_SpacingBetweenSlices
Spacing Between Slices (DS, VM 1, Required type 3)
Definition: fgpixmsr.h:167
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcims.h:546
virtual FGBase * clone() const
Returns a deep copy of this object.
char ** cmd_argv
complete command line, needed for multiprocess mode on WIN32
Definition: wlmactmg.h:69
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtcos.h:447
virtual OFCondition read(DcmInputStream &inStream, const E_TransferSyntax ixfer, const E_GrpLenEncoding glenc=EGL_noChange, const Uint32 maxReadLength=DCM_MaxReadLength)
This function reads the data value of a pixel data attribute which is captured in the input stream an...
DRTBeamSequence::Item & getBeam(Sint32 beamNumber)
find a beam by its beam number.
offile_off_t outputBufCount_
number of bytes in output ring buffer
Definition: dcostrmz.h:178
virtual OFBool isRTPatientSetupModulePresent(const OFBool complete=OFFalse)
check whether RTPatientSetupModule (U) is present.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_ElemLengthExceeds16BitField
Element length is larger than 16-bit length field permits.
OFBool isEmpty()
check if sequence is empty
DcmCodeString SpecificCharacterSet
SpecificCharacterSet (0008,0005) vr=CS, vm=1-n, type=1C.
Definition: drtdose.h:4642
virtual OFCondition setSharedConfig(const DcmSharedSCPConfig &config)
Set the shared configuration for this worker.
Definition: scppool.h:305
DSRDocumentSubTree(const DSRDocumentSubTree &tree)
copy constructor.
DRTIonWedgeSequence & getIonWedgeSequence()
get IonWedgeSequence (300a,03aa)
Definition: drtibs.h:576
DcmAttributeTag ParameterPointer
ParameterPointer (3008,0065) vr=AT, vm=1, type=1.
Definition: drtcpas.h:169
DcmLongString ClinicalTrialSeriesID
ClinicalTrialSeriesID (0012,0071) vr=LO, vm=1, type=3.
Definition: drtplan.h:3207
virtual OFCondition getBurnedInAnnotation(OFString &value, const signed long pos=0) const
get BurnedInAnnotation (0028,0301)
void clear()
clear all internal member variables
OFCondition setCompensatorThicknessData(const OFString &value, const OFBool check=OFTrue)
set CompensatorThicknessData (300a,00ec)
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
const DRTTreatmentSummaryMeasuredDoseReferenceSequence & getTreatmentSummaryMeasuredDoseReferenceSequence() const
get TreatmentSummaryMeasuredDoseReferenceSequence (3008,00e0)
Definition: drtiontr.h:1893
DRTSourceImageSequence SourceImageSequence
SourceImageSequence (0008,2112) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5123
OFBool haveAnchorPoint()
checks if this text object contains an anchor point.
OFVector & operator=(const OFVector &other)
assignment operator.
Definition: ofvector.h:137
OFCondition setGraphicLayerName(size_t idx, const char *name)
assigns a new unique name to the given graphic layer.
OFBool usesLayerName(const char *name)
checks if the given layer name is used for any of the activation layers managed by this object.
virtual OFCondition setVolumeBasedCalculationTechnique(const OFString &value, const OFBool checkValue=OFTrue)
Set Volume Based Calculation Technique.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setPatientSupportType(const OFString &value, const OFBool check=OFTrue)
set PatientSupportType (300a,0350)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getPatientID(OFString &value, const signed long pos=0) const
get PatientID (0010,0020)
void addItem(const OFString &uid, const int pos, const DVIFhierarchyStatus status, const DVPSInstanceType type, const int size, const OFString &filename)
adds a new item to the cache list.
Definition: dvcache.h:335
EM_Overlay
overlay modes.
Definition: diutils.h:250
OFCondition getPatientSupportType(OFString &value, const signed long pos=0) const
get PatientSupportType (300a,0350)
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition getClinicalTrialProtocolID(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolID (0012,0020)
Item class.
Definition: drttts.h:37
virtual OFCondition releaseAssociation()
Releases the current association by sending an A-RELEASE request to the SCP.
unsigned int Reflection
reflected ambient light (in candela per square meter)
Definition: dimoimg.h:1126
double getTimeInSeconds(const OFBool useTimeZone=OFFalse, const OFBool normalize=OFTrue) const
get the currently stored time in seconds
virtual ~DSRReferencedDateTimeList()
destructor
DRTReferencedStructureSetSequence & getReferencedStructureSetSequence()
get ReferencedStructureSetSequence (300c,0060)
Definition: drtionpl.h:1787
IODImagePixelBase * operator()(OFmonostate &)
Returns NULL since given argument is no pixel module at all.
Definition: modimagepixelvariant.h:39
virtual OFCondition write(DcmItem &destination)
Write Series and Instance Reference Macro to given item.
Item class.
Definition: drttsibs.h:52
DcmSharedSCPConfig(const DcmSCPConfig &config)
Copy construct a DcmSharedSCPConfig object from a DcmSCPConfig object.
Definition: scpcfg.h:418
OFCondition getTargetUnderdoseVolumeFraction(Float64 &value, const unsigned long pos=0) const
get TargetUnderdoseVolumeFraction (300a,0028)
Item & operator=(const Item ©)
assigment operator
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
DRTReferringPhysicianIdentificationSequence ReferringPhysicianIdentificationSequence
ReferringPhysicianIdentificationSequence (0008,0096) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3069
DJLSRepresentationParameter(const DJLSRepresentationParameter &arg)
copy constructor
void printIdentifier()
print resource identifier to standard error stream
void copy(const T *pixel)
copy specified amount of pixel data
Definition: dimocpt.h:81
Provides configuration from an external file.
Definition: configrt.h:65
Item class.
Definition: drtmas.h:36
DcmUnsignedShort BitsStored
BitsStored (0028,0101) vr=US, vm=1, type=1.
Definition: drtiis.h:405
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_NotEnoughItems
Not enough items.
virtual OFBool eos()
returns true if the producer is at the end of stream.
@ Roledumab_89Zr
(126733,DCM,"Roledumab ^89^Zr")
Definition: cid4021.h:262
void clear()
clear all internal member variables
Item EmptyItem
empty default item
Definition: drtrims.h:371
virtual OFCondition setFrameOfReferenceUID(const OFString &value, const OFBool check=OFTrue)
set FrameOfReferenceUID (0020,0052)
virtual void supportedSOPClassUIDs(OFList< OFString > &suppSOPs)
Overwrites function from base class.
virtual OFBool isNested() const
check if this item is nested in a sequence of items, i.e. not a top-level or stand-alone item/dataset
virtual OFBool isAllowableAlgorithmType(E_KeyType keyType) const
checks whether the given public/private key algorithm can be used with this security profile.
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtscs.h:533
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition setStudyID(const OFString &value, const OFBool check=OFTrue)
set StudyID (0020,0010)
void checkDependence(const char *subOpt, const char *baseOpt, OFBool condition)
check dependence between sub and base option and report an error if required.
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
DcmLongString ClinicalTrialSiteName
ClinicalTrialSiteName (0012,0031) vr=LO, vm=1, type=2.
Definition: drtstrct.h:2810
virtual void stopAfterCurrentAssociations()
If enabled, the pool will return from listening for incoming requests as soon as the last worker is i...
@ EVR_SV
signed 64-bit very long
Definition: dcvr.h:195
OFCondition setTableTopLongitudinalPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopLongitudinalPosition (300a,0129)
OFOrderedSet(const OFOrderedSet< T > &src)
Copy constructor.
Definition: ofoset.h:60
DRTReferencedDoseReferenceSequenceInRTBeamsModule & getReferencedDoseReferenceSequence()
get ReferencedDoseReferenceSequence (300c,0050)
Definition: drtbs.h:486
virtual OFBool operator<=(const OFDate &dateVal) const
comparison operator (less than or equal)
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrris9.h:132
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
virtual OFCondition getClinicalTrialSubjectReadingID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectReadingID (0012,0042)
Item & getCurrentItem()
get current item in the sequence
DcmQueryRetrieveDatabaseStatus & operator=(const DcmQueryRetrieveDatabaseStatus &org)
copy assignment operator
Class for checking the relationship content constraints of the Simplified Adult Echo SR IOD.
Definition: dsrsaecc.h:43
virtual OFCondition setQualityControlSubject(const OFString &value, const OFBool check=OFTrue)
set QualityControlSubject (0010,0200)
DRTReferencedPatientSequence & getReferencedPatientSequence()
get ReferencedPatientSequence (0008,1120)
Definition: drtionpl.h:1739
static void currentDate(OFString &str)
helper function that writes the current date in DICOM format (YYYYMMDD)
runmode m_runMode
Current run mode of pool.
Definition: scppool.h:253
OFListIterator(Item *) CurrentItem
currently selected item
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtecs.h:318
DcmLongString m_FrameLabel
Frame Label (LO, 1, 3)
Definition: fgfracon.h:375
@ Canada
(CA,ISO3166_1,"Canada")
Definition: cid5001.h:45
OFCondition setGantryAngleTolerance(const OFString &value, const OFBool check=OFTrue)
set GantryAngleTolerance (300a,0044)
OFCondition gotoFirstItem()
goto first item in the sequence
DcmDecimalString CompensatorPixelSpacing
CompensatorPixelSpacing (300a,00e9) vr=DS, vm=2, type=1.
Definition: drtircs.h:418
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcsas.h:350
CID4021_PETRadiopharmaceutical(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
OFCondition write(DcmItem &item)
write elements to sequence item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getCalculatedDoseReferenceDoseValue(OFString &value, const signed long pos=0) const
get CalculatedDoseReferenceDoseValue (3008,0076)
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtaadcs.h:335
DcmStorageMode
Storage mode used for DICOM objects received via C-STORE.
Definition: scu.h:59
static const DcmTagKey parseTagKey(const OFString &keyString)
Function that takes a string representation of a tag key and converts it to a tag key instance if pos...
virtual OFCondition setOccupation(const OFString &value, const OFBool check=OFTrue)
set Occupation (0010,2180)
unsigned int Day
currently stored day value
Definition: ofdate.h:249
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
DRTReferringPhysicianIdentificationSequence & operator=(const DRTReferringPhysicianIdentificationSequence ©)
assigment operator
OFCondition setBlockNumber(const OFString &value, const OFBool check=OFTrue)
set BlockNumber (300a,00fc)
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtajcs.h:329
virtual OFCondition getClinicalTrialProtocolID(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolID (0012,0020)
DiMono2Image(const DiDocument *docu, const EI_Status status, const char dummy)
constructor
OFCondition setReferencedPatientSetupNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedPatientSetupNumber (300c,006a)
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtccs.h:331
virtual void ensureInstanceUID(const OFBool correctInvalid=OFFalse)
Make sure that the module contains a Study Instance UID, i.e. a new one is created if empty.
int isnewline_
flag indicating whether newline during file read
Definition: ofconfig.h:519
DSRDocumentTreeNodeValueTypeFilter(const DSRTypes::E_ValueType &valueType)
constructor
DcmFloatingPointSingle RangeModulatorGatingStartValue
RangeModulatorGatingStartValue (300a,0382) vr=FL, vm=1, type=1C.
Definition: drtrmss6.h:195
virtual OFCondition write(DcmItem &dataset, DcmStack *markedItems=NULL)
write content item to dataset
@ Benralizumab_89Zr
(126722,DCM,"Benralizumab ^89^Zr")
Definition: cid4021.h:68
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
IODGeneralImageModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
OFCondition setLUTDescriptor(const Uint16 value, const unsigned long pos=0)
set LUTDescriptor (0028,3002)
OFCondition createDefaultValues(OFBool renumber, OFBool ignoreEmptyImages)
create default values for all missing type 1 elements.
OFBool setCurrentTime(const time_t &tt)
set the time value to the current system time.
OFBool getWideCharMode() const
checks whether the wide character version of parseLine() has been used.
Definition: ofcmdln.h:479
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFCondition getNumberOfLeafJawPairs(Sint32 &value, const unsigned long pos=0) const
get NumberOfLeafJawPairs (300a,00bc)
virtual OFCondition setTimezoneOffsetFromUTC(const OFString &value, const OFBool check=OFTrue)
set TimezoneOffsetFromUTC (0008,0201)
DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence()
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtionpl.h:1679
virtual OFCondition setPhysiciansOfRecord(const OFString &value, const OFBool check=OFTrue)
set PhysiciansOfRecord (0008,1048)
void printError(const char *str, const int code=EXITCODE_COMMANDLINE_SYNTAX_ERROR)
print error message (incl.
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DIC_US priorStatus
prior DIMSE status
Definition: dcmqrcbg.h:121
size_t getOverlayInImageActivationLayer(size_t idx)
gets the index of the activation layer on which the given overlay from the attached image is activate...
const char * getReceiverName()
returns the filename (path) of the DICOM Store SCP application used for receiving images,...
Uint32 m_connectionTimeout
Timeout in seconds that should be waited for an incoming TCP/IP connection until the call returns.
Definition: scpcfg.h:388
void clear()
clear all internal member variables
DcmDecimalString MeasuredDoseValue
MeasuredDoseValue (3008,0016) vr=DS, vm=1, type=1.
Definition: drtrmdrs.h:165
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtecs.h:316
OFCondition setChannelShieldNominalTransmission(const OFString &value, const OFBool check=OFTrue)
set ChannelShieldNominalTransmission (300a,02ba)
DcmLongString ClinicalTrialSubjectID
ClinicalTrialSubjectID (0012,0040) vr=LO, vm=1, type=1C.
Definition: drttreat.h:2726
virtual OFCondition setLongitudinalTemporalOffsetFromEvent(const Float64 value, const unsigned long pos=0)
set LongitudinalTemporalOffsetFromEvent (0012,0052)
OFBool reset()
sets internal cursor to last visited position in cache list
Definition: dvcache.h:540
Item EmptyItem
empty default item
Definition: drtrdrs8.h:559
void clear()
clear all internal member variables
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtbs.h:747
virtual OFCondition setSeriesTime(const OFString &value, const OFBool check=OFTrue)
set SeriesTime (0008,0031)
Item & operator[](const size_t num)
get particular item in the sequence
DRTPrivateDataElementCharacteristicsSequence PrivateDataElementCharacteristicsSequence
PrivateDataElementCharacteristicsSequence (0008,0300) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3208
DRTCalculatedDoseReferenceSequence CalculatedDoseReferenceSequence
CalculatedDoseReferenceSequence (3008,0070) vr=SQ, vm=1, type=1.
Definition: drtiontr.h:3103
DcmShortString Occupation
Occupation (0010,2180) vr=SH, vm=1, type=3.
Definition: drtiontr.h:2974
virtual OFCondition createNewDocument(const E_DocumentType documentType)
create a new document of the specified type.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition setBrachyAccessoryDeviceNominalThickness(const OFString &value, const OFBool check=OFTrue)
set BrachyAccessoryDeviceNominalThickness (300a,026a)
OFCondition setValue(const DSRCodedEntryValue &codedEntryValue, const OFBool check=OFTrue)
set code.
Item & getCurrentItem()
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcs.h:462
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const Item & getCurrentItem() const
get current item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
OFString ourAETitle
our current title
Definition: dcmqrcbf.h:93
unsigned long BitPos
current bit position
Definition: diovpln.h:475
OFBool IsCalledApplicationEntityTitleSupported(const OFString &calledApplicationEntityTitlev)
Checks if the given called application entity title is supported.
virtual OFCondition read(DcmItem &dataset)
read object from dataset
virtual OFCondition setAllergies(const OFString &value, const OFBool check=OFTrue)
set Allergies (0010,2110)
OFCondition putString(const char *stringValue)
put list of graphic data as a string.
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtdimcs.h:333
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFFile()
default constructor, creates an object that is not associated with any file.
Definition: offile.h:308
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmShortString StationName
StationName (0008,1010) vr=SH, vm=1, type=3.
Definition: drtplan.h:3227
virtual OFCondition getPatientSupportAngle(OFString &value, const signed long pos=0) const
get PatientSupportAngle (300a,0122)
virtual OFString getName() const
Get name of module.
OFCondition setExposureTimeInms(const Float64 value, const unsigned long pos=0)
set ExposureTimeInms (0018,9328)
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtcss.h:333
DcmDate StudyDate
StudyDate (0008,0020) vr=DA, vm=1, type=2.
Definition: drtstrct.h:2825
DcmDate(const DcmTag &tag, const Uint32 len=0)
constructor.
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtrpcs.h:347
void clear()
clear all internal member variables
DiLookupTable * PresLutData
points to associated presentation-LUT-object
Definition: dimoimg.h:1135
@ IntraOralRadiography
(IO,DCM,"Intra-oral Radiography")
Definition: cid29.h:70
OFCondition setSourceStrengthUnits(const OFString &value, const OFBool check=OFTrue)
set SourceStrengthUnits (300a,0229)
DcmFloatingPointSingle RangeModulatorGatingStartWaterEquivalentThickness
RangeModulatorGatingStartWaterEquivalentThickness (300a,0386) vr=FL, vm=1, type=3.
Definition: drtrmss6.h:197
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtcncs.h:211
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmIntegerString CompensatorNumber
CompensatorNumber (300a,00e4) vr=IS, vm=1, type=1C.
Definition: drtcos.h:459
OFCondition setLateralSpreadingDeviceDescription(const OFString &value, const OFBool check=OFTrue)
set LateralSpreadingDeviceDescription (300a,033a)
virtual OFCondition getDeidentificationMethod(OFString &value, const signed long pos=0) const
get DeidentificationMethod (0012,0063)
virtual OFCondition setFrameType(const DcmFGTypes::E_FGUSFrameType pixelDataChar, const OFString &imageFlavor="", const OFString &derivedPixelContrast="", const OFBool checkValue=OFTrue)
Set Frame Type.
const OFString & native() const
Retrieve the underlying native string.
T * RootNode
pointer to the root tree node
Definition: dsrtree.h:384
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getTreatmentMachineName(OFString &value, const signed long pos=0) const
get TreatmentMachineName (300a,00b2)
Uint16 getRepeatingGroup()
get repeating group.
virtual ~DcmElement()
destructor
Definition: dcmqridx.h:231
OFBool serverActive
true if the first connection attempt has succeeded, false otherwise
Definition: dvpsmsg.h:260
@ EPR_Uint32
unsigned 32 bit integer
Definition: diutils.h:215
unsigned long max_error
result of image comparison: max difference between a sample value in the reference image and the corr...
Definition: dcmicmph.h:264
DcmCodeString TableTopEccentricRotationDirection
TableTopEccentricRotationDirection (300a,0126) vr=CS, vm=1, type=1C.
Definition: drtcps.h:695
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFCondition selectInstance(const char *instanceUID)
selects the instance with the given UID within the currently selected series.
IODRules * clone()
Returns deep copy of this object.
DcmFloatingPointSingle GantryPitchAngleTolerance
GantryPitchAngleTolerance (300a,014e) vr=FL, vm=1, type=3.
Definition: drttts.h:347
size_t roiLeft
Region of Interest left corner for for VOI transform of monochrome images, mode 7.
Definition: djcparam.h:393
OFDate Date
currently stored date value
Definition: ofdatime.h:270
Item(const Item ©)
copy constructor
@ BileDuct
(28273000,SCT,"Bile duct")
Definition: cid4031.h:56
DcmIntegerString ReferencedDoseReferenceNumber
ReferencedDoseReferenceNumber (300c,0051) vr=IS, vm=1, type=1C.
Definition: drtrmdrs.h:167
flags_type flags
State flags.
Definition: queue.h:143
Item & getCurrentItem()
get current item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtris.h:142
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
OFCondition getSourceToApplicatorMountingPositionDistance(Float32 &value, const unsigned long pos=0) const
get SourceToApplicatorMountingPositionDistance (300a,0436)
virtual OFCondition getRadiationMachineSAD(Float64 &value, const unsigned long pos=0) const
get RadiationMachineSAD (3002,0022)
T_ASC_Association * assoc
the association to be used for message communication. Can be NULL.
Definition: dvpspr.h:276
OFBool predictor6WorkaroundEnabled() const
returns flag indicating whether the workaround for buggy JPEG lossless images with incorrect predicto...
Definition: djcparam.h:305
@ EFG_IMAGEDATATYPE
Image Data Type.
Definition: fgtypes.h:131
void storeEntryInNodeList(const size_t pos, const size_t nodeID)
store given entry at a certain position in the list of node IDs
@ _106mm2PerS
(10-6.mm2/s,UCUM,"10-6.mm2/s"), included from CID 7277
Definition: cid7181.h:124
Item & operator=(const Item ©)
assigment operator
DcmLongString PatientBirthDateInAlternativeCalendar
PatientBirthDateInAlternativeCalendar (0010,0033) vr=LO, vm=1, type=3.
Definition: drttreat.h:2651
abstract base class for decompression classes.
Definition: djdecabs.h:36
virtual OFCondition setAcquisitionDateTime(const OFString &value, const OFBool checkValue=OFTrue)
Set Acquisition Date Time.
void set(const T &arg)
assigns new value to this object.
Definition: ofglobal.h:61
static const int AF_NoWarning
do not output a warning message if option has never been checked.
Definition: ofcmdln.h:981
virtual OFBool IsCalledApplicationEntityTitleSupported()=0
Checks if the called application entity title is supported.
virtual OFCondition renderHTML(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item in HTML/XHTML format
const OFBool HasConceptName
mode specifying whether the filter matches on the presence or absence of a concept name
Definition: dsrdnflt.h:255
const Item & getCurrentItem() const
get current item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const Item & getCurrentItem() const
get current item in the sequence
OFBool isEmpty()
check if item is empty
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getDigitalSignatureUID(OFString &value, const signed long pos=0) const
get DigitalSignatureUID (0400,0100)
const char * getTargetDescription(const char *targetID)
returns the DESCRIPTION entry for the communication partner with the given target ID from the configu...
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtmucs.h:341
const DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence() const
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtionpl.h:1625
virtual ~DiARGBPixelTemplate()
destructor
Definition: diargpxt.h:68
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CorruptedXMLStructure
error: the XML structure is corrupted (XML parser error)
void setTreeNode(DSRDocumentTreeNode *node)
set internal tree node pointer (protected)
Definition: dsrcitem.h:576
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid7469.h:479
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
virtual OFBool isEmpty() const
check whether the current code is empty, i.e. whether all four components of the code ("Basic Coded E...
OFCondition gotoFirstItem()
goto first item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setBeamType(const OFString &value, const OFBool check=OFTrue)
set BeamType (300a,00c4)
this helper class maintains a map of association negotiation profile keys.
Definition: dccfprmp.h:102
@ _90_Niobium
(126603,DCM,"^90^Niobium")
Definition: cid4020.h:106
virtual OFCondition getPerformedProcedureStepEndDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndDate (0040,0250)
virtual DcmEVR ident() const
get element type identifier
virtual size_t gotoNamedNodeInSubTree(const DSRCodedEntryValue &conceptName, const OFBool searchIntoSub=OFTrue)
set internal cursor to a named node in the subtree below the current node.
OFCondition setNumericValue(const OFString &value, const OFBool check=OFTrue)
set NumericValue (0040,a30a)
DRTContributingEquipmentSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
size_t gotoEntryFromNodeList(DSRDocumentTreeNodeCursor &cursor, const size_t pos) const
set given cursor to a specific node
OFCondition gotoFirstItem()
goto first item in the sequence
Interface class for CorrectedParameterSequence (3008,0068)
Definition: drtcpas.h:28
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
const DRTBreedRegistrationSequence & getBreedRegistrationSequence() const
get BreedRegistrationSequence (0010,2294)
Definition: drtimage.h:2404
OFBool isEmpty()
check if item is empty
DcmIntegerString NumberOfBlockSlabItems
NumberOfBlockSlabItems (300a,0440) vr=IS, vm=1, type=3.
Definition: drtibls.h:366
Class representing the Patient Study Module:
Definition: modpatientstudy.h:41
OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags, const OFBool encoding=OFFalse)
read string value from XML document
virtual OFCondition getPerformedProcedureStepID(OFString &value, const signed long pos=0) const
get PerformedProcedureStepID (0040,0253)
DiMonoImage(const DiDocument *docu, const EI_Status status)
constructor
DcmCodeString GantryRotationDirection
GantryRotationDirection (300a,011f) vr=CS, vm=1, type=1C.
Definition: drticps.h:781
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFBool isEmpty()
check if item is empty
virtual OFCondition setStudyTime(const OFString &value, const OFBool check=OFTrue)
set study time
OFCondition getUniversalEntityIDType(OFString &value, const signed long pos=0) const
get UniversalEntityIDType (0040,0033)
virtual OFCondition setReviewTime(const OFString &value, const OFBool check=OFTrue)
set ReviewTime (300e,0005)
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
OFCondition getEffectiveWedgeAngle(Float64 &value, const unsigned long pos=0) const
get EffectiveWedgeAngle (300a,00de)
Helper class for parsing value range pairs, as in date/time ranges.
Definition: dcmatch.h:47
const OFString Version
context group version (VR=DT, optional)
Definition: dsrctxgr.h:269
OFCondition setPersonTelecomInformation(const OFString &value, const OFBool check=OFTrue)
set PersonTelecomInformation (0040,1104)
OFBool imageHasAdditionalSettings(size_t idx)
checks if one of the registered images has additional settings that are not default values on the ima...
Definition: dvpssp.h:398
virtual OFCondition write(DcmItem &item)
Write this group to given item.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getHL7InstanceIdentifier(OFString &value, const signed long pos=0) const
get HL7InstanceIdentifier (0040,e001)
OFCondition setApplicatorDescription(const OFString &value, const OFBool check=OFTrue)
set ApplicatorDescription (300a,010a)
DVPSSignatureStatus getCombinedImagePStateSignatureStatus() const
returns the combined status flag for the current image and presentation state.
OFBool getCreateOffsetTable() const
returns offset table creation flag
Definition: djcparam.h:154
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmDecimalString PatientSize
PatientSize (0010,1020) vr=DS, vm=1, type=3.
Definition: drtionpl.h:3025
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CannotCreateIconImage
error: an icon image could not be created from the given DICOM image
virtual DSRPNameTreeNode * clone() const
clone this tree node.
virtual OFCondition setSOPInstanceStatus(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceStatus (0100,0410)
struct sockaddr_in * getSockaddr_in()
access socket address storage object as struct sockaddr_in (IPv4 address)
Definition: ofsockad.h:77
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpcxs.h:561
E_SubSampling Sampling
(sub) sampling: ESS_444, ESS_422 (default), ESS_411
Definition: dipijpeg.h:100
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format
const char * get_value()
gets the value for the current entry (level 0 keyword).
OFCondition setBrachyAccessoryDeviceType(const OFString &value, const OFBool check=OFTrue)
set BrachyAccessoryDeviceType (300a,0264)
DVStudyCache idxCache
hierarchical cache structure to optimize index file access
Definition: dviface.h:1664
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid10033.h:109
OFCondition setEquivalentMeaningOfConceptName(const OFString &meaning, const OFBool check=OFTrue)
set the value of the 'Equivalent Meaning of Concept Name' content item (TID 300 - Row 16).
DcmIntegerString ReferencedMeasuredDoseReferenceNumber
ReferencedMeasuredDoseReferenceNumber (3008,0082) vr=IS, vm=1, type=1C.
Definition: drtrmdrs.h:169
Item EmptyItem
empty default item
Definition: drtpdecs.h:379
Interface class for LateralSpreadingDeviceSettingsSequence (300a,0370) in RTIonBeamsModule.
Definition: drtlsds6.h:28
virtual ~DRTBeamLimitingDeviceSequenceInRTBeamsModule()
destructor
virtual void shutdown()
Shutting down a hierarchy will safely close and remove all appenders in all loggers including the roo...
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
Uint32 NumberofRegistratedImages
number of images of this study in the database
Definition: dcmqridx.h:286
void clear()
clear all internal member variables
DRTReasonForPerformedProcedureCodeSequence ReasonForPerformedProcedureCodeSequence
ReasonForPerformedProcedureCodeSequence (0040,1012) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3097
DRTReferencedControlPointSequence ReferencedControlPointSequence
ReferencedControlPointSequence (300c,00f2) vr=SQ, vm=1, type=1C.
Definition: drtrbs2.h:140
DRTDoseIOD()
default constructor
virtual OFCondition receiveACTIONRequest(T_DIMSE_N_ActionRQ &reqMessage, const T_ASC_PresentationContextID presID, DcmDataset *&reqDataset, Uint16 &actionTypeID)
Receive N-ACTION request on the currently opened association.
OFBool isEmpty()
check if sequence is empty
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
virtual OFCondition setStrainNomenclature(const OFString &value, const OFBool check=OFTrue)
set StrainNomenclature (0010,0213)
virtual void setRecordsOriginFile(const OFFilename &fname)
store the filename from which this directory record was read from
DcmLongString TreatmentSites
TreatmentSites (300a,000b) vr=LO, vm=1-n, type=3.
Definition: drtplan.h:3269
DcmUnsignedLong m_InStackPositionNumber
In-Stack Position Number (UL, 1, 1C)
Definition: fgfracon.h:369
virtual OFCondition checkValue(const OFString &card="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
Uint32 randc
internal state of the PRNG
Definition: ofrand.h:92
DSRStringValue(const OFString &stringValue, const OFBool check=OFTrue)
constructor
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTReferencedFrameOfReferenceSequence & operator=(const DRTReferencedFrameOfReferenceSequence ©)
assigment operator
OFBool isEmpty()
check if item is empty
Item & getCurrentItem()
get current item in the sequence
DcmCodeString Modality
Modality (0008,0060) vr=CS, vm=1, type=1.
Definition: drtplan.h:3164
Enables sharing configurations by multiple DcmSCPs.
Definition: scpcfg.h:405
virtual OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
virtual OFCondition getOtherPatientNames(OFString &value, const signed long pos=0) const
get OtherPatientNames (0010,1001)
DRTDerivationCodeSequence & getDerivationCodeSequence()
get DerivationCodeSequence (0008,9215)
Definition: drtdose.h:2056
DVPSReferencedImage * clone()
clone method.
Definition: dvpsri.h:50
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
static const OFString & convertToOctalString(const OFString &sourceString, OFString &octalString, const size_t maxLength=0)
convert character string to an octal format string.
virtual ~Item()
destructor
OFCondition getDeliveryMaximumDose(Float64 &value, const unsigned long pos=0) const
get DeliveryMaximumDose (300a,0023)
DRTPlanIOD(const DRTPlanIOD ©)
copy constructor
virtual OFCondition getAccessionNumber(OFString &value, const signed long pos=0) const
get AccessionNumber (0008,0050)
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtrpcs.h:355
virtual DiMonoPixel * createMonoImageData(const DiColorImage *image, const double red, const double green, const double blue)=0
create monochrome pixel data of color image (abstract)
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence()
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtdose.h:1996
virtual OFCondition setReferencedSegmentNumber(const Uint16 value, const OFBool checkValue=OFTrue)
Set ReferencedSegmentNumber.
static void initialize()
initialize this context group explicitly.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition setPatientBirthDate(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDate (0010,0030)
DRTPlannedVerificationImageSequence & operator=(const DRTPlannedVerificationImageSequence ©)
assigment operator
DcmLongString ClinicalTrialProtocolEthicsCommitteeName
ClinicalTrialProtocolEthicsCommitteeName (0012,0081) vr=LO, vm=1, type=1C.
Definition: drtstrct.h:2816
static OFCondition readSubSequence(DcmItem &source, const DcmTagKey &seqKey, Container &destination, const OFString &cardinality, const OFString &type, const OFString &module)
Reads DICOM sequence into container by creating a dedicated container element for each DICOM item.
Definition: iodutil.h:486
virtual void resetRules()
Resets rules to their original values.
friend DCMTK_OFSTD_EXPORT void * thread_stub(void *arg)
thread stub must be friend to call run()
DRTIssuerOfAdmissionIDSequence IssuerOfAdmissionIDSequence
IssuerOfAdmissionIDSequence (0038,0014) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2814
@ Pelvis
(12921003,SCT,"Pelvis")
Definition: cid4031.h:186
OFCondition setRangeShifterSetting(const OFString &value, const OFBool check=OFTrue)
set RangeShifterSetting (300a,0362)
DcmDecimalString TargetMaximumDose
TargetMaximumDose (300a,0027) vr=DS, vm=1, type=3.
Definition: drtdrs.h:509
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setRTImageDescription(const OFString &value, const OFBool check=OFTrue)
set RTImageDescription (3002,0004)
a class representing the DICOM value representation 'Other Double' (OD)
Definition: dcvrod.h:39
virtual ~DSRChestCadSRConstraintChecker()
destructor
DRTDICOMMediaRetrievalSequence & getDICOMMediaRetrievalSequence()
get DICOMMediaRetrievalSequence (0040,e022)
Definition: drtrpphs.h:126
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFCondition getFinalCumulativeTimeWeight(OFString &value, const signed long pos=0) const
get FinalCumulativeTimeWeight (300a,02c8)
DcmDecimalString m_WindowWidth
Window Width (DS, VM 1-n, Required type 1)
Definition: fgframevoilut.h:200
static size_t getFileSize(const OFFilename &filename)
determine size of given file (in bytes)
DRTGeneticModificationsCodeSequence(const DRTGeneticModificationsCodeSequence ©)
copy constructor
OFBool isEmpty()
check if item is empty
OFBool isEmpty()
check if sequence is empty
Uint16 getRight(const Sint32 left_pos=0) const
get right border of overlay plane origin
Definition: diovpln.h:163
int writePPM(STD_NAMESPACE ostream &stream, const int bits=0, const unsigned long frame=0)
write pixel data to PPM file (specified by open C++ stream).
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
Item & operator[](const size_t num)
get particular item in the sequence
Interface class for BeamLimitingDevicePositionSequence (300a,011a)
Definition: drtbldps.h:28
virtual ~Item()
destructor
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
virtual OFCondition getLastMenstrualDate(OFString &value, const signed long pos=0) const
get LastMenstrualDate (0010,21d0)
const DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence() const
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtplan.h:1274
DcmCodeString RecognizableVisualFeatures
RecognizableVisualFeatures (0028,0302) vr=CS, vm=1, type=3.
Definition: drtdose.h:4394
OFCondition getSetupDeviceParameter(OFString &value, const signed long pos=0) const
get SetupDeviceParameter (300a,01bc)
DRTRealWorldValueMappingSequence & getRealWorldValueMappingSequence()
get RealWorldValueMappingSequence (0040,9096)
Definition: drtdose.h:2404
DcmTLSCiphersuiteHandler()
constructor.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
@ EVR_SL
signed long
Definition: dcvr.h:183
@ Fluorocholine_F18
(456992002,SCT,"Fluorocholine F^18^")
Definition: cid4021.h:150
DRTConceptNameCodeSequence & getConceptNameCodeSequence()
get ConceptNameCodeSequence (0040,a043)
Definition: drtpcxs.h:213
@ IE_SERIES
Series Entity.
Definition: iodtypes.h:94
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrfors.h:309
OFCondition getTableTopVerticalSetupDisplacement(Float64 &value, const unsigned long pos=0) const
get TableTopVerticalSetupDisplacement (300a,01d2)
OFCondition setResolutionID(const char *value)
sets the (optional) requested resolution ID.
static Logger getInstance(const log4cplus::tstring &name)
Retrieve a logger with name name.
OFCondition setPatientSupportID(const OFString &value, const OFBool check=OFTrue)
set PatientSupportID (300a,0352)
OFBool BackupMode
create DICOMDIR backup
Definition: dcddirif.h:1562
Item & getCurrentItem()
get current item in the sequence
OFCondition read(DcmItem &dset)
reads a graphic layer from a DICOM dataset.
codec class for JPEG-LS lossless only TS encoding
Definition: djcodece.h:381
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_PutbackFailed
Parser failure: Putback operation failed.
Uint16 m_primFieldLength
Length of primary value field in bytes.
Definition: dcuserid.h:289
void setPrivateKeyPasswdFromConsole()
sets the password string to be used when loading an encrypted private key file to be read from the co...
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool isEmpty()
check if sequence is empty
virtual DcmTransportConnection * createConnection(DcmNativeSocketType openSocket, OFBool useSecureLayer)
factory method that returns a new transport connection for the given socket.
DiHSVPixelTemplate(const DiDocument *docu, const DiInputPixel *pixel, EI_Status &status, const unsigned long planeSize, const int bits)
constructor
Definition: dihsvpxt.h:53
DcmFloatingPointSingle FixationDeviceRollAngle
FixationDeviceRollAngle (300a,019a) vr=FL, vm=1, type=3.
Definition: drtfds.h:210
DcmCodeString PatientAlternativeCalendar
PatientAlternativeCalendar (0010,0035) vr=CS, vm=1, type=1C.
Definition: drttreat.h:2655
virtual OFCondition getRedPaletteColorLookupTableData(Uint16 *&value, unsigned long *count=NULL) const
get RedPaletteColorLookupTableData (0028,1201)
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getLossyImageCompressionRatio(OFVector< Float64 > &value) const
get LossyImageCompressionRatio (0028,2112)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setTableTopLongitudinalPositionTolerance(const OFString &value, const OFBool check=OFTrue)
set TableTopLongitudinalPositionTolerance (300a,0052)
OFCondition gotoNextItem()
goto next item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmDecimalString BrachyApplicationSetupDoseSpecificationPoint
BrachyApplicationSetupDoseSpecificationPoint (300a,00a2) vr=DS, vm=3, type=3.
Definition: drtrbas8.h:173
Item(const Item ©)
copy constructor
DcmPersonName OtherPatientNames
OtherPatientNames (0010,1001) vr=PN, vm=1-n, type=3.
Definition: drtplan.h:2993
virtual OFBool isFlushed() const
returns true if the consumer is flushed, i.e.
OFCondition setTemplateType(const OFString &value, const OFBool check=OFTrue)
set TemplateType (300a,0242)
DcmDecimalString DVHNormalizationDoseValue
DVHNormalizationDoseValue (3004,0042) vr=DS, vm=1, type=3.
Definition: drtdose.h:4599
Interface class for RequestAttributesSequence (0040,0275)
Definition: drtras.h:33
size_t getNumberOfItems() const
get number of items in the sequence
OFBool isEmpty()
check if sequence is empty
static OFBool check(const char *dicomTime, const size_t dicomTimeSize)
check whether given string conforms to a single value of VR "TM" (Time).
OFStackLink< T > & operator=(const OFStackLink< T > &)
private undefined copy assignment operator
DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence()
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtplan.h:1556
virtual OFCondition getPatientName(OFString &value, const signed long pos=0) const
get PatientName (0010,0010)
Helper class for working with radio therapy image objects.
Definition: drmimage.h:41
@ Duodenum
(38848004,SCT,"Duodenum")
Definition: cid4031.h:86
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setDeliveredSecondaryMeterset(const OFString &value, const OFBool check=OFTrue)
set DeliveredSecondaryMeterset (3008,0037)
OFCondition getChairHeadFramePosition(Float64 &value, const unsigned long pos=0) const
get ChairHeadFramePosition (300a,0151)
virtual OFCondition getPerformedProcedureStepDescription(OFString &value, const signed long pos=0) const
get PerformedProcedureStepDescription (0040,0254)
static void setDefault(OFCondition &result, DcmElement &a_name, const char *a_value)
assigns the given value to the given DICOM element if it is empty and the status is OK,...
OFCondition setReferencedFrameNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFrameNumber (0008,1160)
DcmIntegerString ReferencedROINumber
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=1.
Definition: drtrbos6.h:139
DRTRequestAttributesSequence & getRequestAttributesSequence()
get RequestAttributesSequence (0040,0275)
Definition: drtionpl.h:1823
OFBool trueLosslessMode
True losless mode, replaces old "pseudo" lossless encoders, when true (default)
Definition: djcparam.h:417
@ EJE_NotEncapsulated
pixel data not encapsulated
Definition: dcxfer.h:153
OFCondition WaitForAssociation(T_ASC_Network *net)
This function takes care of receiving, negotiating and accepting/refusing an association request.
xmlCharEncodingHandlerPtr EncodingHandler
pointer to the currently selected character encoding handler (libxml)
Definition: dsrxmld.h:310
OFCondition setReferencedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceNumber (300c,0051)
OFCondition getWedgeAngle(OFString &value, const signed long pos=0) const
get WedgeAngle (300a,00d5)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTAdmittingDiagnosesCodeSequence AdmittingDiagnosesCodeSequence
AdmittingDiagnosesCodeSequence (0008,1084) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4217
virtual int flip(const int horz, const int vert)=0
flip current image horizontally and/or vertically (abstract)
virtual OFBool matches(const DcmElement &candidate, const OFBool enableWildCardMatching=OFTrue) const
perform attribute matching.
@ ER_RepresentationInteger
The UUID is printed as one, long integer in base 10 (up to 39 digits long)
Definition: ofuuid.h:42
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DCMTK_DCMNET_EXPORT void DUL_requestForkOnTransportConnectionReceipt(int argc, char *argv[])
this function marks the current process as a multi-process server and enables the creation of child p...
Decoder class for JPEG Baseline (lossy, 8-bit)
Definition: djdecbas.h:31
static const double D65_WHITEPOINT_Z
D65 standard lightpoint Z component for conversion from CIEXYZ to CIELab.
Definition: cielabutil.h:49
DcmDecimalString WedgeOrientation
WedgeOrientation (300a,00d8) vr=DS, vm=1, type=2.
Definition: drtrws.h:215
Item EmptyItem
empty default item
Definition: drtcims.h:550
const DiDisplayLUT * getLookupTable(const int bits, unsigned long count=0)
create look-up table with specified number of entries
unspecified operator++(int)
Increment the iterator.
This class encapsulates data structures and operations for managing data base interaction in the fram...
Definition: wlfsim.h:44
static const char * checkRSAHashKeyIsSHA2(X509 *certificate)
checks the BCP 195 recommendations that RSA certificates should use SHA-256 hash keys.
DRTTreatmentSummaryMeasuredDoseReferenceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition getClinicalTrialSubjectID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectID (0012,0040)
virtual OFCondition setInstanceCoercionDateTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCoercionDateTime (0008,0015)
~DcmQueryRetrieveIndexDatabaseHandle()
Destructor.
virtual OFCondition setLUTExplanation(const OFString &value, const OFBool checkValue=OFTrue)
Set LUT Explanation.
OFStackBase & operator=(const OFStackBase &)
private undefined copy assignment operator
DSRGraphicDataItem(const Float32 column=0, const Float32 row=0)
(default) constructor
Definition: dsrscogr.h:47
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtsdcs.h:353
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtbas.h:205
Class for XML document cursors.
Definition: dsrxmlc.h:89
DRTReferencedInstanceSequence & operator=(const DRTReferencedInstanceSequence ©)
assigment operator
OFCondition setTargetUnderdoseVolumeFraction(const OFString &value, const OFBool check=OFTrue)
set TargetUnderdoseVolumeFraction (300a,0028)
virtual OFCondition setPatientState(const OFString &value, const OFBool check=OFTrue)
set PatientState (0038,0500)
E_ValueStatus getValue(OFFilename &filename)
returns next argument as an instance of OFFilename.
const Item & operator[](const size_t num) const
get particular item in the sequence
DSRImageSegmentList(const DSRImageSegmentList &lst)
copy constructor
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
static const size_t HF_neverExpandChildrenInline
external: never expand child nodes inline
Definition: dsrtypes.h:284
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
virtual ~Item()
destructor
virtual OFCondition getPatientWeight(OFString &value, const signed long pos=0) const
get PatientWeight (0010,1030)
Template class to handle RGB pixel data.
Definition: dirgbpxt.h:41
OFCondition setNumberOfBlocks(const OFString &value, const OFBool check=OFTrue)
set NumberOfBlocks (300a,00f0)
DcmIntegerString ReferenceImageNumber
ReferenceImageNumber (300a,00c8) vr=IS, vm=1, type=1.
Definition: drtrris1.h:195
DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModule LateralSpreadingDeviceSettingsSequence
LateralSpreadingDeviceSettingsSequence (300a,0370) vr=SQ, vm=1, type=1C.
Definition: drticpds.h:830
virtual OFCondition setLossyImageCompressionRatio(const OFString &value, const OFBool check=OFTrue)
set LossyImageCompressionRatio (0028,2112)
OFBool getTargetPrinterSupportsPresentationLUT(const char *targetID)
returns the SUPPORTSPRESENTATIONLUT entry for the printer with the given target ID from the configura...
virtual OFCondition putUint32(const Uint32 val, const unsigned long pos=0)
insert into the element value a copy of the given Uint32 value.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmFloatingPointSingle TableTopRollAngle
TableTopRollAngle (300a,0144) vr=FL, vm=1, type=3.
Definition: drtes.h:556
DRTDerivationCodeSequence DerivationCodeSequence
DerivationCodeSequence (0008,9215) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4588
OFCondition read(DcmItem &item)
read elements from sequence item
DRTBreedRegistrationSequence BreedRegistrationSequence
BreedRegistrationSequence (0010,2294) vr=SQ, vm=1, type=2C.
Definition: drtplan.h:3007
virtual OFCondition setRTPlanName(const OFString &value, const OFBool check=OFTrue)
set RTPlanName (300a,0003)
OFCondition write(DcmItem &item)
write elements to sequence item
const DiColorPixel * getColorInterData() const
get pointer to intermediate pixel data representation
Definition: dicoimg.h:239
A struct for creating a mismatched private key and certificate error condition.
Definition: tlscond.h:96
@ Obinituzimab_89Zr
(126721,DCM,"Obinituzimab ^89^Zr")
Definition: cid4021.h:216
DcmLongString SoftwareVersions
SoftwareVersions (0018,1020) vr=LO, vm=1-n, type=3.
Definition: drtimage.h:5051
DiPaletteImage(const DiDocument *docu, const EI_Status status)
constructor
virtual OFCondition getContentDate(OFString &value, const signed long pos=0) const
get content date
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTBeamLimitingDevicePositionSequence(const DRTBeamLimitingDevicePositionSequence ©)
copy constructor
void checkTable(unsigned long count, Uint16 bits, const EL_BitsPerTableEntry descripMode=ELM_UseValue, EI_Status *status=NULL)
check (and possibly correct) lookup table for consistency
OFCondition determineDestinationEncoding(const OFString &toCharset)
determine the destination character encoding (as used by the underlying character encoding library) f...
RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.
Definition: fileap.h:200
virtual OFCondition finalizeDocument()
finalize the current state of the document.
OFCondition getBeamMeterset(OFString &value, const signed long pos=0) const
get BeamMeterset (300a,0086)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition getCompensatorPixelSpacing(OFVector< Float64 > &value) const
get CompensatorPixelSpacing (300a,00e9)
void writeXMLItemEnd(STD_NAMESPACE ostream &stream, const size_t flags) const
write common item start (XML tag)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrtrs4.h:308
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFVector< SOPInstanceReferenceMacro > m_ReferencedPerformedProcedureStepSequence
ReferencedPerformedProcedureStepSequence.
Definition: dpmmodparametricmapseries.h:130
OFBool operator==(const DcmKeyValuePair &arg) const
comparison operator.
Definition: dcmsmap.h:99
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtecs.h:519
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcps.h:887
OFCondition gotoFirstItem()
goto first item in the sequence
DRTSourcePatientGroupIdentificationSequence SourcePatientGroupIdentificationSequence
SourcePatientGroupIdentificationSequence (0010,0026) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2709
DcmCodeString PixelIntensityRelationship
PixelIntensityRelationship (0028,1040) vr=CS, vm=1, type=3.
Definition: drtimage.h:5271
@ TCA_ECDSA
Elliptic Curve Digital Signature Algorithm.
Definition: tlsciphr.h:164
virtual size_t removeNode()
remove current node from tree.
Definition: dsrtree.h:902
DRTPatientSizeCodeSequence & getPatientSizeCodeSequence()
get PatientSizeCodeSequence (0010,1021)
Definition: drttreat.h:1419
virtual FunctionalGroups * getOrCreatePerFrameGroups(const Uint32 frameNo)
Get existing per-frame group or create it for the given frame.
virtual FGBase * clone() const
Returns a deep copy of this object.
TrcTracksStatistic()
Constructor.
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
DcmFloatingPointSingle MetersetRate
MetersetRate (300a,035a) vr=FL, vm=1, type=3.
Definition: drticps.h:793
Interface class for MultiplexedAudioChannelsDescriptionCodeSequence (003a,0300)
Definition: drtmacds.h:29
virtual OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether given string value conforms to the VR "TM" (Time) and to the specified VM.
DcmRLEDecoder & operator=(const DcmRLEDecoder &)
private undefined copy assignment operator
virtual OFCondition getMeasuredLateralDimension(OFString &value, const signed long pos=0) const
get MeasuredLateralDimension (0010,1024)
T_ASC_Network * net_
pointer to network structure used for requesting C-STORE sub-associations
Definition: dcmqropt.h:91
DcmRoleSelectionItem(const DcmRoleSelectionItem &arg)
copy constructor
DSRXMLCursor getNext() const
get cursor pointing to next XML node (same level).
@ PF_Preliminary
DICOM enumerated value: PRELIMINARY.
Definition: dsrtypes.h:747
Item & getItem(const size_t num)
get particular item in the sequence
int isPlaneVisible(unsigned int plane)
check whether specified plane is currently visible (not hidden)
static const size_t HF_useCodeMeaningAsUnit
external: use code meaning for the numeric measurement unit (default: code value)
Definition: dsrtypes.h:302
DCMR Context Group with enhanced functionality: CID 244 - Laterality.
Definition: cid244e.h:30
Interface class for ReferencedPatientPhotoSequence (0010,1100)
Definition: drtrpphs.h:34
Interface class for CodingSchemeIdentificationSequence (0008,0110)
Definition: drtcsis.h:29
int getMinMaxValues(double &min, double &max, const int mode) const
get minimum and maximum pixel values.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmFloatingPointSingle WedgeThinEdgePosition
WedgeThinEdgePosition (300a,00db) vr=FL, vm=1, type=1C.
Definition: drtiwps.h:155
OFCondition getNumberOfPulses(Sint32 &value, const unsigned long pos=0) const
get NumberOfPulses (300a,028a)
virtual OFCondition receiveFINDRequest(T_DIMSE_C_FindRQ &reqMessage, const T_ASC_PresentationContextID presID, DcmDataset *&reqDataset)
Receive C-FIND request.
Item & getCurrentItem()
get current item in the sequence
DRTReferencedImageSequence & getReferencedImageSequence()
get ReferencedImageSequence (0008,1140)
Definition: drtimage.h:2902
DVPSGraphicObject()
default constructor
EI_Status ImageStatus
current state of converting progress (error level)
Definition: dcmimage.h:1896
T value_type
member typedef for T
Definition: oflist.h:184
unsigned long AssociationCounter
association counter
Definition: dstorscu.h:514
OFBool operator!() const
check whether this object does not refer to a valid encoder.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item EmptyItem
empty default item
Definition: drtas5.h:380
virtual OFCondition setRecognizableVisualFeatures(const OFString &value, const OFBool check=OFTrue)
set RecognizableVisualFeatures (0028,0302)
unsigned int size
current size of the set (always >= num)
Definition: ofset.h:45
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFBool isGeneralReferenceModulePresent(const OFBool complete=OFFalse)
check whether GeneralReferenceModule (U) is present.
DSRComprehensive3DSRConstraintChecker()
default constructor
OFCondition setBeamDose(const OFString &value, const OFBool check=OFTrue)
set BeamDose (300a,0084)
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
size_t getNumberOfItems() const
get number of items in the sequence
OFString getStorageDir() const
Returns the storage directory used for storing objects received with C-STORE requests in the context ...
virtual OFCondition getSOPInstanceStatus(OFString &value, const signed long pos=0) const
get SOPInstanceStatus (0100,0410)
virtual OFCondition setLongitudinalTemporalEventType(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalEventType (0012,0053)
virtual Uint16 bitsPerSample() const
returns the number of bits per sample that will be expected when encoding.
Definition: djeijg8.h:108
E_TransferSyntax getXfer() const
return transfer syntax enum for this transfer syntax
Definition: dcxfer.h:203
virtual ~Item()
destructor
DcmTime StructureSetTime
StructureSetTime (3006,0009) vr=TM, vm=1, type=2.
Definition: drtstrct.h:3025
virtual OFCondition getDeidentificationMethod(OFString &value, const signed long pos=0) const
get DeidentificationMethod (0012,0063)
virtual OFCondition loadFile(const OFFilename &fileName, const E_FileReadMode readMode=ERM_autoDetect, const E_TransferSyntax readXfer=EXS_Unknown)
load an object from a file
static OFCondition getStringValueFromItem(const DcmTagKey &key, DcmItem &item, OFString &result, const signed long &pos)
Get string value from item.
unsigned char * RLE_buff_
this member points to a buffer of 132 bytes that is used by the RLE encoding algorithm.
Definition: dcrleenc.h:397
OFCharacterEncoding()
constructor.
virtual unsigned long getSize() const
returns the size of a MAC in bytes.
OFCondition gotoFirstItem()
goto first item in the sequence
DcmUnsignedShort ReferencedSegmentNumber
ReferencedSegmentNumber (0062,000b) vr=US, vm=1-n, type=1C.
Definition: drtcsas.h:171
const char * getTargetPrivateKeyPassword(const char *targetID)
returns the PRIVATEKEYPASSWORD entry for the storage peer with the given target ID from the configura...
OFString m_ManufacturerModelName
Manufacturer's Model Name (VM 1)
Definition: modequipment.h:79
size_t find_first_not_of(const char *s, size_t pos, size_t n) const
determines the first location loc, between pos and the end of the current string, such that the chara...
virtual void getTrustedCertFiles(OFList< OFString > &files) const
Get files considered for trusted certificates.
OFCondition verifyCertificate(SiCertificate &certificate)
verifies a certificate against the known trusted CA certificates and certificate revocation lists.
void clear()
clear all internal member variables
OFListIterator(Item *) CurrentItem
currently selected item
OFStack< OFConfigFileCursor > stack_
stack of cursor positions that can be saved and restored
Definition: ofconfig.h:510
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setPatientSupportAngle(const OFString &value, const OFBool check=OFTrue)
set PatientSupportAngle (300a,0122)
Class implementing a document tree node filter that checks for a given range of observation date/time...
Definition: dsrdnflt.h:389
DSRDateTreeNode(const E_RelationshipType relationshipType)
constructor
virtual ~DcmSignature()
destructor
OFCondition setDeliveredMeterset(const OFString &value, const OFBool check=OFTrue)
set DeliveredMeterset (3008,0044)
virtual OFCondition getPatientSex(OFString &value, const signed long pos=0) const
get PatientSex (0010,0040)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtics.h:533
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getSpecificCharacterSet(OFString &value, const signed long pos=0) const
get SpecificCharacterSet (0008,0005)
virtual OFCondition setOtherPatientNames(const OFString &value, const OFBool check=OFTrue)
set OtherPatientNames (0010,1001)
static const int AF_Internal
internal option that is not shown in the syntax usage output
Definition: ofcmdln.h:978
Class representing a Track Set within the Tractography Results IOD.
Definition: trctrackset.h:46
DcmUniqueIdentifier OriginalSpecializedSOPClassUID
OriginalSpecializedSOPClassUID (0008,001b) vr=UI, vm=1, type=3.
Definition: drtstrct.h:3088
const DRTRealWorldValueMappingSequence & getRealWorldValueMappingSequence() const
get RealWorldValueMappingSequence (0040,9096)
Definition: drtdose.h:2410
OFCondition findAndGetFloat32Array(const DcmTagKey &tagKey, const Float32 *&value, unsigned long *count=NULL, const OFBool searchIntoSub=OFFalse)
find element and get value as an array of 32-bit floating point values.
OFCondition getCurrentFractionNumber(Sint32 &value, const unsigned long pos=0) const
get CurrentFractionNumber (3008,0022)
virtual OFCondition getPerformedProcedureStepStartTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartTime (0040,0245)
DcmCodeString m_VOILUTFunction
VOI LUT Function (CS, VM 1, Requirement Type 3)
Definition: fgframevoilut.h:206
OFBool m_insertLatin1
If enabled, ISO_IR100 (ISO Latin 1) is inserted as a standard value for attribute "Specific Character...
Definition: i2d.h:260
OFFilename dicomDirFileName
file name the DICOMDIR was read from, or DEFAULT_DICOMDIR_NAME
Definition: dcdicdir.h:199
virtual OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read spatial coordinates value from XML document
Uint16 Width
maximum width of all planes
Definition: diovlay.h:458
virtual OFCondition write(DcmItem &dataset)
write object to dataset
void filmBoxNCreate(DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset)
implements the N-CREATE operation for the Basic Film Box SOP Class.
virtual OFCondition getOFString(OFString &stringValue, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
void RemoveProcessFromTable(int pid)
This function removes one particular item from the table which stores all subprocess information.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
DRTPrivateDataElementCharacteristicsSequence PrivateDataElementCharacteristicsSequence
PrivateDataElementCharacteristicsSequence (0008,0300) vr=SQ, vm=1, type=3.
Definition: drttreat.h:3024
a class representing the DICOM value representation 'Unsigned 64-bit Very Long' (UV)
Definition: dcvruv.h:35
Item & getCurrentItem()
get current item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual ~Item()
destructor
DcmUniqueIdentifier studyInstanceUID
study UID for stored print and hardcopy images of one print session
Definition: dvpsprt.h:294
DCMTK_LOG4CPLUS_EXPORT log4cplus::tstring toUpper(const log4cplus::tstring &s)
Returns s in upper case.
size_t getRecommendedDisplayCIELabValueList(const Uint16 *&colors)
Get Recommended Display CIELab Value List.
Item EmptyItem
empty default item
Definition: drtrss.h:315
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual void resetRules()
Resets rules to their original values.
DSRReferencedDateTimeList(const DSRReferencedDateTimeList &lst)
copy constructor
const OFString Identifier
context identifier (VR=CS, mandatory)
Definition: dsrctxgr.h:265
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
virtual OFCondition getRedPaletteColorLookupTableData(Uint16 *&value, unsigned long *count=NULL) const
get RedPaletteColorLookupTableData (0028,1201)
DRTChannelSourceSequence & operator=(const DRTChannelSourceSequence ©)
assigment operator
OFCondition getAmbientLightValue(double &value)
returns ambient light value for the display transformation.
IODAcquisitionContextModule()
Constructor.
const void * getOutputPlane(const int plane) const
render pixel data and return pointer to given plane (internal memory buffer).
Definition: dcmimage.h:471
static OFBool registered
flag indicating whether the encoder is already registered.
Definition: dcrleerg.h:70
OFCondition getPatientSupportAngleTolerance(Float64 &value, const unsigned long pos=0) const
get PatientSupportAngleTolerance (300a,004c)
const Item & getItem(const size_t num) const
get particular item in the sequence
@ ELM_UseValue
use given value
Definition: diutils.h:315
DcmXfer(const char *xferName_xferID)
constructor
DcmIntegerString ReferencedROINumber
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=2.
Definition: drtbads.h:256
virtual OFCondition setObservationDateTime(const OFString &observationDateTime, const OFBool check=OFTrue)
set observation date/time
CMR_SRNumericMeasurementValue(const CMR_SRNumericMeasurementValue &numericMeasurement)
copy constructor
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getScanSpotReordered(OFString &value, const signed long pos=0) const
get ScanSpotReordered (300a,0393)
OFBool isEmpty()
check if item is empty
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_NoPerFrameFG
No such per-frame functional group.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
const DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence() const
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtiontr.h:1281
virtual void resetRules()
Resets rules to their original values.
DRTExposureSequence & operator=(const DRTExposureSequence ©)
assigment operator
OFCondition setCodingSchemeURL(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeURL (0008,010e)
const DRTReferencedStudySequence & getReferencedStudySequence() const
get ReferencedStudySequence (0008,1110)
Definition: drtiontr.h:1713
virtual OFCondition getPatientWeight(Float64 &value, const unsigned long pos=0) const
get PatientWeight (0010,1030)
static Uint8 scanJpegDataForBitDepth(const Uint8 *data, const Uint32 fragmentLength)
scans the given block of JPEG data for a Start of Frame marker and returns the number of bits per pix...
virtual OFCondition setSmallestImagePixelValue(const Uint16 value, const unsigned long pos=0)
set SmallestImagePixelValue (0028,0106)
@ AP_DentalRadiograph
Dental Radiograph Interchange (STD-DEN-CD)
Definition: dcddirif.h:157
DcmCodecList(const DcmCodecList &)
private undefined copy constructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition setPatientBreedDescription(const OFString &value, const OFBool check=OFTrue)
set PatientBreedDescription (0010,2292)
Definition: jdhuff12.h:27
a class representing the DICOM value representation 'Signed Short' (SS)
Definition: dcvrss.h:35
This filter drops all logging events.
Definition: filter.h:149
OFCondition loadAssociationCfgFile(const OFString &assocFile)
Loads association configuration file.
ConcatenationInfo(IODComponent *parent=NULL)
Constructor.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtspcs.h:548
virtual ~IODAcquisitionContextModule()
Destructor.
virtual ~DSRPNameTreeNode()
destructor
OFBool isEmpty()
check if sequence is empty
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DCMTK_DCMNET_EXPORT OFGlobal< const char * > dcmTCPWrapperDaemonName
When compiled with WITH_TCPWRAPPER, DCMTK server processes may use the TCP wrapper library to enforce...
@ EJLSUC_default
Upon compression, assign new SOP instance UID if compression is lossy.
Definition: djlsutil.h:61
DcmDate TreatmentDate
TreatmentDate (3008,0250) vr=DA, vm=1, type=2.
Definition: drttreat.h:2924
virtual OFCondition getInstanceCreationDate(OFString &value, const signed long pos=0) const
get InstanceCreationDate (0008,0012)
DcmQuantHistogramItemList & item(const DcmQuantPixel &colorP)
Retrieves the specified item from the hash table.
Definition: diqthash.h:118
virtual OFBool isNested() const
check if this element is nested in a sequence of items, i.e. not a top-level or stand-alone element
DcmDateTime InstanceCoercionDateTime
InstanceCoercionDateTime (0008,0015) vr=DT, vm=1, type=3.
Definition: drtimage.h:5408
OFList< DVPSOverlay * > list_
the list maintained by this object
Definition: dvpsovl.h:141
MdfDatasetManager()
Constructor, initializes member-variables.
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid42.h:168
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
DcmCodeString PatientIdentityRemoved
PatientIdentityRemoved (0012,0062) vr=CS, vm=1, type=3.
Definition: drtstrct.h:2789
OFCondition(Item::* funcType)(type &, arg2) const
Type of the getter-function that is used for getting the value.
Definition: drmsrch.h:68
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setStudyDescription(const OFString &value, const OFBool check=OFTrue)
set StudyDescription (0008,1030)
virtual OFCondition getConsultingPhysicianName(OFString &value, const signed long pos=0) const
get ConsultingPhysicianName (0008,009c)
void createDimensionOrganizationData()
Go over Dimension Index Pointers and extract Dimension Organization UIDs for Dimension Organization S...
virtual OFBool isSignable() const
returns true if the current object may be included in a digital signature
virtual void compact()
remove the attribute value from memory if the attribute value can be loaded from file when needed aga...
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item EmptyItem
empty default item
Definition: drtas1.h:380
OFString configPath
string containing the path name of the config file as passed to the ctor.
Definition: dviface.h:1638
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFBool isEmpty()
check if item is empty
OFCommandLine * cmd
instance of command line class (for handling command line arguments)
Definition: wlcefs.h:92
DSRCodedEntryValue ValueQualifier
Numeric Value Qualifier (type 3)
Definition: dsrnumvl.h:543
DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence()
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drttreat.h:1503
int calculateJNDBoundaries()
calculate 'JNDMin' and 'JNDMax' for the given luminance/OD range
const DSRTreeNodeCursor< T > & getCursor() const
get cursor
Definition: dsrtncsr.h:820
void setVerbosePCMode(const OFBool mode)
Set whether to show presentation contexts in verbose or debug mode.
OFBool RequestSent
flag indicating whether the C-STORE request has been sent (OFTrue = sent)
Definition: dstorscu.h:431
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFString getName() const
Get name of module ("EnhancedUSSeriesModule")
const char * second
The second value in the range, e.g.
Definition: dcmatch.h:92
@ MuscleOfLowerLimb
(102292000,SCT,"Muscle of lower limb")
Definition: cid4031.h:160
@ IntravascularUltrasound
(IVUS,DCM,"Intravascular Ultrasound")
Definition: cid29.h:74
Item & getCurrentItem()
get current item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setPatientSex(const OFString &value, const OFBool check=OFTrue)
set PatientSex (0010,0040)
Definition: jchuff12.h:34
void printInteger(STD_NAMESPACE ostream &stream) const
Print the integer representation to the given stream.
OFCondition write(DcmItem &item)
write elements to sequence item
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setOriginator(const char *aetitle)
sets the name of the current printer.
virtual OFCondition read(DcmItem &item)
Read functional group from item, must contain the Plane Orientation Sequence.
static void initializeLibrary()
initializes the dcmsign library including the underlying OpenSSL library.
void remove(DcmDictEntry *entry)
Remove an element from the list.
OFList< MdfJob > * jobs
list of jobs to be executed
Definition: mdfconen.h:212
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid29.h:193
virtual OFCondition setConsultingPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ConsultingPhysicianName (0008,009c)
const Item & operator[](const size_t num) const
get particular item in the sequence
DicomImage * pHardcopyImage
pointer to the current hardcopy grayscale image (bitmap information only)
Definition: dviface.h:1625
DcmObject * getDicomObject() const
get current DICOM object (dataset)
Definition: didocu.h:109
OFPair(const K &f, const V &s)
construct a OFPair for the two given values
Definition: ofutil.h:339
OFBool testMatches(const OFTestTest *test, const OFString &str) const
Test if the test name matches the given name.
Definition: oftest.h:376
OFCondition getReferencedControlPointIndex(Sint32 &value, const unsigned long pos=0) const
get ReferencedControlPointIndex (300c,00f0)
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
DcmQueryRetrieveIndexDatabaseHandleFactory & operator=(const DcmQueryRetrieveIndexDatabaseHandleFactory &other)
private undefined assignment operator
static OFBool requiresPlanarConfiguration(const char *sopClassUID, EP_Interpretation photometricInterpretation)
examines if a given image requires color-by-plane planar configuration depending on SOP Class UID (DI...
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtdimcs.h:343
OFCondition getBlockType(OFString &value, const signed long pos=0) const
get BlockType (300a,00f8)
virtual OFBool isValid() const
check whether the current temporal coordinates value is valid.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence()
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtdose.h:2044
char * currentImageSOPClassUID
contains the SOP Class UID of the attached image
Definition: dvpstat.h:1239
OFStack(const OFStack< T > &x)
copy constructor
Definition: ofstack.h:210
DcmDecimalString RTImageSID
RTImageSID (3002,0026) vr=DS, vm=1, type=3.
Definition: drtpvis.h:322
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
unsigned long PresentationContextCounter
presentation context counter
Definition: dstorscu.h:516
virtual DcmObject * clone() const
clone method
Definition: dcvrsl.h:87
This class encapsulates data structures and operations for a console application that can act as a ba...
Definition: wlcefs.h:37
virtual OFCondition setRescaleSlope(const OFString &value, const OFBool check=OFTrue)
set RescaleSlope (0028,1053)
OFCondition read(DcmItem &dset)
reads an series reference from a DICOM dataset.
OFBool createInstanceUID
create new Instance UID during compression/decompression?
Definition: dcrlecp.h:128
DcmLongString SoftwareVersions
SoftwareVersions (0018,1020) vr=LO, vm=1-n, type=3.
Definition: drtces.h:357
virtual OFCondition getOverlayBitsAllocated(Uint16 &value, const unsigned long pos=0) const
get OverlayBitsAllocated (60xx,0100)
DcmListNode(DcmObject *obj)
constructor
DRTReferencedMeasuredDoseReferenceSequence ReferencedMeasuredDoseReferenceSequence
ReferencedMeasuredDoseReferenceSequence (3008,0080) vr=SQ, vm=1, type=3.
Definition: drttsibs.h:1052
OFCondition getPatientSupportID(OFString &value, const signed long pos=0) const
get PatientSupportID (300a,0352)
double getWindowCenter()
gets the Window Center of this VOI Window.
Definition: dvpsvw.h:81
int Pos
position in the index file
Definition: dvcache.h:103
OFvariant(OFvariant &&rhs)
Move constructs a variant by moving the value rhs holds.
void clear()
clear all internal member variables
OFBool hasMeasurement() const
check whether the 'Measurement' content item (TID 1419 - Row 5) is present.
const DRTDigitalSignaturesSequence & getDigitalSignaturesSequence() const
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtdose.h:2074
virtual OFCondition ConnectToDataSource()=0
Connects to the data source.
SiCreatorProfile()
default constructor
Definition: sicreapr.h:40
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcdrs.h:176
virtual OFCondition setClinicalTrialSubjectID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectID (0012,0040)
DcmFileFormat * diff_image
difference image in DICOM format
Definition: dcmicmph.h:259
const Item & getCurrentItem() const
get current item in the sequence
OFCondition read(DcmItem &dset)
reads an image reference from a DICOM dataset.
OFCondition deleteAnnotation(size_t idx)
deletes one of the registered annotations.
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition saveStructuredReport(const char *filename, OFBool explicitVR=OFTrue)
saves the current structured report in a file with the given path and filename.
const DRTReferencedDoseSequence & getReferencedDoseSequence() const
get ReferencedDoseSequence (300c,0080)
Definition: drtionpl.h:1697
@ CS_Latin2
ISO-IR 101: Latin alphabet No. 2.
Definition: dsrtypes.h:797
virtual DcmRepresentationParameter * clone() const =0
this methods creates a copy of type DcmRepresentationParameter * it must be overwritten in every subc...
OFBool empty() const
check whether this OFVector is empty.
Definition: ofvector.h:196
OFString & append(const char *s, size_t n)
constructs a temporary string from the input and appends it to the current string.
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getInstanceNumber(Sint32 &value, const unsigned int pos=0)
Get Instance Number.
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CannotProcessIncludedTemplates
error: cannot process document tree with included templates
virtual ~DRTAssigningJurisdictionCodeSequence()
destructor
DcmDecimalString MeasuredLateralDimension
MeasuredLateralDimension (0010,1024) vr=DS, vm=1, type=3.
Definition: drtiontr.h:2958
virtual OFCondition getInstanceCoercionDateTime(OFString &value, const signed long pos=0) const
get InstanceCoercionDateTime (0008,0015)
const void * getOutputData(const unsigned long frame, const int bits, const int planar=0)
get pixel data with specified format.
virtual OFBool canWriteXfer(const E_TransferSyntax newXfer, const E_TransferSyntax oldXfer)
check if this DICOM object can be encoded in the given transfer syntax.
OFCondition write(DcmItem &dataset) const
write list of graphic data
SiCertificate & operator=(SiCertificate &arg)
private undefined copy assignment operator
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print temporal coordinates.
@ IntraArterialRoute
(58100008,SCT,"Intra-arterial route")
Definition: cid11.h:46
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
Uint16 jpls_reset_
JPEG-LS parameter "RESET", i.e., value at which the counters A, B, and N are halved....
Definition: djcparam.h:245
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
OFString opt_ofname
output file name
Definition: dcencdoc.h:227
OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrbs8.h:266
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
virtual Uint16 getDoseImageHeight() const
get the height in pixel of the dose image
~SeriesStruct()
destructor
Item & getCurrentItem()
get current item in the sequence
OFCondition setLeafJawPositions(const OFString &value, const OFBool check=OFTrue)
set LeafJawPositions (300a,011c)
DUL_BLOCKOPTIONS getConnectionBlockingMode() const
Returns whether receiving of TCP/IP connection requests is done in blocking or unblocking mode.
OFCondition getROIDescription(OFString &value, const signed long pos=0) const
get ROIDescription (3006,0028)
DSRContentItem()
default constructor (protected)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const Item & getCurrentItem() const
get current item in the sequence
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
virtual OFCondition setSpatialResolution(const OFString &value, const OFBool check=OFTrue)
set SpatialResolution (0018,1050)
Hierarchy & hierarchy
Loggers need to know what Hierarchy they are in.
Definition: logimpl.h:201
DSRListOfItems(const DSRListOfItems< T > &lst)
copy constructor
Definition: dsrtlist.h:67
OFCondition gotoItem(const OFString &sopClassUID, const OFString &instanceUID)
select the specified item as the current one
DRTAdditionalDrugSequence AdditionalDrugSequence
AdditionalDrugSequence (0018,002a) vr=SQ, vm=1, type=3.
Definition: drtcbars.h:340
OFCondition gotoNextItem()
goto next item in the sequence
OFBool getTargetPrintSCPOmitSOPClassUIDFromCreateResponse(const char *targetID)
returns the OMITSOPCLASSUIDFROMCREATERESPONSE entry for the printer with the given target ID from the...
STD_NAMESPACE ostream * setCout(STD_NAMESPACE ostream *newCout=NULL)
exchanges the cout stream object.
virtual OFCondition getSegmentLabel(OFString &value, const signed long pos=0)
Get Segment Label.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
DVPSCurve_PList currentImageCurveList
list of curves of the currently attached image
Definition: dvpstat.h:1275
Interface class for RTROIIdentificationCodeSequence (3006,0086)
Definition: drtrics.h:30
DRTIonWedgePositionSequence & getIonWedgePositionSequence()
get IonWedgePositionSequence (300a,03ac)
Definition: drticpds.h:487
OFCondition addDerivationParameter(const DSRCodedEntryValue &conceptName, const CMR_SRNumericMeasurementValue &numericValue, const OFBool check=OFTrue)
add a 'Derivation Parameter' content item (TID 300 - Row 9).
virtual OFBool isValid() const
check whether the current internal state is valid.
OFCondition write(DcmItem &item)
write elements to sequence item
void clear()
clear all internal member variables
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmCodeString GantryPitchRotationDirection
GantryPitchRotationDirection (300a,014c) vr=CS, vm=1, type=2C.
Definition: drticps.h:779
virtual OFCondition setStereoPairsPresent(const OFString &value, const OFBool check=OFTrue)
set StereoPairsPresent (0022,0028)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item EmptyItem
empty default item
Definition: drtpcxs.h:565
const DRTReferencedInstanceSequence & getReferencedInstanceSequence() const
get ReferencedInstanceSequence (0008,114a)
Definition: drtstrct.h:1620
virtual OFCondition getMeasuredLateralDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredLateralDimension (0010,1024)
size_t find(const char *pattern, size_t pos=0) const
creates a pattern string from the input and determines the earliest occurrence of the pattern in the ...
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getPatientSupportAngle(Float64 &value, const unsigned long pos=0) const
get PatientSupportAngle (300a,0122)
DcmPersonName OperatorsName
OperatorsName (0008,1070) vr=PN, vm=1-n, type=2.
Definition: drttreat.h:2854
@ DCMSCP_CALLING_AE_TITLE_NOT_RECOGNIZED
Refusing association because of unaccepted calling AE title.
Definition: scp.h:87
StudiesOtherInstancesItem(IODComponent *parent=NULL)
Constructor.
static const size_t XF_addCommentsForIncludedTemplate
write: add comments with details at beginning/end of included template (might be useful for debugging...
Definition: dsrtypes.h:397
Logger getParent() const
Used to retrieve the parent of this Logger in the Logger tree.
OFCondition gotoFirstItem()
goto first item in the sequence
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtcncs.h:345
unsigned long getWindowCount() const
get number of VOI windows (stored in image file).
Definition: dcmimage.h:724
virtual OFCondition read(DcmInputStream &inStream, const E_TransferSyntax ixfer, const E_GrpLenEncoding glenc=EGL_noChange, const Uint32 maxReadLength=DCM_MaxReadLength)
This function reads the data value of an attribute which is captured in the input stream and captures...
void clear()
clear all internal member variables
virtual OFCondition getReviewTime(OFString &value, const signed long pos=0) const
get ReviewTime (300e,0005)
OFBool operator!=(const DcmHashDictIterator &x) const
comparison non-equality
Definition: dchashdi.h:148
virtual OFCondition getPatientWeight(Float64 &value, const unsigned long pos=0) const
get PatientWeight (0010,1030)
DRTReferencedStudySequence ReferencedStudySequence
ReferencedStudySequence (0008,1110) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3010
virtual OFCondition getSamplesPerPixel(Uint16 &value, const unsigned long pos=0) const
get SamplesPerPixel (0028,0002)
const char * getPrinterPriority()
gets the (optional) print priority.
@ AP_GeneralPurposeBDMPEG4HPatLV41BD
General Purpose BD Interchange with MPEG-4 AVC/H.264 BD-Compatible HiP@Level4.1 (STD-GEN-BD-MPEG4-HPL...
Definition: dcddirif.h:135
DcmLongString ROIName
ROIName (3006,0026) vr=LO, vm=1, type=2.
Definition: drtssrs.h:237
OFCondition write(DcmItem &item)
write elements to sequence item
Item class.
Definition: drtcsrs.h:36
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const Item & getCurrentItem() const
get current item in the sequence
void clearMap()
Deletes internal JPEG file map and frees memory.
OFCondition getNumberOfBeams(Sint32 &value, const unsigned long pos=0) const
get NumberOfBeams (300a,0080)
virtual OFCondition setWindowCenter(const OFString &value, const OFBool check=OFTrue)
set WindowCenter (0028,1050)
DcmPersonName PatientName
PatientName (0010,0010) vr=PN, vm=1, type=2.
Definition: drtdose.h:4078
DRTOperatorIdentificationSequence & getOperatorIdentificationSequence()
get OperatorIdentificationSequence (0008,1072)
Definition: drtdose.h:2236
DRTModalityLUTSequence & getModalityLUTSequence()
get ModalityLUTSequence (0028,3000)
Definition: drtdose.h:2224
char * privateCreator
private creator code, remains NULL unless setPrivateCreator() is called
Definition: dctag.h:213
DcmFloatingPointDouble FloatingPointValue
Floating Point Value (VR=FD, type 1C)
Definition: dsrnumvl.h:545
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item EmptyItem
empty default item
Definition: drtcsrs.h:315
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool isEmpty()
check if item is empty
unsigned long FrameStart
first frame to be processed
Definition: didocu.h:407
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags=0)
write current SR document in XML format.
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
DcmLongString & getDescription()
return reference to overlay description
Definition: dvpsov.h:137
DiMono2Image(const DiMonoImage *image, const unsigned long fstart, const unsigned long fcount)
constructor, copy
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
OFCondition read(DcmItem &item)
read elements from sequence item
DcmDate SeriesDate
SeriesDate (0008,0021) vr=DA, vm=1, type=3.
Definition: drtplan.h:3170
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtrrpcs.h:339
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
void clear()
clear all internal member variables
DcmLongString AuthorizationEquipmentCertificationNumber
AuthorizationEquipmentCertificationNumber (0100,0426) vr=LO, vm=1, type=3.
Definition: drtimage.h:5435
size_t roiTop
Region of Interest upper corner for for VOI transform of monochrome images, mode 7.
Definition: djcparam.h:396
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmCodeString LongitudinalTemporalInformationModified
LongitudinalTemporalInformationModified (0028,0303) vr=CS, vm=1, type=3.
Definition: drtplan.h:3399
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtspgis.h:325
Item EmptyItem
empty default item
Definition: drtrps.h:315
DVPSGraphicObject_PList()
default constructor
virtual void notifyRECEIVEProgress(const unsigned long byteCount)
This function is called while receiving DIMSE messages, i.e. on each PDV of a dataset.
const DJCodecParameter * cparam
codec parameters
Definition: djdijg8.h:109
int initOptimizationLUT(T3 *&lut, const unsigned long ocnt)
initialize an optimization LUT if the optimization criteria is fulfilled
Definition: dimoopxt.h:297
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getPatientIdentityRemoved(OFString &value, const signed long pos=0) const
get PatientIdentityRemoved (0012,0062)
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drtdose.h:4344
OFCondition gotoNextItem()
goto next item in the sequence
DcmIntegerString NumberOfBoli
NumberOfBoli (300a,00ed) vr=IS, vm=1, type=1.
Definition: drtibs.h:1007
DRTPrivateDataElementCharacteristicsSequence PrivateDataElementCharacteristicsSequence
PrivateDataElementCharacteristicsSequence (0008,0300) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3311
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
RWVMItem(IODComponent *parent=NULL)
Constructor.
virtual OFCondition getPatientWeight(Float64 &value, const unsigned long pos=0) const
get PatientWeight (0010,1030)
virtual OFCondition read(DcmItem *dataset)
Load an RT Image from a given dataset.
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
Item & getItem(const size_t num)
get particular item in the sequence
DiCIELABFunction(const Uint16 *ddl_tab, const double *val_tab, const unsigned long count, const Uint16 max=255, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0)
constructor, use given array of DDL and luminance values.
E_ValueStatus getValue(OFCmdUnsignedInt &value)
returns next argument as an unsigned integer value
virtual OFCondition getServiceEpisodeID(OFString &value, const signed long pos=0) const
get ServiceEpisodeID (0038,0060)
OFCondition getWedgeID(OFString &value, const signed long pos=0) const
get WedgeID (300a,00d4)
virtual OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
virtual OFCondition getLastMenstrualDate(OFString &value, const signed long pos=0) const
get LastMenstrualDate (0010,21d0)
OFStackLink(const OFStackLink< T > &)
private undefined copy constructor
OFCondition getTableTopLateralPosition(OFString &value, const signed long pos=0) const
get TableTopLateralPosition (300a,012a)
E_TransferSyntax
enumeration of all DICOM transfer syntaxes known to the toolkit
Definition: dcxfer.h:37
CID7021_MeasurementReportDocumentTitles(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
OFCondition gotoNextItem()
goto next item in the sequence
OFBool imageHasAdditionalSettings(size_t idx)
checks if one of the registered images has additional settings that are not default values on the ima...
virtual OFCondition setStudyDate(const OFString &value, const OFBool checkValue=OFTrue)
Set Study Date.
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
Item & operator=(const Item ©)
assigment operator
OFCondition getDigitalSignatureDateTime(OFString &value, const signed long pos=0) const
get DigitalSignatureDateTime (0400,0105)
OFString m_assocConfigProfile
Profile in configuration file that should be used (optional)
Definition: scu.h:995
const Item & getCurrentItem() const
get current item in the sequence
DRTPurposeOfReferenceCodeSequence PurposeOfReferenceCodeSequence
PurposeOfReferenceCodeSequence (0040,a170) vr=SQ, vm=1, type=3.
Definition: drtsis.h:210
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual ~DVPSVOILUT_PList()
destructor
const char * getDumpToolName()
returns the filename (path) of the application used for dumping DICOM objects, as configured in secti...
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
DcmPrivateTagCacheEntry(const DcmTagKey &tk, const char *pc)
constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getPhysiciansOfRecord(OFString &value, const signed long pos=0) const
get PhysiciansOfRecord (0008,1048)
virtual OFCondition setTimezoneOffsetFromUTC(const OFString &value, const OFBool check=OFTrue)
set TimezoneOffsetFromUTC (0008,0201)
Uint32 getCount() const
gets number of cache entries
Definition: dvcache.h:483
unsigned long hash() const
this method computes an unsigned long hash value for the current pixel.
Definition: diqtpix.h:89
DcmIntegerString NumberOfBoli
NumberOfBoli (300a,00ed) vr=IS, vm=1, type=1.
Definition: drttsibs.h:1004
DRTContentItemModifierSequence(const DRTContentItemModifierSequence ©)
copy constructor
EI_Status getStatus() const
get status of the image object
Definition: diimage.h:99
OFString calledApplicationEntityTitle
called AE title
Definition: wlds.h:60
DcmShortString RangeModulatorID
RangeModulatorID (300a,0346) vr=SH, vm=1, type=1.
Definition: drtrms.h:199
DRTPurposeOfReferenceCodeSequence & getPurposeOfReferenceCodeSequence()
get PurposeOfReferenceCodeSequence (0040,a170)
Definition: drtrims.h:135
DcmPrivateTagCache & operator=(const DcmPrivateTagCache &)
private undefined copy assignment operator
OFCondition getAlternateBeamDoseType(OFString &value, const signed long pos=0) const
get AlternateBeamDoseType (300a,0092)
OFCondition getTreatmentDeliveryType(OFString &value, const signed long pos=0) const
get TreatmentDeliveryType (300a,00ce)
const DRTReferencedSeriesSequence & getReferencedSeriesSequence() const
get ReferencedSeriesSequence (0008,1115)
Definition: drtimage.h:2980
Uint32 m_maxReceivePDULength
Maximum PDU size (default: 16384 bytes)
Definition: scu.h:1026
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrlsds.h:334
size_t getNumberOfItems() const
get number of items in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getUint16(Uint16 &wordVal, const unsigned long pos=0)
get particular 16 bit value.
DRTReasonForRequestedProcedureCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
@ ESP_Identity
shape IDENTITY
Definition: diutils.h:290
virtual void clear()
clear internal member variables
const DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence() const
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtstrct.h:1500
OFMap< DcmTagKey, IODRule * >::const_iterator const_iterator
const iterator type to iterate over rule set
Definition: iodrules.h:55
virtual DcmObject * clone() const
clone method
Definition: dcovlay.h:71
Item EmptyItem
empty default item
Definition: drtrdrs6.h:329
OFCondition setOrganAtRiskLimitDose(const OFString &value, const OFBool check=OFTrue)
set OrganAtRiskLimitDose (300a,002b)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition gotoFirstItem()
goto first item in the sequence
DcmOverlayData overlayData
VR=OW, VM=1, Type=1C.
Definition: dvpsov.h:159
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtdimcs.h:353
DcmItem * dataset_
Dataset that image_ is using, or NULL if it uses format_.
Definition: drmimage.h:269
void getParamString(OFString ¶mStr) const
returns description of all parameters as a C++ string (multiple text lines).
@ Austria
(AT,ISO3166_1,"Austria")
Definition: cid5001.h:43
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtrscs.h:329
Item & operator=(const Item ©)
assigment operator
void removeSeriesReference(const char *seriesUID)
removes series reference.
@ R2
(126394,DCM,"R2"), included from CID 7180
Definition: cid7469.h:248
DcmCodeString SourceApplicatorType
SourceApplicatorType (300a,0292) vr=CS, vm=1, type=1C.
Definition: drtchs.h:671
Internal structure defining the list items.
Definition: dvcache.h:410
@ EPI_HSV
HSV color (retired)
Definition: diutils.h:129
virtual void transferInit()
initialize the transfer state of this object.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtlsds6.h:347
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtgas.h:382
@ DT_AcquisitionContextSR
DICOM IOD: Acquisition Context SR.
Definition: dsrtypes.h:537
@ Heart
(80891009,SCT,"Heart")
Definition: cid4031.h:122
OFCondition getCumulativeDoseReferenceCoefficient(OFString &value, const signed long pos=0) const
get CumulativeDoseReferenceCoefficient (300a,010c)
const char * addPresentationLUT(DVPSPresentationLUT *newLUT, OFBool inversePLUT)
adds a Presentation LUT to the list of managed LUTs.
int getWindow(double ¢er, double &width)
get current window center and width values
OFBool operator!=(const DSRStringValue &stringValue) const
comparison operator "not equal".
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getRTPlanGeometry(OFString &value, const signed long pos=0) const
get RTPlanGeometry (300a,000c)
DVPSSoftcopyVOI_PList()
default constructor
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFfloat_denorm_style
Enumeration constants of type OFfloat_denorm_style indicate support of subnormal values by floating-p...
Definition: oflimits.h:112
type definitions, constants and classes for the dcmtract module
OFString StorageMediaFileSetID
Storage Media File Set ID (VR=SH, VM=1, type 3)
Definition: dsrsoprf.h:443
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
double getDisplayedAreaPresentationPixelAspectRatio()
gets the presentation pixel aspect ratio for for the current image and frame.
OFCondition loadReferencedImage(size_t idx, OFBool changeStatus=OFFalse)
loads an image which referenced by the current presentation state and needs to be contained in the da...
unsigned char DcmQuantComponent
the basic type for pixel color components
Definition: diqttype.h:32
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
unsigned long getNumberOfCorruptSignatures(DVPSObjectType objtype) const
returns number of corrupt signatures for given object type.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
@ SpatialDisplacementZComponent
(110824,DCM,"Spatial Displacement Z Component"), included from CID 7180
Definition: cid7469.h:164
OFCondition getReferencedRangeShifterNumber(OFString &value, const signed long pos=0) const
get ReferencedRangeShifterNumber (300c,0100)
void clear()
clear all internal member variables
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtblds1.h:182
DVPSGraphicObject_PList & operator=(const DVPSGraphicObject_PList &)
private undefined assignment operator
void unlockCerr()
releases the lock on the cerr stream.
Definition: ofconsol.h:156
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
OFCondition gotoFirstItem()
goto first item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
DcmTLSTransportLayer & operator=(const DcmTLSTransportLayer &)
private undefined assignment operator
OFListIterator(Item *) CurrentItem
currently selected item
DVPSIPCClient(const DVPSIPCClient ©)
private undefined copy constructor
DRTReferencedFractionGroupSequence(const DRTReferencedFractionGroupSequence ©)
copy constructor
OFCondition getFinalCumulativeMetersetWeight(OFString &value, const signed long pos=0) const
get FinalCumulativeMetersetWeight (300a,010e)
OFCondition getReferencedFractionGroupNumber(OFString &value, const signed long pos=0) const
get ReferencedFractionGroupNumber (300c,0022)
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
OFCondition getFloatingPointValue(Float64 &value, const unsigned long pos=0) const
get FloatingPointValue (0040,a161)
DSRCodedEntryValue PurposeOfReference
Purpose of Reference Code Sequence (VR=SQ, type 3).
Definition: dsrsoprf.h:350
@ EMT_SHA512
SHA-512.
Definition: sitypes.h:109
SiSHA512()
default constructor
Interface class for RecordedRangeShifterSequence (3008,00f2)
Definition: drtrrshs.h:28
virtual DcmEVR ident() const
get element type identifier
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item & getItem(const size_t num)
get particular item in the sequence
Uint16 getPeerPort() const
Returns the SCP's (peer's) TCP/IP port configured.
E_TransferSyntax Xfer
the transfer syntax in which the compressed pixel data maintained by this object is encoded.
Definition: dcpixseq.h:273
virtual OFCondition finalize(unsigned char *result)
finalizes the MAC and writes it to the given output array, which must be at least getSize() bytes lar...
virtual OFCondition read(DcmItem &item, const OFBool clearOldData=OFTrue)
Read data from given item.
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmDecimalString(const DcmTag &tag, const Uint32 len=0)
constructor.
@ ScrubNurse
(415506007,SCT,"Scrub nurse")
Definition: cid7452.h:84
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
static long getProcessID()
Determines the identification of the running process.
virtual OFCondition renderHTML(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, size_t &annexNumber, const size_t flags) const
render numeric measurement value in HTML/XHTML format
@ MilliTesla
(mT,UCUM,"milliTesla")
Definition: cid7181.h:158
OFCondition checkModifiers(const OFBool quiet=OFFalse)
Check whether the modifier codes are ok.
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition gotoFirstItem()
goto first item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
virtual OFCondition getImagePositionPatient(OFString &value, const signed long pos=0) const
get ImagePositionPatient (0020,0032)
Uint32 getMinPrintResolutionY()
returns the minimum vertical bitmap resolution for print, from GENERAL/PRINT/MINPRINTRESOLUTION in th...
int isMonochrome() const
check whether image is monochrome or not.
Definition: dcmimage.h:492
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Uint32 getMessageType()
returns the message type
Definition: dvpsmsg.h:60
const T & value() const
return value of key-value pair
Definition: dcmsmap.h:74
OFCharacterEncoding DefaultEncodingConverter
character encoding converter
Definition: dcspchrs.h:303
static const char * getTLSCipherSuiteName(size_t idx)
returns a ciphersuite name in RFC 2246 (TLS) form
virtual OFCondition write(DcmItem &dataset, DcmStack *markedItems=NULL)
write current SR document tree to DICOM dataset.
virtual DSRDocumentTreeNode * cloneCurrentTreeNode() const
clone the current tree node.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const DRTBeamLimitingDevicePositionSequence & getBeamLimitingDevicePositionSequence() const
get BeamLimitingDevicePositionSequence (300a,011a)
Definition: drticpds.h:469
virtual OFCondition getSoftwareVersions(OFString &value, const signed long pos=0) const
get SoftwareVersions (0018,1020)
virtual OFCondition getFrameTimeVector(OFVector< Float64 > &value) const
get FrameTimeVector (0018,1065)
void setImageFile(const OFString &filename)
Sets the input image file to read.
Definition: i2dimgs.h:100
virtual OFCondition completeDocument(const OFString &description, const OFBool check=OFTrue)
complete the current document and set a completion description.
E_RelationshipType
SR relationship types.
Definition: dsrtypes.h:553
DcmLongString PatientID
PatientID (0010,0020) vr=LO, vm=1, type=2.
Definition: drttreat.h:2643
virtual OFCondition setSoftwareVersions(const OFString &value, const OFBool checkValue=OFTrue)
Set Software Version(s)
DcmDate LastMenstrualDate
LastMenstrualDate (0010,21d0) vr=DA, vm=1, type=3.
Definition: drtstrct.h:2890
DcmPersonName ReferringPhysicianName
ReferringPhysicianName (0008,0090) vr=PN, vm=1, type=2.
Definition: drtplan.h:3067
OFCondition setMaterialID(const OFString &value, const OFBool check=OFTrue)
set MaterialID (300a,00e1)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmDecimalString LeafJawPositions
LeafJawPositions (300a,011c) vr=DS, vm=2-2n, type=1.
Definition: drtblds6.h:212
virtual OFCondition getContrastBolusTotalDose(OFString &value, const signed long pos=0) const
get ContrastBolusTotalDose (0018,1044)
DcmSigned64bitVeryLong(const DcmTag &tag, const Uint32 len)
constructor.
DcmUnlimitedText StrainAdditionalInformation
StrainAdditionalInformation (0010,0218) vr=UT, vm=1, type=3.
Definition: drtionpl.h:2932
void Init(const DiDocument *docu, DcmItem *item, const DcmTagKey &descriptor, const DcmTagKey &data, const DcmTagKey &explanation, const EL_BitsPerTableEntry descripMode=ELM_UseValue, EI_Status *status=NULL)
initialize lookup table
base class for output streams.
Definition: dcostrma.h:113
OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags=0, const char pairSeparator='/', const char itemSeparator=',') const
print list of graphic data.
@ Diaphanography
(DG,DCM,"Diaphanography")
Definition: cid29.h:56
OFCondition setPersonName(const OFString &value, const OFBool check=OFTrue)
set PersonName (0040,a123)
DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence()
get RequestingServiceCodeSequence (0032,1034)
Definition: drtplan.h:1868
size_t DetermineMatchingRecords(DcmDataset *searchMask)
This function determines the records from the Worklist files that match the given search mask and ret...
virtual ~SiSecurityProfile()
destructor
Definition: sisprof.h:51
DRTRecordedRangeModulatorSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition read(DcmItem &dataset, const size_t flags)
read list of items from the coding scheme identification sequence
Item & operator=(const Item ©)
assigment operator
DcmTime TimeOfLastCalibration
TimeOfLastCalibration (0018,1201) vr=TM, vm=1-n, type=3.
Definition: drttreat.h:2914
DcmCodeString ContentQualification
ContentQualification (0018,9004) vr=CS, vm=1, type=3.
Definition: drtstrct.h:3127
XMLAttribute * updateAttribute_WOSD(XMLAttribute *newAttribute, XMLAttribute *oldAttribute)
if the attribute to update is missing, a new one will be added
DcmOtherByteOtherWord(const DcmTag &tag)
constructor.
DcmEncapsulatedDocument()
Constructor.
OFBool isEmpty()
check if sequence is empty
~OFCharacterEncoding()
destructor
virtual ~Item()
destructor
DSRNumericMeasurementValue(const DSRNumericMeasurementValue &numericMeasurement)
copy constructor
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
OFCondition gotoNextItem()
goto next item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
DCMTK_DCMRT_EXPORT const OFConditionConst RT_EC_InvalidValue
error: a value is invalid according to the standard
const DSRCodedEntryValue & getNumericValueQualifier() const
get numeric value qualifier (optional)
Definition: dsrnumvl.h:251
virtual OFCondition getClinicalTrialTimePointDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointDescription (0012,0051)
DIC_US nRemaining
number of remaining sub-operations
Definition: dcmqrcbg.h:152
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtporcs.h:349
const DRTContributingEquipmentSequence & getContributingEquipmentSequence() const
get ContributingEquipmentSequence (0018,a001)
Definition: drtplan.h:1370
virtual void notifyAssociationRequest(const T_ASC_Parameters ¶ms, DcmSCPActionType &desiredAction)
Overwrite this function to be notified about an incoming association request.
@ ERM_autoDetect
auto detect: fileformat or dataset
Definition: dctypes.h:146
Item(const Item ©)
copy constructor
DcmCodeString PrimaryDosimeterUnit
PrimaryDosimeterUnit (300a,00b3) vr=CS, vm=1, type=3.
Definition: drtbs.h:769
virtual OFCondition setStudyDate(const OFString &value, const OFBool check=OFTrue)
set StudyDate (0008,0020)
DcmOtherByteOtherWord GreenPaletteColorLookupTableData
GreenPaletteColorLookupTableData (0028,1202) vr=OW, vm=1, type=1C.
Definition: drtimage.h:5168
virtual OFString inputFormat() const =0
Returns identifier for the image input format the plugin imports.
Item & getItem(const size_t num)
get particular item in the sequence
virtual ~DRTContourImageSequence()
destructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtsds.h:382
DRTReferencedImageSequence & operator=(const DRTReferencedImageSequence ©)
assigment operator
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtics.h:351
LogLevel getLogLevel() const
LogLevel of logging event.
Definition: logevent.h:121
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setSoftwareVersions(const OFString &value, const OFBool check=OFTrue)
set SoftwareVersions (0018,1020)
virtual OFCondition getServiceEpisodeDescription(OFString &value, const signed long pos=0) const
get ServiceEpisodeDescription (0038,0062)
virtual OFCondition setRescaleIntercept(const OFString &value, const OFBool check=OFTrue)
set RescaleIntercept (0028,1052)
PixelType pixel_type
Binary pixel type.
Definition: dpmparametricmapiod.h:45
DcmLongString RequestedProcedureDescription
RequestedProcedureDescription (0032,1060) vr=LO, vm=1, type=3.
Definition: drtras.h:279
@ DCMSCP_CANNOT_FORK
Forking a new SCP process failed.
Definition: scp.h:79
void getDataUint8(void *buffer, DiDisplayFunction *disp, const int samples, const unsigned long frame, const int bits, const Uint32 low, const Uint32 high)
get pixel data with specified format for Uint8 input (helper function).
OFCondition getPhotometricInterpretation(OFString &value, const signed long pos=0)
Get Photometric Interpretation.
Definition: modimagepixelvariant.h:145
DRTRTROIIdentificationCodeSequence & operator=(const DRTRTROIIdentificationCodeSequence ©)
assigment operator
virtual OFCondition setStationName(const OFString &value, const OFBool check=OFTrue)
set StationName (0008,1010)
@ PVS_Invalid
argument contains invalid char(s)
Definition: ofcmdln.h:197
Item & getCurrentItem()
get current item in the sequence
DcmThreadSCP & operator=(const DcmThreadSCP &src)
Private undefined assignment operator.
virtual OFCondition setStudyTime(const OFString &value, const OFBool check=OFTrue)
set StudyTime (0008,0030)
OFCondition getLossyComprInfo(OFBool &srcEncodingLossy, OFString &srcLossyComprMethod) const
After reading of pixel data, this function can be used for getting information about lossy compressio...
OFCondition getIssuerOfPatientID(OFString &value, const signed long pos=0) const
get IssuerOfPatientID (0010,0021)
virtual OFCondition setPatientBirthTime(const OFString &value, const OFBool check=OFTrue)
set PatientBirthTime (0010,0032)
virtual OFCondition setStudyTime(const OFString &value, const OFBool check=OFTrue)
set StudyTime (0008,0030)
virtual OFCondition setBrachyTreatmentTechnique(const OFString &value, const OFBool check=OFTrue)
set BrachyTreatmentTechnique (300a,0200)
DVPSStoredPrint & getPrintHandler()
returns a reference to the print handler.
Definition: dviface.h:259
DcmCodeString ApplicatorType
ApplicatorType (300a,0109) vr=CS, vm=1, type=1.
Definition: drtas7.h:164
virtual OFCondition setImageType(const OFString &value, const OFBool check=OFTrue)
set ImageType (0008,0008)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
const char * fileName
file name under which the incoming image should be stored
Definition: dcmqrcbs.h:123
virtual ~Item()
destructor
OFCondition read(DcmItem &item)
read elements from sequence item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtas7.h:155
void findPresentationContext(const T_ASC_PresentationContextID presID, OFString &abstractSyntax, OFString &transferSyntax)
After negotiation association, this call returns the presentation context belonging to the given pres...
virtual ~I2DOutputPlugSC()
Virtual Destructor, clean up memory.
E_StringMode fStringMode
current representation of the string value
Definition: dcbytstr.h:460
@ TCM_SHA1
Secure Hash Algorithm SHA-1.
Definition: tlsciphr.h:206
OFCondition getTargetMinimumDose(OFString &value, const signed long pos=0) const
get TargetMinimumDose (300a,0025)
OFCondition setChannelLength(const OFString &value, const OFBool check=OFTrue)
set ChannelLength (300a,0284)
DcmShortString MaterialID
MaterialID (300a,00e1) vr=SH, vm=1, type=2.
Definition: drtbl5.h:345
double getPrintBitmapPixelAspectRatio()
gets the presentation pixel aspect ratio for the print bitmap.
QRResponse(const QRResponse &other)
Private undefined copy constructor.
virtual OFBool matches(const OFString &key, const OFString &candidate, const OFBool enableWildCardMatching=OFTrue) const
@ Registrar
(158971006,SCT,"Registrar")
Definition: cid7452.h:74
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_VOI_LUT_OBOW
Illegal VOI LUT Sequence element with OB or OW Value Representation and explicit length encountered.
DcmCodeString TypeOfPatientID
TypeOfPatientID (0010,0022) vr=CS, vm=1, type=1.
Definition: drtopis.h:165
virtual OFCondition getSpatialResolution(OFString &value, const signed long pos=0) const
get SpatialResolution (0018,1050)
virtual OFCondition getTissueHeterogeneityCorrection(OFString &value, const signed long pos=0) const
get TissueHeterogeneityCorrection (3004,0014)
OFCondition getPreviewImageWidthHeight(unsigned long &width, unsigned long &height)
gets current width and height of the preview image.
void getROI(size_t &left_pos, size_t &top_pos, size_t &width, size_t &height) const
returns ROI coordinates for VOI mode 7
Definition: djcparam.h:224
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_UndefinedLengthOBOW
Illegal element with OB or OW Value Representation and undefined length encountered.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTReferencedDoseSequence & operator=(const DRTReferencedDoseSequence ©)
assigment operator
DcmLongString LUTExplanation
LUTExplanation (0028,3003) vr=LO, vm=1, type=3.
Definition: drtmls.h:162
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtads.h:327
DRTUDISequence & getUDISequence()
get UDISequence (0018,100a)
Definition: drtstrct.h:1818
DcmLongString ClinicalTrialProtocolEthicsCommitteeApprovalNumber
ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082) vr=LO, vm=1, type=3.
Definition: drtdose.h:4169
virtual OFCondition setAcquisitionTime(const OFString &value, const OFBool checkValue=OFTrue)
Set Acquisition Time.
OFCondition read(DcmItem &dataset, const size_t flags)
read list of referenced sample positions
virtual void removeAllAppenders()=0
Remove all previously added appenders.
@ DfFKPEG3_89Zr
(126761,DCM,"Df-FK-PEG(3) ^89^Zr")
Definition: cid4021.h:112
OFCondition setRationalDenominatorValue(const Uint32 value, const unsigned long pos=0)
set RationalDenominatorValue (0040,a163)
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtpscs.h:353
const Item & getCurrentItem() const
get current item in the sequence
void setBlockMode(T_DIMSE_BlockingMode blockMode, int timeout)
set blocking mode and timeout for DIMSE operations
Definition: dcmqrtis.h:199
static OFCondition getOFDateTimeFromString(const char *dicomDateTime, const size_t dicomDateTimeSize, OFDateTime &dateTimeValue)
get the specified DICOM date and time value in OFDateTime format.
DRTApplicationSetupSequence(const DRTApplicationSetupSequence ©)
copy constructor
DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule ReferencedReferenceImageSequence
ReferencedReferenceImageSequence (300c,0042) vr=SQ, vm=1, type=3.
Definition: drtass.h:288
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtajcs.h:533
virtual OFCondition getNameOfPhysiciansReadingStudy(OFString &value, const signed long pos=0) const
get NameOfPhysiciansReadingStudy (0008,1060)
OFBool getPrependLighting()
gets the current setting of the Prepend Lighting annotation flag.
Definition: dviface.h:1406
OFCondition convertString(const OFString &fromString, OFString &toString, const OFBool clearMode=OFTrue)
convert the given string between the selected character encodings.
const OFString & getTemplateIdentifier() const
get template identifier
Definition: dsrctpl.h:99
@ CQ_RESEARCH
RESEARCH.
Definition: dpmtypes.h:69
DiMonoScaleTemplate(const DiMonoPixel *pixel, const Uint16 columns, const Uint16 rows, const signed long left_pos, const signed long top_pos, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int bits, const int interpolate, const Uint16 pvalue)
constructor
Definition: dimosct.h:64
DcmTLSTransportLayer & operator=(OFrvalue_ref(DcmTLSTransportLayer) rhs)
move assignment.
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
virtual OFCondition getTrackSetDescription(OFString &value, const signed long pos=0) const
Get Track Set Description.
@ RelativeAnisotropy
(110809,DCM,"Relative Anisotropy"), included from CID 7271
Definition: cid7469.h:118
const Item & getCurrentItem() const
get current item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Class for YCbCr Full 4:2:2 images.
Definition: diyf2img.h:39
virtual OFCondition includeTemplate(const DSRSharedSubTemplate &subTemplate, const E_AddMode addMode=AM_belowCurrent, const E_RelationshipType defaultRelType=RT_unknown)
include specified sub-template, i.e. add a new DSRIncludedTemplateTreeNode, which references this tem...
DRTUDISequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setClinicalTrialSubjectReadingID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectReadingID (0012,0042)
virtual OFCondition getPixelSpacing(OFVector< Float64 > &value) const
get PixelSpacing (0028,0030)
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
~DcmDictEntryList()
destructor
OFCondition setSamplesPerPixel(const Uint16 value, const unsigned long pos=0)
set SamplesPerPixel (0028,0002)
virtual ~IODEnhGeneralEquipmentModule()
Destructor.
DcmTLSSCU(const DcmTLSSCU &src)
Private undefined copy-constructor.
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition setLaterality(const LATERALITY &value)
Set Laterality.
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
Item & operator=(const Item ©)
assigment operator
DcmTime SeriesTime
SeriesTime (0008,0031) vr=TM, vm=1, type=3.
Definition: drtiontr.h:3001
DVConfiguration & config
reference to object maintaining the system configuration
Definition: dvsighdl.h:226
Class managing an SR document tree that is based on an SR root template.
Definition: dsrrtpl.h:54
OFCondition getLateralSpreadingDeviceID(OFString &value, const signed long pos=0) const
get LateralSpreadingDeviceID (300a,0336)
@ German_AT
(de-AT,RFC5646,"German (AT)")
Definition: cid5000.h:62
OFBool isEmpty()
check if sequence is empty
OFCondition addPresentationLUTReference(DcmItem &dset)
writes a Referenced Presentation LUT SQ, Illumination and reflected ambient light to the given datase...
char paddingChar
padding character used to adjust odd value length (e.g. a space)
Definition: dcbytstr.h:451
@ FractionalOccupancySegmentation
(110855,DCM,"Fractional Occupancy Segmentation"), included from CID 7180
Definition: cid7469.h:244
size_t getNumberOfItems() const
get number of items in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition getFixationDeviceLabel(OFString &value, const signed long pos=0) const
get FixationDeviceLabel (300a,0194)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item & getItem(const size_t num)
get particular item in the sequence
size_t size() const
returns current number of objects in the list
Definition: diqthitl.h:106
virtual DcmObject * getNextRecord()
get stored object reference
OFBool isEmpty()
check if item is empty
DRTProcedureCodeSequence ProcedureCodeSequence
ProcedureCodeSequence (0008,1032) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3012
MAX_LEVEL m_Level
Maximum level this reference refers to.
Definition: iodreferences.h:142
virtual OFCondition getOFString(OFString &stringValue, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
offile_errno_t lasterror_
the last error code for operations of this stream
Definition: offile.h:1070
OFCondition getRadiationType(OFString &value, const signed long pos=0) const
get RadiationType (300a,00c6)
DSRCompositeReferenceValue()
default constructor
SiDSA & operator=(SiDSA &arg)
private undefined copy assignment operator
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drttscds.h:338
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setFractionPattern(const OFString &value, const OFBool check=OFTrue)
set FractionPattern (300a,007b)
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFList< OFTestTest * > tests_
List of tests. Statically allocated, so don't have to be freed.
Definition: oftest.h:400
ContentIdentificationMacro m_ContentIdentificationMacro
Content Identification Macro.
Definition: segdoc.h:600
DRTSeriesDescriptionCodeSequence(const DRTSeriesDescriptionCodeSequence ©)
copy constructor
void clear()
clear all internal member variables
DcmUnsignedShort PixelRepresentation
PixelRepresentation (0028,0103) vr=US, vm=1, type=1C.
Definition: drtdose.h:4553
virtual OFCondition getStudyDate(OFString &value, const signed long pos=0) const
get StudyDate (0008,0020)
virtual OFCondition getRealWorldValueLUTData(Float64 &value, const unsigned long pos=0) const
Get Real World Value LUT Data.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtscris.h:309
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTReferencedPatientPhotoSequence ReferencedPatientPhotoSequence
ReferencedPatientPhotoSequence (0010,1100) vr=SQ, vm=1, type=3.
Definition: drtplan.h:2983
void clear()
reset the object to initial state.
DVPSPrintMessageHandler & operator=(const DVPSPrintMessageHandler ©)
private undefined assignment operator
Uint32 getMaxPrintResolutionX()
returns the maximum horizontal bitmap resolution for print, from GENERAL/PRINT/MAXPRINTRESOLUTION in ...
void setConnectionTimeout(const Uint32 timeout)
Set the timeout that should be waited for connection requests.
void setSeriesInstanceUID(const char *uid)
set Series Instance UID of this series reference.
@ LISTEN
Listen for new connections.
Definition: scppool.h:222
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
DcmCodeString ApplicationSetupType
ApplicationSetupType (300a,0232) vr=CS, vm=1, type=1.
Definition: drtass.h:282
virtual OFCondition setClinicalTrialTimePointID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointID (0012,0050)
OFCondition getNumberOfControlPoints(OFString &value, const signed long pos=0) const
get NumberOfControlPoints (300a,0110)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Definition: jpeglib12.h:105
Base class for implementing DICOM TLS-enabled Service Class User functionality.
Definition: tlsscu.h:42
virtual ~CMR_SRNumericMeasurementValueWithUnits()
destructor
Definition: srnumvlu.h:230
DcmLongString ClinicalTrialSeriesID
ClinicalTrialSeriesID (0012,0071) vr=LO, vm=1, type=3.
Definition: drtdose.h:4320
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_InvalidData
Invalid data.
static const char * preliminaryFlagToEnumeratedValue(const E_PreliminaryFlag preliminaryFlag)
convert preliminary flag to DICOM enumerated value
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CannotAddContentItem
error: a new content item could not be added to the current one
@ Um2PerS
(um2/s,UCUM,"um2/s"), included from CID 7277
Definition: cid7181.h:122
X509 * getRawCertificate()
returns a pointer to the raw certificate structure or NULL if no certificate present.
unsigned int getMilliSecond() const
get the milli second part of the currently stored second value
OFCondition gotoFirstItem()
goto first item in the sequence
size_t getNumberOfGraphicLayers()
returns the number of graphic layers.
EVP_PKEY * getRawPrivateKey()
provides access to the raw private key in OpenSSL format.
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
virtual void SetDfPath(const OFString &)
Set value in a member variable in a derived class.
Definition: wlds.h:466
OFCondition setROIObservationDescription(const OFString &value, const OFBool check=OFTrue)
set ROIObservationDescription (3006,0088)
virtual ~Item()
destructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpsics.h:324
OFBool isEmpty()
check if sequence is empty
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3140
void clear()
resets the object to default-constructed state
DcmDirectoryRecord * buildRTDoseRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update RT dose record and copy required values from dataset
@ Physician
(309343006,SCT,"Physician")
Definition: cid7452.h:46
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence() const
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtplan.h:1358
DRTToleranceTableSequence::Item & getToleranceTable(Sint32 tableNumber)
find a tolerance table by its tolerance table number.
Uint16 getMinDensityValue()
gets the (optional) min density.
Class for CMYK images.
Definition: dicmyimg.h:39
OFCondition setReferencedLateralSpreadingDeviceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedLateralSpreadingDeviceNumber (300c,0102)
DcmLongString PatientSpeciesDescription
PatientSpeciesDescription (0010,2201) vr=LO, vm=1, type=1C.
Definition: drtiontr.h:2828
void clear()
clear all internal member variables
virtual OFCondition setPatientBirthDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDateInAlternativeCalendar (0010,0033)
OFCondition getRadiationType(OFString &value, const signed long pos=0) const
get RadiationType (300a,00c6)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
unsigned long getPreviewImageSize()
gets number of bytes used for the preview image bitmap.
virtual OFCondition setSamplesPerPixel(const Uint16 &value, const OFBool checkValue=OFTrue)
Set Samples Per Pixel.
double getSignalToNoiseRatio() const
return signal to noise ratio
Definition: dcmicmph.h:140
OFString opt_rfFormat
format for request files if stored.
Definition: wlcefs.h:54
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtbas.h:335
virtual ~OFOrderedSet()
Destructor.
Definition: ofoset.h:68
virtual OFCondition setPatientBirthDate(const OFString &value, const OFBool check=OFTrue)
set patient's birth date
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
void setAssociation(T_ASC_Association *assoc)
assigns a value to member variable assoc_.
unsigned char suspendInfo_
contains suspension information.
Definition: dcrledec.h:261
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTIonPlanIOD(const DRTIonPlanIOD ©)
copy constructor
virtual OFCondition getSmallestImagePixelValue(Uint16 &value, const unsigned long pos=0) const
get SmallestImagePixelValue (0028,0106)
@ EJM_progressive
JPEG full progression.
Definition: djutils.h:70
static void cleanup()
deregisters decoders.
virtual OFCondition get(CodeSequenceMacro &typeCode, CodeSequenceMacro &typeModifierCode, CodeSequenceMacro &unitsCode)
Get descriptive information of statistic.
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
virtual ~DcmStorageSCP()
destructor
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
virtual void postLoadValue()
performs clean-up functions after loading an attribute value into main memory.
DVPSTextJustification getBoundingBoxHorizontalJustification()
gets the bounding box horizontal justification.
DVPSCurve * getCurveInImage(size_t idx)
gets the curve with the given index from the attached image.
virtual OFCondition readPatientData(DcmItem &dataset)
read PatientData from dataset
a class representing the DICOM value representation 'Unsigned Long' (UL)
Definition: dcvrul.h:35
size_t getNumberOfItems() const
get number of items in the sequence
const DRTMeasurementUnitsCodeSequence & getMeasurementUnitsCodeSequence() const
get MeasurementUnitsCodeSequence (0040,08ea)
Definition: drtpcxs.h:243
DcmIntegerString ReferencedSourceNumber
ReferencedSourceNumber (300c,000e) vr=IS, vm=1, type=1.
Definition: drtchs.h:655
DcmLongString ClinicalTrialSiteName
ClinicalTrialSiteName (0012,0031) vr=LO, vm=1, type=2.
Definition: drtionpl.h:2965
virtual OFCondition getImagesInAcquisition(OFString &value, const signed long pos=0) const
get ImagesInAcquisition (0020,1002)
OFString & append(size_t rep, char c)
constructs a temporary string from the input and appends it to the current string.
@ Lactate
(83036002,SCT,"Lactate"), included from CID 4033
Definition: cid7469.h:54
const DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence() const
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtplan.h:1394
virtual OFCondition getMeasuredAPDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredAPDimension (0010,1023)
Template class to handle ARGB pixel data.
Definition: diargpxt.h:41
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence()
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtiontr.h:1611
virtual OFCondition getStudyDescription(OFString &value, const signed long pos=0) const
get StudyDescription (0008,1030)
OFCondition createNewDicomDir(const E_ApplicationProfile profile=AP_GeneralPurpose, const OFFilename &filename=OFFilename(DEFAULT_DICOMDIR_NAME), const OFString &filesetID=DEFAULT_FILESETID)
create a new DICOMDIR object.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpvis.h:507
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
virtual ~Item()
destructor
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtscs.h:339
void clear()
clear all internal member variables
Item & getCurrentItem()
get current item in the sequence
virtual ~Item()
destructor
const DRTReferencedDoseSequence & getReferencedDoseSequence() const
get ReferencedDoseSequence (300c,0080)
Definition: drtcps.h:439
unsigned long StartBitPos
starting bit position of current frame
Definition: diovpln.h:477
OFListIterator(Item *) CurrentItem
currently selected item
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtcbars.h:362
OFString pw_passwd
the user password.
Definition: ofpwd.h:82
Item & operator=(const Item ©)
assigment operator
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setUniversalEntityIDType(const OFString &value, const OFBool check=OFTrue)
set UniversalEntityIDType (0040,0033)
virtual OFCondition saveFile(const OFString &filename, const E_TransferSyntax writeXfer=EXS_LittleEndianExplicit)
Save current object to given filename.
virtual FGBase * clone() const
Returns a deep copy of this object.
virtual CodeSequenceMacro & getDiffusionAcquisitionCode()
Get access to diffusion acquisition code.
DSRTypes::E_GraphicType3D getGraphicType() const
get current graphic type.
Definition: dsrsc3vl.h:181
Uint8 presentationContextID
Presentation Context ID as proposed by SCU.
Definition: scp.h:114
virtual OFCondition getUnscaledDose(double &result, unsigned int x, unsigned int y, unsigned int frame=0) const
get the unscaled dose information for a single pixel.
CMR_SRNumericMeasurementValueWithUnits< T_Units, T_DefinedGroup > & operator=(const CMR_SRNumericMeasurementValueWithUnits< T_Units, T_DefinedGroup > &numericMeasurement)
assignment operator
Definition: srnumvlu.h:236
static void initialize()
initialize this context group explicitly.
DcmCodeString BlockMountingPosition
BlockMountingPosition (300a,00fb) vr=CS, vm=1, type=1.
Definition: drtibls.h:346
OFCondition setReferencedFrameNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFrameNumber (0008,1160)
DcmLongString ResponsibleOrganization
ResponsibleOrganization (0010,2299) vr=LO, vm=1, type=2C.
Definition: drtiontr.h:2854
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition getStrainNomenclature(OFString &value, const signed long pos=0) const
get StrainNomenclature (0010,0213)
void clear()
resets the object to initial state.
this template class implements a simple key - value pair map that is used in template class DcmSimple...
Definition: dcmsmap.h:39
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtmucs.h:347
OFCondition getTableTopLongitudinalPosition(OFString &value, const signed long pos=0) const
get TableTopLongitudinalPosition (300a,0129)
virtual IODPatientModule & getIODPatientModule()
Get Patient Module.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getNumberOfPaintings(Sint32 &value, const unsigned long pos=0) const
get NumberOfPaintings (300a,039a)
DRTFractionGroupSequence FractionGroupSequence
FractionGroupSequence (300a,0070) vr=SQ, vm=1, type=1.
Definition: drtplan.h:3301
DcmDecimalString SpatialResolution
SpatialResolution (0018,1050) vr=DS, vm=1, type=3.
Definition: drtdose.h:4354
DRTOtherPatientIDsSequence OtherPatientIDsSequence
OtherPatientIDsSequence (0010,1002) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4104
@ FatFraction
(129100,DCM,"Fat fraction"), included from CID 7180
Definition: cid7469.h:332
DRTBlockSequenceInRTImageModule & operator=(const DRTBlockSequenceInRTImageModule ©)
assigment operator
DRTConversionSourceAttributesSequence ConversionSourceAttributesSequence
ConversionSourceAttributesSequence (0020,9172) vr=SQ, vm=1, type=1C.
Definition: drtstrct.h:3125
OFCondition setImageDisplayFormat(unsigned long columns, unsigned long rows)
sets the image display format to 'STANDARD\columns,rows'.
OFCondition setRealWorldValueIntercept(const Float64 value, const unsigned long pos=0)
set RealWorldValueIntercept (0040,9224)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtcbars.h:218
OFCondition gotoNextItem()
goto next item in the sequence
double rootMeanSquareError
result of image comparison: root mean square error (RMSE)
Definition: dcmicmph.h:276
void setAdditivity(bool additive)
Set the additivity flag for this Logger instance.
DcmUniversalResourceIdentifierOrLocator RetrieveURL
RetrieveURL (0008,1190) vr=UR, vm=1, type=1.
Definition: drtwrsrs.h:116
virtual OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtlsds.h:176
type definitions, constants, global variables and functions for the dcmnet/dul module
OFCondition getDoseValue(Float64 &value, const unsigned long pos=0) const
get DoseValue (3004,0012)
const DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence() const
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtdose.h:2422
DcmUnsignedShort RecommendedDisplayGrayscaleValue
RecommendedDisplayGrayscaleValue (0062,000c) vr=US, vm=1, type=3.
Definition: drtrcs.h:193
OFCondition getBlockData(OFVector< Float64 > &value) const
get BlockData (300a,0106)
DcmShortString(const DcmTag &tag, const Uint32 len=0)
constructor.
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
OFCondition setTreatmentMachineName(const OFString &value, const OFBool check=OFTrue)
set TreatmentMachineName (300a,00b2)
DRTStructureSetIOD()
default constructor
OFCondition setPrinterPriority(const char *value)
sets the (optional) print priority.
const OFBool HasSiblings
mode specifying whether the filter matches on the presence or absence of sibling nodes
Definition: dsrdnflt.h:221
Item(const Item ©)
copy constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtscs.h:351
OFCondition gotoNextItem()
goto next item in the sequence
Item class.
Definition: drtcos.h:36
DVPSAnnotationContent_PList()
default constructor
DcmTLSTransportLayer(const DcmTLSTransportLayer &)
private undefined copy constructor
OFBool isEmpty()
check if item is empty
virtual OFCondition getResponsiblePerson(OFString &value, const signed long pos=0) const
get ResponsiblePerson (0010,2297)
const char * haveSinglePresentationLUTUsed(const char *filmBox)
if only one Presentation LUT is required to render all images managed by this object,...
OFCondition selectDisplayPresentationLUT(const char *lutID)
sets the LUT with the given identifier in the Presentation State as current Presentation LUT.
int writePPM(FILE *stream, const unsigned long frame, const int bits)
write pixel data to PPM file.
DcmTransportLayerStatus activateCipherSuites()
activate the current list of ciphersuites by transferring to the OpenSSL layer This method needs to b...
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeApprovalNumber(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
DcmOtherLong(const DcmTag &tag, const Uint32 len)
constructor.
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drttms9.h:202
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrcos.h:331
ItemStruct * getItem() const
gets reference to current (selected) study
Definition: dvcache.h:850
DCMTK_DCMDATA_EXPORT const char * dcmSOPClassUIDToModality(const char *sopClassUID, const char *defaultValue=NULL)
performs a table lookup and returns a short modality identifier that can be used for building file na...
@ Radius
(131190003,SCT,"Radius"), included from CID 7470
Definition: cid7469.h:374
virtual OFCondition getPatientPosition(OFString &value, const signed long pos=0) const
Get Patient Position.
DcmIntegerString ReferencedBrachyApplicationSetupNumber
ReferencedBrachyApplicationSetupNumber (300c,000c) vr=IS, vm=1, type=1.
Definition: drtrbas2.h:123
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Interface class for ReferencedDoseReferenceSequence (300c,0050) in RTBeamsModule.
Definition: drtrdrs1.h:29
virtual OFBool isClinicalTrialSeriesModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSeriesModule (U) is present.
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getScanningSpotSize(Float32 &value, const unsigned long pos=0) const
get ScanningSpotSize (300a,0398)
virtual DJDecoder * createDecoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, OFBool isYBR) const
creates an instance of the compression library to be used for decoding.
GeneralAnatomyMacro m_Anatomy
General Anatomy Mandatory Macro.
Definition: modenhusimage.h:578
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtics.h:205
virtual OFCondition setOccupation(const OFString &value, const OFBool check=OFTrue)
set Occupation (0010,2180)
virtual OFCondition setPatientOrientation(const OFString &value, const OFBool check=OFTrue)
set PatientOrientation (0020,0020)
OFCondition setPrinterName(const char *name)
sets the application entity title of the print SCP.
DVPSPresentationLUT * getPresentationLUTData()
gets the current Presentation LUT object.
Definition: dcmpstat.h:276
int fwprintf(const wchar_t *format,...)
print formatted wide string into stream, see wprintf(3)
Definition: offile.h:1030
OFListIterator(Item *) CurrentItem
currently selected item
DcmTime RTPlanTime
RTPlanTime (300a,0007) vr=TM, vm=1, type=2.
Definition: drtplan.h:3263
virtual DcmObject * clone() const
clone method
Definition: dcvrdt.h:65
Item & operator=(const Item ©)
assigment operator
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_InvalidValue
Invalid value, e.g. element value has been provided that does not match the VR.
virtual OFBool hasTemplateIdentification() const
check whether template identification is set
DcmShortString RequestedProcedureID
RequestedProcedureID (0040,1001) vr=SH, vm=1, type=1C.
Definition: drtras.h:281
DcmSigned64bitVeryLong & operator=(const DcmSigned64bitVeryLong &obj)
assignment operator
size_t size() const
returns the number of bytes written to the output buffer
Definition: dcrledec.h:172
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_VerificationFailed_NoTrust
signature verification failed because the certificate was issued by an untrusted (unknown) CA
const DRTROIElementalCompositionSequence & getROIElementalCompositionSequence() const
get ROIElementalCompositionSequence (3006,00b6)
Definition: drtrpps.h:127
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTCodingSchemeIdentificationSequence CodingSchemeIdentificationSequence
CodingSchemeIdentificationSequence (0008,0110) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3368
virtual OFCondition getSOPAuthorizationComment(OFString &value, const signed long pos=0) const
get SOPAuthorizationComment (0100,0424)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrdrs6.h:141
OFCondition write(DcmItem &item)
write elements to sequence item
OFBool empty() const
returns true if list is empty.
Definition: oflist.h:365
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print reference value.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool isEmpty()
check if sequence is empty
void clear()
clear all internal member variables
const DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence() const
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtplan.h:1766
int getPos() const
gets the file position of the current (selected) instance
Definition: dvcache.h:269
virtual OFCondition status() const
returns the status of the consumer as an OFCondition object.
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=2.
Definition: drtdose.h:4334
DVPSVOILUT * getVOILUT(size_t idx)
returns a pointer to the VOI LUT with the given index or NULL if it does not exist.
OFCondition setOFTime(const OFTime &timeValue)
set the element value to the given time
const OFDate & getDate() const
get the current date component
size_t ReferencedNodeID
node ID of the referenced node (target content item).
Definition: dsrreftn.h:306
OFCondition getDate(OFString &value, const signed long pos=0) const
get Date (0040,a121)
virtual OFCondition getResponsiblePersonRole(OFString &value, const signed long pos=0) const
get ResponsiblePersonRole (0010,2298)
E_DeviceType getDeviceType() const
get output device type (monitor, camera, printer or scanner)
Definition: didispfn.h:158
const OFString & getStudyInstanceUID(OFString &stringValue) const
get the study instance UID of the currently selected entry
virtual OFCondition setSOPAuthorizationDateTime(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationDateTime (0100,0420)
virtual OFCondition getTriggerSourceOrType(OFString &value, const signed long pos=0) const
Get Trigger Source or Type.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool isEmpty()
check if item is empty
JLS_PlanarConfiguration planarConfiguration_
flag describing how planar configuration of decompressed color images should be handled
Definition: djcparam.h:274
DerivationImageItem()
Constructor, initializes empty derivation image item.
virtual OFCondition getSynchronizationFrameOfReferenceUID(OFString &value, const signed long pos=0) const
Get Synchronization Frame of Reference UID.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DiMonoPixel(const DiPixel *pixel, DiMonoModality *modality)
constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrcdrs.h:348
DcmDecimalString LeafJawPositions
LeafJawPositions (300a,011c) vr=DS, vm=2-2n, type=1.
Definition: drtbldps.h:143
OFCondition prepareBasicAnnotationBox(size_t idx, DcmItem &dset)
writes the attributes managed by the referenced object that are part of a basic annotation box N-SET ...
@ ElbowJoint
(16953009,SCT,"Elbow joint")
Definition: cid4031.h:88
OFCondition getRationalNumeratorValue(Sint32 &value, const unsigned long pos=0) const
get RationalNumeratorValue (0040,a162)
virtual OFCondition getGantryID(OFString &value, const signed long pos=0) const
get GantryID (0018,1008)
void setAETitle(const OFString &myAETtitle)
Set SCU's AE title to be used in association negotiation.
int Init(const void *pixel)
initialize internal memory
Definition: dicopxt.h:550
static OFCondition writeTag(DcmOutputStream &outStream, const DcmTag &tag, const E_TransferSyntax oxfer)
static helper function that writes a given attribute tag to a binary output stream using the byte ord...
static OFBool rangeMatchingTime(const void *queryData, const size_t querySize, const void *candidateData, const size_t candidateSize)
Match the query time or time range and the candidate time.
@ LAT_UNILATERAL
Either left or right body part.
Definition: trctypes.h:114
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtcss.h:337
DRTReferencedPatientSequence ReferencedPatientSequence
ReferencedPatientSequence (0008,1120) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2816
virtual OFCondition getSpecificCharacterSet(OFString &value, const signed long pos=0) const
get SpecificCharacterSet (0008,0005)
DiOverlay(const DiDocument *docu=NULL, const Uint16 alloc=0, const Uint16 stored=0, const Uint16 high=0)
constructor
static OFCondition newDicomElement(DcmElement *&newElement, DcmTag &tag, const Uint32 length, DcmPrivateTagCache *privateCreatorCache, OFBool &readAsUN)
creates new DICOM element from given attribute tag.
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition getTableTopLongitudinalPosition(OFString &value, const signed long pos=0) const
get TableTopLongitudinalPosition (300a,0129)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getResponsiblePerson(OFString &value, const signed long pos=0) const
get ResponsiblePerson (0010,2297)
void incValue()
increases the integer value maintained by this object by one
Definition: diqthitm.h:84
OFCondition read(DcmItem &item)
read elements from sequence item
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setDVHNormalizationDoseValue(const OFString &value, const OFBool check=OFTrue)
set DVHNormalizationDoseValue (3004,0042)
virtual OFBool operator==(const DiBaseLUT &lut)
compares current LUT with specified LUT
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrmss7.h:334
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_UnknownVR
Unknown VR, e.g. tag not found in data dictionary.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getImageMinMaxPixelValue(double &minValue, double &maxValue)
gets smallest and biggest occuring pixel value in the attached image.
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the stored person name, is valid
DcmCodeString PatientAlternativeCalendar
PatientAlternativeCalendar (0010,0035) vr=CS, vm=1, type=1C.
Definition: drtstrct.h:2741
pure virtual base class of the public key crypto systems used for signature creation and verification...
Definition: sialgo.h:42
DRTGeneticModificationsSequence GeneticModificationsSequence
GeneticModificationsSequence (0010,0221) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2936
virtual OFCondition setPatientSupportAngle(const OFString &value, const OFBool check=OFTrue)
set PatientSupportAngle (300a,0122)
DcmUniqueIdentifier referencedSOPInstanceUID
Module=Image_Box_List, VR=UI, VM=1, Type 1.
Definition: dvpsib.h:363
virtual void clear()
Clears member variables and frees memory.
This is the base class for all factories.
Definition: factory.h:50
DSRPositionCounter & operator=(const DSRPositionCounter &counter)
assignment operator
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
void clear()
clear all internal member variables
OFCondition read(DcmItem &dset)
reads a list of VOI Windows from a DICOM dataset.
OFCondition setIssuerOfPatientID(const OFString &value, const OFBool check=OFTrue)
set IssuerOfPatientID (0010,0021)
DcmUnsignedShort PlanarConfiguration
PlanarConfiguration (0028,0006) vr=US, vm=1, type=1C.
Definition: drtdose.h:4448
DVPSFilmSession & operator=(const DVPSFilmSession &)
private undefined assignment operator
void setMaxReceivePDULength(const Uint32 maxRecPDU)
Set maximum PDU size the SCP is able to receive.
OFMap< OFString, FGStack * > m_Stacks
The stacks found.
Definition: stackinterface.h:70
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
virtual OFCondition setStructureSetDescription(const OFString &value, const OFBool check=OFTrue)
set StructureSetDescription (3006,0006)
virtual OFCondition setDimensionOrganizationUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Dimension Organization UID.
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtmucs.h:324
OFVector< CodeSequenceMacro * > m_ConceptNameCodeSequence
ConceptNameCodeSequence.
Definition: iodcontentitemmacro.h:466
int showAllOverlays(const EM_Overlay mode, const double fore=1, const double thresh=0.5, const unsigned int idx=0)
activate all overlay planes and set specified parameters
Definition: dcmimage.h:1123
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
write object to a stream
OFBool IsUniversalMatch(DcmSequenceOfItems &query, const MatchingKeys &matchingKeys, const OFBool normalize=OFTrue, const OFBool normalizeWildCards=OFTrue)
Determine if a sequence is an universal match.
OFBool hasSiblingNodes() const
check whether the current content item has any siblings
Definition: dsrdoctn.h:286
Item & operator[](const size_t num)
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
OFCondition getNumberOfRangeModulators(OFString &value, const signed long pos=0) const
get NumberOfRangeModulators (300a,0340)
void setPeerAETitle(const OFString &peerAETitle)
Set SCP's AE title to talk to in association negotiation.
virtual DcmTransportLayerStatus renegotiate(const char *newSuite)
performs a re-negotiation of the connection with different connection parameters.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbss.h:331
virtual OFString getVM() const
The VM of the attribute as noted in the DICOM standard part 6, e.g. "1-n" or "2".
DcmDecimalString TotalCompensatorTrayFactor
TotalCompensatorTrayFactor (300a,00e2) vr=DS, vm=1, type=3.
Definition: drtbs.h:791
virtual OFCondition setCurrentTreatmentStatus(const OFString &value, const OFBool check=OFTrue)
set CurrentTreatmentStatus (3008,0200)
OFCondition getReferencedRangeModulatorNumber(OFString &value, const signed long pos=0) const
get ReferencedRangeModulatorNumber (300c,0104)
const DRTRequestAttributesSequence & getRequestAttributesSequence() const
get RequestAttributesSequence (0040,0275)
Definition: drttreat.h:1641
Uint32 getLength() const
returns the length of the raw data block in bytes
Definition: dccfenmp.h:90
virtual OFCondition getInstanceCreationDate(OFString &value, const signed long pos=0) const
Get Instance Creation Date.
Class managing common information on a context group.
Definition: dsrctxgr.h:40
Item & operator[](const size_t num)
get particular item in the sequence
DRTReferencedImageSequence ReferencedImageSequence
ReferencedImageSequence (0008,1140) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2952
virtual ~DiRGBPixelTemplate()
destructor
Definition: dirgbpxt.h:66
virtual OFCondition getSint32Array(Sint32 *&val)
get a pointer to the element value of the current element as type Sint32.
int erase(const K &key)
removes the element with the given key from this map
Definition: ofmap.h:193
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtdspcs.h:205
virtual OFCondition setClinicalTrialSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesDescription (0012,0072)
virtual DcmQueryRetrieveDatabaseHandle * createDBHandle(const char *callingAETitle, const char *calledAETitle, OFCondition &result) const =0
this method creates a new database handle instance on the heap and returns a pointer to it,...
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
This function writes this element's value to the outstream which was passed.
@ ProportionalToCountsPerSecond
({propcounts}/s,UCUM,"Proportional to counts per second"), included from CID 84
Definition: cid7181.h:98
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTReferencedDoseReferenceSequenceInRTBeamsModule(const DRTReferencedDoseReferenceSequenceInRTBeamsModule ©)
copy constructor
DRTMeasurementUnitsCodeSequence MeasurementUnitsCodeSequence
MeasurementUnitsCodeSequence (0040,08ea) vr=SQ, vm=1, type=1C.
Definition: drtpcxs.h:362
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtiseis.h:327
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtcncs.h:347
Item class.
Definition: drtchs.h:38
DRTTreatmentSummaryRecordIOD()
default constructor
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeApprovalNumber(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence()
get RequestingServiceCodeSequence (0032,1034)
Definition: drtdose.h:2584
@ Tyrosine3Octreotate_Ga68
(C1742831,UMLS,"tyrosine-3-octreotate Ga^68^")
Definition: cid4021.h:290
Item & operator=(const Item ©)
assigment operator
virtual OFCondition setServiceEpisodeID(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeID (0038,0060)
OFString FiducialUID
Fiducial UID (VR=UI, VM=1, type 3)
Definition: dsrscovl.h:277
OFCondition read(DcmItem &item)
read elements from sequence item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtians.h:324
DRTMappingResourceIdentificationSequence MappingResourceIdentificationSequence
MappingResourceIdentificationSequence (0008,0124) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3372
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence()
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtstrct.h:1530
DcmUnsignedShort PregnancyStatus
PregnancyStatus (0010,21c0) vr=US, vm=1, type=3.
Definition: drtiontr.h:2968
DcmCodeString Modality
Modality (0008,0060) vr=CS, vm=1, type=1.
Definition: drtimage.h:4980
virtual OFCondition setIsocenterPosition(const OFString &value, const OFBool check=OFTrue)
set IsocenterPosition (300a,012c)
virtual OFCondition updateDerivationDescription(DcmItem *dataset, const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio) const
create Derivation Description.
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Returns shared type of this functional group.
Definition: fgderimg.h:362
OFCondition(const OFConditionConst &aConst=EC_Normal)
constructor for condition code from constant data
Definition: ofcond.h:197
DRTConversionSourceAttributesSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmDecimalString PulseRepetitionInterval
PulseRepetitionInterval (300a,028c) vr=DS, vm=1, type=1C.
Definition: drtchs.h:651
virtual OFCondition setBrachyTreatmentType(const OFString &value, const OFBool check=OFTrue)
set BrachyTreatmentType (300a,0202)
@ TRT_End
DICOM Temporal Range Type: END.
Definition: dsrtypes.h:721
Class implementing a document tree node cursor.
Definition: dsritcsr.h:43
@ DynamicContrastMRMeasurementReport
(126002,DCM,"Dynamic Contrast MR Measurement Report")
Definition: cid7021.h:48
Interface class for ReferencedReferenceImageSequence (300c,0042) in RTBrachyApplicationSetupsModule.
Definition: drtrris9.h:28
DcmTime TimeOfLastCalibration
TimeOfLastCalibration (0018,1201) vr=TM, vm=1-n, type=3.
Definition: drtionpl.h:3162
virtual void clear()
Clear reference data.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_ValueRepresentationViolated
Value Representation (VR) violated.
DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence()
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drttreat.h:1467
static const size_t XF_acceptEmptyStudySeriesInstanceUID
read: accept empty Study/Series/SOP Instance UID attribute values (must be filled later)
Definition: dsrtypes.h:400
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
void deleteClear(XMLClear *p)
Delete the clear tag "p" inside the current XMLNode (direct "pointer-to-pointer" comparison on the lp...
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item & operator=(const Item ©)
assigment operator
static OFCondition checkVM(const unsigned long vmNum, const OFString &vmStr)
check for correct value multiplicity (VM)
@ AP_GeneralPurposeBDMPEG2MPatHL
General Purpose BD Interchange with MPEG2 MP@HL (STD-GEN-BD-MPEG2-MPHL)
Definition: dcddirif.h:131
@ Ktrans
(126312,DCM,"Ktrans"), included from CID 4107
Definition: cid7469.h:256
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
virtual void clearData()
Clear (removes) all attributes handled by the modules of this component.
@ EFG_PIXELMEASURES
Pixel Measures.
Definition: fgtypes.h:143
DcmStackNode * topNode_
pointer to the upmost stack entry, NULL if empty
Definition: dcstack.h:145
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CannotChangeRelationshipType
error: the current relationship type cannot be replaced by the given one
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
DRTRTROIObservationsSequence(const DRTRTROIObservationsSequence ©)
copy constructor
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setMetersetExposure(const OFString &value, const OFBool check=OFTrue)
set MetersetExposure (3002,0032)
DRTMACParametersSequence & getMACParametersSequence()
get MACParametersSequence (4ffe,0001)
Definition: drttreat.h:1347
DRTTreatmentSummaryMeasuredDoseReferenceSequence TreatmentSummaryMeasuredDoseReferenceSequence
TreatmentSummaryMeasuredDoseReferenceSequence (3008,00e0) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3129
const DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence() const
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtionpl.h:1925
Definition: syncprim.h:152
virtual OFBool isCursorValid() const
check whether the internal cursor, which points to the current content item, is valid
const Item & operator[](const size_t num) const
get particular item in the sequence
Item(const Item ©)
copy constructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Interface class for CodingSchemeResourcesSequence (0008,0109)
Definition: drtcsrs.h:28
OFCondition getLeafJawPositions(OFString &value, const signed long pos=0) const
get LeafJawPositions (300a,011c)
unsigned long getWidth() const
get image width in pixels
Definition: dcmimage.h:271
~OFshared_ptr()
If *this owns an object and it is the last shared_ptr owning it, the object is destroyed.
Definition: ofmem.h:116
OFCondition gotoNextItem()
goto next item in the sequence
OFOrderedSet< T > Union(const OFOrderedSet< T > &other) const
Determines the union of the two sets this and other, i.e.
Definition: ofoset.h:392
void clear()
clear all internal member variables
int setWindow(const double center, const double width)
set specified VOI window (given by window width and center).
Definition: dcmimage.h:698
DcmObject * objNodeValue
pointer to object referenced by this stack entry
Definition: dcstack.h:61
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drttscds.h:341
const Item & operator[](const size_t num) const
get particular item in the sequence
void clear()
Cleans up memory that was allocated for any search results.
OFCondition getTransferTubeLength(OFString &value, const signed long pos=0) const
get TransferTubeLength (300a,02a4)
@ TissueVelocity
(110827,DCM,"Tissue Velocity"), included from CID 7180
Definition: cid7469.h:172
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getNominalBeamEnergy(OFString &value, const signed long pos=0) const
get NominalBeamEnergy (300a,0114)
OFCondition getNumberOfFractionsPlanned(Sint32 &value, const unsigned long pos=0) const
get NumberOfFractionsPlanned (300a,0078)
OFBool getTargetPrinterSupportsAnnotationBoxSOPClass(const char *targetID)
returns OFTrue if an ANNOTATION entry for the printer with the given target ID from the configuration...
virtual OFCondition setDate(const OFString &value, const OFBool checkValue=OFTrue)
Set Date.
OFCondition setCompensatorThicknessData(const OFString &value, const OFBool check=OFTrue)
set CompensatorThicknessData (300a,00ec)
Item class.
Definition: drtbldps.h:36
const DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence() const
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtplan.h:1346
virtual OFCondition readSeriesData(DcmItem &dataset)
read SeriesData from dataset.
DCMTK_DCMNET_EXPORT OFGlobal< DcmNativeSocketType > dcmExternalSocketHandle
This global flag allows to set an already opened socket file descriptor which will be used by dcmnet ...
OFString m_ModifierType
Type 1,2,3,1C or 2C.
Definition: iodmacro.h:322
DcmObject * getParent()
get parent of this object.
Definition: dcobject.h:367
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
OFCondition setBeamLimitingDeviceRotationDirection(const OFString &value, const OFBool check=OFTrue)
set BeamLimitingDeviceRotationDirection (300a,0121)
const DRTDerivationCodeSequence & getDerivationCodeSequence() const
get DerivationCodeSequence (0008,9215)
Definition: drtionpl.h:1349
OFBool isEmpty()
check if sequence is empty
EquipmentInfo()
Default Constructor.
Definition: modenhequipment.h:50
provides an operating system independent abstraction for semaphores.
Definition: ofthread.h:263
OFCondition addPrivateDcmtkCodingScheme()
add private OFFIS DCMTK coding scheme entry to the list.
@ MeasurementNotAttempted
(114007,DCM,"Measurement not attempted")
Definition: cid42.h:58
const DRTReferencedBolusSequenceInRTBeamsModule & getReferencedBolusSequence() const
get ReferencedBolusSequence (300c,00b0)
Definition: drtbs.h:480
CodeSequenceMacro m_ViewCodeSequence
View Code Sequence (SQ, VM 1, type 1)
Definition: iodmacro.h:1362
const Item & getCurrentItem() const
get current item in the sequence
OFString printerMediumType
printer medium type identifier, may be empty.
Definition: dviface.h:1791
Uint32 NumberOfFrames
number of frames
Definition: diovpln.h:423
@ Length
(410668003,SCT,"Length"), included from CID 7470
Definition: cid7469.h:352
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const DSRCompositeReferenceValue & getRealWorldValueMapping() const
get reference to real world value mapping object
Definition: dsrimgvl.h:339
OFCondition gotoFirstItem()
goto first item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
static OFCondition getAndCheckElementFromDataset(DcmItem &dataset, DcmElement &element, const OFString &vm, const OFString &type, const char *moduleName=NULL)
get element from dataset and check it for correct value multiplicity and type.
const char * getPrintPresentationLUTID()
if the Stored Print object contains an active Presentation LUT that was set with selectPrintPresentat...
OFCondition dumpIOD(const char *filename)
creates a dump of the contents of a DICOM file and displays it on-screen.
virtual OFCondition checkValue(const OFString &vm="", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
DRTWADORetrievalSequence & getWADORetrievalSequence()
get WADORetrievalSequence (0040,e023)
Definition: drtrpphs.h:174
virtual OFCondition setDerivationDescription(const OFString &value, const OFBool check=OFTrue)
set DerivationDescription (0008,2111)
const DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence() const
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtiontr.h:1809
OFCondition addCurve(size_t layer, size_t curveidxinimage)
activates curve in presentation state.
virtual OFCondition putTagVal(const DcmTagKey &attrTag, const unsigned long pos=0)
insert into the element value a copy of the given DcmTagKey value.
OFCondition setModulatedScanModeType(const OFString &value, const OFBool check=OFTrue)
set ModulatedScanModeType (300a,0309)
virtual OFCondition setSeriesInstanceUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Series Instance UID.
Item & getCurrentItem()
get current item in the sequence
OFCondition addOrReplaceContentItem(const size_t nodePos, const E_RelationshipType relationshipType, const E_ValueType valueType, const DSRCodedEntryValue &conceptName, const OFString &annotationText, const OFBool check)
add a new or replace an existing content item with a given node ID.
void clear()
clear all internal member variables
void clear()
clear all internal member variables
virtual void setIdentifierChecking(OFBool checkFind, OFBool checkMove)=0
Configure the DB module to perform (or not perform) checking of FIND and MOVE request identifiers.
virtual OFBool matches(const OFString &key, const OFString &candidate, const OFBool enableWildCardMatching=OFTrue) const
OFString StorageMediaFileSetUID
Storage Media File Set UID (VR=UI, VM=1, type 3)
Definition: dsrsoprf.h:445
OFCondition getROIName(OFString &value, const signed long pos=0) const
get ROIName (3006,0026)
DcmIntegerString ReferencedDoseReferenceNumber
ReferencedDoseReferenceNumber (300c,0051) vr=IS, vm=1, type=1C.
Definition: drtrcdrs.h:169
DRTBrachyAccessoryDeviceSequence & getBrachyAccessoryDeviceSequence()
get BrachyAccessoryDeviceSequence (300a,0260)
Definition: drtass.h:179
DcmShortString AccessionNumber
AccessionNumber (0008,0050) vr=SH, vm=1, type=2.
Definition: drtiontr.h:2906
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
OFConfigFileCursor cursor_
current cursor position
Definition: ofconfig.h:513
const OFFilename Filename
filename of the SOP instance to be transferred (if no 'Dataset' given)
Definition: dstorscu.h:404
OFListIterator(Item *) CurrentItem
currently selected item
const Item & getItem(const size_t num) const
get particular item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmDate DateOfLastCalibration
DateOfLastCalibration (0018,1200) vr=DA, vm=1-n, type=3.
Definition: drtiontr.h:3065
DRTOriginalAttributesSequence OriginalAttributesSequence
OriginalAttributesSequence (0400,0561) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4683
Base class for monochrome images.
Definition: dimoimg.h:51
DcmUnsignedShort m_MaximumFractionalValue
Maximum Fractional Value: (US, 1, 1C) (required if fractional type is FRACTIONAL)
Definition: segdoc.h:609
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition gotoFirstItem()
goto first item in the sequence
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtadcs.h:349
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
DcmLongString StudyDescription
StudyDescription (0008,1030) vr=LO, vm=1, type=3.
Definition: drtiontr.h:2910
virtual ~DVPSGraphicObject()
destructor
virtual ReferencedSOPSequenceItem * getReferencedSOPSequence()
Get reference to the ReferencedSOPSequence.
OFBool reverseDecompressionByteOrder
enable reverse byte order of RLE segments during decompression, needed to decompress certain incorrec...
Definition: dcrlecp.h:133
Item(const Item ©)
copy constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcss.h:533
DcmDate TreatmentDate
TreatmentDate (3008,0250) vr=DA, vm=1, type=2.
Definition: drtiontr.h:3077
@ English_CA
(en-CA,RFC5646,"English (CA)")
Definition: cid5000.h:46
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual CodeSequenceMacro & getPerformedProtocolCode()
Get Performed Protocol Code.
OFBool checkForEscapeCharacter(const char *strValue, const size_t strLength) const
check whether the given string contains at least one escape character (ESC), because it is used for c...
virtual ~DcmSegment()
Destructor, frees memory.
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
OFCondition gotoFirstItem()
goto first item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition setRecommendedDisplayFrameRate(const OFString &value, const OFBool check=OFTrue)
set RecommendedDisplayFrameRate (0008,2144)
@ TSP_Profile_BCP195_Extended
DICOM Extended BCP 195 TLS Profile, based on RFC 7525.
Definition: tlsciphr.h:96
DSRTemporalCoordinatesValue & operator=(const DSRTemporalCoordinatesValue &coordinatesValue)
assignment operator
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbads.h:239
OFCondition setDisplayedArea(DVPSPresentationSizeMode sizeMode, Sint32 tlhcX, Sint32 tlhcY, Sint32 brhcX, Sint32 brhcY, double magnification=1.0)
sets the displayed area and size mode.
OFCondition addPositronEmissionTomographyDescriptors(DSRDocumentSubTree &tree, DcmItem &dataset, const AddImageMode mode, const ConceptNameList &descriptors, const OFBool check)
add image library entry descriptors for PET (TID 1607).
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtrics.h:352
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
this class encapsulates all the various options that affect the operation of the SCP,...
Definition: dcmqropt.h:43
virtual OFCondition putUint8Array(const Uint8 *vals, const unsigned long num)
replace the element value by a copy of the given Uint8 array (which is possibly multi-valued).
OFCondition getToleranceTableNumber(OFString &value, const signed long pos=0) const
get ToleranceTableNumber (300a,0042)
DcmDate TreatmentControlPointDate
TreatmentControlPointDate (3008,0024) vr=DA, vm=1, type=1.
Definition: drticpds.h:886
OFCondition statusToCondition(int status)
turn a status code from DicomImage into an OFCondition object.
Definition: drmimage.h:251
DVSeriesCache::ItemStruct * getSeriesStruct(const char *studyUID=NULL, const char *seriesUID=NULL, const char *instanceUID=NULL)
returns pointer to series struct specified by given UIDs or to current series
virtual OFCondition getFloat64(Float64 &val, const unsigned long pos=0)
retrieve a single value of type Float64.
OFVector< TrcTrack * > m_Tracks
Data for all tracks (i.e. content of Track Sequence)
Definition: trctrackset.h:446
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setAccessionNumber(const OFString &value, const OFBool check=OFTrue)
set AccessionNumber (0008,0050)
virtual void clear()
clear all internal variables.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getLongitudinalTemporalInformationModified(OFString &value, const signed long pos=0) const
get LongitudinalTemporalInformationModified (0028,0303)
static OFBool writeToXMLFile(const char *ofname, DcmDataset *dataset)
static helper function that writes the content of the given dataset into an XML file (see "dcm2xml....
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
a class representing the DICOM value representation 'Unique Identifier' (UI)
Definition: dcvrui.h:34
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
a class representing the DICOM value representation 'Floating Point Double' (FD)
Definition: dcvrfd.h:35
void clear()
clear all internal member variables
OFBool FilesetUpdateMode
update existing file-set
Definition: dcddirif.h:1586
DRTRequestingServiceCodeSequence(const DRTRequestingServiceCodeSequence ©)
copy constructor
DJLSRepresentationParameter(Uint16 nearlosslessDeviation=2, OFBool losslessProcess=OFTrue)
constructor
virtual OFCondition write(DcmItem &destination)
Write this module to given item.
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtrrpcs.h:329
DcmShortString BlockTrayID
BlockTrayID (300a,00f5) vr=SH, vm=1, type=3.
Definition: drtibls.h:358
size_t getNumberOfItems() const
get number of items in the sequence
E_TransferSyntax networkTransferSyntax_
preferred transfer syntax for incoming associations
Definition: dcmqropt.h:94
OFCmdUnsignedInt opt_maxPDU
max PDU size
Definition: wlmactmg.h:56
OFCondition setControlPointRelativePosition(const OFString &value, const OFBool check=OFTrue)
set ControlPointRelativePosition (300a,02d2)
virtual OFCondition workerListen(T_ASC_Association *const assoc)=0
Starts listening on the given association.
Definition: loglevel.h:181
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition createFromImage(DcmItem &dset, DVPSoverlayActivation overlayActivation=DVPSO_copyOverlays, DVPSVOIActivation voiActivation=DVPSV_preferVOILUT, OFBool curveActivation=OFTrue, OFBool shutterActivation=OFTrue, OFBool presentationActivation=OFTrue, DVPSGraphicLayering layering=DVPSG_twoLayers, const char *aetitle=NULL, const char *filesetID=NULL, const char *filesetUID=NULL)
creates a default presentation state for a DICOM image.
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
DRTRelatedRTROIObservationsSequence RelatedRTROIObservationsSequence
RelatedRTROIObservationsSequence (3006,00a0) vr=SQ, vm=1, type=3.
Definition: drtrros.h:301
OFBool isEmpty()
check if sequence is empty
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual ~DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule()
destructor
OFCondition updateLossyCompressionRatio(DcmItem *dataset, double ratio) const
create Lossy Image Compression and Lossy Image Compression Ratio.
OFCondition saveFile(const OFString &filename, const E_TransferSyntax writeXfer=EXS_LittleEndianExplicit)
Save current object to given filename.
OFCondition getReferencedFractionNumber(OFString &value, const signed long pos=0) const
get ReferencedFractionNumber (3008,0223)
DRTMotionSynchronizationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmDecimalString SpatialResolution
SpatialResolution (0018,1050) vr=DS, vm=1, type=3.
Definition: drtstrct.h:2996
@ FLB457_C11
(126706,DCM,"FLB 457 C^11^")
Definition: cid4021.h:128
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
Item & getItem(const size_t num)
get particular item in the sequence
virtual Uint16 checkEVENTREPORTRequest(T_DIMSE_N_EventReportRQ &reqMessage, DcmDataset *reqDataset)
Check given N-EVENT-REPORT request and dataset for validity.
virtual void resetRules()=0
Resets rules to their original values.
DJ_RPLossy(const DJ_RPLossy &arg)
copy constructor
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
Item EmptyItem
empty default item
Definition: drtrrms.h:370
DcmCodeString WedgeType
WedgeType (300a,00d3) vr=CS, vm=1, type=2.
Definition: drtiws.h:233
OFBool isValid() const
check whether the current internal state is valid.
OFCondition getRangeModulatorGatingStartWaterEquivalentThickness(Float32 &value, const unsigned long pos=0) const
get RangeModulatorGatingStartWaterEquivalentThickness (300a,0386)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition putAndInsertSint32(const DcmTag &tag, const Sint32 value, const unsigned long pos=0, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
@ GeneralMicroscopy
(GM,DCM,"General Microscopy")
Definition: cid29.h:66
DRTBeamLimitingDeviceToleranceSequence(const DRTBeamLimitingDeviceToleranceSequence ©)
copy constructor
size_t getNumberOfItems() const
get number of items in the sequence
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drtbs.h:751
OFCondition setNumberOfCompensators(const OFString &value, const OFBool check=OFTrue)
set NumberOfCompensators (300a,00e0)
static T lowest()
The lowest finite value representable by the numeric type T, that is, a finite value such that there...
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
virtual ~DRTOtherPatientIDsSequence()
destructor
DRTBreedRegistryCodeSequence & getBreedRegistryCodeSequence()
get BreedRegistryCodeSequence (0010,2296)
Definition: drtbrs.h:107
const DRTStrainStockSequence & getStrainStockSequence() const
get StrainStockSequence (0010,0216)
Definition: drtdose.h:2638
virtual OFCondition write(DcmItem &dataset)
Write enhanced multi-frame information to DICOM item, usually DcmDataset, i.e. writes Shared and Per-...
@ PerRectum
(37161004,SCT,"Per rectum")
Definition: cid11.h:76
void updateStatus()
updates hierarchical/review status for all list items.
Definition: dvcache.h:874
OFCondition addProfile(const char *key, const char *presentationContextKey, const char *roleSelectionKey=NULL, const char *extendedNegotiationKey=NULL)
creates a new association negotiation profile under the given key.
static void addOptions(OFCommandLine &cmd)
add the command line options which configureFromCommandLine() checks for
static void alignFrameOnBitPosition(Uint8 *buf, size_t bufLen, Uint8 numBits)
Aligns 1 bit per pixel frame data to make the frame start at a specific bit position within the first...
Item & operator[](const size_t num)
get particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
void clear()
clear all internal member variables
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmProfileEntry(const OFString &presentationContextGroup, const OFString &roleSelectionGroup, const OFString &extendedNegotiationGroup)
constructor
virtual void clear()
Clear data.
virtual unsigned long card() const
get cardinality of this item
DcmHashDictIterator & operator=(const DcmHashDictIterator &i)
copy assignment operator
Definition: dchashdi.h:139
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool isEmpty()
check if sequence is empty
static OFBool dirExists(const OFFilename &dirName)
check whether the given directory exists.
DRTApplicatorSequenceInRTImageModule & getApplicatorSequence()
get ApplicatorSequence (300a,0107)
Definition: drtes.h:327
virtual OFCondition getFloat64(Float64 &doubleVal, const unsigned long pos=0)
get particular double value
Item & operator[](const size_t num)
get particular item in the sequence
IODComponent(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL)
Constructor.
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setGreenPaletteColorLookupTableData(const Uint16 *value, const unsigned long count)
set GreenPaletteColorLookupTableData (0028,1202)
OFList< DVPSImageBoxContent * > list_
the list maintained by this object
Definition: dvpsibl.h:383
virtual OFCondition getFloat32(Float32 &floatVal, const unsigned long pos=0)
get particular float value
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtadcs.h:339
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
DRTContributingEquipmentSequence & getContributingEquipmentSequence()
get ContributingEquipmentSequence (0018,a001)
Definition: drtdose.h:2008
virtual OFCondition setPositionReferenceIndicator(const OFString &value, const OFBool check=OFTrue)
set PositionReferenceIndicator (0020,1040)
Interface class for DVHSequence (3004,0050)
Definition: drtdvhs.h:29
static size_t searchDirectoryRecursively(const OFFilename &directory, OFList< OFFilename > &fileList, const OFFilename &pattern, const OFFilename &dirPrefix, const OFBool recurse=OFTrue)
scan a given directory (recursively) and add all filenames found to a list
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Item & operator=(const Item ©)
assigment operator
OFCondition getApplicatorDescription(OFString &value, const signed long pos=0) const
get ApplicatorDescription (300a,010a)
DcmDateTime & operator=(const DcmDateTime &obj)
assignment operator
time_t getTime() const DCMTK_LOG4CPLUS_ATTRIBUTE_PURE
Returns this Time as a time_t value.
virtual ~DSRTreeNode()
destructor
Definition: dsrtree.h:71
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFBool isFrameOfReferenceModulePresent(const OFBool complete=OFFalse)
check whether FrameOfReferenceModule (U) is present.
unsigned long getMaxAbsoluteError() const
return maximum absolute error
Definition: dcmicmph.h:116
OFCondition appendToDicomDir(const E_ApplicationProfile profile, const OFFilename &filename)
create a DICOMDIR object based on an existing DICOMDIR file (append).
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
virtual OFCondition setSOPClassUID(const OFString &value, const OFBool checkValue=OFTrue)
Set SOP Class UID.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrbos6.h:134
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtcsas.h:169
DRTBreedRegistrationSequence BreedRegistrationSequence
BreedRegistrationSequence (0010,2294) vr=SQ, vm=1, type=2C.
Definition: drtiontr.h:2836
Definition: jpegint12.h:123
DRTRTROIObservationsSequence::Item & getObservation(Sint32 observationNumber)
find an observation by its observation number.
const char * getCurveAxisUnitsY()
gets the curve axis units string for the Y dimension if present.
Definition: dvpscu.h:113
DcmFileFormat * pDicomImage
pointer to the current DICOM image attached to the presentation state
Definition: dviface.h:1616
DJCodecParameter & operator=(const DJCodecParameter &)
private undefined copy assignment operator
Definition: vrscanl.h:153
DcmPath & operator=(const DcmPath &arg)
Private undefined assignment operator.
A meta-template for querying various properties of fundamental types.
Definition: oflimits.h:133
virtual int writePPM(STD_NAMESPACE ostream &stream) const =0
write pixel data of selected frame to PPM/ASCII file (abstract)
Item EmptyItem
empty default item
Definition: drtrpis.h:395
Interface class for ApplicatorSequence (300a,0107) in RTImageModule.
Definition: drtas5.h:29
Item class.
Definition: drtajcs.h:37
DiImage * createRotate(const int degree) const
create a rotated copy of the current image.
DcmDirectoryRecord * buildSpectroscopyRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update spectroscopy record and copy required values from dataset
OFCondition getTableTopPitchAngleTolerance(Float32 &value, const unsigned long pos=0) const
get TableTopPitchAngleTolerance (300a,004f)
virtual OFCondition setPregnancyStatus(const Uint16 value, const unsigned long pos=0)
set PregnancyStatus (0010,21c0)
DSRTemporalCoordinatesValue * getTemporalCoordinatesPtr()
get pointer to temporal coordinates.
Interface class for OverrideSequence (3008,0060)
Definition: drtos.h:29
OFCondition getDVHDoseScaling(OFString &value, const signed long pos=0) const
get DVHDoseScaling (3004,0052)
const unsigned long CIF_CheckLutBitDepth
check third value of the LUT descriptor, compare with with expected bit depth based on LUT data
Definition: diutils.h:86
@ Second
(s,UCUM,"second")
Definition: cid7181.h:154
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Implementation of DCMR Context Group: CID 42 - Numeric Value Qualifier.
Definition: cid42.h:35
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
Item & operator=(const Item ©)
assigment operator
OFCondition gotoNextItem()
goto next item in the sequence
virtual const void * getOutputData(const unsigned long frame, const int bits, const int planar=0)
get pixel data with specified format.
OFString MappingResourceUID
mapping resource UID (VR=UI, optional in ContentTemplateSequence)
Definition: dsrdoctn.h:769
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition getPatientComments(OFString &value, const signed long pos=0) const
get PatientComments (0010,4000)
ItemStruct(const OFString &uid, const DVIFhierarchyStatus status=DVIF_objectIsNew, const DVPSInstanceType type=DVPSI_image)
Constructor.
Definition: dvcache.h:418
OFCondition setReferencedFractionGroupNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFractionGroupNumber (300c,0022)
OFCondition setApplicatorType(const OFString &value, const OFBool check=OFTrue)
set ApplicatorType (300a,0109)
virtual OFCondition getDateOfLastCalibration(OFString &value, const signed long pos=0) const
get DateOfLastCalibration (0018,1200)
DCMTK_DCMDATA_EXPORT void normalizeString(OFString &string, const OFBool multiPart, const OFBool leading, const OFBool trailing, const char paddingChar=' ')
normalize the given string value, i.e. remove leading and/or trailing padding
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
Item class.
Definition: drtrbs2.h:37
int checkDataDictionary()
check whether data dictionary is present
virtual OFCondition getZeroVelocityPixelValue(Sint32 &value, const signed long pos=0)
Get Zero Velocity Pixel Value.
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
DcmDecimalString NumericValue
NumericValue (0040,a30a) vr=DS, vm=1-n, type=1C.
Definition: drtqds.h:349
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
DcmTime AcquisitionTime
AcquisitionTime (0008,0032) vr=TM, vm=1, type=3.
Definition: drtdose.h:4382
this class encapsulates the decompression routines of the IJG JPEG library configured for 12 bits/sam...
Definition: djdijg12.h:39
virtual DCMTK_LOG4CPLUS_PRIVATE Logger getInstanceImpl(const log4cplus::tstring &name, spi::LoggerFactory &factory)
This is the implementation of the getInstance() method.
CID10013e_CTAcquisitionType(const OFString &selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
OFCondition getSourceApplicatorTipLength(Float64 &value, const unsigned long pos=0) const
get SourceApplicatorTipLength (300a,0274)
Sint32 * frameCache
if exists, contains binary representation of referencedFrameNumber
Definition: dvpsri.h:167
static OFCondition push(OFCondition newCondition, OFCondition subCondition)
creates a new hierarchical condition from the given condition and sub-condition.
Uint16 * Init(const DiOverlay *overlay)
initialize new overlay managing object
~DcmStack()
destructor, not virtual. Do not derive from this class.
DRTReferencedBrachyApplicationSetupSequenceInRTFractionSchemeModule & operator=(const DRTReferencedBrachyApplicationSetupSequenceInRTFractionSchemeModule ©)
assigment operator
DcmOtherByteOtherWord LUTData
LUTData (0028,3006) vr=US/OW, vm=1-n, type=1.
Definition: drtmls.h:158
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DiImage * createRotate(const int degree) const
create a rotated copy of the current image.
DcmDecimalString BlockTransmission
BlockTransmission (300a,0102) vr=DS, vm=1, type=2C.
Definition: drtbl2.h:362
virtual OFCondition setOccupation(const OFString &value, const OFBool check=OFTrue)
set Occupation (0010,2180)
void clearAnnotationSOPInstanceUIDs()
removes all UIDs from the annotation boxes managed by this object
@ DGM_StoreBitPreserving
receive dataset directly to file, i.e. write data exactly as received
Definition: dstorscp.h:91
DRTWedgeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item & operator[](const size_t num)
get particular item in the sequence
const DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence() const
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtionpl.h:1337
static void initialize()
initialize this context group explicitly.
OFBool isEmpty()
check if item is empty
const DRTReferencedImageSequence & getReferencedImageSequence() const
get ReferencedImageSequence (0008,1140)
Definition: drtiontr.h:1629
Interface class for BreedRegistrationSequence (0010,2294)
Definition: drtbrs.h:29
DcmQuantComponent getGreen(unsigned long idx) const
returns the green color component at index idx
Definition: diqtctab.h:116
virtual const T * getChildNode() const
get pointer to first child node.
Definition: dsrtncsr.h:472
Item & operator[](const size_t num)
get particular item in the sequence
DcmDecimalString SourceToBlockTrayDistance
SourceToBlockTrayDistance (300a,00f6) vr=DS, vm=1, type=2.
Definition: drtbl5.h:347
const char * getPresentationLutExplanation() const
get description of active presentation LUT
Definition: dimoimg.h:432
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getNumberOfBoli(OFString &value, const signed long pos=0) const
get NumberOfBoli (300a,00ed)
virtual OFCondition setSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceUID (0008,0018)
int checkMinMaxDensity() const
check whether Dmin and Dmax are properly specified.
DRTRTReferencedSeriesSequence RTReferencedSeriesSequence
RTReferencedSeriesSequence (3006,0014) vr=SQ, vm=1, type=1.
Definition: drtrsts.h:145
virtual OFCondition getInstanceCreatorUID(OFString &value, const signed long pos=0) const
get InstanceCreatorUID (0008,0014)
virtual OFCondition setStudyInstanceUID(const OFString &value, const OFBool check=OFTrue)
set StudyInstanceUID (0020,000d)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getPatientSetupNumber(OFString &value, const signed long pos=0) const
get PatientSetupNumber (300a,0182)
int placePlane(unsigned int plane, const signed int left_pos, const signed int top_pos)
move plane to a new place
void pushToStringMethod(LogLevelToStringMethod_1_0 newToString)
For compatibility with log4cplus 1.0.x.
DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmCodeString BrachyTreatmentType
BrachyTreatmentType (300a,0202) vr=CS, vm=1, type=1.
Definition: drtplan.h:3313
Item & operator[](const size_t num)
get particular item in the sequence
DRTApplicatorSequenceInRTBeamsModule ApplicatorSequence
ApplicatorSequence (300a,0107) vr=SQ, vm=1, type=3.
Definition: drtbs.h:721
virtual OFCondition getSeriesTime(OFString &value, const signed long pos=0) const
get SeriesTime (0008,0031)
const char * getSOPInstanceUID()
gets the current SOP Instance UID.
DcmApplicationEntity(const DcmTag &tag, const Uint32 len=0)
constructor.
@ CS_Cyrillic
ISO-IR 144: Cyrillic.
Definition: dsrtypes.h:803
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
DcmLongString LateralSpreadingDeviceDescription
LateralSpreadingDeviceDescription (300a,033a) vr=LO, vm=1, type=3.
Definition: drtlsds.h:181
OFCondition setDiaphragmPosition(const OFString &value, const OFBool check=OFTrue)
set DiaphragmPosition (3002,0034)
OFBool m_itemWildcardsEnabled
Denotes, whether a path is accepted that contains wildcards.
Definition: dcpath.h:507
const DSRCodedEntryValue & getConceptName() const
get reference to the concept name
Definition: dsrdoctn.h:330
Item & operator[](const size_t num)
get particular item in the sequence
Item & operator=(const Item ©)
assigment operator
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTReferencedReferenceImageSequenceInRTIonBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
static const int PF_ExpandWildcards
parsing flag to expand wildcard under Windows.
Definition: ofcmdln.h:969
@ GT3_Multipoint
DICOM Graphic Type: MULTIPOINT.
Definition: dsrtypes.h:689
DcmCodeString DoseSummationType
DoseSummationType (3004,000a) vr=CS, vm=1, type=1.
Definition: drtdose.h:4576
DVPSImageBoxContent_PList(const DVPSImageBoxContent_PList ©)
copy constructor
virtual OFCondition setImageType(const DcmIODTypes::IOD_ENHUSIMAGETYPE pixelDataChar, const OFString &imageFlavor="", const OFString &derivedPixelContrast="", const OFBool checkValue=OFTrue)
Set Image Type.
Item & getCurrentItem()
get current item in the sequence
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtspccs.h:355
virtual OFCondition getMeasuredLateralDimension(OFString &value, const signed long pos=0) const
get MeasuredLateralDimension (0010,1024)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual unsigned char getItemType() const
Returns item type, which is 0x58 for requests, and 0x58 for acknowledgements.
Definition: dcuserid.h:90
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
virtual DcmElement * remove(const DcmTagKey &tag)
remove element from list.
Item & operator=(const Item ©)
assigment operator
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTApplicatorGeometrySequence & getApplicatorGeometrySequence()
get ApplicatorGeometrySequence (300a,0431)
Definition: drtas5.h:135
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
Definition: jpeglib12.h:204
This is the base class used to implement the functionality required by the ObjectRegistry template cl...
Definition: objreg.h:48
virtual OFCondition addTrackStatistics(const CodeSequenceMacro &typeCode, const CodeSequenceMacro &typeModifierCode, const CodeSequenceMacro &unitsCode, const Float32 *values, const size_t numValues, TrcTracksStatistic *&statistic)
Add Track Statistic, i.e.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setRealWorldValueLastValueMapped(const Uint16 value, const unsigned long pos=0)
set RealWorldValueLastValueMapped (0040,9211)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
@ EIS_MissingAttribute
mandatory attribute missing
Definition: diutils.h:232
virtual OFCondition assignToSOPFile(const char *referencedFileID, const OFFilename &sourceFileName)
open a DICOM file and make this directory record into a directory record for that DICOM file.
const Item & getCurrentItem() const
get current item in the sequence
Item & operator=(const Item ©)
assigment operator
Item(const Item ©)
copy constructor
OFCondition deactivateOverlay(size_t layer, size_t idx)
removes activation for an overlay which may be embedded in the attached image or part of the presenta...
ItemStruct * getItem() const
gets reference to current (selected) series
Definition: dvcache.h:604
virtual OFCondition getProtocolName(OFString &value, const signed long pos=0) const
get protocol name
virtual OFCondition getSOPInstanceStatus(OFString &value, const signed long pos=0) const
get SOPInstanceStatus (0100,0410)
OFString outgoingProfile
profile name for outgoing association configuration
Definition: dcmqropt.h:170
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setNumberOfScanSpotPositions(const OFString &value, const OFBool check=OFTrue)
set NumberOfScanSpotPositions (300a,0392)
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtcbars.h:364
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence() const
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtionpl.h:1733
unsigned long getFrameStart() const
get first frame to be processed
Definition: didocu.h:127
Uint16 getMaxValue() const
get maximum value of the LUT.
Definition: dibaslut.h:212
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
const DRTRequestAttributesSequence & getRequestAttributesSequence() const
get RequestAttributesSequence (0040,0275)
Definition: drtplan.h:1862
void removeImageReference(DVPSReferencedSeries_PList &allReferences, const char *instanceUID, unsigned long frame, unsigned long numberOfFrames, DVPSObjectApplicability applicability)
removes a reference to an image or frame.
virtual OFCondition getReferencedFrameNumber(OFVector< Uint16 > &values)
Get Referenced Frame Number.
OFCondition setTrackingUniqueIdentifier(const OFString &trackingUID, const OFBool check=OFTrue)
set the value of the 'Tracking Unique Identifier' content item (TID 1501 - Row 3).
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
void setDIMSEBlockingMode(const T_DIMSE_BlockingMode blockingMode)
Set whether DIMSE messaging should be blocking or non-blocking.
DRTTreatmentSummaryCalculatedDoseReferenceSequence & operator=(const DRTTreatmentSummaryCalculatedDoseReferenceSequence ©)
assigment operator
Uint32 getTransferredBytes() const
return the number of transferred bytes for this object during serialization/deserialization
Definition: dcobject.h:744
virtual OFCondition getString(char *&stringVal)
get a pointer to the current string value.
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
OFCondition gotoNextItem()
goto next item in the sequence
ImageSOPInstanceReferenceMacro()
Constructor.
virtual OFCondition addExtraContentItem(const E_RelationshipType relationshipType, const E_ValueType valueType, const E_AddMode addMode=AM_afterCurrent)
add extra content item to the current one (if the template is extensible).
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrbs4.h:461
const DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence() const
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtstrct.h:1188
XMLNode getChildNodeByPath(XMLCSTR path, char createNodeIfMissing=0, XMLCHAR sep='/')
return the first child node with specific path
virtual OFCondition getPatientSize(OFString &value, const signed long pos=0) const
get PatientSize (0010,1020)
DRTProcedureCodeSequence & getProcedureCodeSequence()
get ProcedureCodeSequence (0008,1032)
Definition: drtstrct.h:1542
virtual OFCondition getSynchronizationChannel(OFVector< Uint16 > &value) const
Get Synchronization Channel.
static OFBool requiresSynchronizationModule(const E_DocumentType documentType)
check whether SR document type requires Synchronization Module
OFListIterator(Item *) CurrentItem
currently selected item
Item & getCurrentItem()
get current item in the sequence
static double getTimeInSeconds(const unsigned int hour, const unsigned int minute, const double second, const double timeZone=0, const OFBool normalize=OFTrue)
get the given time in seconds.
DSRCompositeTreeNode(const DSRCompositeTreeNode &node)
copy constructor.
OFCondition getTableTopEccentricAngleTolerance(Float64 &value, const unsigned long pos=0) const
get TableTopEccentricAngleTolerance (300a,004e)
OFCondition setHeadFixationAngleTolerance(const OFString &value, const OFBool check=OFTrue)
set HeadFixationAngleTolerance (300a,0152)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
const DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence() const
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtdose.h:2050
OFCondition configureImages(EW_WindowType windowType, OFBool sharedWindow, OFCmdUnsignedInt windowParameter, OFCmdFloat windowCenter, OFCmdFloat windowWidth, EF_VoiLutFunction voiFunction, ES_PresentationLut presShape)
configure the display pipelines for both referenced and test image.
DcmVR()
default constructor
Definition: dcvr.h:284
virtual const char * className() const =0
returns the class name as string.
static size_t getNumberOfCipherSuites()
returns the number of known ciphersuites.
OFCondition setPurposeOfReference(const DSRCodedEntryValue &purposeOfReference, const OFBool check=OFTrue)
set purpose of reference code of the currently selected entry.
OFCondition gotoNextItem()
goto next item in the sequence
const DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence() const
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtimage.h:3004
virtual ~DVPSPrintEventHandler()
destructor
Definition: dvpspr.h:38
void setElementRangeRestriction(DcmDictRangeRestriction rr)
sets element range restriction
Definition: dcdicent.h:278
OFList< size_t > PositionList
list of position counters in upper levels
Definition: dsrposcn.h:163
@ Head
(69536005,SCT,"Head")
Definition: cid4031.h:118
virtual void transferEnd()
finalize the transfer state of this object.
OFVector< DcmIODTypes::Frame * > m_Frames
Binary frame data.
Definition: dpmparametricmapiod.h:302
static OFCondition getCurrentDateTime(OFString &dicomDateTime, const OFBool seconds=OFTrue, const OFBool fraction=OFFalse, const OFBool timeZone=OFFalse)
get the current system date and time.
@ Finger
(7569003,SCT,"Finger")
Definition: cid4031.h:108
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbs.h:976
const DRTGeneticModificationsSequence & getGeneticModificationsSequence() const
get GeneticModificationsSequence (0010,0221)
Definition: drtstrct.h:1308
DcmCodecParameter(const DcmCodecParameter &)
copy constructor
Definition: dccodec.h:49
Item EmptyItem
empty default item
Definition: drtiseis.h:331
virtual offile_off_t write(const void *buf, offile_off_t buflen)
processes as many bytes as possible from the given input block.
OFCondition putString(const char *stringValue)
put list of referenced segment numbers as a string.
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drtdose.h:4346
int hasLookupTable() const
check whether lookup table is present
Definition: dimomod.h:201
@ EXS_JPEGProcess3_5
JPEG Extended Sequential (lossy, 8/12 bit), arithmetic coding.
Definition: dcxfer.h:53
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getAdmittingDiagnosesDescription(OFString &value, const signed long pos=0) const
get AdmittingDiagnosesDescription (0008,1080)
OFCondition getImageReference(size_t idx, OFString &studyUID, OFString &seriesUID, OFString &sopclassUID, OFString &instanceUID, OFString &frames, OFString &aetitle, OFString &filesetID, OFString &filesetUID)
gets an image reference with the given index.
DiColorScaleTemplate(const DiColorPixel *pixel, const Uint16 columns, const Uint16 rows, const signed long left_pos, const signed long top_pos, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int bits, const int interpolate)
constructor
Definition: dicosct.h:61
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtcgis.h:162
offile_off_t fStartPosition
used during reading.
Definition: dcsequen.h:632
const DicomImage * getIconImage() const
get reference to icon image associated with this image reference value (if any).
Definition: dsrimgvl.h:286
OFString privateKeyPasswd
contains the password for the private key if set on command line
Definition: siprivat.h:105
DcmIntegerString instanceNumber
Module=Film_Box_Module, VR=IS, VM=1, Type 2.
Definition: dvpssp.h:1005
OFCondition addImageReference(const char *studyUID, const char *seriesUID, const char *sopclassUID, const char *instanceUID, const char *frames=NULL, const char *aetitle=NULL, const char *filesetID=NULL, const char *filesetUID=NULL)
adds a reference to an image to this presentation state.
@ PinatuzumabVedotin_89Zr
(126725,DCM,"Pinatuzumab vedotin ^89^Zr")
Definition: cid4021.h:230
DcmFindSCUExtractMode extractResponses_
mode specifying whether and how to extract C-FIND responses.
Definition: dfindscu.h:175
virtual OFCondition check() const
Check whether data in this functional group is valid.
virtual OFCondition checkValue(const OFString &stringValue) const
check the specified string value for validity.
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
const DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence() const
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drttreat.h:1473
DRTIssuerOfAdmissionIDSequence IssuerOfAdmissionIDSequence
IssuerOfAdmissionIDSequence (0038,0014) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3138
void termDestination(jpeg_compress_struct *cinfo)
callback for IJG compress destination manager.
int smoothingFactor
smoothing factor for image compression, 0..100
Definition: djcparam.h:344
T val
value of this object
Definition: ofglobal.h:108
static const size_t PF_shortenLongItemValues
shorten long item value (e.g. long texts)
Definition: dsrtypes.h:417
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmDirectoryRecord * buildRTPlanRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update RT plan record and copy required values from dataset
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
SSL_CTX * native_handle_type
a type alias for the type of the underlying OpenSSL context handle to be used in conjunction with the...
Definition: tlslayer.h:113
DcmFloatingPointSingle IsocenterToCompensatorDistances
IsocenterToCompensatorDistances (300a,02e6) vr=FL, vm=1-n, type=1C.
Definition: drtircs.h:428
DRTEncryptedAttributesSequence & getEncryptedAttributesSequence()
get EncryptedAttributesSequence (0400,0500)
Definition: drttreat.h:1239
DcmIntegerString AcquisitionNumber
AcquisitionNumber (0020,0012) vr=IS, vm=1, type=3.
Definition: drtdose.h:4378
DJ_RPLossless(const DJ_RPLossless &arg)
copy constructor
virtual ~DSRTemplateCommon()
destructor
Item(const Item ©)
copy constructor
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
void clear()
clear all internal member variables
void clearImageReferences()
removes all image references for this displayed area.
Definition: dvpsda.h:159
virtual OFString & dumpConnectionParameters(OFString &str)
dump the characteristics of the current connection
virtual OFCondition putUint8Array(const Uint8 *vals, const unsigned long num)
replace the element value by a copy of the given Uint8 array (which is possibly multi-valued).
OFCondition setSourceToSurfaceDistance(const OFString &value, const OFBool check=OFTrue)
set SourceToSurfaceDistance (300a,0130)
@ DT_ImplantationPlanSRDocument
DICOM IOD: Implantation Plan SR Document.
Definition: dsrtypes.h:529
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool getPrependDateTime()
gets the current setting of the Prepend Date/Time annotation flag.
Definition: dviface.h:1396
@ DCMSCU_PEER_ABORTED_ASSOCIATION
Peer aborted the association.
Definition: scu.h:53
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getPixelAspectRatio(Sint32 &value, const unsigned long pos=0) const
get PixelAspectRatio (0028,0034)
DcmDecimalString TableTopEccentricAngle
TableTopEccentricAngle (300a,0125) vr=DS, vm=1, type=1C.
Definition: drtcps.h:691
virtual OFCondition getAllergies(OFString &value, const signed long pos=0) const
get Allergies (0010,2110)
~Data()
Delete the managed object.
Definition: ofmem.h:194
OFCondition setRationalDenominatorValue(const Uint32 value, const unsigned long pos=0)
set RationalDenominatorValue (0040,a163)
OFCondition setAndCheckAssociationProfile(const OFString &profileName)
If an association profile should be selected, either by loading an association configuration file or ...
static T min()
The minimum finite value representable by the numeric type T.
OFCondition getOperatorsName(OFString &value, const signed long pos=0) const
get OperatorsName (0008,1070)
DcmLongString PatientID
PatientID (0010,0020) vr=LO, vm=1, type=1.
Definition: drtopis.h:163
OFListIterator(Item *) CurrentItem
currently selected item
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtircs.h:400
virtual ~DRTApplicatorSequenceInRTImageModule()
destructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
OFCondition getBluePaletteColorLookupTableData(Uint16 *&value, unsigned long *count=NULL) const
get BluePaletteColorLookupTableData (0028,1203)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmUniversalResourceIdentifierOrLocator RetrieveURI
RetrieveURI (0040,e010) vr=UR, vm=1, type=3.
Definition: drtpdeds.h:244
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
E_StreamCompression
enumeration of stream compression techniques
Definition: dcxfer.h:162
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setReferencedROINumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedROINumber (3006,0084)
OFBool isEmpty()
check if sequence is empty
DcmUniqueIdentifier imageSeriesInstanceUID
series UID for hardcopy image objects
Definition: dvpsprt.h:300
Uint8 curveGroup
lower byte of the curve repeating group managed by this object
Definition: dvpscu.h:120
OFCondition setScanSpotPositionMap(const Float32 value, const unsigned long pos=0)
set ScanSpotPositionMap (300a,0394)
DcmLongString ApplicatorDescription
ApplicatorDescription (300a,010a) vr=LO, vm=1, type=3.
Definition: drtas7.h:160
virtual offile_off_t avail() const
returns the minimum number of bytes that can be written with the next call to write().
void clear()
clear all internal member variables
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtrpcs.h:205
DRTStrainStockSequence StrainStockSequence
StrainStockSequence (0010,0216) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4833
DcmShortText PrescriptionDescription
PrescriptionDescription (300a,000e) vr=ST, vm=1, type=3.
Definition: drtionpl.h:3201
virtual OFCondition setFrameAcquisitionNumber(const Uint16 &value, const OFBool checkValue=OFTrue)
Set Frame Acquisition Number.
virtual OFCondition getDimensionIndexValues(Uint32 &value, const signed long pos=0)
Get Dimension Index Value.
void setTransferredBytes(Uint32 val)
set the number of transferred bytes for this object during serialization/deserialization
Definition: dcobject.h:749
OFString Description
Short description of the application.
Definition: ofconapp.h:224
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item class.
Definition: drtrbls.h:36
virtual OFCondition getPhysiciansOfRecord(OFString &value, const signed long pos=0) const
get PhysiciansOfRecord (0008,1048)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setCompensatorPosition(const OFString &value, const OFBool check=OFTrue)
set CompensatorPosition (300a,00ea)
Item EmptyItem
empty default item
Definition: drtlsds6.h:354
unsigned long getImageDisplayFormatColumns()
gets the number of columns of the current image display format.
virtual ~OFCommandLine()
destructor
virtual OFCondition insertExtraTemplate(const DSRSubTemplate &subTemplate, const E_AddMode addMode=AM_belowCurrent, const E_RelationshipType defaultRelType=RT_unknown)
insert tree from given extra template to internally stored subtree.
Item EmptyItem
empty default item
Definition: drtrrtps3.h:331
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getReferencedToleranceTableNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedToleranceTableNumber (300c,00a0)
OFBool operator==(const OFConfigFileCursor &) const
dummy comparison operator, needed by MSVC5 with STL.
Definition: ofconfig.h:304
Item & getCurrentItem()
get current item in the sequence
DcmQueryRetrieveSCP & operator=(const DcmQueryRetrieveSCP &other)
private undefined assignment operator
virtual OFCondition check(const OFBool quiet=OFFalse)
Check whether this component's data satisfies the underlying rules.
int EmbeddedData
true, if overlay data in embedded in pixel data
Definition: diovpln.h:485
DcmQuantFloydSteinberg(const DcmQuantFloydSteinberg &src)
private undefined copy constructor
virtual DSRDocumentTree * cloneTree() const
clone the internally stored document tree of this template.
OFCondition setNumericValue(DcmItem &dataset, const DcmTagKey &tagKey, const unsigned long pos=0, const OFBool check=OFTrue)
set numeric value from dataset.
DcmLongString ClinicalTrialProtocolID
ClinicalTrialProtocolID (0012,0020) vr=LO, vm=1, type=1.
Definition: drtiontr.h:2871
const DRTBreedRegistrationSequence & getBreedRegistrationSequence() const
get BreedRegistrationSequence (0010,2294)
Definition: drtionpl.h:1253
virtual OFCondition sendEVENTREPORTRequest(const T_ASC_PresentationContextID presID, const OFString &sopInstanceUID, const Uint16 eventTypeID, DcmDataset *reqDataset, Uint16 &rspStatusCode)
This function sends N-EVENT-REPORT request and receives the corresponding response.
@ DCMSCP_NO_IMPLEMENTATION_CLASS_UID
Refusing association because of missing Implementation Class UID.
Definition: scp.h:91
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
virtual OFCondition check(const OFBool quiet=OFFalse)
Check whether this component's data satisfies the underlying rules.
int isValidGroupNumber(const unsigned int group) const
check whether given group number is valid.
int getWindow(double ¢er, double &width)
get current VOI window as window center and width values
Definition: dcmimage.h:712
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print numeric measurement value.
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtgmcs.h:205
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
get Modality (0008,0060)
virtual OFCondition setInstanceCoercionDateTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCoercionDateTime (0008,0015)
DRTPatientSizeCodeSequence PatientSizeCodeSequence
PatientSizeCodeSequence (0010,1021) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2960
virtual ~FGUnknown()
Virtual destructor, frees memory.
void print(STD_NAMESPACE ostream &stream, const OFBool printCodeValue=OFTrue, const size_t flags=0) const
print code.
DcmCodeString QueryRetrieveView
QueryRetrieveView (0008,0053) vr=CS, vm=1, type=1C.
Definition: drtionpl.h:3305
OFCondition setNoVoiTransformation()
unset all VOI transformations (windows and LUTs).
Definition: drmimage.h:133
Class with helper functions used within the dcmiod module (and beyond)
Definition: iodutil.h:41
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drttms9.h:200
DRTReferencedTreatmentRecordSequenceInRTDoseModule & operator=(const DRTReferencedTreatmentRecordSequenceInRTDoseModule ©)
assigment operator
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition getPatientComments(OFString &value, const signed long pos=0) const
get PatientComments (0010,4000)
virtual OFCondition setWindowWidth(const OFString &value, const OFBool check=OFTrue)
set WindowWidth (0028,1051)
OFCondition getRTROIInterpretedType(OFString &value, const signed long pos=0) const
get RTROIInterpretedType (3006,00a4)
OFCondition getReferencedFrameNumber(OFString &value, const signed long pos=0) const
get ReferencedFrameNumber (0008,1160)
OFCondition lockExclusive()
creates an exlusive lock on the database if none exists.
DVInterface(const char *config_file=NULL, OFBool useLog=OFFalse)
constructor.
iterator end() const
returns a constant iterator that points after the last element of the string
Definition: ofstring.h:832
void clear()
clear all internal member variables
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtajcs.h:536
OFCondition setGammaVOILUT(double gammaValue, DVPSObjectApplicability applicability=DVPSB_currentImage)
stores VOI lookup table with a gamma curve shape in the presentation state.
unsigned long getFlags() const
get configuration flags
Definition: didocu.h:145
int getDepth() const
get image depth
Definition: dcmimage.h:291
DcmUniversalResourceIdentifierOrLocator(const DcmTag &tag, const Uint32 len=0)
constructor.
SiCertificateVerifier & operator=(SiCertificateVerifier &arg)
private undefined copy assignment operator
OFCondition getMetersetRateDelivered(Float32 &value, const unsigned long pos=0) const
get MetersetRateDelivered (3008,0046)
DcmPersonName OtherPatientNames
OtherPatientNames (0010,1001) vr=PN, vm=1-n, type=3.
Definition: drtstrct.h:2755
Item EmptyItem
empty default item
Definition: drtmucs.h:540
virtual ~Item()
destructor
Interface class for PlannedVerificationImageSequence (300a,00ca)
Definition: drtpvis.h:28
DcmTime PerformedProcedureStepStartTime
PerformedProcedureStepStartTime (0040,0245) vr=TM, vm=1, type=3.
Definition: drtstrct.h:2952
static unsigned int rangeToBits(double minvalue, double maxvalue)
calculate number of bits which are necessary to store the specified value range
DcmUniqueIdentifier SynchronizationFrameOfReferenceUID
Synchronization Frame of Reference UID: (UI, 1, 1)
Definition: dsrdoc.h:1389
virtual void disableDebug()
Disable all Debug logging requests regardless of logger.
OFBool isEmpty()
check if sequence is empty
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getGraphicLayerRecommendedDisplayValueGray(size_t idx, Uint16 &gray)
gets the recommended grayscale display value for the given graphic layer.
virtual OFCondition getValueType(ValueType &value) const
Get ValueType.
OFBool operator==(const OFdirectory_iterator &rhs) const
Compare an OFdirectory_iterator against another one.
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getSourceToBlockTrayDistance(OFString &value, const signed long pos=0) const
get SourceToBlockTrayDistance (300a,00f6)
virtual OFCondition setReferringPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ReferringPhysicianName (0008,0090)
DVPSPresentationLUT_PList * clone()
clone method.
Definition: dvpspll.h:53
OFCmdUnsignedInt opt_sleepAfterFind
indicates how long the application shall sleep after a find
Definition: wlmactmg.h:52
void clear()
clear all internal member variables
const char * getTargetPrinterMagnificationType(const char *targetID, Uint32 idx, OFString &value)
returns one value from the MAGNIFICATIONTYPE entry for the printer with the given target ID from the ...
@ OphthalmicTomographyBScanVolumeAnalysis
(OPTBSV,DCM,"Ophthalmic Tomography B-scan Volume Analysis")
Definition: cid29.h:98
OFBool fail() const
returns true if the RLE compressor has failed (out of memory or output buffer too small).
Definition: dcrledec.h:186
OFBool operator!=(const DcmRepresentationEntry &x) const
comparison operator
Definition: dcpixel.h:105
virtual ~DSRPlannedImagingAgentAdministrationSRConstraintChecker()
destructor
virtual OFCondition write(DcmItem &destination)
Write this module to given item.
DcmLongString ClinicalTrialSiteName
ClinicalTrialSiteName (0012,0031) vr=LO, vm=1, type=2.
Definition: drtplan.h:3048
Definition: dcmqridx.h:120
OFCondition printSCUprintBasicFilmBox(DVPSPrintMessageHandler &printHandler)
Prints the current DICOM Basic Film Box SOP Instance.
OFCondition getParameterSequencePointer(OFString &value, const signed long pos=0) const
get ParameterSequencePointer (3008,0061)
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
DVPSDisplayedArea_PList * clone()
clone method.
Definition: dvpsdal.h:52
virtual OFCondition getTextValue(OFString &value, const signed long pos=0) const
Get TextValue.
OFBool checkExists(DcmItem *dataset, const DcmTagKey &key, const OFFilename &filename=OFFilename())
check whether given tag exists in the DICOM dataset
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=3.
Definition: drtimage.h:5039
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_FileMetaInfoHeaderMissing
File meta information header missing.
DSRIncludedTemplateNodeCursor(DSRDocumentTreeNode *node, const DSRPositionCounter *position=NULL)
constructor.
@ ATSM_Cu64
(422855001,SCT,"ATSM Cu^64^")
Definition: cid4021.h:66
OFCondition getSetupDeviceLabel(OFString &value, const signed long pos=0) const
get SetupDeviceLabel (300a,01b8)
const Item & operator[](const size_t num) const
get particular item in the sequence
void setConnectionBlockingMode(const DUL_BLOCKOPTIONS blockingMode)
Set whether waiting for a TCP/IP connection should be blocking or non-blocking.
DVPSCertificateVerificationType getTargetPeerAuthentication(const char *targetID)
returns the PEERAUTHENTICATION entry for the communication partner with the given target ID from the ...
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
OFOrderedSet< T > Intersection(const OFOrderedSet< T > &other) const
Determines the intersection of the two sets this and other, i.e.
Definition: ofoset.h:411
DcmUnsignedLong RationalDenominatorValue
Rational Denominator Value (VR=UL, type 1C)
Definition: dsrnumvl.h:549
Item & operator[](const size_t num)
get particular item in the sequence
DRTSeriesDescriptionCodeSequence & operator=(const DRTSeriesDescriptionCodeSequence ©)
assigment operator
OFCondition getBeamDescription(OFString &value, const signed long pos=0) const
get BeamDescription (300a,00c3)
DimensionOrganizationItem(IODComponent *parent=NULL)
Constructor.
static OFBool anyDescriptorsToBeAdded(const AddImageMode mode, const ConceptNameList &descriptors)
check whether there are any descriptors to be added (based on given parameters)
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
DcmCodeString RangeShifterType
RangeShifterType (300a,0320) vr=CS, vm=1, type=1.
Definition: drtrshs.h:187
Item & operator[](const size_t num)
get particular item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
const DRTChannelSourceSequence & getChannelSourceSequence() const
get ChannelSourceSequence (003a,0208)
Definition: drtmacds.h:127
DcmDecimalString GantryAngle
GantryAngle (300a,011e) vr=DS, vm=1, type=1C.
Definition: drtcps.h:665
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmCodeString SpatialTransformOfDose
SpatialTransformOfDose (3004,0005) vr=CS, vm=1, type=3.
Definition: drtdose.h:4565
T_ASC_Association * assoc_
pointer to current association. Will contain valid value when callback() is called.
Definition: dfindscu.h:119
DcmHashDictIterator begin() const
returns iterator to start of hash table
Definition: dchashdi.h:234
IODPatientStudyModule()
Constructor.
virtual E_KeyType keyType() const
returns the type of public key algorithm computed by this object
char * fgets(char *s, int n)
reads in at most one less than n characters from stream and stores them into the buffer pointed to by...
Definition: offile.h:723
static const size_t HF_XHTML11Compatibility
external: output compatible to XHTML version 1.1 (default: HTML 4.01)
Definition: dsrtypes.h:326
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
virtual OFCondition setSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set SOPClassUID (0008,0016)
virtual OFCondition setClinicalTrialTimePointDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointDescription (0012,0051)
DcmLongString PatientBreedDescription
PatientBreedDescription (0010,2292) vr=LO, vm=1, type=2C.
Definition: drtionpl.h:2920
virtual OFCondition getBluePaletteColorLookupTableData(Uint16 *&value, unsigned long *count=NULL) const
get BluePaletteColorLookupTableData (0028,1203)
size_t find_last_not_of(const char *s, size_t pos=OFString_npos) const
scans the current string up to the position pos and determines the highest location,...
E_CodeValueType
Code value type.
Definition: dsrtypes.h:833
OFCondition getBlockNumber(OFString &value, const signed long pos=0) const
get BlockNumber (300a,00fc)
virtual OFString & dumpConnectionParameters(OFString &str)=0
dump the characteristics of the current connection
virtual OFCondition getUint16Array(Uint16 *&val)
get a pointer to the element value of the current element as type Uint16.
OFBool isEmpty()
check if item is empty
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool getPrependPrinterName()
gets the current setting of the Prepend Printer Name annotation flag.
Definition: dviface.h:1401
virtual Uint16 bytesPerSample() const
returns the number of bytes per sample that will be expected when encoding.
Definition: djeijg8.h:104
DVPSOverlayCurveActivationLayer()
default constructor
OFBool matches(const DcmUIDHandler &arg) const
checks if the given argument matches the abstract syntax UID maintained by this object
Definition: dccfrsmp.h:64
RWVMItem * clone()
Clone this class (perform deep copy)
OFCondition setSOPInstanceUID(const DcmElement &delem, const unsigned long pos=0, const OFBool check=OFTrue)
set SOP instance UID value from element.
Item(const Item ©)
copy constructor
OFCondition getChannelLength(Float64 &value, const unsigned long pos=0) const
get ChannelLength (300a,0284)
virtual ssize_t write(void *buf, size_t nbyte)=0
attempts to write nbyte bytes from the given buffer to the transport connection.
virtual OFCondition setLUTLabel(const OFString &value, const OFBool checkValue=OFTrue)
Set LUT Label.
@ EXS_MPEG4HighProfileLevel4_2_For3DVideo
MPEG4 High Profile / Level 4.2 For 3D Video.
Definition: dcxfer.h:115
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
DRTCodingSchemeIdentificationSequence CodingSchemeIdentificationSequence
CodingSchemeIdentificationSequence (0008,0110) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3272
virtual OFString getName() const
Get name of module.
Item EmptyItem
empty default item
Definition: drtbss.h:338
static OFBool check(const char *dicomDateTime, const size_t dicomDateTimeSize)
check whether the given string conforms to a single value of VR "DT" (Date Time).
Class that holds actual measurement values.
Definition: trcmeasurement.h:47
OFString curveLabel
curve label if present
Definition: dvpscu.h:130
virtual OFBool operator<(const OFTime &timeVal) const
comparison operator (less than) Please note that the time values are first transformed to the Coordin...
const char * getSeriesInstanceUID()
gets the Series Instance UID.
virtual OFCondition readSingleFG(DcmItem &fgItem, FunctionalGroups &groups)
Read single functional group into the item provided.
@ GT3_Point
DICOM Graphic Type: POINT.
Definition: dsrtypes.h:687
@ FastDiffusionCoefficient
(113292,DCM,"Fast Diffusion Coefficient"), included from CID 7272
Definition: cid7469.h:130
DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence()
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtplan.h:1472
virtual ~DVPSDisplayedArea_PList()
destructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drttms0.h:388
DcmDate PerformedProcedureStepStartDate
PerformedProcedureStepStartDate (0040,0244) vr=DA, vm=1, type=3.
Definition: drtplan.h:3188
DcmDateTime InstanceCoercionDateTime
InstanceCoercionDateTime (0008,0015) vr=DT, vm=1, type=3.
Definition: drtionpl.h:3264
DcmLongString ClinicalTrialSubjectID
ClinicalTrialSubjectID (0012,0040) vr=LO, vm=1, type=1C.
Definition: drtionpl.h:2967
double getMinValue() const
get minimum pixel value after modality transform
Definition: dimomod.h:110
virtual OFCondition read(DcmInputStream &inStream, const E_TransferSyntax ixfer, const E_GrpLenEncoding glenc=EGL_noChange, const Uint32 maxReadLength=DCM_MaxReadLength)=0
read object from a stream.
OFCondition setTableTopEccentricAxisDistance(const OFString &value, const OFBool check=OFTrue)
set TableTopEccentricAxisDistance (300a,0124)
virtual OFCondition getPatientState(OFString &value, const signed long pos=0) const
get PatientState (0038,0500)
virtual OFCondition getMostRecentTreatmentDate(OFString &value, const signed long pos=0) const
get MostRecentTreatmentDate (3008,0056)
DcmDecimalString EndCumulativeMetersetWeight
EndCumulativeMetersetWeight (300c,0009) vr=DS, vm=1, type=3.
Definition: drtimage.h:5322
OFCondition setSourceManufacturer(const OFString &value, const OFBool check=OFTrue)
set SourceManufacturer (300a,0216)
OFCondition getPersonName(OFString &value, const signed long pos=0) const
get PersonName (0040,a123)
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
char getPaddingChar() const
get the end-of-string padding character
Definition: dcbytstr.h:396
Definition: ofstrutl.h:29
Uint32 getRND32()
return a random Uint32 value
const OFString & getObservationDateTime() const
get observation date/time.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setRetrieveURI(const OFString &value, const OFBool check=OFTrue)
set RetrieveURI (0040,e010)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtwrs.h:295
OFCondition getCompensatorTransmissionData(OFString &value, const signed long pos=0) const
get CompensatorTransmissionData (300a,00eb)
virtual OFCondition getSeriesNumber(OFString &value, const signed long pos=0) const
get SeriesNumber (0020,0011)
OFCondition gotoFirstItem()
goto first item in the sequence
const DRTMeasurementUnitsCodeSequence & getMeasurementUnitsCodeSequence() const
get MeasurementUnitsCodeSequence (0040,08ea)
Definition: drtrwvms.h:170
DRTChannelShieldSequence(const DRTChannelShieldSequence ©)
copy constructor
Item class.
Definition: drtafs.h:36
DRTReferencedTreatmentRecordSequenceInRTDoseModule(const DRTReferencedTreatmentRecordSequenceInRTDoseModule ©)
copy constructor
virtual OFCondition setDeidentificationMethod(const OFString &value, const OFBool check=OFTrue)
set DeidentificationMethod (0012,0063)
const DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence() const
get RequestingServiceCodeSequence (0032,1034)
Definition: drttreat.h:1653
virtual OFCondition setServiceEpisodeDescription(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeDescription (0038,0062)
virtual OFCondition getDoseGridScaling(OFString &value, const signed long pos=0) const
get DoseGridScaling (3004,000e)
this class provides a primitive interface for handling a list of flat DICOM elements,...
Definition: dcmqridx.h:176
char * m_primField
Buffer for primary value field.
Definition: dcuserid.h:287
DcmShortText ContributionDescription
ContributionDescription (0018,a003) vr=ST, vm=1, type=3.
Definition: drtces.h:335
virtual OFCondition check() const
Check whether functional group contains valid data.
Class for graphic data (3D) items.
Definition: dsrsc3gr.h:40
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrpphs.h:416
void storeParameter(const OFString ¶m, const int directOption=0)
stores the specified parameter in the argument/parameter list
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual ~Item()
destructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
SiCertificateVerifier(SiCertificateVerifier &arg)
private undefined copy constructor
OFCondition setCertificateType(const OFString &value, const OFBool check=OFTrue)
set CertificateType (0400,0110)
OFCondition setBeamDoseType(const OFString &value, const OFBool check=OFTrue)
set BeamDoseType (300a,0090)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getSurfaceEntryPoint(OFString &value, const signed long pos=0) const
get SurfaceEntryPoint (300a,012e)
virtual OFBool isValid() const
check whether the current internal state is valid.
virtual OFCondition getROIMean(OFString &value, const signed long pos=0) const
get ROIMean (60xx,1302)
virtual OFString getName() const
Get name of component.
@ EFG_RESPIRATORYSYNC
Respiratory Synchronization.
Definition: fgtypes.h:160
DCMTK_LOG4CPLUS_EXPORT LogLevelManager & getLogLevelManager()
Returns the singleton LogLevelManager.
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition getGantryAngle(OFString &value, const signed long pos=0) const
get GantryAngle (300a,011e)
virtual OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const E_DocumentType documentType, const size_t flags)
read general XML document tree node data
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getIssuerOfPatientID(OFString &value, const signed long pos=0) const
get IssuerOfPatientID (0010,0021)
const DRTContourImageSequence & getContourImageSequence() const
get ContourImageSequence (3006,0016)
Definition: drtrses.h:113
OFCondition getBrachyAccessoryDeviceNumber(OFString &value, const signed long pos=0) const
get BrachyAccessoryDeviceNumber (300a,0262)
DcmDecimalString ROIPhysicalPropertyValue
ROIPhysicalPropertyValue (3006,00b4) vr=DS, vm=1, type=1.
Definition: drtrpps.h:156
virtual OFBool busy()
Determine if the Worker is currently handling any request.
Definition: scppool.h:314
this class represents a TLS (Transport Layer Security) V1 based secure transport connection.
Definition: tlstrans.h:43
virtual OFCondition setBurnedInAnnotation(const OFString &value, const OFBool check=OFTrue)
set BurnedInAnnotation (0028,0301)
OFCondition write(DcmItem &dataset) const
write series and instance level attributes to dataset
OFBool isEmpty()
check if item is empty
const Item & getCurrentItem() const
get current item in the sequence
OFBool isEmpty()
check if sequence is empty
OFCondition read(DcmItem &dset)
reads all overlay groups from a DICOM dataset.
virtual OFCondition setFunctionalGroupPrivateCreator(const OFString &value, const OFBool checkValue=OFTrue)
Set Dimension Index Functional Group Private Creator.
virtual OFCondition setDeviceSerialNumber(const OFString &value, const OFBool checkValue=OFTrue)
Set Device Serial Number.
@ XRayAttenuation
(110850,DCM,"X-Ray Attenuation"), included from CID 7180
Definition: cid7469.h:236
@ Vp
(126331,DCM,"vp"), included from CID 4107
Definition: cid7469.h:264
virtual DcmBaseSCPWorker * createSCPWorker()=0
Create SCP worker.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_InvalidDICOMDIR
Invalid DICOMDIR, e.g. corrupted data structures.
static void errorstr(OFString &description, int code)
converts any of the error codes returned by the methods of this class into a textual description,...
virtual ~DSRNumericMeasurementValue()
destructor
OFCondition setWedgeOrientation(const OFString &value, const OFBool check=OFTrue)
set WedgeOrientation (300a,00d8)
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtcss.h:349
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtas1.h:376
OFCondition getSourceSerialNumber(OFString &value, const signed long pos=0) const
get SourceSerialNumber (3008,0105)
DVPSGraphicLayer_PList graphicLayerList
GraphicLayerSequence, Module=Graphic_Layer.
Definition: dcmpstat.h:946
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format to a stream
const DRTSnoutSequence & getSnoutSequence() const
get SnoutSequence (300a,030c)
Definition: drtibs.h:666
DcmDateTime SOPAuthorizationDateTime
SOPAuthorizationDateTime (0100,0420) vr=DT, vm=1, type=3.
Definition: drttreat.h:3000
DcmIntegerString NumberOfFramesInOverlay
NumberOfFramesInOverlay (60xx,0015) vr=IS, vm=1, type=1.
Definition: drtdose.h:4519
IODImagePixelModuleType & getImagePixel()
Get Image Pixel Module (variant)
Definition: iodimage.h:123
static OFFilename & getDirNameFromPath(OFFilename &result, const OFFilename &pathName, const OFBool assumeDirName=OFTrue)
get directory name component from given path name.
OFCharacterEncoding & operator=(const OFCharacterEncoding &rhs)
copy assignment.
OFCondition getSourceToExternalContourDistance(Float32 &value, const unsigned long pos=0) const
get SourceToExternalContourDistance (300a,0132)
IODImagePixelModule()
Constructor.
virtual OFBool isAffectedBySpecificCharacterSet() const
check if this object is affected by SpecificCharacterSet
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DSRStringValue()
default constructor
DSRCodedEntryValue()
default constructor
DRTReferencedTreatmentRecordSequenceInRTDoseModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition setPixelRepresentation(const Uint16 value, const unsigned long pos=0)
set PixelRepresentation (0028,0103)
virtual OFCondition getTimeOfLastCalibration(OFString &value, const signed long pos=0) const
get TimeOfLastCalibration (0018,1201)
virtual OFCondition setDimensionIndexValues(const Uint32 &value, const unsigned int dim, const OFBool checkValue=OFTrue)
Set one of the Dimension Index Values.
static const size_t HF_renderItemsSeparately
internal: render items separately (for container with SEPARATE flag)
Definition: dsrtypes.h:335
DRTReferencedDoseSequence ReferencedDoseSequence
ReferencedDoseSequence (300c,0080) vr=SQ, vm=1, type=3.
Definition: drtfgs.h:346
OFCondition setTemplateName(const OFString &value, const OFBool check=OFTrue)
set TemplateName (300a,0244)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const Item & getCurrentItem() const
get current item in the sequence
@ Um2PerMs
(um2/ms,UCUM,"um2/ms"), included from CID 7277
Definition: cid7181.h:120
OFCondition setTypeOfPatientID(const OFString &value, const OFBool check=OFTrue)
set TypeOfPatientID (0010,0022)
virtual IODAcquisitionContextModule & getIODAcquisitionContextModule()
Get Acquisition Context Module.
EF_VoiLutFunction VoiLutFunction
VOI LUT function (linear or sigmoid)
Definition: dimoimg.h:1117
virtual ~DcmIntegerString()
destructor
OFfloat_round_style
Enumeration constants of type OFfloat_round_style indicate the rounding style used by floating-point ...
Definition: oflimits.h:95
OFCondition getReferencedFrameNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFrameNumber (0008,1160)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtras.h:465
virtual OFCondition getDepthsOfScanField(Float64 &value, const unsigned long pos=0)
Get Depth(s) of Scan Field.
PrimaryAnatomicStructureMacro m_PrimaryAnatomicStructure
Primary Anatomic Structure Macro (on the same level as Anatomic Region Sequence)
Definition: iodmacro.h:814
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrvis.h:130
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Uint32 getDIMSETimeout() const
Returns DIMSE timeout (only applicable in blocking mode)
@ DcmRepresentativeColorType_averagePixels
average all pixels in the box
Definition: diqttype.h:74
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmTime TimeOfLastCalibration
TimeOfLastCalibration (0018,1201) vr=TM, vm=1-n, type=3.
Definition: drtces.h:363
const DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence() const
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drttreat.h:1461
virtual OFCondition getStudyDate(OFString &value, const signed long pos=0) const
get StudyDate (0008,0020)
virtual OFCondition setSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceUID (0008,0018)
DcmLongString Allergies
Allergies (0010,2110) vr=LO, vm=1-n, type=3.
Definition: drtstrct.h:2884
int showPlane(unsigned int plane, const double fore, const double thresh, const EM_Overlay mode)
make specified plane visible and set parameters
DRTPersonIdentificationCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual ~DVPSCurve()
destructor
DRTGeneralAccessorySequence GeneralAccessorySequence
GeneralAccessorySequence (300a,0420) vr=SQ, vm=1, type=3.
Definition: drtes.h:536
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
virtual unsigned long getVM()
get value multiplicity
OFCondition setApplicationSetupType(const OFString &value, const OFBool check=OFTrue)
set ApplicationSetupType (300a,0232)
const char * getImagePolarity(size_t idx)
gets the polarity for the given registered image box.
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
DcmPersonName NameOfPhysiciansReadingStudy
NameOfPhysiciansReadingStudy (0008,1060) vr=PN, vm=1-n, type=3.
Definition: drtionpl.h:3004
void clear()
clear all internal member variables
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getAuthorizationEquipmentCertificationNumber(OFString &value, const signed long pos=0) const
get AuthorizationEquipmentCertificationNumber (0100,0426)
OFBool activate(DicomImage *image, OFBool printLUT=OFFalse)
activates the current presentation transform in the given DicomImage.
static DJDecoderLossless * declol
pointer to decoder for lossless JPEG
Definition: djdecode.h:95
DcmTime(const DcmTag &tag, const Uint32 len=0)
constructor.
OFString Text
internally stored character strings (text)
Definition: dsrtnant.h:122
OFCondition write(DcmItem &item)
write elements to sequence item
DSRColonCadSRConstraintChecker()
default constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Interface class for ShieldingDeviceSequence (300a,01a0)
Definition: drtshds.h:28
void setPeerHostName(const OFString &peerHostName)
Set SCP's host (host name or IP address) to talk to in association negotiation.
OFString getPeerAETitle() const
Returns AE title (calling AE title) the SCU used for association request.
static int scanValue(const OFString &value, const OFString &vr, const size_t pos=0, const size_t num=OFString_npos)
scan string value for conformance with given value representation (VR)
DcmDataset(const DcmDataset &old)
copy constructor
virtual void setOrderSignificant(const OFBool mode=OFTrue)
change mode specifying whether the order of content items in this template is significant or non-sign...
Definition: dsrctpl.h:132
Class for storing the "Basic Coded Entry Attributes".
Definition: dsrcodvl.h:45
OFCondition getStrainSource(OFString &value, const signed long pos=0) const
get StrainSource (0010,0217)
const Item & getCurrentItem() const
get current item in the sequence
virtual ~DRTBrachyReferencedDoseReferenceSequence()
destructor
OFCondition gotoNextItem()
goto next item in the sequence
DcmIntegerString ReferencedDoseReferenceNumber
ReferencedDoseReferenceNumber (300c,0051) vr=IS, vm=1, type=1.
Definition: drtrdrs6.h:146
DRTIssuerOfAdmissionIDSequence IssuerOfAdmissionIDSequence
IssuerOfAdmissionIDSequence (0038,0014) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2900
virtual OFCondition getSOPAuthorizationComment(OFString &value, const signed long pos=0) const
get SOPAuthorizationComment (0100,0424)
virtual void transferEnd(void)
finalize the transfer state of this object.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Uint8 acceptedSCRole
Role accepted by SCP for this Presentation Context.
Definition: scp.h:120
static size_t getBytesForBinaryFrame(const size_t &numPixels)
Compute the number of bytes required for a binary pixel data frame, given the number of pixels.
OFCondition getWedgeType(OFString &value, const signed long pos=0) const
get WedgeType (300a,00d3)
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition updateDicomDir(const E_ApplicationProfile profile, const OFFilename &filename)
create a DICOMDIR object based on an existing DICOMDIR file (update).
const DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence() const
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drttreat.h:1137
size_t getNumberOfItems() const
get number of items in the sequence
int setWindow(const unsigned long window)
set specified VOI window (given by index to window width/center sequence stored in image file).
Definition: dcmimage.h:682
offile_off_t ftell()
obtains the current value of the file position indicator for the stream pointed to by the stream.
Definition: offile.h:829
virtual ~DcmTCPConnection()
destructor
virtual int setMinDensityValue(const double value)
set minimum optical density value "Dmin".
WlmConsoleEngineFileSystem(const WlmConsoleEngineFileSystem &Src)
Protected undefined copy-constructor.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition getPartialValue(void *targetBuffer, const Uint32 offset, Uint32 numBytes, DcmFileCache *cache=NULL, E_ByteOrder byteOrder=gLocalByteOrder)
Copy numBytes bytes of data from the attribute value in byteOrder byte order to targetBuffer,...
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getDeliveryWarningDose(Float64 &value, const unsigned long pos=0) const
get DeliveryWarningDose (300a,0022)
virtual OFCondition getImageComments(OFString &value, const signed long pos=0) const
get ImageComments (0020,4000)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrses.h:309
DcmCodeString PatientSupportType
PatientSupportType (300a,0350) vr=CS, vm=1, type=1.
Definition: drtibs.h:1025
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmPersonName PhysiciansOfRecord
PhysiciansOfRecord (0008,1048) vr=PN, vm=1-n, type=3.
Definition: drtimage.h:4899
virtual int getBits(const int bits=0) const
get number of bits per sample.
Definition: dimoimg.h:521
static OFCondition getFormattedNameFromString(const OFString &dicomName, OFString &formattedName, const unsigned int componentGroup=0)
get specified DICOM person name as a formatted/readable name.
E_ValueStatus
status of converting string option value to value field
Definition: ofcmdln.h:174
DRTStrainSourceRegistryCodeSequence(const DRTStrainSourceRegistryCodeSequence ©)
copy constructor
DcmDecimalString ContourOffsetVector
ContourOffsetVector (3006,0045) vr=DS, vm=3, type=3.
Definition: drtcs.h:279
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtpcs.h:211
OFCondition getCompensatorColumnOffset(Float32 &value, const unsigned long pos=0) const
get CompensatorColumnOffset (300a,02e5)
DRTControlPointSequence & operator=(const DRTControlPointSequence ©)
assigment operator
OFCondition getControlPointRelativePosition(Float64 &value, const unsigned long pos=0) const
get ControlPointRelativePosition (300a,02d2)
DcmDecimalString ContrastFlowDuration
ContrastFlowDuration (0018,1047) vr=DS, vm=1-n, type=3.
Definition: drtimage.h:5203
DVPSGraphicAnnotation_PList * clone()
clone method.
Definition: dvpsgal.h:53
Class representing the Synchronization Module:
Definition: modsynchronisation.h:41
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
virtual OFCondition getSpecificCharacterSet(OFString &value, const signed long pos=0) const
get SpecificCharacterSet (0008,0005)
const char * getReportFilename(const char *reportID)
returns the FILENAME entry for the SR "template" with the given ID from the configuration file.
@ PanoramicXRay
(PX,DCM,"Panoramic X-Ray")
Definition: cid29.h:108
DcmLongString SoftwareVersions
SoftwareVersions (0018,1020) vr=LO, vm=1-n, type=3.
Definition: drtstrct.h:2990
Item & operator=(const Item ©)
assigment operator
virtual OFBool canChangeCoding(const E_TransferSyntax oldRepType, const E_TransferSyntax newRepType) const
checks if this codec is able to convert from the given current transfer syntax to the given new trans...
log4cplus::tstring getProperty(const log4cplus::tstring &key, const log4cplus::tstring &defaultVal) const
Searches for the property with the specified key in this property list.
DcmShortString CompensatorID
CompensatorID (300a,00e5) vr=SH, vm=1, type=3.
Definition: drtircs.h:410
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getSOPInstanceUID(OFString &value, const signed long pos=0) const
get SOPInstanceUID (0008,0018)
DcmLongString ServiceEpisodeDescription
ServiceEpisodeDescription (0038,0062) vr=LO, vm=1, type=3.
Definition: drtdose.h:4257
OFCondition findAndGetSint16(const DcmTagKey &tagKey, Sint16 &value, const unsigned long pos=0, const OFBool searchIntoSub=OFFalse)
find element and get value as a signed 16-bit integer.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition getMaterialID(OFString &value, const signed long pos=0) const
get MaterialID (300a,00e1)
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
const DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence() const
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtionpl.h:1661
@ EFGFT_UNKNOWN
Unknown.
Definition: fgtypes.h:190
virtual T * extractNode()
extract current node from tree.
Definition: dsrtree.h:829
const DRTFractionGroupSummarySequence & getFractionGroupSummarySequence() const
get FractionGroupSummarySequence (3008,0220)
Definition: drtiontr.h:1341
DRTHL7StructuredDocumentReferenceSequence HL7StructuredDocumentReferenceSequence
HL7StructuredDocumentReferenceSequence (0040,a390) vr=SQ, vm=1, type=1C.
Definition: drtionpl.h:3301
virtual OFCondition getIssuerOfPatientID(OFString &value, const signed long pos=0) const
get IssuerOfPatientID (0010,0021)
virtual E_MACType macType() const
returns the type of MAC algorithm computed by this object
DRTWADORetrievalSequence & operator=(const DRTWADORetrievalSequence ©)
assigment operator
DcmDecimalString EndCumulativeMetersetWeight
EndCumulativeMetersetWeight (300c,0009) vr=DS, vm=1, type=3.
Definition: drtrris1.h:193
DcmLongString ClinicalTrialProtocolID
ClinicalTrialProtocolID (0012,0020) vr=LO, vm=1, type=1.
Definition: drtimage.h:4858
DcmIntegerString PixelAspectRatio
PixelAspectRatio (0028,0034) vr=IS, vm=2, type=1C.
Definition: drtdose.h:4450
Item class.
Definition: drtpcxs.h:41
virtual OFCondition getClinicalTrialSeriesDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesDescription (0012,0072)
DcmShortString accessionNumber
Module=General_Study, VR=SH, VM=1, Type 2.
Definition: dvpssp.h:976
const DRTReferencedRTPlanSequence & getReferencedRTPlanSequence() const
get ReferencedRTPlanSequence (300c,0002)
Definition: drtdose.h:2494
Uint32 getACSETimeout() const
Returns ACSE timeout.
DcmUniqueIdentifier CodingSchemeUID
CodingSchemeUID (0008,010c) vr=UI, vm=1, type=1C.
Definition: drtcsis.h:227
DcmDecimalString BeamDose
BeamDose (300a,0084) vr=DS, vm=1, type=3.
Definition: drtrbs4.h:275
Item class.
Definition: drtqds.h:40
DcmShortText GeneralAccessoryDescription
GeneralAccessoryDescription (300a,0422) vr=ST, vm=1, type=3.
Definition: drtgas.h:195
DcmShortString MaterialID
MaterialID (300a,00e1) vr=SH, vm=1, type=3.
Definition: drtbads.h:254
virtual OFCondition getReferencedBeamNumber(OFString &value, const signed long pos=0) const
get ReferencedBeamNumber (300c,0006)
OFCondition setShutterPresentationValue(Uint16 pvalue)
sets the shutter presentation value to the given P-value.
@ TCE_ChaCha20
ChaCha20-Poly1305 in Galois/Counter Mode (GCM)
Definition: tlsciphr.h:194
virtual OFCondition renderHTML(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, size_t &annexNumber, const size_t flags) const
render spatial coordinates value in HTML/XHTML format
virtual OFCondition negotiateAssociation()
This function checks all presentation contexts proposed by the SCU whether they are supported or not.
GeneralAnatomyMacro(const GeneralAnatomyMacro &rhs)
Copy constructor, creates deep copy.
DcmFloatingPointDouble(const DcmFloatingPointDouble &old)
copy constructor
OFBool setISOFormattedTime(const OFString &formattedTime)
set the time value to the given ISO formatted time string.
virtual OFTime & operator=(const OFTime &timeVal)
assignment operator
OFCondition setModalityLUTType(const OFString &value, const OFBool check=OFTrue)
set ModalityLUTType (0028,3004)
OFCondition setFixationEye(const OFString &value, const OFBool check=OFTrue)
set FixationEye (300a,0150)
DcmAgeString PatientAge
PatientAge (0010,1010) vr=AS, vm=1, type=3.
Definition: drtplan.h:3106
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtmucs.h:536
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtibls.h:337
SiDSA(DSA *key)
constructor
OFCondition getNumberOfBlocks(Sint32 &value, const unsigned long pos=0) const
get NumberOfBlocks (300a,00f0)
const DRTRequestAttributesSequence & getRequestAttributesSequence() const
get RequestAttributesSequence (0040,0275)
Definition: drtstrct.h:1704
virtual OFCondition setRedPaletteColorLookupTableData(const Uint16 *value, const unsigned long count)
set RedPaletteColorLookupTableData (0028,1201)
Class for numeric values and measurements.
Definition: dsrnumvl.h:43
DRTPatientSpeciesCodeSequence PatientSpeciesCodeSequence
PatientSpeciesCodeSequence (0010,2202) vr=SQ, vm=1, type=1C.
Definition: drtplan.h:3001
int dimse_timeout_
timeout for DIMSE operations
Definition: dcmqropt.h:158
virtual OFCondition setInstutionalDepartmentName(const OFString &value, const OFBool checkValue=OFTrue)
Set Institutional Department Name.
static size_t IdentCounter
global counter used to create the unique identifiers
Definition: dsrtree.h:176
DcmIntegerString WedgeAngle
WedgeAngle (300a,00d5) vr=IS, vm=1, type=2.
Definition: drtws.h:276
virtual void createNewSeries(const OFBool clearFoR=OFTrue)
Create a new series.
int isPotentiallySigned() const
check whether pixel data is 'potentially' signed.
Definition: dimopx.h:205
virtual OFCondition setClinicalTrialSiteID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteID (0012,0030)
virtual OFVector< CodeSequenceMacro * > & getDerivationCodeItems()
Get reference to derivation code items.
virtual OFCondition getAdmissionID(OFString &value, const signed long pos=0) const
get AdmissionID (0038,0010)
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_InvalidByReferenceRelationship
error: the by-reference relationship between two content items is not allowed
OFCondition setFinding(const DSRCodedEntryValue &finding, const OFBool check=OFTrue)
set the value of the 'Finding' content item (TID 1501 - Row 3b).
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool getTargetBitPreservingMode(const char *targetID)
returns the BITPRESERVINGMODE entry for the storage peer with the given target ID from the configurat...
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
IODCommonInstanceReferenceModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
static void addLongToString(unsigned long l, OFString &s)
appends the lower 32 bit of the given number to the given string.
OFBool isEmpty() const
check whether tree has any nodes
Definition: dsrtree.h:590
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid5001.h:117
@ SPECTBrain
(39632-5,LN,"SPECT brain")
Definition: cid100.h:74
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=3.
Definition: drtcsis.h:229
DcmLongString ClinicalTrialSiteName
ClinicalTrialSiteName (0012,0031) vr=LO, vm=1, type=2.
Definition: drtdose.h:4161
OFMap< DcmTagKey, IODRule * >::iterator iterator
iterator type to iterate over rule set
Definition: iodrules.h:52
int wait()
blocks the calling thread until the semaphore counter is greater than zero and then atomically decrea...
@ WaterPerFatInPhase
(129101,DCM,"Water/fat in phase"), included from CID 7180
Definition: cid7469.h:334
CID7181_AbstractMultiDimensionalImageModelComponentUnits(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
virtual void initIODRules()
Initialize IOD rules.
OFCondition setStrainStockNumber(const OFString &value, const OFBool check=OFTrue)
set StrainStockNumber (0010,0214)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeApprovalNumber(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
@ EPR_Sint16
signed 16 bit integer
Definition: diutils.h:213
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition init()
initializes internal object structures.
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
special write method for creation of digital signatures
CID7469_GenericIntensityAndSizeMeasurements(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
Class managing the SR document tree.
Definition: dsrdoctr.h:45
DRTRangeShifterSettingsSequenceInRTIonBeamsModule RangeShifterSettingsSequence
RangeShifterSettingsSequence (300a,0360) vr=SQ, vm=1, type=1C.
Definition: drticps.h:807
DcmLongString MedicalAlerts
MedicalAlerts (0010,2000) vr=LO, vm=1-n, type=3.
Definition: drttreat.h:2796
virtual OFCondition getPatientSpeciesDescription(OFString &value, const signed long pos=0) const
get PatientSpeciesDescription (0010,2201)
const Item & operator[](const size_t num) const
get particular item in the sequence
Item EmptyItem
empty default item
Definition: drtecs.h:523
void setDatabaseFlags(OFBool dbCheckFindIdentifier, OFBool dbCheckMoveIdentifier)
set database flags
the representation of one VOI Window in a DICOM image.
Definition: dvpsvw.h:38
virtual OFCondition setInstanceCreationDate(const OFString &value, const OFBool checkValue=OFTrue)
Set Instance Creation Date.
virtual IODReferences & getReferencedInstances()
Get referenced instances (from Tractography Results Module)
SiSecurityProfile()
default constructor
Definition: sisprof.h:48
Item EmptyItem
empty default item
Definition: drtcdrs.h:368
OFCondition setBeamName(const OFString &value, const OFBool check=OFTrue)
set BeamName (300a,00c2)
virtual void resetRules()
Resets rules to their original values.
Class to handle overlay pixel data.
Definition: diovdat.h:47
OFCondition addItem(const OFString &codingSchemeDesignator, ItemStruct *&item)
add the specified coding scheme to the list (if not existent)
OFString CodingSchemeUID
Coding Scheme UID (VR=UI, type 1C)
Definition: dsrcsidl.h:323
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition handleSTORERequestFile(T_ASC_PresentationContextID *presID, const OFString &filename, T_DIMSE_C_StoreRQ *request)
Function handling a single C-STORE Request.
Uint8 quality
for lossy compression, defines compression quality factor
Definition: djeijg8.h:150
DcmObject * pop()
removes uppermost entry from stack and returns it.
OFBool isEmpty()
check if sequence is empty
DcmUnsignedShort SubjectRelativePositionInImage
SubjectRelativePositionInImage (0010,0028) vr=US, vm=3, type=3.
Definition: drtgpis.h:181
DSRCodedEntryValue PurposeOfReference
Purpose of Reference Code Sequence (VR=SQ, type 1)
Definition: dsrrefin.h:214
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const DRTContourSequence & getContourSequence() const
get ContourSequence (3006,0040)
Definition: drtrcs.h:148
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getNumberOfCompensators(OFString &value, const signed long pos=0) const
get NumberOfCompensators (300a,00e0)
OFCondition setWedgeAngle(const OFString &value, const OFBool check=OFTrue)
set WedgeAngle (300a,00d5)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrmdrs.h:162
DRTDVHSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition setLongitudinalTemporalEventType(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalEventType (0012,0053)
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtmris.h:146
void clear()
clear all internal member variables
DcmDecimalString MeasuredAPDimension
MeasuredAPDimension (0010,1023) vr=DS, vm=1, type=3.
Definition: drtimage.h:4930
virtual DSRTree< T > * cloneSubTree(const size_t stopAfterNodeID=0) const
clone a subtree, i.e. a fragment of this tree.
Definition: dsrtree.h:953
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrshs7.h:134
DcmQuantColorHashTable(const DcmQuantColorHashTable &src)
private undefined copy constructor
OFCondition setNumericValue(const DSRNumericMeasurementValue &numericValue, const OFBool check=OFTrue)
set numeric value.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpsss.h:127
virtual OFCondition setServiceEpisodeDescription(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeDescription (0038,0062)
DiImage * createFlip(const int horz, const int vert) const
create a flipped copy of the current image
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DiColorImage(const DiColorImage *image, const int horz, const int vert)
constructor, flip
@ DT_XRayRadiationDoseSR
DICOM IOD: X-Ray Radiation Dose SR.
Definition: dsrtypes.h:523
virtual void resetReferenceTargetFlag()
reset flag for all content items whether they are target of a by-reference relationship.
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
DcmIntegerString CompensatorNumber
CompensatorNumber (300a,00e4) vr=IS, vm=1, type=1.
Definition: drtircs.h:416
Declares classes and functions for platform abstracting error code handling.
OFCondition write(DcmItem &item)
write elements to sequence item
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition setStudyDescription(const OFString &value, const OFBool check=OFTrue)
set StudyDescription (0008,1030)
size_t size() const
returns the number of elements on the stack
Definition: ofstack.h:235
@ RT_selectedFrom
DICOM Relationship Type: SELECTED FROM.
Definition: dsrtypes.h:573
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getFluenceDataScale(OFString &value, const signed long pos=0) const
get FluenceDataScale (3002,0042)
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
virtual OFCondition getUint8(Uint8 &byteVal, const unsigned long pos=0)
get particular 8 bit value.
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtspccs.h:357
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=3.
Definition: drtplan.h:3223
virtual OFBool good() const =0
returns the status of the producer.
virtual OFCondition putUint32Array(const Uint32 *vals, const unsigned long num)
replace the element value by a copy of the given Uint32 array (which is possibly multi-valued).
virtual DataType getDataType() const
Get pixel data type, always returns DataType::FLOAT for this class.
@ EXS_BigEndianExplicit
Explicit VR Big Endian.
Definition: dcxfer.h:47
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual DataType getDataType() const =0
Get pixel data type.
Float64 value_type
Data type of pixels.
Definition: modfloatingpointimagepixel.h:155
OFCondition getOrganAtRiskOverdoseVolumeFraction(Float64 &value, const unsigned long pos=0) const
get OrganAtRiskOverdoseVolumeFraction (300a,002d)
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition setOtherPatientNames(const OFString &value, const OFBool check=OFTrue)
set OtherPatientNames (0010,1001)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmDecimalString PatientWeight
PatientWeight (0010,1030) vr=DS, vm=1, type=3.
Definition: drtstrct.h:2872
DRTUDISequence UDISequence
UDISequence (0018,100a) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3061
DcmDecimalString StartCumulativeMetersetWeight
StartCumulativeMetersetWeight (300c,0008) vr=DS, vm=1, type=3.
Definition: drtimage.h:5320
DSRPositionCounter & getPositionCounter()
get reference to internal position counter.
Definition: dsrtncsr.h:785
const Item & getCurrentItem() const
get current item in the sequence
virtual OFBool getCursorToRootNode(DSRDocumentTreeNodeCursor &cursor) const
get a cursor to the root node of this document tree.
Item & operator=(const Item ©)
assigment operator
OFCondition getLeafPositionBoundaries(Float64 &value, const unsigned long pos=0) const
get LeafPositionBoundaries (300a,00be)
virtual OFCondition computeGroupLengthAndPadding(const E_GrpLenEncoding glenc, const E_PaddingEncoding padenc=EPD_noChange, const E_TransferSyntax xfer=EXS_Unknown, const E_EncodingType enctype=EET_ExplicitLength, const Uint32 padlen=0, const Uint32 subPadlen=0, Uint32 instanceLength=0)
This function takes care of group length and padding elements in the current element list according t...
DSRTreeNodeAnnotation Annotation
annotation of the tree node (optional)
Definition: dsrtree.h:167
OFCondition getChairHeadFramePosition(OFString &value, const signed long pos=0) const
get ChairHeadFramePosition (300a,0151)
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getPatientBirthDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientBirthDateInAlternativeCalendar (0010,0033)
const DRTEncryptedAttributesSequence & getEncryptedAttributesSequence() const
get EncryptedAttributesSequence (0400,0500)
Definition: drtstrct.h:1296
void erase(const iterator &first, const iterator &last)
removes all elements in the given range from this map
Definition: ofmap.h:177
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmCodeString LossyImageCompression
LossyImageCompression (0028,2110) vr=CS, vm=1, type=3.
Definition: drtimage.h:5098
OFBool printSCPEvaluateBasicGrayscaleImageSequence(DVConfiguration &cfg, const char *cfgname, DcmItem *rqDataset, T_DIMSE_Message &rsp, DcmDataset &imageDataset, DVPSPrintPresentationLUTAlignment align, OFBool presentationLUTnegotiated)
evaluates the contents of the Basic Grayscale Image Sequence during a Print SCP Basic Grayscale Image...
static void callbackSENDProgress(void *callbackContext, unsigned long byteCount)
Callback function used for sending DIMSE messages.
virtual OFCondition getDimensionOrganizationUID(OFString &value, const signed long pos=0) const
Get Dimension Organization UID.
OFCondition gotoFirstItem()
goto first item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcshs.h:225
virtual OFCondition getBeamLimitingDeviceAngle(OFString &value, const signed long pos=0) const
get BeamLimitingDeviceAngle (300a,0120)
virtual int writePPM(STD_NAMESPACE ostream &stream) const =0
write pixel data of selected frame to PPM/ASCII file (abstract)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getTreatmentControlPointDate(OFString &value, const signed long pos=0) const
get TreatmentControlPointDate (3008,0024)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmQueryRetrieveOptions & operator=(const DcmQueryRetrieveOptions &other)
private undefined assignment operator
OFCondition write(DcmItem &dset)
writes the list of series references managed by this object to a DICOM dataset.
pure virtual abstract base class for consumers, i.e.
Definition: dcostrma.h:35
SHA256_CTX * ctx
OpenSSL SHA256 context.
Definition: sisha256.h:94
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setStudyTime(const OFString &value, const OFBool check=OFTrue)
set StudyTime (0008,0030)
OFBool opt_forkedChild
indicates, that this process was spawn as child from a parent process needed for multiprocess mode on...
Definition: wlmactmg.h:65
Item class.
Definition: drtrbas2.h:36
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getParameterPointer(OFString &value, const signed long pos=0) const
get ParameterPointer (3008,0065)
size_t offset_
contains the number of bytes already written to outputBuffer_.
Definition: dcrledec.h:254
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrvis.h:132
Item(const Item ©)
copy constructor
OFCondition setTableTopRollAngle(const Float32 value, const unsigned long pos=0)
set TableTopRollAngle (300a,0144)
~DcmUIDHandler()
destructor
const DRTUDISequence & getUDISequence() const
get UDISequence (0018,100a)
Definition: drtstrct.h:1824
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setReviewerName(const OFString &value, const OFBool check=OFTrue)
set ReviewerName (300e,0008)
Definition: jpegint12.h:76
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
virtual OFCondition setSOPAuthorizationDateTime(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationDateTime (0100,0420)
void erase(const iterator &elem)
removes the element to which the given iterator points to
Definition: ofmap.h:185
static const size_t PF_printNodeID
print node ID at the beginning of each line (might be useful for debugging purposes)
Definition: dsrtypes.h:444
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
size_t getNumberOfItems() const
get number of items in the sequence
DSRListOfItems< T > & operator=(const DSRListOfItems< T > &lst)
assignment operator
Definition: dsrtlist.h:82
~DSRCodingSchemeIdentificationList()
destructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtmdrs.h:204
virtual OFCondition setResponsibleOrganization(const OFString &value, const OFBool check=OFTrue)
set ResponsibleOrganization (0010,2299)
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence()
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtplan.h:1844
@ WHO
(112029,DCM,"WHO")
Definition: cid6147.h:44
DRTEquivalentCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
@ EPI_Missing
no element value available
Definition: diutils.h:119
static OFCondition checkStringValue(const OFString &value, const OFString &charset="")
check whether given string value conforms to the VR "ST" (Short Text)
OFCondition gotoFirstItem()
goto first item in the sequence
const DRTMACParametersSequence & getMACParametersSequence() const
get MACParametersSequence (4ffe,0001)
Definition: drtimage.h:2704
Interface class for a Storage Service Class User (SCU).
Definition: dstorscu.h:59
void clear()
clear all internal member variables
Interface class for RTReferencedSeriesSequence (3006,0014)
Definition: drtrses.h:29
OFCondition getLeafJawPositions(OFVector< Float64 > &value) const
get LeafJawPositions (300a,011c)
DRTIssuerOfAccessionNumberSequence IssuerOfAccessionNumberSequence
IssuerOfAccessionNumberSequence (0008,0051) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2996
double getMinLuminanceValue() const
get minimum luminance value "Lmin".
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
DRTConversionSourceAttributesSequence & operator=(const DRTConversionSourceAttributesSequence ©)
assigment operator
DcmLongString DeidentificationMethod
DeidentificationMethod (0012,0063) vr=LO, vm=1-n, type=1C.
Definition: drtionpl.h:2946
@ EDC_guessLossyOnly
perform color space conversion from YCbCr to RGB if JPEG data is color image, compression is lossy,...
Definition: djutils.h:175
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
virtual OFCondition setStrainDescription(const OFString &value, const OFBool check=OFTrue)
set StrainDescription (0010,0212)
virtual OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
get StudyInstanceUID (0020,000d)
@ LumbarSpine
(122496007,SCT,"Lumbar spine")
Definition: cid4031.h:148
const Item & getItem(const size_t num) const
get particular item in the sequence
int noOfPeers
number of peer entries
Definition: dcmqrcnf.h:178
DcmTagKey getUpperKey() const
returns upper limits for attribute tag as DcmTagKey object by value
Definition: dcdicent.h:236
DcmDecimalString CumulativeDoseReferenceCoefficient
CumulativeDoseReferenceCoefficient (300a,010c) vr=DS, vm=1, type=1.
Definition: drtbrdrs.h:144
DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModule & getTreatmentMachineSequence()
get TreatmentMachineSequence (300a,0206)
Definition: drtplan.h:1988
virtual OFCondition getSliceLocation(OFString &value, const signed long pos=0) const
get SliceLocation (0020,1041)
virtual OFCondition getPixelAspectRatio(OFString &value, const signed long pos=0) const
get PixelAspectRatio (0028,0034)
DcmSCU(const DcmSCU &src)
Private undefined copy-constructor.
const DRTGeneticModificationsSequence & getGeneticModificationsSequence() const
get GeneticModificationsSequence (0010,0221)
Definition: drttreat.h:1269
virtual OFCondition setPerformedProcedureStepID(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepID (0040,0253)
OFBool acrNemaCompatibility
Compatibility with old ACR-NEMA images without photometric interpretation.
Definition: djcparam.h:414
DSRImageFrameList FrameList
list of referenced frame numbers (associated DICOM VR=IS, VM=1-n, type 1C)
Definition: dsrimgvl.h:495
virtual ~Item()
destructor
OFString opt_frameOfReferenceUID
STL specific variables Frame of Reference module.
Definition: dcencdoc.h:271
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtiblds.h:360
Definition: dpmparametricmapiod.h:263
@ EXS_MPEG4HighProfileLevel4_2_For2DVideo
MPEG4 High Profile / Level 4.2 For 2D Video.
Definition: dcxfer.h:113
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
const DRTBreedRegistrationSequence & getBreedRegistrationSequence() const
get BreedRegistrationSequence (0010,2294)
Definition: drtiontr.h:1197
static OFBool checkForMarkupConversion(const OFString &sourceString, const OFBool convertNonASCII=OFFalse, const size_t maxLength=0)
check whether conversion to a HTML/XML mnenonic string is required.
size_t getNumberOfItems() const
get number of items in the sequence
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n")
check whether given string value conforms to the VR "IS" (Integer String) and to the specified VM.
virtual ~Item()
destructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcsrs.h:127
DcmPersonName PatientName
PatientName (0010,0010) vr=PN, vm=1, type=2.
Definition: drtplan.h:2965
DcmHashDict(const DcmHashDict &)
private unimplemented copy constructor
DIC_AE calledAETitle
called AE title
Definition: wltypdef.h:83
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTIconImageSequence IconImageSequence
IconImageSequence (0088,0200) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5104
DcmCodeString m_FrameType
FrameType (CS, VM 4, Required type 1)
Definition: fgparametricmapframetype.h:121
virtual E_KeyType keyType() const
returns the type of public key algorithm computed by this object
static OFCondition loadFile(DcmFileFormat &dcmff, const OFString &filename, DcmDataset *&dset)
Loads file.
void sortGraphicLayers()
sorts the graphic layers according to the graphic layer order.
OFString m_SoftwareVersions
Software Version(s) (VM 1-n)
Definition: modequipment.h:85
OFString m_Manufacturer
Manufacturer (VM 1)
Definition: modenhequipment.h:85
IODEnhancedUSSeriesModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
@ SAR3419_89Zr
(126741,DCM,"SAR3419 ^89^Zr")
Definition: cid4021.h:266
virtual OFCondition getAdmissionID(OFString &value, const signed long pos=0) const
get AdmissionID (0038,0010)
OFBool empty(void) const
return true if list is empty, false otherwise
Definition: dclist.h:162
void * theSemaphore
semaphore resource
Definition: ofthread.h:317
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
static Uint32 computeNumberOfFragments(Sint32 numberOfFrames, Uint32 currentFrame, Uint32 startItem, OFBool ignoreOffsetTable, DcmPixelSequence *pixSeq)
computes the number of fragments (pixel items) that comprise the current frame in the compressed pixe...
DcmShortString RangeShifterID
RangeShifterID (300a,0318) vr=SH, vm=1, type=1.
Definition: drtrshs.h:183
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const char * getCurrentSignatureValidationHTML(DVPSObjectType objtype) const
returns a string containing a complete HTML page with the signature validation results for the last o...
OFBool imageInDatabase
OFTrue if current image is already stored in database, OFFalse otherwise.
Definition: dviface.h:1676
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtrscs.h:335
OFCondition getReferencedBeamNumber(OFString &value, const signed long pos=0) const
get ReferencedBeamNumber (300c,0006)
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
virtual void clearData()
Clears all data handled by this component.
Internal structure defining the list items.
Definition: dsrrefin.h:189
@ Pegdinetanib_89Zr
(126728,DCM,"Pegdinetanib ^89^Zr")
Definition: cid4021.h:228
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition loadFileUntilTag(const OFFilename &fileName, const E_TransferSyntax readXfer=EXS_Unknown, const E_GrpLenEncoding groupLength=EGL_noChange, const Uint32 maxReadLength=DCM_MaxReadLength, const DcmTagKey &stopParsingAtElement=DCM_UndefinedTagKey)
load object from a DICOM file, up to the attribute tag stopParsingAtElement.
const DRTRecordedLateralSpreadingDeviceSequence & getRecordedLateralSpreadingDeviceSequence() const
get RecordedLateralSpreadingDeviceSequence (3008,00f4)
Definition: drttsibs.h:604
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item & getItem(const size_t num)
get particular item in the sequence
DcmDecimalString NumericValue
NumericValue (0040,a30a) vr=DS, vm=1-n, type=1C.
Definition: drtpcxs.h:364
OFCondition write(DcmItem &item)
write elements to sequence item
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_InvalidSegmentationObject
error: the given segmentation object does not conform to the template constraints
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_VerificationFailed_NoMAC
signature verification failed because the corresponding MAC parameters item could not be found or is ...
OFCondition getPatientAdditionalPosition(OFString &value, const signed long pos=0) const
get PatientAdditionalPosition (300a,0184)
virtual OFCondition getActualFrameDuration(Sint32 &value, const unsigned long pos=0) const
get ActualFrameDuration (0018,1242)
OFCondition skipVariable()
Skips one marker while scanning through the JPEG file stream.
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
OFCondition getBlockData(OFString &value, const signed long pos=0) const
get BlockData (300a,0106)
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
DiImage * createScale(const signed long left_pos, const signed long top_pos, const unsigned long src_cols, const unsigned long src_rows, const unsigned long dest_cols, const unsigned long dest_rows, const int interpolate, const int aspect, const Uint16 pvalue) const
create scaled copy of specified (clipping) area of the current image object.
OFBool m_readStudyLevel
If true, patient and study data is read from file.
Definition: i2d.h:234
virtual unsigned long getVM()
get the value multiplicity.
OFCondition checkDentalRadiographAttributes(DcmItem *dataset, const OFFilename &filename)
check attributes for compliance with dental radiograph application profile
virtual OFCondition initialize()=0
initializes the MAC algorithm.
Item(const Item ©)
copy constructor
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition getClinicalTrialSiteID(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteID (0012,0030)
DcmOtherByteOtherWord OverlayData
OverlayData (60xx,3000) vr=OB/OW, vm=1, type=1.
Definition: drtdose.h:4502
@ TRT_Segment
DICOM Temporal Range Type: SEGMENT.
Definition: dsrtypes.h:715
OFListIterator(Item *) CurrentItem
currently selected item
size_t getNumberOfItems() const
get number of items in the sequence
DcmDate PerformedProcedureStepEndDate
PerformedProcedureStepEndDate (0040,0250) vr=DA, vm=1, type=3.
Definition: drtimage.h:5008
DcmFloatingPointSingle HeadFixationAngle
HeadFixationAngle (300a,0148) vr=FL, vm=1, type=3.
Definition: drticpds.h:824
DcmFloatingPointSingle ApplicatorOpeningX
ApplicatorOpeningX (300a,0434) vr=FL, vm=1, type=1C.
Definition: drtags.h:162
virtual OFCondition getPatientAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientAlternativeCalendar (0010,0035)
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFBool isClinicalTrialSeriesModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSeriesModule (U) is present.
MdfConsoleEngine(int argc, char *argv[], const char *appl_name)
Constructor.
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
Uint16 jpls_t3_
JPEG-LS parameter "Threshold 3", 0 if unused.
Definition: djcparam.h:242
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
DRTSourceImageSequence SourceImageSequence
SourceImageSequence (0008,2112) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3065
virtual OFCondition getAllergies(OFString &value, const signed long pos=0) const
get Allergies (0010,2110)
DRTIconImageSequence & getIconImageSequence()
get IconImageSequence (0088,0200)
Definition: drtdose.h:2140
virtual ~DiTransTemplate()
destructor
Definition: ditranst.h:77
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM.
size_t getNumberOfItems() const
get number of items in the sequence
DRTBeamDoseVerificationControlPointSequence & operator=(const DRTBeamDoseVerificationControlPointSequence ©)
assigment operator
MdfDatasetManager & operator=(const MdfDatasetManager &)
private undefined assignment operator
unsigned int Month
currently stored month value
Definition: ofdate.h:246
DcmLongString PatientBreedDescription
PatientBreedDescription (0010,2292) vr=LO, vm=1, type=2C.
Definition: drtdose.h:4116
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setMeasuredLateralDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredLateralDimension (0010,1024)
DcmCodeString m_AliasedDataType
Aliased Data Type (CS, VM 1, Required Type 1)
Definition: fgimagedatatype.h:169
OFCondition getReferencedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtccs.h:353
DcmCodeString PatientAlternativeCalendar
PatientAlternativeCalendar (0010,0035) vr=CS, vm=1, type=1C.
Definition: drtplan.h:2979
const Item & getCurrentItem() const
get current item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool isEmpty()
check if sequence is empty
Item & operator[](const size_t num)
get particular item in the sequence
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtpics.h:211
DRTIonWedgeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
@ EVR_OF
other float
Definition: dcvr.h:165
OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
get SeriesInstanceUID (0020,000e)
virtual OFCondition getBoneThermalIndex(Float64 &value, const unsigned long pos=0)
Get Bone Thermal Index.
static OFBool singleValueMatching(const void *queryData, const size_t querySize, const void *candidateData, const size_t candidateSize)
Match the query data and the candidate using Single Value Matching, as defined by the DICOM standard.
virtual OFBool isComplete() const
check whether the current reference value is complete, i.e. whether both mandatory UIDs are non-empty...
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFCondition setMaterialID(const OFString &value, const OFBool check=OFTrue)
set MaterialID (300a,00e1)
DcmCodeString SmokingStatus
SmokingStatus (0010,21a0) vr=CS, vm=1, type=3.
Definition: drttreat.h:2800
DcmUnsignedShort Rows
Rows (0028,0010) vr=US, vm=1, type=1.
Definition: drtimage.h:5136
DcmPrivateTagCache(const DcmPrivateTagCache &)
private undefined copy constructor
virtual OFCondition getPartialValue(void *targetBuffer, const Uint32 offset, Uint32 numBytes, DcmFileCache *cache=NULL, E_ByteOrder byteOrder=gLocalByteOrder)
Copy numBytes bytes of data from the attribute value in byteOrder byte order to targetBuffer,...
E_UIDCreation
describes the condition under which a compressed or decompressed image receives a new SOP instance UI...
Definition: djutils.h:93
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
virtual OFCondition getImagePositionPatient(OFVector< Float64 > &value) const
get ImagePositionPatient (0020,0032)
DcmFileFormat * currentImageFileformat
a pointer to the fileformat (if it exists) of the DICOM dataset comprising the image to which the pre...
Definition: dvpstat.h:1202
DRTWedgeSequence(const DRTWedgeSequence ©)
copy constructor
virtual void clear()
reset the date value.
@ Fluciclovine_F18
(457000009,SCT,"Fluciclovine F^18^")
Definition: cid4021.h:140
DcmDate PatientBirthDate
PatientBirthDate (0010,0030) vr=DA, vm=1, type=2.
Definition: drtionpl.h:2890
virtual OFBool getPixelData(void *data, const unsigned long count, const unsigned long fcount, const unsigned long frames, const int planar) const =0
fill given memory block with pixel data (all three image planes, RGB)
abstract base class for all DICOM elements
Definition: dcelem.h:41
OFBool isJoined()
Checks whether cout and cerr are currently combined.
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
abstract base class for compression classes.
Definition: djencabs.h:33
virtual OFCondition setPixelSpacing(const OFString &value, const OFBool checkValue=OFTrue)
Set Pixel Spacing.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool getISOFormattedTime(OFString &formattedTime, const OFBool showSeconds=OFTrue, const OFBool showFraction=OFFalse, const OFBool showTimeZone=OFFalse, const OFBool showDelimiter=OFTrue, const OFString &timeZoneSeparator=" ") const
get the current time value in ISO format.
OFBool isEmpty()
check if sequence is empty
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
Item class.
Definition: drtrbas8.h:36
DcmIntegerString ReferencedROINumber
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=2.
Definition: drtcshs.h:240
DRTRequestAttributesSequence & getRequestAttributesSequence()
get RequestAttributesSequence (0040,0275)
Definition: drtiontr.h:1743
OFBool isEmpty()
check if sequence is empty
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getOperatorsName(OFString &value, const signed long pos=0) const
get OperatorsName (0008,1070)
DcmUnsignedShort modalityLUTDescriptor
Module=Modality_LUT, VR=xs, VM=3, Type 1c.
Definition: dcmpstat.h:958
DPMParametricMapIOD()
Constructor.
const unsigned long CIF_UseAbsolutePixelRange
use absolute (possible) pixel range for determining the internal representation (monochrome only)
Definition: diutils.h:89
void removeSignatures()
remove digital signatures from the document tree.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setSourceApplicatorWallNominalTransmission(const OFString &value, const OFBool check=OFTrue)
set SourceApplicatorWallNominalTransmission (300a,029e)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getClinicalTrialSubjectID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectID (0012,0040)
virtual OFCondition completeDocument()
complete the current document.
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
virtual OFCondition getDVHNormalizationDoseValue(OFString &value, const signed long pos=0) const
get DVHNormalizationDoseValue (3004,0042)
OFBool mapFilenamesMode() const
get current status of the "map filenames" mode.
Definition: dcddirif.h:357
OFCondition & operator=(const OFCondition &arg)
copy assignment operator
Definition: ofcond.h:230
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
OFCondition getDate(OFString &value, const signed long pos=0) const
get Date (0040,a121)
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtsptcs.h:341
DRTROIContourSequence(const DRTROIContourSequence ©)
copy constructor
Item(const Item ©)
copy constructor
const DcmDictEntry * findEntry(const DcmTagKey &key, const char *privCreator) const
dictionary lookup for the given tag key and private creator name.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
OFCondition setSnoutID(const OFString &value, const OFBool check=OFTrue)
set SnoutID (300a,030f)
virtual ~DRTRTROIObservationsSequence()
destructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtmacds.h:332
virtual OFCondition getClinicalTrialSiteName(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteName (0012,0031)
void convertValue(T2 &red, T2 &green, T2 &blue, const T2 hue, const T2 saturation, const T2 value, const T2 maxvalue)
convert a single HSV value to RGB
Definition: dihsvpxt.h:142
Structure for XML attribute.
Definition: ofxml.h:257
DRTPredecessorStructureSetSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setGantryRotationDirection(const OFString &value, const OFBool check=OFTrue)
set GantryRotationDirection (300a,011f)
DcmCodeString graphicLayer
VR=CS, VM=1, Type 1.
Definition: dvpsgl.h:155
virtual size_t gotoNext()
goto next node on the same level (following sibling)
Definition: dsrtncsr.h:553
OFCondition getTotalCompensatorTrayWaterEquivalentThickness(Float32 &value, const unsigned long pos=0) const
get TotalCompensatorTrayWaterEquivalentThickness (300a,02e3)
const char * getUserCodeValue(const char *userID, OFString &value)
returns the code value of the user code for the given user if present.
virtual FGBase * clone() const
Returns a deep copy of this object.
void parseArguments(OFConsoleApplication &app, OFCommandLine &cmd)
Parse and evaluate the given command line arguments.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Interface class for a Storage Service Class Provider (SCP).
Definition: dstorscp.h:50
OFCondition setCodingSchemeExternalID(const OFString &value, const OFBool check=OFTrue)
set the coding scheme external ID of the currently selected entry
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getSegmentDescription(OFString &value, const signed long pos=0)
Get Segment Description.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
virtual OFCondition getClinicalTrialSeriesID(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesID (0012,0071)
Item & getCurrentItem()
get current item in the sequence
OFCondition getTreatmentMachineName(OFString &value, const signed long pos=0) const
get TreatmentMachineName (300a,00b2)
OFBool lossy
flag indicating whether this transfer syntax uses a lossy compression
Definition: dcxfer.h:337
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 ...
double MaxValue
maximum pixel value
Definition: dimomod.h:253
virtual OFCondition setObservationDateTime(const OFString &observationDateTime, const OFBool check=OFTrue)
set observation date/time for all content items in the document tree.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence()
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtimage.h:2410
void setReadFromDICOMDIRMode(const OFBool readMode)
set mode that specifies whether to read information on SOP instances to be sent from the DICOMDIR fil...
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmCodeString CertificateType
CertificateType (0400,0110) vr=CS, vm=1, type=1.
Definition: drtdss.h:231
DRTReferencedInstanceSequence & getReferencedInstanceSequence()
get ReferencedInstanceSequence (0008,114a)
Definition: drtimage.h:2914
virtual OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
void setSOPClassUID(const char *uid)
set SOP Class UID of this image reference.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtces.h:330
DcmLongString TemplateName
TemplateName (300a,0244) vr=LO, vm=1, type=3.
Definition: drtass.h:290
DcmUnsignedShort ReferencedSegmentNumber
ReferencedSegmentNumber (0062,000b) vr=US, vm=1-n, type=1C.
Definition: drtrims.h:188
virtual OFCondition getContentDate(OFString &value, const signed long pos=0) const
get ContentDate (0008,0023)
virtual OFCondition check() const
Check whether current data of this functional group is valid.
virtual OFCondition createUint16Array(const Uint32 numWords, Uint16 *&words)
create an empty Uint16 array of given number of words and set it.
virtual void SetDatabaseType(WlmDatabaseType)
Set value in a member variable in a derived class.
Definition: wlds.h:452
Item & operator=(const Item ©)
assigment operator
double Threshold
threshold value used for "threshold replace"
Definition: diovpln.h:449
Item EmptyItem
empty default item
Definition: drtssrs.h:426
size_t bytesInLastBlock
filled number of bytes in last block in pixelDataList
Definition: djeijg12.h:169
OFThread()
default constructor.
@ Mogamulizumab_89Zr
(126738,DCM,"Mogamulizumab ^89^Zr")
Definition: cid4021.h:204
const DRTInstitutionCodeSequence & getInstitutionCodeSequence() const
get InstitutionCodeSequence (0008,0082)
Definition: drtporis.h:142
virtual OFCondition setAdditionalPatientHistory(const OFString &value, const OFBool check=OFTrue)
set AdditionalPatientHistory (0010,21b0)
void updateTagName(const char *c)
replace tagName with copy of given string
a class representing the DICOM value representation 'Unlimited Text' (UT)
Definition: dcvrut.h:36
DcmSignedShort(const DcmSignedShort &old)
copy constructor
@ DCV_requireCertificate
check peer certificate, fail if no certificate is present
Definition: tlslayer.h:69
@ SpeedOfSound
(110832,DCM,"Speed of sound"), included from CID 7180
Definition: cid7469.h:184
@ Ratio
({ratio},UCUM,"ratio")
Definition: cid7181.h:132
virtual ~DRTRangeModulatorSequence()
destructor
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setReferencedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceNumber (300c,0051)
Class implementing a document tree node filter that checks for a given concept name.
Definition: dsrdnflt.h:263
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=3.
Definition: drtiontr.h:3045
DPMParametricMapSeriesModule()
Constructor.
virtual void SetEnableRejectionOfIncompleteWlFiles(OFBool)
Set value in a member variable in a derived class.
Definition: wlds.h:470
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
the list of VOI LUTs contained in an image attached to a presentation state.
Definition: dvpsvll.h:39
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Uint32 getNumberOfTargets(DVPSPeerType peerType=DVPSE_storage)
returns the number of communication partners (send targets) in the configuration file.
associative container class.
Definition: ofmap.h:48
const char * getSmoothingType()
gets the (optional) smoothing type.
void clear()
reset the object to initial state.
const char * getStudyUID()
returns the Study Instance UID of the currently selected study.
OFCondition getChannelNumber(OFString &value, const signed long pos=0) const
get ChannelNumber (300a,0282)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtdspcs.h:345
virtual OFBool isApprovalModulePresent(const OFBool complete=OFFalse)
check whether ApprovalModule (U) is present.
virtual OFCondition setReferencedSegmentNumber(const Uint16 &segmentNumber)
Set Referenced Segment Number.
OFBool BackupCreated
flag indicating whether a backup has been created
Definition: dcddirif.h:1591
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_InvalidConceptName
error: an invalid concept name code has been passed or is used
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
OFCondition handleNSet(T_DIMSE_Message &rq, T_ASC_PresentationContextID presID)
handles any incoming N-SET-RQ message and sends back N-SET-RSP.
Item EmptyItem
empty default item
Definition: drtiais.h:331
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
DcmUnlimitedCharacters StrainDescription
StrainDescription (0010,0212) vr=UC, vm=1, type=3.
Definition: drtstrct.h:2771
static DcmTLSCipherProtocolVersion getCipherSuiteProtocolVersion(size_t idx)
returns the minimum SSL/TLS version required for the ciphersuite with the given index
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
virtual OFCondition getColorSpace(OFString &value, const signed long pos=0) const
get ColorSpace (0028,2002)
DVPSSoftcopyVOI_PList(const DVPSSoftcopyVOI_PList ©)
copy constructor
virtual OFCondition setInstanceNumber(const OFString &value, const OFBool checkValue=OFTrue)
Set Instance Number.
OFCondition getSamplesPerPixel(Uint16 &value, const unsigned long pos=0) const
get SamplesPerPixel (0028,0002)
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFBool appliesToAllFrames()
checks whether this image reference applies all frames because the referencedFrameNumber is empty.
@ NeckChestAbdomenAndPelvis
(416319003,SCT,"Neck, Chest, Abdomen and Pelvis")
Definition: cid4031.h:172
XMLAttribute * updateAttribute(XMLAttribute *newAttribute, XMLAttribute *oldAttribute)
if the attribute to update is missing, a new one will be added
virtual ~Item()
destructor
DRTDeidentificationActionSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition setData(size_t number, const Float32 *data, DVPSannotationUnit unit)
sets the graphic data for this graphic object.
FGStack(const OFString &stackID, const OFMap< Uint32, Uint32 > frameNumbers)
Constructor, creates stack from Stack ID and assigned frame numbers.
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setAnchorPoint(double x, double y, DVPSannotationUnit unit, OFBool isVisible)
sets an anchor point for this text object.
DcmIntegerString referencedFrameNumber
Module=Image_Box_List, VR=IS, VM=1, Type 1c.
Definition: dvpsib.h:369
An iterator for iterating over all the files (and folders) contained in a given filesystem location.
Definition: offilsys.h:422
Item class.
Definition: drtrps.h:36
const Item & operator[](const size_t num) const
get particular item in the sequence
Definition: dcmqrtis.h:51
DiDisplayFunction ** displayFunction
reference to list of display functions if existing
Definition: dvpstat.h:1302
const DRTGeneralAccessorySequence & getGeneralAccessorySequence() const
get GeneralAccessorySequence (300a,0420)
Definition: drtbs.h:444
DiDisplayFunction(const Uint16 *ddl_tab, const double *val_tab, const unsigned long count, const Uint16 max=255, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0)
constructor, use given array of DDL and luminance/OD values.
OFCondition write(DcmItem &dataset) const
write list of referenced date/time
DRTReferencedSetupImageSequence & operator=(const DRTReferencedSetupImageSequence ©)
assigment operator
DcmIntegerString PixelAspectRatio
PixelAspectRatio (0028,0034) vr=IS, vm=2, type=1C.
Definition: drtiis.h:427
DcmCodeString ModulatedScanModeType
ModulatedScanModeType (300a,0309) vr=CS, vm=1, type=1C.
Definition: drtibs.h:1003
DcmCodeString QualityControlSubject
QualityControlSubject (0010,0200) vr=CS, vm=1, type=3.
Definition: drtplan.h:2985
OFCondition selectPState(Uint32 idx, OFBool changeStatus=OFFalse)
selects and loads specified presentation state referencing the currently selected image.
virtual CodeSequenceMacro & getAnatomicRegion()
Return Anatomic Region.
static const char * getProfileName(const E_ApplicationProfile profile)
get name/identifier associated with the given application profile
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrsrs.h:308
Item EmptyItem
empty default item
Definition: drtwps.h:322
OFCondition getRTBeamLimitingDeviceType(OFString &value, const signed long pos=0) const
get RTBeamLimitingDeviceType (300a,00b8)
void clearImageReferences()
removes all image references for this displayed area.
Definition: dvpssv.h:129
@ CarbonMonoxide_O15
(129506004,SCT,"Carbon monoxide O^15^")
Definition: cid4021.h:82
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTRangeModulatorSettingsSequenceInRTIonBeamsModule RangeModulatorSettingsSequence
RangeModulatorSettingsSequence (300a,0380) vr=SQ, vm=1, type=1C.
Definition: drticps.h:805
DCMTK_DCMDATA_EXPORT const char * dcmFindUIDFromName(const char *name)
return the UID of a name.
virtual OFBool IsSupersetOf(const OFUnorderedSet< T > &other) const
Determines if this is an actual superset of other, i.e.
Definition: ofuoset.h:281
DiTransTemplate(const int planes, const Uint16 src_x, const Uint16 src_y, const Uint16 dest_x, const Uint16 dest_y, const Uint32 frames, const int bits=0)
constructor
Definition: ditranst.h:58
DcmPixelData * getPixelData() const
get pixel data object
Definition: didocu.h:174
FGPlaneOrientationPatient()
Constructor, creates empty functional group.
const DSRImageSegmentList & getSegmentList() const
get read-only access to list of referenced segment numbers
Definition: dsrimgvl.h:389
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item & operator=(const Item ©)
assigment operator
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition setSpatialResolution(const OFString &value, const OFBool check=OFTrue)
set SpatialResolution (0018,1050)
static OFBool isConversionToUTF8Necessary(const OFString &characterSet)
Determine if a character set is not compatible to UTF-8, i.e. if it is not UTF-8 or ASCII.
OFBool failOnInvalidQuery
indicates if the application shall fail on an invalid C-Find RQ message
Definition: wlds.h:56
SiMD5()
default constructor
OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
OFCondition setLateralSpreadingDeviceSetting(const OFString &value, const OFBool check=OFTrue)
set LateralSpreadingDeviceSetting (300a,0372)
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
Item class.
Definition: drtrros.h:41
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
size_t getNumberOfItems() const
get number of items in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition setClinicalTrialSubjectReadingID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectReadingID (0012,0042)
OFCondition getPixelData(void *pixelData, unsigned long size)
same as method above apart from the fact that the storage area is handled externally.
Item & operator[](const size_t num)
get particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getSOPAuthorizationDateTime(OFString &value, const signed long pos=0) const
get SOPAuthorizationDateTime (0100,0420)
Sint32 convertODtoPValue(Uint16 density, unsigned int bits=8)
converts an optical density (OD) value to an 8/12/16-bit P-value which is linear to luminance.
DRTContourSequence & getContourSequence()
get ContourSequence (3006,0040)
Definition: drtrcs.h:142
OFCondition getTableTopVerticalPositionTolerance(OFString &value, const signed long pos=0) const
get TableTopVerticalPositionTolerance (300a,0051)
virtual OFCondition getPerformedProcedureStepDescription(OFString &value, const signed long pos=0) const
get PerformedProcedureStepDescription (0040,0254)
DRTApplicationSetupSequence ApplicationSetupSequence
ApplicationSetupSequence (300a,0230) vr=SQ, vm=1, type=1.
Definition: drtplan.h:3319
virtual OFCondition getPatientBirthDate(OFString &value, const signed long pos=0) const
get PatientBirthDate (0010,0030)
Base class for implementing an SCP pool with one thread listening for incoming TCP/IP connections and...
Definition: scppool.h:45
int opt_maxAssociations
indicates how many associations can be accepted at the same time
Definition: wlcefs.h:78
OFCondition addQualitativeEvaluation(const DSRCodedEntryValue &conceptName, const OFString &stringValue, const OFBool check=OFTrue)
add a qualitative evaluation related to the subject of the measurement group in text form (TID 1501 -...
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtlsds6.h:162
IODPatientStudyModule & getPatientStudy()
Get Patient Study Module.
int writePPM(FILE *stream, const int bits=0, const unsigned long frame=0)
write pixel data to PPM file (specified by open C stream).
OFCondition writeDocumentContentMacro(DcmItem &dataset) const
write document content macro
DRTDVHReferencedROISequence & operator=(const DRTDVHReferencedROISequence ©)
assigment operator
const unsigned long CIF_DecompressCompletePixelData
always decompress complete pixel data when processing an image, i.e. even if partial access is used
Definition: diutils.h:97
Class to handle a single overlay plane.
Definition: diovpln.h:53
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
CID10013e_CTAcquisitionType(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtpbcs.h:335
void clear()
clear the list
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual DcmFileFormat & getDirFileFormat()
returns reference to DICOM file from which DICOMDIR was read.
DSRDocumentTreeNodeCursor(const DSRDocumentTreeNodeCursor &cursor)
copy constructor
OFListIterator(Item *) CurrentItem
currently selected item
const DRTReferencedReferenceImageSequenceInRTBeamsModule & getReferencedReferenceImageSequence() const
get ReferencedReferenceImageSequence (300c,0042)
Definition: drtbs.h:516
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbl5.h:322
DcmCodeString filmDestination
VR=CS, VM=1.
Definition: dvpsfs.h:157
virtual OFCondition setBitsStored(const Uint16 &value, const OFBool checkValue=OFTrue)
Set Bits Stored.
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
static OFBool parseFragment(const char *string, const size_t size, double &result)
parse the fragment part of a DICOM time string.
DcmHashDictIterator & operator++()
pre-increment operator
Definition: dchashdi.h:156
@ DT_PerformedImagingAgentAdministrationSR
DICOM IOD: Performed Imaging Agent Administration SR.
Definition: dsrtypes.h:543
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence()
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtstrct.h:1494
virtual ~I2DOutputPlug()
Destructor.
Definition: i2doutpl.h:81
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtporcs.h:343
OFCondition setFloatingPointValue(const Float64 value, const unsigned long pos=0)
set FloatingPointValue (0040,a161)
virtual OFCondition getPatientDeathDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientDeathDateInAlternativeCalendar (0010,0034)
virtual ~FGParametricMapFrameType()
Destructor, frees memory.
OFCondition setSourceStrength(const OFString &value, const OFBool check=OFTrue)
set SourceStrength (300a,022b)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbldts.h:315
virtual OFCondition getSOPInstanceUID(OFString &value, const signed long pos=0) const
get SOPInstanceUID (0008,0018)
DcmQueryRetrieveConfig & config
configuration facility
Definition: dcmqrtis.h:282
virtual int writePPM(STD_NAMESPACE ostream &stream, const unsigned long frame, const int bits)=0
write pixel data to PPM file (abstract).
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
@ Edotreotide_Ga68
(C2713594,UMLS,"Edotreotide Ga^68^")
Definition: cid4021.h:120
DcmUniqueIdentifier InstanceCreatorUID
InstanceCreatorUID (0008,0014) vr=UI, vm=1, type=3.
Definition: drttreat.h:2979
Uint32 getTargetPrinterNumberOfEmptyImageDensities(const char *targetID)
returns the number of distinct values (separated by backslash characters) in the EMPTYIMAGEDENSITY en...
void flipHorz(const T *src[], T *dest[])
flip source image horizontally and store result in destination image
Definition: diflipt.h:137
DRTSnoutSequence(const DRTSnoutSequence ©)
copy constructor
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual ~IODEnhancedUSSeriesModule()
Destructor.
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 ...
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
Get Manufacturer's Model Name.
Item EmptyItem
empty default item
Definition: drtircs.h:615
DcmDecimalString LeafPositionBoundaries
LeafPositionBoundaries (300a,00be) vr=DS, vm=3-n, type=1C.
Definition: drtiblds.h:180
DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule ReferencedRTPlanSequence
ReferencedRTPlanSequence (300c,0002) vr=SQ, vm=1, type=2.
Definition: drtiontr.h:3081
OFBool operator()(DcmItem &item) const
convenience function to enable using DcmAttributeFilter as a functor.
void * next()
Advances the current element to the next element in the list and returns a pointer to the next elemen...
Abstract base class for deriving specific functional groups.
Definition: fgbase.h:33
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
void clear()
clear all internal member variables
const unsigned long CIF_TakeOverExternalDataset
take responsibility for the given external DICOM dataset, i.e. delete it on destruction
Definition: diutils.h:77
OFList(const OFList< T > &oldList)
copy constructor
Definition: oflist.h:345
const OFTime & getTime() const
get the current time component
OFBool printSCPSet(DVConfiguration &cfg, const char *cfgname, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, OFBool presentationLUTnegotiated, DVPSPresentationLUT_PList &globalPresentationLUTList)
performs a Print SCP Basic Film Box N-SET operation on an instance of this class.
virtual OFCondition write(DcmItem &item)
Write Mandatory View and Slice Progression Direction Macro to given item.
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getInstanceCreationTime(OFString &value, const signed long pos=0) const
get InstanceCreationTime (0008,0013)
virtual OFBool isLeaf() const
check if this element is a leaf node in a dataset tree.
Definition: dcsequen.h:132
unsigned long AutoLutNumber
current LUT number used to invent missing attribute values
Definition: dcddirif.h:1618
DcmLongString * GetErrorComments()
Get value from member variable.
OFBool MarkFlag
flag indicating whether the content item is marked (e.g. used for digital signatures).
Definition: dsrdoctn.h:747
@ French_CA
(fr-CA,RFC5646,"French (CA)")
Definition: cid5000.h:54
OFCondition selectSignature(unsigned long i)
selects one of the digital signatures from the attached dataset for reading.
double MinValue
minimum pixel value
Definition: dimomod.h:251
OFCondition getCalculatedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get CalculatedDoseReferenceNumber (3008,0072)
virtual OFCondition setPatientComments(const OFString &value, const OFBool check=OFTrue)
set PatientComments (0010,4000)
size_t size() const
get number of graphic layer objects in this list.
Definition: dvpsgll.h:109
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
special write method for creation of digital signatures
This is the central class in the log4cplus package.
Definition: logimpl.h:58
@ VT_Image
DICOM Value Type: IMAGE.
Definition: dsrtypes.h:609
virtual ~SiCertificateVerifier()
destructor
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmLongString StrainNomenclature
StrainNomenclature (0010,0213) vr=LO, vm=1, type=3.
Definition: drtionpl.h:2928
void clearData()
Clear data (base class version)
Definition: modimagepixelvariant.h:117
OFshared_ptr< DcmItem > m_Item
The data hold by this class (shared with modules below)
Definition: iodcommn.h:237
int removeAllOverlays()
remove all additional overlay planes
virtual ~DSRColonCadSRConstraintChecker()
destructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTReferencedPerformedProcedureStepSequence ReferencedPerformedProcedureStepSequence
ReferencedPerformedProcedureStepSequence (0008,1111) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2944
virtual OFCondition setGantryAngle(const OFString &value, const OFBool check=OFTrue)
set GantryAngle (300a,011e)
virtual OFCondition readStudyData(DcmItem &dataset)
read StudyData from dataset.
virtual OFCondition setFrameOfReferenceUID(const OFString &value, const OFBool check=OFTrue)
set FrameOfReferenceUID (0020,0052)
OFCondition setOFDateTime(const OFDateTime &dateTimeValue)
set the element value to the given date and time
DSRDocumentTree(const DSRDocumentTree &tree)
copy constructor.
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtpcs.h:341
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
DRTReferencedInstanceSequence & getReferencedInstanceSequence()
get ReferencedInstanceSequence (0008,114a)
Definition: drttreat.h:1527
DRTOperatorIdentificationSequence & getOperatorIdentificationSequence()
get OperatorIdentificationSequence (0008,1072)
Definition: drtplan.h:1568
OFListIterator(Item *) CurrentItem
currently selected item
const Item & getItem(const size_t num) const
get particular item in the sequence
OFBool isEmpty()
check if item is empty
virtual OFCondition setPatientID(const OFString &value, const OFBool check=OFTrue)
set PatientID (0010,0020)
OFCondition printSCUcreateBasicFilmSession(DVPSPrintMessageHandler &printHandler, OFBool plutInSession)
Initiates the creation of a DICOM Basic Film Session SOP Instance in the printer.
DVIFhierarchyStatus getStatus() const
gets review status of the current (selected) series
Definition: dvcache.h:584
void setRespondWithCalledAETitle(const OFBool useCalled)
Set SCP to use the called AE title from the SCU request for the response, i.e. the SCP will always re...
const char * getTransferSyntaxKey() const
returns the key for the list of transfer syntaxes maintained by this object
Definition: dccfpcmp.h:80
DRTPurposeOfReferenceCodeSequence PurposeOfReferenceCodeSequence
PurposeOfReferenceCodeSequence (0040,a170) vr=SQ, vm=1, type=3.
Definition: drtrims.h:180
OFCondition setRespiratorySignalSourceID(const OFString &value, const OFBool check=OFTrue)
set RespiratorySignalSourceID (0018,9186)
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtads.h:349
virtual OFCondition getMedicalAlerts(OFString &value, const signed long pos=0) const
get MedicalAlerts (0010,2000)
ContentItemMacro()
Constructor.
const DRTReferencedBolusSequenceInRTIonBeamsSessionRecordModule & getReferencedBolusSequence() const
get ReferencedBolusSequence (300c,00b0)
Definition: drttsibs.h:664
OFCondition getFormattedName(OFString &formattedName, const unsigned long pos=0, const unsigned int componentGroup=0)
get current element value as a formatted/readable name.
virtual offile_off_t skip(offile_off_t skiplen)
skips over the given number of bytes (or less)
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition setOperatorsName(const OFString &value, const OFBool check=OFTrue)
set OperatorsName (0008,1070)
virtual OFCondition setDepthsOfFocus(const OFVector< Float64 > &values, const OFBool checkValue=OFTrue)
Set Depth(s) of Focus (convenience function)
OFBool operator!=(const OFIterator< T > &x) const
comparison of two iterators.
Definition: oflist.h:227
DSRImageTreeNode(const DSRImageTreeNode &node)
copy constructor.
OFCondition write(DcmItem &item)
write elements to sequence item
virtual ~DVStudyCache()
Destructor.
Definition: dvcache.h:723
DRTFixationDeviceSequence FixationDeviceSequence
FixationDeviceSequence (300a,0190) vr=SQ, vm=1, type=3.
Definition: drtpss.h:323
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtecs.h:516
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtblds5.h:399
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition digest(const unsigned char *data, unsigned long length)
feeds data into the MAC algorithm
OFCondition setROIGenerationDescription(const OFString &value, const OFBool check=OFTrue)
set ROIGenerationDescription (3006,0038)
virtual size_t addReferences(const IODReferences &references, const OFString &studyInstanceUID="", const OFBool clearOldData=OFTrue)
Add references.
@ YBR_ICTYComponent
(110843,DCM,"YBR ICT Y Component"), included from CID 7180
Definition: cid7469.h:222
void clear()
clear all internal member variables
Item EmptyItem
empty default item
Definition: drtafs.h:331
OFCondition setBlockIdentifyingInformationStatus(const OFString &value, const OFBool check=OFTrue)
set BlockIdentifyingInformationStatus (0008,0303)
DcmCodeString RTBeamLimitingDeviceType
RTBeamLimitingDeviceType (300a,00b8) vr=CS, vm=1, type=1.
Definition: drtiblds.h:184
DcmCodeString DistributionType
DistributionType (0012,0084) vr=CS, vm=1, type=1C.
Definition: drtcctus.h:148
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getTextValue(OFString &value, const signed long pos=0) const
get TextValue (0040,a160)
virtual OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
OFBool base_empty() const
checks if the stack is empty
Definition: ofstack.h:100
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
OFListIterator(Item *) CurrentItem
currently selected item
DcmLongString ServiceEpisodeID
ServiceEpisodeID (0038,0060) vr=LO, vm=1, type=3.
Definition: drttreat.h:2816
DcmShortString PerformedProcedureStepID
PerformedProcedureStepID (0040,0253) vr=SH, vm=1, type=3.
Definition: drtimage.h:5002
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
void clear()
clear all internal member variables
Item & getItem(const size_t num)
get particular item in the sequence
DcmLongString ServiceEpisodeID
ServiceEpisodeID (0038,0060) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2902
virtual OFCondition setFrameLabel(const OFString &value, const OFBool checkValue=OFTrue)
Set Frame Label.
OFCondition setGraphicType(const DSRTypes::E_GraphicType3D graphicType, const OFBool check=OFTrue)
set current graphic type.
DcmLongString ClinicalTrialTimePointID
ClinicalTrialTimePointID (0012,0050) vr=LO, vm=1, type=2.
Definition: drttreat.h:2827
virtual ~DUL_ModeCallback()
destructor
Definition: dul.h:168
const Item & operator[](const size_t num) const
get particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
DcmShortText PersonAddress
PersonAddress (0040,1102) vr=ST, vm=1, type=3.
Definition: drtcpis.h:206
OFCondition getBeamDose(OFString &value, const signed long pos=0) const
get BeamDose (300a,0084)
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
OFBool existUnencapsulated
shows if an unencapsulated representation is stored
Definition: dcpixel.h:165
void clear()
clear all internal member variables
OFCondition getTypeOfPatientID(OFString &value, const signed long pos=0) const
get TypeOfPatientID (0010,0022)
virtual OFCondition setPatientWeight(const OFString &value, const OFBool check=OFTrue)
set PatientWeight (0010,1030)
DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence()
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtiontr.h:1239
virtual OFCondition getTreatmentStatusComment(OFString &value, const signed long pos=0) const
get TreatmentStatusComment (3008,0202)
virtual OFCondition getNumberOfFramesInOverlay(Sint32 &value, const unsigned long pos=0) const
get NumberOfFramesInOverlay (60xx,0015)
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtsdcs.h:351
OFCondition getGantryPitchAngleTolerance(Float32 &value, const unsigned long pos=0) const
get GantryPitchAngleTolerance (300a,014e)
const DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence() const
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtiontr.h:1545
OFCondition read(size_t idx, DcmDecimalString &wcenter, DcmDecimalString &wwidth, DcmLongString *expl=NULL)
reads a VOI Window from DICOM elements.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtmas.h:95
DcmFloatingPointSingle SourceToApplicatorMountingPositionDistance
SourceToApplicatorMountingPositionDistance (300a,0436) vr=FL, vm=1, type=3.
Definition: drtas1.h:197
DcmDate PerformedProcedureStepStartDate
PerformedProcedureStepStartDate (0040,0244) vr=DA, vm=1, type=3.
Definition: drtstrct.h:2950
virtual void notifyAssociationTermination()
Overwrite this function to be notified when an association is terminated.
OFCondition setWedgeNumber(const OFString &value, const OFBool check=OFTrue)
set WedgeNumber (300a,00d2)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmDecimalString OrganAtRiskOverdoseVolumeFraction
OrganAtRiskOverdoseVolumeFraction (300a,002d) vr=DS, vm=1, type=3.
Definition: drtrdrs8.h:366
virtual OFBool isClinicalTrialStudyModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialStudyModule (U) is present.
DRTSourcePatientGroupIdentificationSequence SourcePatientGroupIdentificationSequence
SourcePatientGroupIdentificationSequence (0010,0026) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4849
const DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence() const
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtiontr.h:1677
DRTEncryptedAttributesSequence EncryptedAttributesSequence
EncryptedAttributesSequence (0400,0500) vr=SQ, vm=1, type=1C.
Definition: drtdose.h:4681
FileInfo structure is OS independent abstraction of the stat() function.
Definition: fileinfo.h:47
OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
T_DIMSE_BlockingMode getDIMSEBlockingMode() const
Returns whether DIMSE messaging is configured to be blocking or unblocking.
OFCondition getBeamLimitingDeviceAngle(Float64 &value, const unsigned long pos=0) const
get BeamLimitingDeviceAngle (300a,0120)
virtual OFCondition setPatientAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientAlternativeCalendar (0010,0035)
OFCondition releaseAssociation()
releases the current association.
OFListIterator(void *) theIterator
list iterator, points to current element
const Item & getItem(const size_t num) const
get particular item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
OFBool isEmpty()
check if sequence is empty
Item EmptyItem
empty default item
Definition: drtrbs4.h:468
DRTMultiplexedAudioChannelsDescriptionCodeSequence & operator=(const DRTMultiplexedAudioChannelsDescriptionCodeSequence ©)
assigment operator
~DSRSOPInstanceReferenceList()
destructor
OFCondition getRadiationMassNumber(Sint32 &value, const unsigned long pos=0) const
get RadiationMassNumber (300a,0302)
@ EDT_Printer
printer (hardcopy output device), values expected to be in optical density (OD)
Definition: didispfn.h:69
OFBool decrement_count()
Decrement the reference counter in a thread-safe and (if possible) lock-free fashion.
Definition: ofmem.h:219
DVPresentationState(const DVPresentationState &other)
private undefined copy constructor
Base class for implementing a DICOM Service Class Provider (SCP).
Definition: scp.h:141
Definition: jpegint12.h:106
OFBool opt_enableRejectionOfIncompleteWlFiles
indicates if wl-files which are lacking return type 1 attributes or information in such attributes sh...
Definition: wlcefs.h:82
OFCondition setTextValue(const OFString &value, const OFBool check=OFTrue)
set TextValue (0040,a160)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual ~DcmQueryRetrieveDatabaseHandle()
Destructor.
const unsigned long CIF_WrongPaletteAttributeTags
accept wrong palette attribute tags
Definition: diutils.h:65
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_InvalidDocument
error: the document status is invalid
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmUnsignedLong PrivateDataElementNumberOfItems
PrivateDataElementNumberOfItems (0008,030b) vr=UL, vm=1-2, type=1C.
Definition: drtpdeds.h:238
virtual OFCondition setPatientSex(const OFString &value, const OFBool check=OFTrue)
set PatientSex (0010,0040)
virtual OFCondition getAuthorizationEquipmentCertificationNumber(OFString &value, const signed long pos=0) const
get AuthorizationEquipmentCertificationNumber (0100,0426)
virtual OFCondition getReferencedFractionGroupNumber(OFString &value, const signed long pos=0) const
get ReferencedFractionGroupNumber (300c,0022)
OFBool operator==(const DcmProfileEntry &arg) const
comparison operator.
Definition: dccfprmp.h:78
virtual DcmSegment * getSegment(const unsigned int segmentNumber)
Get segment by providing the logical segment number.
virtual OFCondition getPerformedProcedureStepEndDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndDate (0040,0250)
Uint16 m_secFieldLength
Length of primary value field in bytes.
Definition: dcuserid.h:293
OFshared_ptr< IODRules > getRules()
Get rules handled by this module.
Definition: iodmacro.h:261
static OFTestManager & instance()
Definition: oftest.h:146
@ Chest
(51185008,SCT,"Chest")
Definition: cid4031.h:74
virtual OFCondition getContentTime(OFString &value, const signed long pos=0) const
get ContentTime (0008,0033)
static OFCondition getCurrentDate(OFString &dicomDate)
get the current system date.
OFBool operator!() const
test if a OFGroup object is invalid.
OFCondition setActiveSourceDiameter(const OFString &value, const OFBool check=OFTrue)
set ActiveSourceDiameter (300a,0218)
Item EmptyItem
empty default item
Definition: drtrsts.h:332
void clear()
clear all internal member variables
Item EmptyItem
empty default item
Definition: drtds.h:728
DSRSCoord3DTreeNode(const DSRSCoord3DTreeNode &node)
copy constructor.
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
the representation of a Image Box Content SQ item for Stored Print
Definition: dvpsib.h:41
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
virtual EP_Interpretation getDecompressedColorModel() const
after successful compression, returns the color model of the decompressed image
Definition: djdijg12.h:86
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtrscs.h:347
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
SegmentedPropertyTypeCodeItem m_SegmentedPropertyType
Segmented Property Type Code.
Definition: segtypes.h:358
OFBool isEmpty()
check if sequence is empty
DcmTCPConnection(DcmNativeSocketType openSocket)
constructor.
DcmOverlayData & operator=(const DcmOverlayData &obj)
copy assignment operator
Definition: dcovlay.h:62
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtqds.h:543
virtual ~DRTIonBeamSequence()
destructor
DcmUniqueIdentifier studyInstanceUID
Module=Image_Box_List, VR=UI, VM=1, Type 1.
Definition: dvpsib.h:365
const char * getFilename()
returns the Filename of the currently selected instance.
int setAmbientLightValue(const double value)
set (reflected) ambient light value.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getNonidentifyingPrivateElements(Uint16 &value, const unsigned long pos=0) const
get NonidentifyingPrivateElements (0008,0304)
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
virtual void clear()
reset the date/time value.
OFCondition getGraphicLayerRecommendedDisplayValueGray(size_t idx, Uint16 &gray)
gets the recommended grayscale display value for the given graphic layer.
void print(STD_NAMESPACE ostream &out)
print the content of the configuration to an output stream
E_ValueStatus getValueAndCheckMinMax(OFCmdUnsignedInt &value, const OFCmdUnsignedInt low, const OFCmdUnsignedInt high)
returns next argument as an unsigned integer value and checks for given boundaries
OFBool operator!=(const DSRCompositeReferenceValue &referenceValue) const
comparison operator "not equal"
DRTStructureSetROISequence & operator=(const DRTStructureSetROISequence ©)
assigment operator
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFBool isEmpty()
check if item is empty
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
void SetReturnedCharacterSet(WlmReturnedCharacterSetType value)
Set value in member variable.
DcmTransportLayerStatus addTrustedCertificateFile(const char *fileName, DcmKeyFileFormat fileType)
loads a certificate from a file and adds it to the pool of trusted certificates.
@ _18_Fluorine
(77004003,SCT,"^18^Fluorine")
Definition: cid4020.h:52
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtiws.h:412
OFCondition setBlockMountingPosition(const OFString &value, const OFBool check=OFTrue)
set BlockMountingPosition (300a,00fb)
OFVector< DimensionIndexItem * > m_DimensionIndexSequence
Vector with all items of the Dimension Index Pointer Sequence.
Definition: modmultiframedimension.h:380
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item & operator[](const size_t num)
get particular item in the sequence
DVPSDecimateCropBehaviour getRequestedDecimateCropBehaviour()
gets the current requested decimate/crop behaviour setting that is used for all image boxes managed b...
Definition: dvpssp.h:277
DRTAssigningAgencyOrDepartmentCodeSequence & operator=(const DRTAssigningAgencyOrDepartmentCodeSequence ©)
assigment operator
void removeRecommendedDisplayValue(OFBool rgb, OFBool monochrome)
removes recommended display values.
DcmBufferProducer(const DcmBufferProducer &)
private unimplemented copy constructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrris1.h:190
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
DRTPrivateDataElementCharacteristicsSequence PrivateDataElementCharacteristicsSequence
PrivateDataElementCharacteristicsSequence (0008,0300) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3407
@ DistributedDiffusionCoefficient
(113298,DCM,"Distributed Diffusion Coefficient"), included from CID 7272
Definition: cid7469.h:142
DcmAttributeMatching()
Default construct an empty DcmAttributeMatching object.
virtual OFCondition encode(const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *fromPixSeq, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const =0
transcodes (re-compresses) the given compressed DICOM image and stores the result in the given toPixS...
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getLastMenstrualDate(OFString &value, const signed long pos=0) const
get LastMenstrualDate (0010,21d0)
virtual OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
Get Study Instance UID.
virtual OFCondition getPrimaryDosimeterUnit(OFString &value, const signed long pos=0) const
get PrimaryDosimeterUnit (300a,00b3)
virtual OFCondition getRescaleSlope(OFString &value, const signed long pos=0) const
get RescaleSlope (0028,1053)
DcmCodeString StereoPairsPresent
StereoPairsPresent (0022,0028) vr=CS, vm=1, type=3.
Definition: drtdose.h:4485
virtual const OFString & getDelimiterChars() const
get delimiter characters specifying when to switch back to the default character set (in case code ex...
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_AlgorithmDoesNotMatchProfile
Signature algorithm not allowed for the current security profile.
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTCompensatorSequence(const DRTCompensatorSequence ©)
copy constructor
IODMultiframeDimensionModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrtrs4.h:132
DcmIntegerString ReferencedRangeModulatorNumber
ReferencedRangeModulatorNumber (300c,0104) vr=IS, vm=1, type=1.
Definition: drtrmss6.h:203
Item & operator=(const Item ©)
assigment operator
OFCondition getTableTopPitchAngle(Float32 &value, const unsigned long pos=0) const
get TableTopPitchAngle (300a,0140)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmCodeString BeamDoseType
BeamDoseType (300a,0090) vr=CS, vm=1, type=1C.
Definition: drtrbs8.h:279
OFCondition addItem(Item *&item)
add new item to the end of this sequence
IODDoubleFloatingPointImagePixelModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
DcmCodec()
default constructor
Definition: dccodec.h:82
int getParamCount() const
gets number of parameters in the parsed command line.
Definition: ofcmdln.h:439
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence() const
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtiontr.h:1737
DRTOriginalAttributesSequence OriginalAttributesSequence
OriginalAttributesSequence (0400,0561) vr=SQ, vm=1, type=3.
Definition: drttreat.h:3012
virtual OFCondition setPerformedProcedureStepStartTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartTime (0040,0245)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmShortString AccessionNumber
AccessionNumber (0008,0050) vr=SH, vm=1, type=2.
Definition: drtdose.h:4190
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_ItemEnd
Item end.
MdfDatasetManager(const MdfDatasetManager &)
private undefined copy constructor
OFCondition write(DcmItem &dataset) const
write list of referenced frame numbers
OFCondition getSourceApplicatorNumber(Sint32 &value, const unsigned long pos=0) const
get SourceApplicatorNumber (300a,0290)
DRTBeamLimitingDeviceSequenceInRTIonBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmLongString ClinicalTrialProtocolID
ClinicalTrialProtocolID (0012,0020) vr=LO, vm=1, type=1.
Definition: drtplan.h:3042
~OFConsoleApplication()
destructor
DRTFractionStatusSummarySequence(const DRTFractionStatusSummarySequence ©)
copy constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
DcmShortString StudyID
StudyID (0020,0010) vr=SH, vm=1, type=2.
Definition: drtdose.h:4188
OFCondition printSCUgetPrinterInstance(DVPSPrintMessageHandler &printHandler)
Requests the properties of the printer (Printer SOP Instance N-GET).
OFCondition putValue(const void *value, const Uint32 length)
replace the element value by a copy of the given raw data block
virtual OFCondition readItem(DcmItem &dataset, const size_t flags)
read reference value from dataset
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
const DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence() const
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtiontr.h:1557
virtual OFCondition getInstanceCreationDate(OFString &value, const signed long pos=0) const
get InstanceCreationDate (0008,0012)
virtual OFCondition readStudyData(DcmItem &dataset, const size_t flags=0)
read study data from DICOM dataset.
DcmDecimalString ContrastBolusVolume
ContrastBolusVolume (0018,1041) vr=DS, vm=1, type=3.
Definition: drtimage.h:5193
virtual void resetRules()
Resets rules to their original values.
virtual OFCondition setMechanicalIndex(const OFString &value, const OFBool checkValue=OFTrue)
Set Mechanical Index.
DiPalettePixelTemplate(const DiDocument *docu, const DiInputPixel *pixel, DiLookupTable *palette[3], EI_Status &status)
constructor
Definition: dipalpxt.h:53
virtual OFCondition determineDecompressedColorModel(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, OFString &decompressedColorModel) const
determine color model of the decompressed image
virtual DcmSequenceOfItems & getMRDRSequence()
returns container in which all MRDR (multi-reference directory records) are stored
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmCodeString QueryRetrieveView
QueryRetrieveView (0008,0053) vr=CS, vm=1, type=1C.
Definition: drttreat.h:3018
virtual OFCondition setClinicalTrialProtocolID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolID (0012,0020)
virtual DcmDirectoryRecord * getReferencedMRDR()
if this directory record references an MRDR (multi-reference directory record), return pointer to the...
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
IODPatientModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
GeneralAnatomyMacro & operator=(const GeneralAnatomyMacro &rhs)
Assignment operator (performs deep copy)
virtual OFCondition setZeroVelocityPixelValueUS(const Uint16 value)
Set Zero Velocity Pixel Value.
static E_ValueType xmlTagNameToValueType(const OFString &xmlTagName)
convert XML tag name to value type
DRTChannelSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
virtual OFCondition getLargestImagePixelValue(Uint16 &value, const unsigned long pos=0) const
get LargestImagePixelValue (0028,0107)
Uint32 numBytes_
number of user data bytes currently in buffer
Definition: dcwcache.h:121
DSRXRayRadiationDoseSRConstraintChecker()
default constructor
OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual ~IODPatientStudyModule()
Destructor.
virtual OFCondition getPatientBodyMassIndex(OFString &value, const signed long pos=0) const
get PatientBodyMassIndex (0010,1022)
@ EUC_always
always assign new SOP instance UID on compression and decompression
Definition: djutils.h:100
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual ~DRTReferencedStructureSetSequence()
destructor
DcmUniqueIdentifier OriginalSpecializedSOPClassUID
OriginalSpecializedSOPClassUID (0008,001b) vr=UI, vm=1, type=3.
Definition: drtdose.h:4654
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
void forcedLog(LogLevel ll, const log4cplus::tstring &message, const char *file=NULL, int line=-1) const
This method creates a new logging event and logs the event without further checks.
void clear()
clear all internal member variables
DcmIntegerString ReferencedROINumber
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=1C.
Definition: drtdrs.h:507
double PixelWidth
width of each pixel according to 'PixelSpacing/AspectRatio'
Definition: diimage.h:633
@ NuclearMedicineProjectionActivity
(110820,DCM,"Nuclear Medicine Projection Activity"), included from CID 7180
Definition: cid7469.h:156
DcmLongString AdmittingDiagnosesDescription
AdmittingDiagnosesDescription (0008,1080) vr=LO, vm=1-n, type=3.
Definition: drtstrct.h:2864
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTDoseReferenceSequence DoseReferenceSequence
DoseReferenceSequence (300a,0010) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3286
void resetSentStatus(const OFBool sameAssociation=OFFalse)
reset the sent status for all SOP instances in the transfer list.
virtual void clearData()
Clear data.
OFConfigFileNode * getBrother() const
return pointer to next object in tree on same level
Definition: ofconfig.h:126
virtual OFBool isAllowableMACType(E_MACType macType) const
checks whether the given MAC type can be used with this security profile.
Item & getItem(const size_t num)
get particular item in the sequence
DSRSpatialCoordinates3DValue(const DSRTypes::E_GraphicType3D graphicType)
constructor
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFCondition getReferencedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
DcmDictEntryList(const DcmDictEntryList &)
private undefined copy constructor
OFunique_ptr & operator=(const OFunique_ptr &)
Disable copy assignment.
virtual OFBool attributeForbidden(const DcmTagKey &key) const
checks whether an attribute with the given tag must not be signed for the current security profile.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcdrs.h:361
OFCondition getTreatmentDeliveryType(OFString &value, const signed long pos=0) const
get TreatmentDeliveryType (300a,00ce)
DRTImageIOD & operator=(const DRTImageIOD ©)
assigment operator
virtual OFCondition setSoftwareVersions(const OFString &value, const OFBool checkValue=OFTrue)
Set Software Version(s)
SiRIPEMD160()
default constructor
OFBool isEmpty()
check if sequence is empty
void convert(const T1 *pixel, DiLookupTable *palette[3])
convert input pixel data to intermediate representation
Definition: dipalpxt.h:85
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual DCMTK_LOG4CPLUS_PRIVATE void initializeLoggerList(LoggerList &list) const
This is the implementation of the getCurrentLoggers().
DRTPurposeOfReferenceCodeSequence PurposeOfReferenceCodeSequence
PurposeOfReferenceCodeSequence (0040,a170) vr=SQ, vm=1, type=3.
Definition: drtsins.h:145
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
virtual OFCondition setAcquisitionDate(const OFString &value, const OFBool checkValue=OFTrue)
Set Acquisition Date.
virtual ~GeneralAnatomyMacro()
Virtual destructor.
virtual OFCondition loadAllDataIntoMemory(void)
this method loads all attribute values maintained by this object and all sub-objects (in case of a co...
virtual ~Item()
destructor
DVPSSignatureStatus getCurrentSignatureStatus(DVPSObjectType objtype) const
returns the status flag for the current object of given type.
OFBool isApplicable(const char *instanceUID, unsigned long frame)
checks if the object containing this list of image references is applicable to the given image and fr...
DcmTransportLayer & operator=(OFrvalue_ref(DcmTransportLayer) rhs)
move assignment.
Definition: dcmlayer.h:94
DiImage * createScale(const signed long left_pos, const signed long top_pos, const unsigned long clip_width, const unsigned long clip_height, const unsigned long scale_width, const unsigned long scale_height, const int interpolate, const int aspect, const Uint16 pvalue) const
create scaled copy of specified (clipping) area of the current image object.
DVPSStoredPrint & operator=(const DVPSStoredPrint &)
private undefined assignment operator
OFString m_storageDir
Storage directory for objects received with C-STORE due to a running C-GET session.
Definition: scu.h:1052
DCMTK_DCMDATA_EXPORT const unsigned short EC_CODE_CannotSelectCharacterSet
error, cannot select specific character set
DcmDecimalString KVP
KVP (0018,0060) vr=DS, vm=1, type=1C.
Definition: drticpds.h:828
virtual OFCondition setMostRecentTreatmentDate(const OFString &value, const OFBool check=OFTrue)
set MostRecentTreatmentDate (3008,0056)
DcmDate InstanceCreationDate
InstanceCreationDate (0008,0012) vr=DA, vm=1, type=3.
Definition: drtionpl.h:3260
OFBool restrictMoveToSameAE_
restrict MOVE operations to same Application Entity
Definition: dcmqropt.h:119
@ CM_UNKNOWN
Unknown (default value if not initialized)
Definition: trctypes.h:83
virtual E_MACType macType() const
returns the type of MAC algorithm computed by this object
Item & operator=(const Item ©)
assigment operator
DcmCodeString RTPlanGeometry
RTPlanGeometry (300a,000c) vr=CS, vm=1, type=1.
Definition: drtplan.h:3271
DcmLongString patientID
Module=Patient, VR=LO, VM=1, Type 2.
Definition: dvpssp.h:957
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition setSeriesNumber(const OFString &value, const OFBool check=OFTrue)
set SeriesNumber (0020,0011)
OFVector< CodeSequenceMacro * > m_ViewModifierCode
View Modifier Code Sequence (SQ, VM 1-n, type 2C)
Definition: iodmacro.h:1365
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTGroupOfPatientsIdentificationSequence GroupOfPatientsIdentificationSequence
GroupOfPatientsIdentificationSequence (0010,0027) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2797
virtual OFCondition getLongitudinalTemporalEventType(OFString &value, const signed long pos=0) const
get LongitudinalTemporalEventType (0012,0053)
virtual OFCondition setVR(DcmEVR vr)
set/change the current value representation
Implementation of the DCMR Template: TID 1419 - ROI Measurements (only the "Measurement" content item...
Definition: tid1419m.h:54
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTApplicatorSequenceInRTIonBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition getPixelRepresentation(Uint16 &value, const unsigned long pos=0) const
get PixelRepresentation (0028,0103)
@ AP_UltrasoundCCMF
Ultrasound Single & Multi-Frame with Combined Calibration (STD-UD-CC-MF-xxxx)
Definition: dcddirif.h:171
OFBool operator!=(const DSRNumericMeasurementValue &numericMeasurement) const
comparison operator "not equal".
DRTRTRelatedROISequence & getRTRelatedROISequence()
get RTRelatedROISequence (3006,0030)
Definition: drtrros.h:191
DcmTime TimeOfLastCalibration
TimeOfLastCalibration (0018,1201) vr=TM, vm=1-n, type=3.
Definition: drtstrct.h:3000
DcmShortString StudyID
StudyID (0020,0010) vr=SH, vm=1, type=2.
Definition: drtstrct.h:2837
virtual OFCondition getImageType(OFString &value, const signed long pos=0) const
Get Image Type.
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
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition changeOverlayGroup(size_t idx, Uint16 newGroup)
changes the repeating group used for an overlay.
OFBool m_progressNotificationMode
Progress notification mode (default: enabled)
Definition: scu.h:1069
const Uint16 * Data
pointer to lookup table data
Definition: dibaslut.h:296
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
static OFCondition createBinarySegmentation(DcmSegmentation *&segmentation, const Uint16 rows, const Uint16 columns, const IODGeneralEquipmentModule::EquipmentInfo &equipmentInfo, const ContentIdentificationMacro &contentIdentification)
Factory method to create a binary segmentation object from the minimal set of information required.
DRTQuantityDefinitionSequence & operator=(const DRTQuantityDefinitionSequence ©)
assigment operator
Appends log events to a file.
Definition: nullap.h:42
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition setPatientDeathDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientDeathDateInAlternativeCalendar (0010,0034)
OFCondition gotoFirstItem()
goto first item in the sequence
DRTContributingEquipmentSequence(const DRTContributingEquipmentSequence ©)
copy constructor
DVPSDisplayedArea()
default constructor
runmode
Possible run modes of pool.
Definition: scppool.h:220
void convert(const T1 *pixel, const unsigned long planeSize, const int bits)
convert input pixel data to intermediate representation
Definition: dicmypxt.h:79
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
static E_TemporalRangeType enumeratedValueToTemporalRangeType(const OFString &enumeratedValue)
convert DICOM enumerated value to temporal range type
OFCondition addVolumetricROIMeasurements(const OFBool checkEmpty=OFTrue)
create another instance of TID 1411 (Volumetric ROI Measurements) and add it as an included template ...
OFCondition getDoseReferenceDescription(OFString &value, const signed long pos=0) const
get DoseReferenceDescription (300a,0016)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual void printInfoLine(STD_NAMESPACE ostream &out, const size_t flags, const int level=0, const char *info=NULL, DcmTag *tag=NULL, const OFBool isInfo=OFTrue)
print given text with element information.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmDecimalString TableTopLateralPositionTolerance
TableTopLateralPositionTolerance (300a,0053) vr=DS, vm=1, type=3.
Definition: drtitts.h:422
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTConsentForClinicalTrialUseSequence(const DRTConsentForClinicalTrialUseSequence ©)
copy constructor
virtual OFCondition getClinicalTrialProtocolName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolName (0012,0021)
const DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence() const
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtionpl.h:1529
virtual ~DcmEncoderOutputStream()
Virtual Desctructor.
Definition: dcrleenc.h:51
Class that contains helper functionality for the dcmseg module.
Definition: segutils.h:32
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtscs.h:353
virtual OFCondition readStudyData(DcmItem &dataset)
read StudyData from dataset.
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrrtps.h:149
DcmIntegerString ReferencedCalculatedDoseReferenceNumber
ReferencedCalculatedDoseReferenceNumber (3008,0092) vr=IS, vm=1, type=1C.
Definition: drtrcdrs.h:167
DcmLongString SourceApplicatorName
SourceApplicatorName (300a,0294) vr=LO, vm=1, type=3.
Definition: drtchs.h:663
virtual OFBool isValidDocumentTree(const E_RelationshipType defaultRelType=RT_unknown) const
check whether this subtree is a valid document tree.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmShortString StationName
StationName (0008,1010) vr=SH, vm=1, type=3.
Definition: drtdose.h:4340
DVSeriesCache()
Constructor.
Definition: dvcache.h:439
OFBool DatasetIsComplete(DcmDataset *dataset)
This function checks if the given dataset (which represents the information from a worklist file) con...
@ TCE_AESGCM
Advanced Encryption Standard (AES) in Galois/Counter Mode (GCM)
Definition: tlsciphr.h:188
OFBool isEmpty()
check if sequence is empty
Item & operator=(const Item ©)
assigment operator
DcmSequenceOfItems * acseSequence
ACSE communication logged in this object if present.
Definition: dvpsprt.h:306
OFCondition putString(const char *stringValue)
put list of referenced sample positions as a string.
Item class.
Definition: drtrsos.h:36
virtual OFCondition getPatientAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientAlternativeCalendar (0010,0035)
DcmCodeString TypeOfInstances
TypeOfInstances (0040,e020) vr=CS, vm=1, type=1.
Definition: drtrpphs.h:234
Item & getCurrentItem()
get current item in the sequence
void clear()
clear all internal member variables
virtual ~DVPSAnnotationContent()
destructor
virtual OFCondition getRTImageSID(OFString &value, const signed long pos=0) const
get RTImageSID (3002,0026)
WlmReturnedCharacterSetType opt_returnedCharacterSet
returned character set type
Definition: wlcefs.h:42
@ CS_Arabic
ISO-IR 127: Arabic.
Definition: dsrtypes.h:805
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
DcmLongString ROIGenerationDescription
ROIGenerationDescription (3006,0038) vr=LO, vm=1, type=3.
Definition: drtssrs.h:235
OFCondition setLateralSpreadingDeviceSetting(const OFString &value, const OFBool check=OFTrue)
set LateralSpreadingDeviceSetting (300a,0372)
void deletePreviewImage()
deletes and disables the current preview image.
a class representing the DICOM value representation 'Unsigned Short' (US)
Definition: dcvrus.h:35
OFCondition getBlockIdentifyingInformationStatus(OFString &value, const signed long pos=0) const
get BlockIdentifyingInformationStatus (0008,0303)
OFCondition setConstraintWeight(const OFString &value, const OFBool check=OFTrue)
set ConstraintWeight (300a,0021)
OFPair(const OFPair< OK, OV > &p)
copy constructor
Definition: ofutil.h:345
OFCondition getBrachyAccessoryDeviceNominalTransmission(OFString &value, const signed long pos=0) const
get BrachyAccessoryDeviceNominalTransmission (300a,026c)
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
write dataset to a stream
OFCondition setImageRequestedSize(size_t idx, const char *value)
sets the requested size for the given registered image box.
Definition: dvpssp.h:418
this helper class maintains a map of role selection lists.
Definition: dccfrsmp.h:113
@ interleaveSample
Sample-interleaved (color-by-pixel)
Definition: djcparam.h:43
OFunique_ptr(const OFunique_ptr &)
Disable copy construction.
OFBool isEmpty()
check if item is empty
const Item & getItem(const size_t num) const
get particular item in the sequence
void clear()
clear all internal member variables
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setStudyDate(const OFString &value, const OFBool check=OFTrue)
set StudyDate (0008,0020)
DcmTime PatientBirthTime
PatientBirthTime (0010,0032) vr=TM, vm=1, type=3.
Definition: drtdose.h:4102
OFBool newInstancesReceived()
tests whether the database has been modified in any way since the last call to this method.
virtual ~DcmIODCommon()
Destructor.
OFCondition getTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get template identifier and mapping resource.
@ Fluorethyltyrosin_F18
(424708001,SCT,"Fluorethyltyrosin F^18^")
Definition: cid4021.h:146
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition read(DcmItem &item)
read elements from sequence item
DVPSOverlayCurveActivationLayer(const DVPSOverlayCurveActivationLayer ©)
copy constructor
DcmItem(const DcmTag &tag, const Uint32 len=0)
constructor.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtspccs.h:533
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getTargetMaximumDose(OFString &value, const signed long pos=0) const
get TargetMaximumDose (300a,0027)
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
const Item & operator[](const size_t num) const
get particular item in the sequence
void clear()
clear all internal member variables
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtscs.h:327
OFCondition setWedgeType(const OFString &value, const OFBool check=OFTrue)
set WedgeType (300a,00d3)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtblds6.h:396
virtual OFBool isCommonInstanceReferenceModulePresent(const OFBool complete=OFFalse)
check whether CommonInstanceReferenceModule (U) is present.
OFBool assocStarted
true if the association was started
Definition: dcmqrcbm.h:151
OFCondition getNumberOfLeafJawPairs(Sint32 &value, const unsigned long pos=0) const
get NumberOfLeafJawPairs (300a,00bc)
virtual void dump(STD_NAMESPACE ostream &out)
Dump rules to stream, useful for debugging.
DRTRTROIIdentificationCodeSequence & getRTROIIdentificationCodeSequence()
get RTROIIdentificationCodeSequence (3006,0086)
Definition: drtrros.h:179
Item EmptyItem
empty default item
Definition: drtrics.h:555
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getPersonTelephoneNumbers(OFString &value, const signed long pos=0) const
get PersonTelephoneNumbers (0040,1103)
OFBool isEmpty()
check if sequence is empty
~LST_HEAD()
destructor, deletes list but not elements pointed to by list entries.
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
OFCondition getNumberOfContourPoints(Sint32 &value, const unsigned long pos=0) const
get NumberOfContourPoints (3006,0046)
virtual OFCondition getRedPaletteColorLookupTableDescriptor(Uint16 &value, const unsigned long pos=0) const
get RedPaletteColorLookupTableDescriptor (0028,1101)
OFBool ok
internal state, OFTrue when valid.
Definition: ofpwd.h:109
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition writeItem(DcmItem &dataset) const
write code to dataset.
TID4019_AlgorithmIdentification & getAlgorithmIdentification() const
get algorithm identification as defined by TID 4019 (Algorithm Identification).
Definition: tid1419m.h:99
DcmCodeString RadiationType
RadiationType (300a,00c6) vr=CS, vm=1, type=1.
Definition: drttsibs.h:1030
OFCondition addPresentationContexts()
add presentation contexts for all SOP instances in the transfer list, which were not yet sent (either...
OFCondition getGantryAngleTolerance(OFString &value, const signed long pos=0) const
get GantryAngleTolerance (300a,0044)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtpbcs.h:329
DcmLongString ServiceEpisodeDescription
ServiceEpisodeDescription (0038,0062) vr=LO, vm=1, type=3.
Definition: drtiontr.h:2986
virtual ~IODRules()
Destructor.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmCodeString BrachyTreatmentTechnique
BrachyTreatmentTechnique (300a,0200) vr=CS, vm=1, type=1.
Definition: drtplan.h:3311
virtual OFCondition setApprovalStatus(const OFString &value, const OFBool check=OFTrue)
set ApprovalStatus (300e,0002)
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 element to a stream.
OFBool create_if_necessary
If enabled, a new dataset is created in memory if a file is not existing.
Definition: mdfconen.h:206
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition setPixelRepresentation(const Uint16 value, const unsigned long pos=0)
set PixelRepresentation (0028,0103)
Item & getCurrentItem()
get current item in the sequence
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 element to a stream.
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
DRTStudiesContainingOtherReferencedInstancesSequence StudiesContainingOtherReferencedInstancesSequence
StudiesContainingOtherReferencedInstancesSequence (0008,1200) vr=SQ, vm=1, type=1C.
Definition: drtstrct.h:3136
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
OFCondition setGantryRotationDirection(const OFString &value, const OFBool check=OFTrue)
set GantryRotationDirection (300a,011f)
@ EFV_Linear
function LINEAR
Definition: diutils.h:277
virtual OFCondition copyFrom(const DcmObject &rhs)
virtual object copying.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmDecimalString ROIStandardDeviation
ROIStandardDeviation (60xx,1303) vr=DS, vm=1, type=3.
Definition: drtdose.h:4514
virtual OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
Class for content item CONTAINER.
Definition: dsrcontn.h:40
void clear()
clear all internal member variables
OFCondition gotoFirstItem()
goto first item in the sequence
There are many cross-platform C++ Threading libraries.
Definition: thredimp.h:115
virtual OFCondition setContentTime(const OFString &value, const OFBool checkValue=OFTrue)
Set Content Time.
DRTProcedureCodeSequence(const DRTProcedureCodeSequence ©)
copy constructor
const DRTReferencedRTPlanSequenceInRTGeneralPlanModule & getReferencedRTPlanSequence() const
get ReferencedRTPlanSequence (300c,0002)
Definition: drtplan.h:1802
DRTProcedureCodeSequence & getProcedureCodeSequence()
get ProcedureCodeSequence (0008,1032)
Definition: drtionpl.h:1667
DRTIssuerOfServiceEpisodeIDSequence IssuerOfServiceEpisodeIDSequence
IssuerOfServiceEpisodeIDSequence (0038,0064) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4958
virtual ~SOPInstanceReferenceMacro()
Virtual Destructor.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTReferencedSeriesSequence ReferencedSeriesSequence
ReferencedSeriesSequence (0008,1115) vr=SQ, vm=1, type=1C.
Definition: drtplan.h:3412
OFMutex(const OFMutex &arg)
unimplemented private copy constructor
OFCondition setTableTopVerticalPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopVerticalPosition (300a,0128)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTSourceImageSequence & getSourceImageSequence()
get SourceImageSequence (0008,2112)
Definition: drtimage.h:3046
DJLSError()
private undefined constructor
DcmDirectoryRecord * buildKeyObjectDocRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update key object doc record and copy required values from dataset
OFBool ignore_un_modifies
If enabled, any value modifications of UN leaf elements are not executed.
Definition: mdfconen.h:203
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
OFCondition getOrganAtRiskOverdoseVolumeFraction(Float64 &value, const unsigned long pos=0) const
get OrganAtRiskOverdoseVolumeFraction (300a,002d)
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setChannelNumber(const OFString &value, const OFBool check=OFTrue)
set ChannelNumber (300a,0282)
OFCondition getDoseReferenceStructureType(OFString &value, const signed long pos=0) const
get DoseReferenceStructureType (300a,0014)
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
virtual OFCondition convertCharacterSet(DcmSpecificCharacterSet &converter)
convert this element value from the currently selected source character set to the currently selected...
E_TransferSyntax output_xfer_option
denotes the transfer syntax that should be written
Definition: mdfconen.h:178
Interface class for StrainSourceRegistryCodeSequence (0010,0215)
Definition: drtssrcs.h:29
OFCondition getFractionGroupType(OFString &value, const signed long pos=0) const
get FractionGroupType (3008,0224)
DRTMeasurementUnitsCodeSequence MeasurementUnitsCodeSequence
MeasurementUnitsCodeSequence (0040,08ea) vr=SQ, vm=1, type=1C.
Definition: drtcims.h:347
DSRDocumentTree(const E_DocumentType documentType)
constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmUnsignedShort NonidentifyingPrivateElements
NonidentifyingPrivateElements (0008,0304) vr=US, vm=1-n, type=1C.
Definition: drtpdecs.h:190
void printSCPDelete(T_DIMSE_Message &rq, T_DIMSE_Message &rsp)
performs a Print SCP Presentation LUT N-DELETE operation.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTReferencedFrameOfReferenceSequence ReferencedFrameOfReferenceSequence
ReferencedFrameOfReferenceSequence (3006,0010) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3027
virtual OFCondition getImagePlanePixelSpacing(OFString &value, const signed long pos=0) const
get ImagePlanePixelSpacing (3002,0011)
OFCondition gotoFirstItem()
goto first item in the sequence
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition getBodyPartExamined(OFString &value, const signed long pos=0) const
Get Body Part Examined.
DcmDictEntryListIterator end()
< unspecified > is_default_constructible
Required: default construction policy.
Definition: ofoption.h:267
virtual OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
get StudyInstanceUID (0020,000d)
virtual ~ContentIdentificationMacro()
Virtual destructor.
double getDiff() const
get elapsed time.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getGraphicLayerRecommendedDisplayValueRGB(size_t idx, Uint16 &r, Uint16 &g, Uint16 &b)
gets the recommended RGB display value for the given graphic layer.
virtual OFCondition checkValue(const OFString &vm="", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
virtual OFBool isSegmentationObject(const OFString &sopClassUID) const
check whether the given SOP class UID refers to a DICOM segmentation object
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setBurnedInAnnotation(const OFString &value, const OFBool checkValue=OFTrue)
Set Burned In Annotation.
DRTApplicatorSequenceInRTIonBeamsSessionRecordModule & getApplicatorSequence()
get ApplicatorSequence (300a,0107)
Definition: drttsibs.h:514
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
static T denorm_min()
The minimum positive subnormal value of the type T, if OFnumeric_limits<T>::has_denorm !...
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtcss.h:355
type definitions, constants and helper functions for the dcmrt module
size_t size() const
returns the size of compressed RLE stream in bytes.
Definition: dcrleenc.h:251
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
OFCondition getReferencedBrachyApplicationSetupNumber(OFString &value, const signed long pos=0) const
get ReferencedBrachyApplicationSetupNumber (300c,000c)
DRTInstitutionCodeSequence & getInstitutionCodeSequence()
get InstitutionCodeSequence (0008,0082)
Definition: drtois.h:136
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtbas.h:355
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
virtual OFCondition setStudyID(const OFString &value, const OFBool check=OFTrue)
set StudyID (0020,0010)
DcmLongString MedicalAlerts
MedicalAlerts (0010,2000) vr=LO, vm=1-n, type=3.
Definition: drtionpl.h:3037
CodeSequenceMacro m_DiffusionAcquisitionCode
Code for diffusion acquisition used for this Track Set.
Definition: trctrackset.h:461
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid100.h:139
OFCondition getConstraintWeight(Float64 &value, const unsigned long pos=0) const
get ConstraintWeight (300a,0021)
OFCondition getOrganAtRiskMaximumDose(OFString &value, const signed long pos=0) const
get OrganAtRiskMaximumDose (300a,002c)
OFCondition putAndInsertSint16Array(const DcmTag &tag, const Sint16 *value, const unsigned long count, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
bool put(OFunique_ptr< T > object)
Used to enter an object into the registry.
Definition: factory.h:163
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmCodeString GantryRotationDirection
GantryRotationDirection (300a,011f) vr=CS, vm=1, type=1C.
Definition: drticpds.h:822
The test manager singleton manages the list of available test cases and executes them.
Definition: oftest.h:143
DcmDecimalString ContrastFlowRate
ContrastFlowRate (0018,1046) vr=DS, vm=1-n, type=3.
Definition: drtimage.h:5201
virtual OFBool isEmpty() const
check whether the current reference value is empty.
OFCondition getCompensatorDivergence(OFString &value, const signed long pos=0) const
get CompensatorDivergence (300a,02e0)
virtual ~DRTDeidentificationActionSequence()
destructor
OFList< ItemStruct * > ItemList
list of items
Definition: dsrcsidl.h:353
OFCondition getDiaphragmPosition(OFVector< Float64 > &value) const
get DiaphragmPosition (3002,0034)
double getRescaleIntercept() const
get rescale intercept value
Definition: dimomod.h:165
OFCondition setTableTopRollAngleTolerance(const Float32 value, const unsigned long pos=0)
set TableTopRollAngleTolerance (300a,0050)
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
const Alternative * OFget(const OFvariant< Alternatives... > *v)
Try to get a pointer to the given alternative from an OFvariant object.
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setDeliveryWarningDose(const OFString &value, const OFBool check=OFTrue)
set DeliveryWarningDose (300a,0022)
DRTReferencedSOPSequence ReferencedSOPSequence
ReferencedSOPSequence (0008,1199) vr=SQ, vm=1, type=1C.
Definition: drtpcxs.h:374
DcmPersonName & operator=(const DcmPersonName &obj)
assignment operator
DcmEVR vr
the enumerated VR value
Definition: dcvr.h:466
OFString & operator=(const char *s)
constructs a temporary string from the input s and assigns it to the current string.
void clear()
clear all internal member variables
static OFCondition createPlanarConfiguration0Byte(Uint8 *imageFrame, Uint16 columns, Uint16 rows)
converts an RGB or YBR frame with 8 bits/sample from color-by-plane to color-by-pixel planar configur...
DiColorPixel * InterData
points to intermediate pixel data representation (object)
Definition: dicoimg.h:433
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
@ LAT_RIGHT
Right body part.
Definition: trctypes.h:110
virtual OFCondition getAcquisitionTime(OFString &value, const signed long pos=0) const
get AcquisitionTime (0008,0032)
DVPSImageBoxContent_PList & operator=(const DVPSImageBoxContent_PList &)
private undefined assignment operator
virtual ~DcmUnsignedShort()
destructor
void addTest(OFTestTest *test)
Register a test with this test manager.
Definition: oftest.h:163
static OFBool writeStringValueToXML(STD_NAMESPACE ostream &stream, const OFString &stringValue, const OFString &tagName, const OFBool writeEmptyValue=OFFalse)
write string value to XML output stream.
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setReviewerName(const OFString &value, const OFBool check=OFTrue)
set ReviewerName (300e,0008)
const DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence() const
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtstrct.h:1656
IODEnhGeneralEquipmentModule()
Constructor.
Class with helper functions used within the dcmdata module (and beyond)
Definition: dcdatutl.h:35
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setRows(const Uint16 value, const unsigned long pos=0)
set Rows (0028,0010)
const char * getUserCodingSchemeDesignator(const char *userID, OFString &value)
returns the coding scheme designator of the user code for the given user if present.
static void initializeNetwork()
Initialize the network API (if necessary), e.g. Winsock.
OFCondition renderHTML(STD_NAMESPACE ostream &docStream, const size_t flags) const
render string value in HTML/XHTML format
@ FilteredBackProjection
(113962,DCM,"Filtered Back Projection")
Definition: cid10033.h:44
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmDate PerformedProcedureStepEndDate
PerformedProcedureStepEndDate (0040,0250) vr=DA, vm=1, type=3.
Definition: drtionpl.h:3109
@ DCMSCU_STORAGE_IGNORE
Ignore any objects received via C-STORE.
Definition: scu.h:61
OFList< unsigned char * > pixelDataList
list of compressed pixel data blocks
Definition: djeijg16.h:156
E_ParamValueStatus getParam(const int pos, OFCmdSignedInt &value)
gets value of specified parameter as signed integer.
DcmLongString ClinicalTrialSiteName
ClinicalTrialSiteName (0012,0031) vr=LO, vm=1, type=2.
Definition: drtiontr.h:2877
size_t getNumberOfCurves(size_t layer)
returns the number of curve activations for the given graphic layer.
DRTRTReferencedStudySequence & operator=(const DRTRTReferencedStudySequence ©)
assigment operator
DRTReferencedInstanceSequence & getReferencedInstanceSequence()
get ReferencedInstanceSequence (0008,114a)
Definition: drtrsers.h:107
Item & getCurrentItem()
get current item in the sequence
DRTLateralSpreadingDeviceSequence & operator=(const DRTLateralSpreadingDeviceSequence ©)
assigment operator
DRTSourceImageSequence SourceImageSequence
SourceImageSequence (0008,2112) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3247
virtual OFCondition getAlgorithmSource(OFString &value, const signed long pos=0)
Get Algorithm Source.
static OFCondition getOFTimeFromString(const char *dicomTime, const size_t dicomTimeSize, OFTime &timeValue, const OFBool supportOldFormat, const double timeZone)
get the specified DICOM time value in OFTime format.
virtual void postLoadValue()
method is called after the element value has been loaded.
OFCondition getBlockTrayID(OFString &value, const signed long pos=0) const
get BlockTrayID (300a,00f5)
virtual ~DSRListOfItems()
destructor
Definition: dsrtlist.h:74
@ Breast
(76752008,SCT,"Breast")
Definition: cid4031.h:64
virtual OFCondition getResponsibleOrganization(OFString &value, const signed long pos=0) const
get ResponsibleOrganization (0010,2299)
virtual void exit()
Ends and exits worker thread.
void reserve(size_t res_arg)
directive that informs a string of a planned change in size, so that it can manage the storage alloca...
DcmTagKey sequenceTag
pointer to sequence element
Definition: wltypdef.h:120
void clear()
clear all internal member variables
static OFConsole & instance()
returns the singleton instance of this class.
OFCondition setNumberOfLeafJawPairs(const OFString &value, const OFBool check=OFTrue)
set NumberOfLeafJawPairs (300a,00bc)
@ OFround_toward_infinity
Rounding toward positive infinity.
Definition: oflimits.h:103
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
DRTUDISequence UDISequence
UDISequence (0018,100a) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5055
virtual DPMParametricMapSeriesModule & getDPMParametricMapSeriesModule()
Get Parametric Map Series Module.
OFBool isEmpty()
check if item is empty
virtual ~Item()
destructor
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getStopTrim(OFString &value, const signed long pos=0) const
get StopTrim (0008,2143)
const char * getImageMagnificationType(size_t idx)
gets the (optional) magnification type for the given registered image box.
Definition: dvpssp.h:481
OFdirectory_entry value_type
A valid OFdirectory_iterator refers to an OFdirectory_entry.
Definition: offilsys.h:426
@ DT_MammographyCadSR
DICOM IOD: Mammography CAD SR.
Definition: dsrtypes.h:515
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
size_t getNumberOfItems() const
get number of items in the sequence
Flags
Flags for controlling the application behavior regarding character set conversion.
Definition: dcmqrcnf.h:50
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
void clear()
clear all internal member variables
DRTStrainStockSequence StrainStockSequence
StrainStockSequence (0010,0216) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3017
virtual ~DRTIonBeamsTreatmentRecordIOD()
destructor
DRTStudiesContainingOtherReferencedInstancesSequence StudiesContainingOtherReferencedInstancesSequence
StudiesContainingOtherReferencedInstancesSequence (0008,1200) vr=SQ, vm=1, type=1C.
Definition: drtdose.h:4702
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
DSRKeyObjectSelectionDocumentConstraintChecker()
default constructor
OFCondition getWedgeType(OFString &value, const signed long pos=0) const
get WedgeType (300a,00d3)
OFCondition gotoNextItem()
goto next item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getNumberOfFrames(OFString &value, const signed long pos=0) const
get NumberOfFrames (0028,0008)
virtual OFCondition getImageType(OFString &value, const signed long pos=0) const
get ImageType (0008,0008)
unsigned long currentImageHeight
contains the height of the attached image without consideration of rotation.
Definition: dvpstat.h:1216
DVPSTextObject * getTextObject(size_t layer, size_t idx)
gets the text object with the given index on the given layer.
bool operator!() const
Checks whether *this does NOT own an object, i.e.
Definition: ofmem.h:399
const OFString & getObservationUID() const
get observation unique identifier.
DRTReferencedInstanceSequence & getReferencedInstanceSequence()
get ReferencedInstanceSequence (0008,114a)
Definition: drtplan.h:1748
DRTInstitutionCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition setInstanceCreationTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationTime (0008,0013)
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition getNominalBeamEnergy(OFString &value, const signed long pos=0) const
get NominalBeamEnergy (300a,0114)
OFBool operator==(const DSRSpatialCoordinates3DValue &coordinatesValue) const
comparison operator "equal"
TID4019_AlgorithmIdentification()
default constructor
const DRTReferencedVerificationImageSequence & getReferencedVerificationImageSequence() const
get ReferencedVerificationImageSequence (300c,0040)
Definition: drttsibs.h:700
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setPersonAddress(const OFString &value, const OFBool check=OFTrue)
set PersonAddress (0040,1102)
OFCondition getNumberOfFractionPatternDigitsPerDay(OFString &value, const signed long pos=0) const
get NumberOfFractionPatternDigitsPerDay (300a,0079)
const char * ApplicationTitle
application entity title
Definition: dcmqrcnf.h:141
unsigned long getTargetMaxPDU(const char *targetID)
returns the MAXPDU entry for the communication partner with the given target ID from the configuratio...
void setCertificateVerification(DcmCertificateVerification vtype)
defines how peer certificates should be treated when negotiating a TLS connection.
OFCondition write(DcmItem &item)
write elements to sequence item
Item(const Item ©)
copy constructor
OFBool isValid() const
check if item is valid, i.e. not the empty default item
unsigned int getOverlayGroupNumber(const unsigned int plane, const unsigned int idx=0) const
get group number of specified overlay plane
Definition: dcmimage.h:1198
DSRXMLCursor getNamedNode(const DSRXMLCursor &cursor, const char *name, const OFBool required=OFTrue) const
get a particular named node of the document.
OFBool isExtensible() const
check whether context group is extensible
Definition: dsrctxgr.h:60
OFBool isEmpty()
check if item is empty
OFCondition getParameterSequencePointer(OFString &value, const signed long pos=0) const
get ParameterSequencePointer (3008,0061)
static OFCondition create(const CodeSequenceMacro &typeCode, const CodeSequenceMacro &typeModifierCode, const CodeSequenceMacro &unitsCode, const Float32 *statisticValues, const size_t numValues, TrcTracksStatistic *&statistic)
Create track statistic by providing the required information.
E_CharacterSet
Specific character set.
Definition: dsrtypes.h:785
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
virtual ~Item()
destructor
DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence()
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtionpl.h:1631
DcmLongString ClinicalTrialSubjectID
ClinicalTrialSubjectID (0012,0040) vr=LO, vm=1, type=1C.
Definition: drtimage.h:4866
Uint32 getMaxPreviewResolutionY()
returns the maximum vertical preview image resolution, from GENERAL/MONITOR/PREVIEW in the config fil...
OFCondition createHeader(DcmItem *dataset, OFLogger &logger)
Includes basic information into the DICOM file.
@ Ecromeximab_89Zr
(126732,DCM,"Ecromeximab ^89^Zr")
Definition: cid4021.h:118
OFCondition write(DcmItem &item)
write elements to sequence item
size_t getNumberOfItems() const
get number of items in the sequence
DRTStrainStockSequence StrainStockSequence
StrainStockSequence (0010,0216) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4130
DSRReferencedDateTimeList & operator=(const DSRReferencedDateTimeList &lst)
assignment operator
OFCondition getCurrentFractionNumber(OFString &value, const signed long pos=0) const
get CurrentFractionNumber (3008,0022)
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DRTApplicatorSequenceInRTImageModule & operator=(const DRTApplicatorSequenceInRTImageModule ©)
assigment operator
size_t getNumberOfGraphicObjects()
returns the number of graphic objects in this annotation.
virtual ~DcmTempFileHandler()
private destructor.
DRTPhysiciansReadingStudyIdentificationSequence PhysiciansReadingStudyIdentificationSequence
PhysiciansReadingStudyIdentificationSequence (0008,1062) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2851
OFCondition receiveDIMSECommand(T_ASC_PresentationContextID *presID, T_DIMSE_Message *msg, DcmDataset **statusDetail, DcmDataset **commandSet=NULL, const Uint32 timeout=0)
Receive DIMSE command (excluding dataset!) over the currently open association.
DcmPersonName PatientName
PatientName (0010,0010) vr=PN, vm=1, type=2.
Definition: drtionpl.h:2882
OFCondition encode(const DcmXfer &fromType, const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmXfer &toType, const DcmRepresentationParameter *toParam, DcmStack &pixelStack)
encode to encapsulated format
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
int noOfPeers
number of peer entries
Definition: dcmqrcnf.h:153
void convert(const T1 *pixel, const unsigned long planeSize, const int bits)
convert input pixel data to intermediate representation
Definition: dihsvpxt.h:79
const DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence() const
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtopis.h:127
the list of softcopy VOI LUT items contained in a presentation state (internal use only).
Definition: dvpssvl.h:40
DRTModalityLUTSequence(const DRTModalityLUTSequence ©)
copy constructor
virtual OFCondition getInstanceCoercionDateTime(OFString &value, const signed long pos=0) const
get InstanceCoercionDateTime (0008,0015)
DcmShortString TimezoneOffsetFromUTC
TimezoneOffsetFromUTC (0008,0201) vr=SH, vm=1, type=3.
Definition: drtplan.h:3374
virtual OFCondition setOriginalSpecializedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set OriginalSpecializedSOPClassUID (0008,001b)
static EP_Interpretation getPhotometricInterpretation(DcmItem *item)
helper function that locates the photometric interpretation attribute in a DICOM dataset and returns ...
OFBool bad() const
check if the status is not OK, i.e. error or failure.
Definition: ofcond.h:305
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition getTableTopPitchAngle(Float32 &value, const unsigned long pos=0) const
get TableTopPitchAngle (300a,0140)
virtual OFBool busy()=0
Check whether worker is busy.
void isaac()
generate next round of random numbers.
OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFBool matches(const OFString &key, const OFString &candidate, const OFBool enableWildCardMatching=OFTrue) const
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_ItemDelimitationItemMissing
Missing Item Delimitation Item while reading an item.
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtrpcs.h:341
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getSourceToBlockTrayDistance(OFString &value, const signed long pos=0) const
get SourceToBlockTrayDistance (300a,00f6)
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getPerformedProcedureStepEndTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndTime (0040,0251)
OFListIterator(DcmQuantHistogramItem *) first
temporary iterator used in various methods; declared here for efficiency reasons only.
virtual OFCondition read(DcmItem &item)
Read this group into memory.
OFCondition setOperatorsName(const OFString &value, const OFBool check=OFTrue)
set OperatorsName (0008,1070)
OFCondition setRequestedDecimateCropBehaviour(DVPSDecimateCropBehaviour value)
sets the (optional) requested decimate/crop behaviour for all image boxes managed by this object.
Class to count number of instances (objects created from a certain class).
Definition: diobjcou.h:43
OFBool isEmpty()
check if item is empty
DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence()
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtionpl.h:1475
virtual OFCondition setClinicalTrialSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesDescription (0012,0072)
virtual ~DVConfiguration()
destructor.
void moveto(DcmQuantHistogramItemPointer *array, unsigned long &counter, unsigned long numcolors)
this method moves the contents of this list into the given array.
void clear()
clear all internal member variables
STD_NAMESPACE ostream & loadSummary(STD_NAMESPACE ostream &out)
prints some information about hash table bucket utilization
DcmQueryRetrieveConfigHostEntry * HostEntries
array of entries
Definition: dcmqrcnf.h:192
static OFBool registered
flag indicating whether the decoder is already registered.
Definition: dcrledrg.h:66
OFCondition removeItem()
remove the current item from the list.
@ MuscleOfUpperLimb
(30608006,SCT,"Muscle of upper limb")
Definition: cid4031.h:162
void clear()
clear all internal member variables
DcmUnsignedShort modalityLUTData
Module=Modality_LUT, VR=xs, VM=1-n, Type 1c.
Definition: dcmpstat.h:964
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getStartCumulativeMetersetWeight(Float64 &value, const unsigned long pos=0) const
get StartCumulativeMetersetWeight (300c,0008)
OFCondition getPersonAddress(OFString &value, const signed long pos=0) const
get PersonAddress (0040,1102)
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
virtual OFCondition setClinicalTrialProtocolName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolName (0012,0021)
virtual OFCondition setRecognizableVisualFeatures(const OFString &value, const OFBool checkValue=OFTrue)
Set Recognizable Visual Features.
Definition: dulstruc.h:203
OFCondition putAndInsertFloat32Array(const DcmTag &tag, const Float32 *value, const unsigned long count, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
Item & getCurrentItem()
get current item in the sequence
DcmLongString IssuerOfPatientID
IssuerOfPatientID (0010,0021) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2731
DRTIssuerOfServiceEpisodeIDSequence IssuerOfServiceEpisodeIDSequence
IssuerOfServiceEpisodeIDSequence (0038,0064) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2984
virtual OFCondition decodeFrame(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel) const
decompresses a single frame from the given pixel sequence and stores the result in the given buffer.
DcmTagKey m_Key
Tag key.
Definition: iodrules.h:234
OFBool operator==(const DSRTemporalCoordinatesValue &coordinatesValue) const
comparison operator "equal"
OFCondition setFloatingPointRepresentation(const Float64 floatingPoint, const OFBool check=OFTrue)
set floating point representation of the numeric value.
virtual ~DRTRequestingServiceCodeSequence()
destructor
DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence()
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtimage.h:2674
DcmDecimalString DoseGridScaling
DoseGridScaling (3004,000e) vr=DS, vm=1, type=1C.
Definition: drtdose.h:4584
virtual ~DcmPersonName()
destructor
virtual OFBool canWriteXfer(const E_TransferSyntax newXfer, const E_TransferSyntax oldXfer)
check if this DICOM object can be encoded in the given transfer syntax.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmCodeString RTBeamLimitingDeviceType
RTBeamLimitingDeviceType (300a,00b8) vr=CS, vm=1, type=1.
Definition: drtblds1.h:189
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
virtual OFCondition setLongitudinalTemporalOffsetFromEvent(const Float64 value, const unsigned long pos=0)
set LongitudinalTemporalOffsetFromEvent (0012,0052)
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
get Modality (0008,0060)
virtual OFCondition getDVHNormalizationPoint(OFVector< Float64 > &value) const
get DVHNormalizationPoint (3004,0040)
virtual OFCondition getSoftwareVersions(OFString &value, const signed long pos=0) const
Get Software Version(s)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrsss.h:308
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
bool ndcCached
Indicates whether or not the NDC has been retrieved.
Definition: logevent.h:222
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTIonWedgePositionSequence & getIonWedgePositionSequence()
get IonWedgePositionSequence (300a,03ac)
Definition: drticps.h:465
OFCondition addReferencedPLUTSQ(DcmItem &dset)
writes a Referenced Presentation LUT SQ to the given dataset.
void updateCache()
updated the frame cache.
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtspccs.h:347
Item EmptyItem
empty default item
Definition: drtrrtps5.h:315
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtads.h:343
virtual OFCondition setSeriesDate(const OFString &value, const OFBool check=OFTrue)
set SeriesDate (0008,0021)
const char * getTargetTLSProfile(const char *targetID)
returns the TLSPROFILE entry for the storage peer with the given target ID from the configuration fil...
Implementation of DCMR Context Group: CID 4020 - PET Radionuclide.
Definition: cid4020.h:35
OFCondition setReferencedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceNumber (300c,0051)
virtual OFCondition setResponsiblePerson(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePerson (0010,2297)
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
OFCmdParam & operator=(const OFCmdParam &arg)
private undefined assignment operator
OFCondition getContourData(OFVector< Float64 > &value) const
get ContourData (3006,0050)
DcmCodeString smoothingType
Module=Film_Box_Module, VR=CS, VM=1, Type 3.
Definition: dvpssp.h:1018
DRTReferencedCalculatedDoseReferenceSequence ReferencedCalculatedDoseReferenceSequence
ReferencedCalculatedDoseReferenceSequence (3008,0090) vr=SQ, vm=1, type=3.
Definition: drttsibs.h:1050
virtual OFCondition getStrainDescription(OFString &value, const signed long pos=0) const
get StrainDescription (0010,0212)
DJCompressIJG8Bit & operator=(const DJCompressIJG8Bit &)
private undefined copy assignment operator
virtual OFCondition setPatientID(const OFString &value, const OFBool check=OFTrue)
set patient ID
DcmVR setVR(const DcmVR &avr)
set specific VR
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
const DRTSourceImageSequence & getSourceImageSequence() const
get SourceImageSequence (0008,2112)
Definition: drtplan.h:1898
virtual OFCondition setFrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix(const Float64 value, const unsigned long pos=0)
set FrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix (0070,030b)
IODComponent(const IODComponent &rhs)
Copy constructor, copies reference to contained item and rule set to "this" attribute set.
virtual DcmDirectoryRecord * matchOrCreateMRDR(const char *filename)
look up MRDR for the given referenced file ID (not OS file path).
XMLDLLENTRY void freeXMLString(XMLSTR t)
to free the string allocated inside the "stringDup" function or the "createXMLString" function.
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
OFCondition getRangeModulatorNumber(Sint32 &value, const unsigned long pos=0) const
get RangeModulatorNumber (300a,0344)
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtpcs.h:337
double getBoundingBoxBRHC_x()
gets the bounding box BRHC x value.
unsigned long getSelectedImageFrameNumber()
gets the index of the currently selected frame in a multi-frame image.
virtual OFCondition setContentDate(const OFString &value, const OFBool checkValue=OFTrue)
Set Content Date.
~DiMonoCopyTemplate()
destructor
Definition: dimocpt.h:70
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtcncs.h:339
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
virtual OFCondition getPlanIntent(OFString &value, const signed long pos=0) const
get PlanIntent (300a,000a)
void clear()
clear all internal member variables
virtual OFCondition getStrainNomenclature(OFString &value, const signed long pos=0) const
get StrainNomenclature (0010,0213)
DRTReferencedSOPSequence & getReferencedSOPSequence()
get ReferencedSOPSequence (0008,1199)
Definition: drtpcxs.h:249
virtual OFCondition getMeasuredLateralDimension(OFString &value, const signed long pos=0) const
get MeasuredLateralDimension (0010,1024)
Uint16 Width
visible width
Definition: diovpln.h:436
OFCondition getItem(const size_t idx, T &item) const
get copy of the specified item
Definition: dsrtlist.h:200
OFBool isEmpty()
check if sequence is empty
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
OFBool getDatasetConversionMode() const
Returns the mode that specifies whether the transfer syntax of the dataset can be changed for network...
virtual OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
OFCondition deleteImageFile(char *imgFile)
deletes the given file only if the quota mechanism is enabled.
virtual int getHistogramWindow(const double thresh, double ¢er, double &width)=0
get automatically computed histogram window (abstract)
size_t getNumberOfTrackSetStatistics()
Returns number of Track Set Statistics in Track Set.
const OFString & getCodingSchemeDesignator(OFString &stringValue) const
get the coding scheme designator of the currently selected item.
@ _70_Arsenic
(126602,DCM,"^70^Arsenic")
Definition: cid4020.h:88
virtual OFCondition getSeriesDate(OFString &value, const signed long pos=0) const
get SeriesDate (0008,0021)
Uint32 fragmentSize
maximum fragment size (in kbytes) for compression, 0 for unlimited.
Definition: djcparam.h:350
const Item & getItem(const size_t num) const
get particular item in the sequence
static const size_t XF_convertNonASCII
convert non-ASCII characters to numeric values. DCMTK-specific format only.
Definition: dctypes.h:226
OFCondition putAndInsertUint32Array(const DcmTag &tag, const Uint32 *value, const unsigned long count, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
DcmDecimalString EndCumulativeMetersetWeight
EndCumulativeMetersetWeight (300c,0009) vr=DS, vm=1, type=3.
Definition: drtpvis.h:310
OFvariant< OFCondition, Frames< Uint16 >, Frames< Sint16 >, Frames< Float32 >, Frames< Float64 > > FramesType
Frames can contain Uint16, Sint16, Float32 or Float64 data, or nothing at all (in that case OFConditi...
Definition: dpmparametricmapiod.h:89
void setVerbosePCMode(const OFBool mode)
Set whether to show presentation contexts in verbose or debug mode.
unsigned char * currentBlock_
this member points to a block of size DcmRLEEncoder_BLOCKSIZE (unless fail_ is true).
Definition: dcrleenc.h:380
virtual ~DcmOutputFileStream()
destructor
unsigned long lastError
last error code returned by the OpenSSL library
Definition: tlstrans.h:156
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getDVHMinimumDose(OFString &value, const signed long pos=0) const
get DVHMinimumDose (3004,0070)
OFBool predictor6WorkaroundEnabled_
flag indicating that the workaround for buggy JPEG lossless images with incorrect predictor 6 is enab...
Definition: djcparam.h:420
virtual void inventMissing()
Set missing values by inventing "default values".
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition setOperatorsName(const OFString &value, const OFBool check=OFTrue)
set OperatorsName (0008,1070)
unsigned long currentImageWidth
contains the width of the attached image without consideration of rotation.
Definition: dvpstat.h:1213
void deleteAnnotations()
deletes all annotations, clears annotation display format.
OFBool canUseTrueSize()
checks if the TRUE SIZE mode is possible, i.e.
static void copyGeneralSeriesModule(DcmItem &src, DcmItem &dest)
Copy General Series Module attributes.
virtual OFVector< CodeSequenceMacro * > & getSegmentedPropertyTypeModifierCode()
Get Segmented Property Type Modifier Code.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition setDisplayedAreaPixelAspectRatio(const char *ratio)
sets the displayed area pixel spacing and removes any pixel spacing setting.
void InitSint16(DiMonoModality *modality)
initialize internal data structures (for Sint16)
Item & operator=(const Item ©)
assigment operator
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getRTPlanTime(OFString &value, const signed long pos=0) const
get RTPlanTime (300a,0007)
virtual unsigned long cardSub() const
return number of directory records that are child record of this one
void clear()
clear all internal member variables
OFVector< TrcTracksStatistic * > m_TrackStatistics
Statistics for Tracks in this Track Set.
Definition: trctrackset.h:455
Item class.
Definition: drtrsss.h:36
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
OFString axisUnitsY
axis units Y if present
Definition: dvpscu.h:134
static DJDecoderSpectralSelection * decsps
pointer to decoder for spectral selection JPEG
Definition: djdecode.h:86
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrtrs4.h:130
DcmDateTime AcquisitionDateTime
AcquisitionDateTime (0008,002a) vr=DT, vm=1, type=3.
Definition: drtimage.h:5086
void setGroup(Uint16 g)
set group to given number
Definition: dctagkey.h:277
DSRSpatialCoordinates3DValue * getValuePtr()
get pointer to spatial coordinates value
Definition: dsrsc3vl.h:266
Item EmptyItem
empty default item
Definition: drtmacds.h:339
OFCondition getCompensatorRows(Sint32 &value, const unsigned long pos=0) const
get CompensatorRows (300a,00e7)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTFractionGroupSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
void clear()
clear all internal member variables
DRTImage()
Default constructor.
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
virtual ~Item()
destructor
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getCommentsOnThePerformedProcedureStep(OFString &value, const signed long pos=0) const
get CommentsOnThePerformedProcedureStep (0040,0280)
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTSourcePatientGroupIdentificationSequence SourcePatientGroupIdentificationSequence
SourcePatientGroupIdentificationSequence (0010,0026) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2950
const char * getMinDensity()
gets the (optional) min density.
DRTReferencedStudySequence & getReferencedStudySequence()
get ReferencedStudySequence (0008,1110)
Definition: drtplan.h:1832
OFBool fixPointCoordinatesDataVM()
Cut off point data in the end if the number of components is not dividable by 3 (each point must have...
DcmCodeString AcquisitionTimeSynchronized
Acquisition Time Synchronized: (CS, 1, 1)
Definition: dsrdoc.h:1393
@ AntiB220_89Zr
(126754,DCM,"Anti-B220 ^89^Zr")
Definition: cid4021.h:58
DRTSourcePatientGroupIdentificationSequence SourcePatientGroupIdentificationSequence
SourcePatientGroupIdentificationSequence (0010,0026) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2862
@ Foot
(56459004,SCT,"Foot")
Definition: cid4031.h:110
const Item & getCurrentItem() const
get current item in the sequence
OFBool matchesImageDepth(OFBool is12bit)
checks whether the current Presentation LUT (or shape) matches the current image bit depth in number ...
void clearData()
Clear old data.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmPersonName OperatorsName
OperatorsName (0008,1070) vr=PN, vm=1-n, type=2.
Definition: drtiontr.h:3007
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getLocalNamespaceEntityID(OFString &value, const signed long pos=0) const
get LocalNamespaceEntityID (0040,0031)
virtual void clear()
clear internal member variables.
DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence()
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtimage.h:2842
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
OFCondition checkNode(const DSRXMLCursor &cursor, const char *name) const
check whether particular node matches a given name and report an error if not
virtual OFCondition getClinicalTrialProtocolName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolName (0012,0021)
virtual OFCondition readSeriesData(DcmItem &dataset)
read SeriesData from dataset.
virtual OFCondition setClinicalTrialSubjectID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectID (0012,0040)
DcmItem & getData()
Get the data handled by this module.
Definition: modbase.h:125
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtcncs.h:343
DRTReferencedSOPSequence & getReferencedSOPSequence()
get ReferencedSOPSequence (0008,1199)
Definition: drtcims.h:236
DJDecoderLossless()
default constructor
OFBool fopen(const char *filename, const char *modes)
opens the file whose name is the string pointed to by path and associates a stream with it.
Definition: offile.h:328
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtics.h:331
@ WristJoint
(74670003,SCT,"Wrist joint")
Definition: cid4031.h:254
DRTFractionStatusSummarySequence FractionStatusSummarySequence
FractionStatusSummarySequence (3008,0240) vr=SQ, vm=1, type=3.
Definition: drtfgss.h:196
virtual OFCondition setContrastBolusIngredient(const OFString &value, const OFBool check=OFTrue)
set ContrastBolusIngredient (0018,1048)
virtual const char * className() const
returns the class name as string.
virtual ~DerivationImageItem()
Virtual destructor.
OFBool empty() const
checks if the stack is empty.
Definition: ofstack.h:230
const OFString & getSOPInstanceUID(OFString &stringValue) const
get the SOP instance UID of the currently selected entry
DRTRecordedLateralSpreadingDeviceSequence & operator=(const DRTRecordedLateralSpreadingDeviceSequence ©)
assigment operator
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtpsics.h:347
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmCodeString PrimaryDosimeterUnit
PrimaryDosimeterUnit (300a,00b3) vr=CS, vm=1, type=1.
Definition: drtiontr.h:3112
DcmDecimalString PatientBodyMassIndex
PatientBodyMassIndex (0010,1022) vr=DS, vm=1, type=3.
Definition: drtdose.h:4225
virtual ~DSRDocumentTree()
destructor
This class implements the DSA public key crypto algorithms.
Definition: sidsa.h:44
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Class representing the Acquisition Context Module.
Definition: modacquisitioncontext.h:38
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcsis.h:405
const DRTRequestAttributesSequence & getRequestAttributesSequence() const
get RequestAttributesSequence (0040,0275)
Definition: drtdose.h:2578
Uint32 getTargetPrinterNumberOfBorderDensities(const char *targetID)
returns the number of distinct values (separated by backslash characters) in the BORDERDENSITY entry ...
OFCondition getNumberOfBlocks(OFString &value, const signed long pos=0) const
get NumberOfBlocks (300a,00f0)
virtual ~DRTReferencedReferenceImageSequenceInRTBeamsModule()
destructor
DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence()
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtionpl.h:1427
OFCondition removeSOPInstance(const OFString &sopClassUID, const OFString &sopInstanceUID, const OFBool allOccurrences=OFTrue)
remove a particular SOP instance from the transfer list.
virtual Logger getRoot() const
Get the root of this hierarchy.
OFBool operator!() const
Query whether this object has not been initialized, e.g.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrcdrs.h:162
OFVector< Uint16 > m_ReferencedSegmentNumber
Referenced Segment Numbers.
Definition: iodreferences.h:276
virtual OFCondition getImageOrientationVolume(Float64 &value, const unsigned long pos=0)
Get Image Orientation Volume.
DcmHashDict & operator=(const DcmHashDict &)
private unimplemented copy assignment operator
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getCompensatorNumber(OFString &value, const signed long pos=0) const
get CompensatorNumber (300a,00e4)
virtual ~SiTimeStamp()
destructor
Definition: sitstamp.h:47
OFCondition setDateTime(const OFString &value, const OFBool check=OFTrue)
set DateTime (0040,a120)
DcmCodeString PatientSexNeutered
PatientSexNeutered (0010,2203) vr=CS, vm=1, type=2C.
Definition: drtstrct.h:2908
const DRTSourceInstanceSequence & getSourceInstanceSequence() const
get SourceInstanceSequence (0042,0013)
Definition: drtionpl.h:1877
virtual const char * className() const =0
returns the class name as string.
virtual Uint32 getLength(const E_TransferSyntax xfer=EXS_LittleEndianImplicit, const E_EncodingType enctype=EET_UndefinedLength)
get DICOM length of the stored value.
@ Glutamine_F18
(126711,DCM,"Glutamine F^18^")
Definition: cid4021.h:188
OFBool isEmpty()
check if sequence is empty
DcmLongString Allergies
Allergies (0010,2110) vr=LO, vm=1-n, type=3.
Definition: drtdose.h:4235
OFBool getHostLookupEnabled() const
Returns whether a connecting system's host name is looked up.
DiMono1Image(const DiMonoImage *image, const int horz, const int vert)
constructor, flip
@ LAT_UNKNOWN
Unknown (default value if not initialized)
Definition: trctypes.h:104
DcmShortString LateralSpreadingDeviceID
LateralSpreadingDeviceID (300a,0336) vr=SH, vm=1, type=1.
Definition: drtlsds.h:183
size_t getNumberOfItems() const
get number of items in the sequence
DcmLongString Allergies
Allergies (0010,2110) vr=LO, vm=1-n, type=3.
Definition: drttreat.h:2798
OFList< DcmQuantHistogramItem * > list_
list of (pointers to) DcmQuantHistogramItem objects
Definition: diqthitl.h:114
OFCondition setValue(const DSRSpatialCoordinatesValue &coordinatesValue, const OFBool check=OFTrue)
set spatial coordinates value.
OFBool isEmpty()
check if sequence is empty
const DRTApplicationSetupSequence & getApplicationSetupSequence() const
get ApplicationSetupSequence (300a,0230)
Definition: drtplan.h:1286
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition getSOFImageParameters(const JPEGFileMapEntry &entry, Uint16 &imageWidth, Uint16 &imageHeight, Uint16 &samplesPerPixel, Uint16 &bitsPerSample)
Get image parameters as found at given SOF marker of the JPEG image.
int reopenDelay
When any append operation fails, reopenDelay says for how many seconds the next attempt to re-open th...
Definition: fileap.h:157
DSRContainerTreeNode(const DSRContainerTreeNode &node)
copy constructor.
DcmShortText ROIObservationDescription
ROIObservationDescription (3006,0088) vr=ST, vm=1, type=3.
Definition: drtrros.h:287
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbas.h:536
OFCondition getOrganAtRiskMaximumDose(Float64 &value, const unsigned long pos=0) const
get OrganAtRiskMaximumDose (300a,002c)
DcmLongString overlayDescription
VR=LO, VM=1, Type=3.
Definition: dvpsov.h:161
ItemStruct * getItem() const
gets reference to current (selected) instance
Definition: dvcache.h:319
const OFpath & path() const
Access the OFpath object the directory entry applies to.
DCMTK_DCMTRACT_EXPORT const OFConditionConst TRC_EC_InvalidPointCoordinatesData
Invalid Point Coordinates Data.
virtual DSRUIDRefTreeNode * clone() const
clone this tree node.
DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence()
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtstrct.h:1686
virtual OFCondition getSpatialResolution(Float64 &value, const unsigned long pos=0) const
get SpatialResolution (0018,1050)
X509 * x509
OpenSSL X.509 structure.
Definition: sicert.h:141
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition gotoFirstItem()
goto first item in the sequence
void clear()
Resets DcmPresentationContextMap and frees any allocated memory.
virtual ~IODMultiFrameFGModule()
Virtual destructor.
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format to a stream
OFCondition setBlockTrayID(const OFString &value, const OFBool check=OFTrue)
set BlockTrayID (300a,00f5)
void setAlwaysAcceptDefaultRole(const OFBool enabled)
Option to always accept a default role as association acceptor.
virtual OFCondition getPlanarConfiguration(Uint16 &value, const signed long pos=0)
Get Planar Configuration.
virtual ~DSRIncludedTemplateTreeNode()
destructor
static bool exists(const log4cplus::tstring &name)
Returns true if the named logger exists (in the default hierarchy).
@ IAUC
(126320,DCM,"IAUC"), included from CID 4109
Definition: cid7469.h:282
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual ~DJ_RPLossy()
destructor
DiImage * createMono(const double red, const double green, const double blue) const
create monochrome copy of the current image
OFBool apply(DcmFileFormat &dcmfile) const
apply the filter on a DICOM file (represented by a DcmFileFormat instance).
Item & getCurrentItem()
get current item in the sequence
DcmFloatingPointSingle RangeModulatorGatingStopWaterEquivalentThickness
RangeModulatorGatingStopWaterEquivalentThickness (300a,0388) vr=FL, vm=1, type=3.
Definition: drtrmss6.h:201
virtual OFCondition getAccessionNumber(OFString &value, const signed long pos=0) const
get AccessionNumber (0008,0050)
const DicomImage * getImage() const
Get the DicomImage instance for this RT Image.
Definition: drmimage.h:78
E_FilenameGenerationMode
modes for generating filenames
Definition: dstorscp.h:71
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTPhysiciansOfRecordIdentificationSequence(const DRTPhysiciansOfRecordIdentificationSequence ©)
copy constructor
DcmUnsignedShort BitsStored
BitsStored (0028,0101) vr=US, vm=1, type=1.
Definition: drtimage.h:5263
Definition: syncprim.h:187
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
this class maintains the context information that is passed to the callback function called by DIMSE_...
Definition: dcmqrcbf.h:37
virtual offile_off_t filled()
query the number of bytes in buffer without flushing it.
Implementation of DCMR Context Group: CID 7464 - General Region of Interest Measurement Modifiers.
Definition: cid7464.h:35
Item(const Item ©)
copy constructor
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
virtual OFCondition setContentDescription(const OFString &value, const OFBool checkValue=OFTrue)
Set Content Description.
int detachPixelData()
detach pixel data.
@ EMO_RegionOfInterest
region of interest (ROI)
Definition: diutils.h:264
DRTRealWorldValueMappingSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition setResponsiblePerson(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePerson (0010,2297)
A constant data structure which can be used for an OFCondition.
Definition: ofcond.h:65
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
log4cplus::tstring const & peek() const
Looks at the last diagnostic context at the top of this NDC without removing it.
DSRByReferenceTreeNode(const DSRByReferenceTreeNode &node)
copy constructor.
virtual OFCondition read(DcmItem &dataset, const size_t flags=0)
read SR document from DICOM dataset.
static OFCondition loadDataset(DcmDataset &dataset, DcmSegmentation *&segmentation)
Static method to load a Segmentation object from a dataset object.
Item EmptyItem
empty default item
Definition: drtrwvms.h:459
virtual OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
void clear()
reset the object to initial state.
size_t deleteFrame(const Uint32 frameNo)
Deletes all functional groups for a specific frame.
this class maintains one configuration file entry (key-value pair) and the links that comprise the co...
Definition: ofconfig.h:73
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
OFCondition getReferencedFractionGroupNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFractionGroupNumber (300c,0022)
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getLocalNamespaceEntityID(OFString &value, const signed long pos=0) const
get LocalNamespaceEntityID (0040,0031)
virtual OFCondition setClinicalTrialSiteID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteID (0012,0030)
DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence()
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtionpl.h:1487
const char * getPStateDescription(Uint32 idx)
returns description of specified presentation state referencing the currently selected image.
DcmCodeString FluenceDataSource
FluenceDataSource (3002,0041) vr=CS, vm=1, type=1.
Definition: drtfms.h:139
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
virtual STD_NAMESPACE locale getloc() const
DcmIntegerString XRayTubeCurrent
XRayTubeCurrent (0018,1151) vr=IS, vm=1, type=2C.
Definition: drtes.h:560
OFCondition getApplicationSetupType(OFString &value, const signed long pos=0) const
get ApplicationSetupType (300a,0232)
void clear()
clear all internal member variables
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtdvhs.h:302
OFCondition findSCU(T_ASC_Association *assoc, const char *fname, int repeatCount, int &responseCount, const char *abstractSyntax, T_DIMSE_BlockingMode blockMode, int dimse_timeout, DcmFindSCUExtractMode extractResponses, int cancelAfterNResponses, OFList< OFString > *overrideKeys, DcmFindSCUCallback *callback=NULL, const char *outputDirectory=NULL, STD_NAMESPACE ofstream *outputStream=NULL) const
perform a single C-FIND transaction on association that is already open.
virtual OFString getName() const
Get name of module.
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getReferencedBeamNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedBeamNumber (300c,0006)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setBrachyAccessoryDeviceNumber(const OFString &value, const OFBool check=OFTrue)
set BrachyAccessoryDeviceNumber (300a,0262)
int writeBMP(const char *filename, const int bits=0, const unsigned long frame=0)
write pixel data to BMP file (specified by filename).
@ AP_GeneralPurposeBDJPEG
General Purpose BD Interchange with JPEG (STD-GEN-BD-JPEG)
Definition: dcddirif.h:125
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
const DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence() const
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtstrct.h:1536
OFCondition write(DcmItem &dset)
writes the list of Presentation LUTs managed by this object to a DICOM dataset.
DRTTreatmentSummaryMeasuredDoseReferenceSequence & operator=(const DRTTreatmentSummaryMeasuredDoseReferenceSequence ©)
assigment operator
OFCondition read(DcmItem &item)
read elements from sequence item
virtual void resetRules()
Resets rules to their original values.
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmConvertUndefinedLengthOBOWtoSQ
This flag enables the "silent" conversion of illegal OB/OW elements with undefined length (other than...
DRTRequestingServiceCodeSequence RequestingServiceCodeSequence
RequestingServiceCodeSequence (0032,1034) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2920
virtual OFCondition setContentQualification(const OFString &value, const OFBool check=OFTrue)
set ContentQualification (0018,9004)
static OFBool safeAdd(T a, T b, T &sum)
check whether addition is safe (i.e. no overflow occurs) and if so, perform it (i....
Definition: ofstd.h:930
void clear()
clear all internal member variables
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
DcmDecimalString MeasuredLateralDimension
MeasuredLateralDimension (0010,1024) vr=DS, vm=1, type=3.
Definition: drtplan.h:3116
DVPSCurve_PList * clone()
clone method.
Definition: dvpscul.h:51
OFBool isApplicable(const char *instanceUID, unsigned long frame)
checks if this displayed area is applicable to the given image and frame.
Definition: jlossls12.h:40
void rotateTopDown(const T *src[], T *dest[])
rotate source image top-down and store result in destination image
Definition: dirotat.h:213
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
DcmOtherByteOtherWord BluePaletteColorLookupTableData
BluePaletteColorLookupTableData (0028,1203) vr=OW, vm=1, type=1C.
Definition: drtiis.h:407
OFCondition getAlternateBeamDose(OFString &value, const signed long pos=0) const
get AlternateBeamDose (300a,0091)
DcmDate Date
Date (0040,a121) vr=DA, vm=1, type=1C.
Definition: drtpcxs.h:356
void clear()
clear all internal member variables
virtual OFCondition setRecognizableVisualFeatures(const OFString &value, const OFBool check=OFTrue)
set RecognizableVisualFeatures (0028,0302)
@ SurfaceAreaOfMesh
(C0JK,IBSI,"Surface Area of Mesh"), included from CID 7471
Definition: cid7469.h:396
DRTRangeShifterSettingsSequenceInRTIonBeamsModule & operator=(const DRTRangeShifterSettingsSequenceInRTIonBeamsModule ©)
assigment operator
DRTVOILUTSequence & getVOILUTSequence()
get VOILUTSequence (0028,3010)
Definition: drtimage.h:3130
virtual OFBool isOverlayPlaneModulePresent(const OFBool complete=OFFalse)
check whether OverlayPlaneModule (U) is present.
OFBool prependLighting
true if reflected ambient light and illumination should be prepended to annotation text
Definition: dviface.h:1828
OFCondition fillBuffer(DcmElement &elem)
fill buffer from given DICOM element if buffer is currently empty.
Item(const Item ©)
copy constructor
OFCondition setCumulativeMetersetWeight(const OFString &value, const OFBool check=OFTrue)
set CumulativeMetersetWeight (300a,0134)
DcmCodeString RTImagePlane
RTImagePlane (3002,000c) vr=CS, vm=1, type=1.
Definition: drtimage.h:5288
int isSigned() const
check whether template type T is signed or not
Definition: dipxrept.h:120
DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModule(const DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModule ©)
copy constructor
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition readXMLDocumentData(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read XML "document" data
DcmTime PerformedProcedureStepEndTime
PerformedProcedureStepEndTime (0040,0251) vr=TM, vm=1, type=3.
Definition: drtimage.h:5010
void setIncrementInstanceNumber(OFBool incInstNo)
Enables/Disables incrementing instance number taken over from DICOM file.
virtual DcmEVR ident() const
get element type identifier
OFCondition checkGraphicData(const DSRTypes::E_GraphicType graphicType, const DSRGraphicDataList &graphicDataList, const OFBool reportWarnings=OFFalse) const
check the specified graphic type and data for validity.
DcmDecimalString BeamDose
BeamDose (300a,0084) vr=DS, vm=1, type=3.
Definition: drtrbs8.h:275
OFCondition getLargestImagePixelValue(Uint16 &value, const unsigned long pos=0) const
get LargestImagePixelValue (0028,0107)
This class maintains a list of association negotiation configuration profiles.
Definition: dcasccfg.h:53
FGImageDataType()
Constructor, creates empty Image Data Type functional group.
OFBool supportsUndefinedLength() const
returns true if VR supports undefined length for the value length field and a sequence delimitation i...
const log4cplus::tstring & getFile() const
The is the file where this log statement was written.
Definition: logevent.h:181
DSRDocumentTreeNodeHasSiblingsFilter(const OFBool hasSiblings=OFTrue)
(default) constructor
virtual OFCondition setSpecificCharacterSet(const OFString &value, const OFBool check=OFTrue)
set SpecificCharacterSet (0008,0005)
DcmUnsignedShort ReferencedSegmentNumber
Referenced Segment Number: (US, 1-n, 1C)
Definition: iodmacro.h:701
virtual OFCondition setClinicalTrialSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesDescription (0012,0072)
Uint16 status_
the status flag as defined for the various DIMSE services
Definition: dcmqrdbs.h:72
IODSegmentationSeriesModule()
Constructor.
virtual OFCondition setReferringPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ReferringPhysicianName (0008,0090)
OFConfigFile & operator=(const OFConfigFile &)
private undefined assignment operator
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getSourceManufacturer(OFString &value, const signed long pos=0) const
get SourceManufacturer (300a,0216)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
unsigned long maximumPrintBitmapWidth
maximum width of print bitmap (used for implicit scaling)
Definition: dvpstat.h:1314
virtual OFBool isValid() const
check whether the content item is valid.
DcmPersonName ReferringPhysicianName
Referring Physician's Name: (PN, 1, 2)
Definition: dsrdoc.h:1343
DcmCodeString BeamDoseType
BeamDoseType (300a,0090) vr=CS, vm=1, type=1C.
Definition: drtrbs4.h:279
DRTMappingResourceIdentificationSequence & operator=(const DRTMappingResourceIdentificationSequence ©)
assigment operator
DRTBrachyControlPointSequence & getBrachyControlPointSequence()
get BrachyControlPointSequence (300a,02d0)
Definition: drtchs.h:416
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
DcmUniqueIdentifier UID
UID (0040,a124) vr=UI, vm=1, type=1C.
Definition: drtqds.h:365
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
virtual DcmSCPConfig & getConfig()
Get access to the configuration of the SCP.
OFBool writeUnencapsulated(const E_TransferSyntax xfer)
check if this element should be written unencapsulated, even though an encapsulated transfer syntax i...
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtrics.h:206
DRTChannelSequence(const DRTChannelSequence ©)
copy constructor
virtual ~DRTConsentForClinicalTrialUseSequence()
destructor
DcmCodeString LongitudinalTemporalInformationModified
LongitudinalTemporalInformationModified (0028,0303) vr=CS, vm=1, type=3.
Definition: drtiontr.h:3200
DVPSPresentationLUTType getType()
gets the current Presentation LUT type.
Definition: dvpspl.h:95
virtual OFBool operator==(const DcmRepresentationParameter &arg) const
compares an object to another DcmRepresentationParameter.
virtual OFCondition setEthnicGroup(const OFString &value, const OFBool check=OFTrue)
set EthnicGroup (0010,2160)
DcmUniqueIdentifier InstanceCreatorUID
InstanceCreatorUID (0008,0014) vr=UI, vm=1, type=3.
Definition: drtionpl.h:3266
int search(const DcmTagKey &tag, DcmStack &stack) const
search for given tag and put result(s) on a stack
OFBool isEmpty()
check if item is empty
const DRTApplicatorGeometrySequence & getApplicatorGeometrySequence() const
get ApplicatorGeometrySequence (300a,0431)
Definition: drtas5.h:141
virtual OFCondition getXRayImageReceptorTranslation(OFVector< Float64 > &value) const
get XRayImageReceptorTranslation (3002,000d)
virtual OFCondition getPixelAspectRatio(OFString &value, const signed long pos=0) const
get PixelAspectRatio (0028,0034)
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
Get Modality, always returns "US".
Class for managing Image Data Type Functional Group that identifies the data type characteristics of ...
Definition: fgimagedatatype.h:33
OFCondition addFindingSite(const DSRCodedEntryValue &site, const CID244e_Laterality &laterality=CID244e_Laterality(), const DSRCodedEntryValue &siteModifier=DSRCodedEntryValue(), const OFBool check=OFTrue)
add a 'Finding Site' content item (TID 300 - Row 5, 6 and 7)
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
virtual OFCondition getPositionReferenceIndicator(OFString &value, const signed long pos=0) const
get PositionReferenceIndicator (0020,1040)
int setVoiLut(const unsigned long pos, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set VOI LUT (given by index to VOI LUT sequence stored in image file).
OFCondition setTotalWedgeTrayWaterEquivalentThickness(const Float32 value, const unsigned long pos=0)
set TotalWedgeTrayWaterEquivalentThickness (300a,00d7)
virtual OFCondition getBrachyTreatmentTechnique(OFString &value, const signed long pos=0) const
get BrachyTreatmentTechnique (300a,0200)
virtual OFCondition getStrainNomenclature(OFString &value, const signed long pos=0) const
get StrainNomenclature (0010,0213)
const DRTInstitutionCodeSequence & getInstitutionCodeSequence() const
get InstitutionCodeSequence (0008,0082)
Definition: drtrpis.h:142
OFCondition gotoNextItem()
goto next item in the sequence
void callbackHandler(OFBool cancelled, T_DIMSE_C_FindRQ *request, DcmDataset *requestIdentifiers, int responseCount, T_DIMSE_C_FindRSP *response, DcmDataset **responseIdentifiers, DcmDataset **stDetail)
callback handler called by the DIMSE_storeProvider callback function.
@ Humerus
(85050009,SCT,"Humerus")
Definition: cid4031.h:126
static OFString debugByte2Bin(Uint8 b)
Dumps a byte as binary number to a string.
DRTPatientSizeCodeSequence PatientSizeCodeSequence
PatientSizeCodeSequence (0010,1021) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4231
DiColorPixel(const DiDocument *docu, const DiInputPixel *pixel, const Uint16 samples, EI_Status &status, const Uint16 sample_rate=0)
constructor
OFCondition setMeasuredDoseValue(const OFString &value, const OFBool check=OFTrue)
set MeasuredDoseValue (3008,0016)
void clear()
clear all internal member variables
A range-based filter implementation that compares an attribute's value with a range of values defined...
Definition: dcfilter.h:61
DSRGraphicData3DList GraphicDataList
Graphic Data (associated DICOM VR=FL, VM=2-n, type 1)
Definition: dsrsc3vl.h:304
DcmIntegerString WedgeAngle
WedgeAngle (300a,00d5) vr=IS, vm=1, type=2.
Definition: drtiws.h:225
Item & operator=(const Item ©)
assigment operator
virtual int processNextFrames(const unsigned long fcount)
process next couple of frames
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmDecimalString AlternateBeamDose
AlternateBeamDose (300a,0091) vr=DS, vm=1, type=3.
Definition: drtrbs8.h:269
static XMLNode createXMLTopNode(XMLCSTR lpszName, char isDecl=FALSE)
Create the top node of an XMLNode structure.
SHA_CTX * ctx
OpenSSL SHA1 context.
Definition: sisha1.h:94
const DRTReferencedReferenceImageSequenceInRTIonBeamsModule & getReferencedReferenceImageSequence() const
get ReferencedReferenceImageSequence (300c,0042)
Definition: drtibs.h:654
virtual ~Item()
destructor
OFBool isEmpty()
check if sequence is empty
DcmUnsignedShort SamplesPerPixel
SamplesPerPixel (0028,0002) vr=US, vm=1, type=1C.
Definition: drtdose.h:4538
virtual OFCondition getBluePaletteColorLookupTableDescriptor(Uint16 &value, const unsigned long pos=0) const
get BluePaletteColorLookupTableDescriptor (0028,1103)
static const int max_exponent10
The largest positive number such that is a valid normalized value of the floating-point type T.
Definition: oflimits.h:639
OFConfigFileNode(const OFConfigFileNode &arg)
private undefined copy constructor
virtual OFCondition getClinicalTrialSiteID(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteID (0012,0030)
DRTMACParametersSequence & getMACParametersSequence()
get MACParametersSequence (4ffe,0001)
Definition: drtiontr.h:1431
OFCondition verifyCurrent()
verifies the current signature.
virtual ~DVPSStoredPrint_PList()
destructor
DcmSCPConfig * operator->() const
Access the shared DcmSCPConfig object.
Definition: scpcfg.h:424
virtual OFCondition getFloatingPointValue(Float64 &value, const signed long pos=0) const
Get FloatingPointValue.
DcmDecimalString m_PixelSpacing
Pixel Spacing (DS, VM 2, Required type 1C)
Definition: fgpixmsr.h:161
virtual OFString getName() const
Get name of component.
virtual void clear()
clear all internal variables.
DRTRequestingServiceCodeSequence & operator=(const DRTRequestingServiceCodeSequence ©)
assigment operator
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Uint8 proposedSCRole
SCP role as proposed from SCU.
Definition: scp.h:118
void clear()
clears list and deletes all entries
DRTEncryptedAttributesSequence EncryptedAttributesSequence
EncryptedAttributesSequence (0400,0500) vr=SQ, vm=1, type=1C.
Definition: drttreat.h:3010
virtual OFCondition getSoftwareVersions(OFString &value, const signed long pos=0) const
get SoftwareVersions (0018,1020)
DcmTLSCipherMAC
This enum describes the message authentication code (MAC) used in a certain TLS ciphersuite.
Definition: tlsciphr.h:204
@ FluoroestradiolFES_F18
(C1831937,UMLS,"Fluoroestradiol (FES) F^18^")
Definition: cid4021.h:154
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drtbs.h:755
virtual OFBool containsExtendedCharacters(const OFBool checkAllStrings=OFFalse)
check if this element contains non-ASCII characters.
virtual const OFVector< TrcTrack * > & getTracks()
Get Tracks of this Track Set.
OFCondition addIndividualMeasurements(const OFBool checkEmpty=OFTrue)
create another instance of TID 1501 (Measurement Group) and add it as an included template to this re...
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
DRTBrachyAccessoryDeviceSequence BrachyAccessoryDeviceSequence
BrachyAccessoryDeviceSequence (300a,0260) vr=SQ, vm=1, type=3.
Definition: drtass.h:284
virtual OFCondition getOriginalSpecializedSOPClassUID(OFString &value, const signed long pos=0) const
get OriginalSpecializedSOPClassUID (0008,001b)
static DiRegisterBase * Pointer
global pointer to registered 'dcmimage' library
Definition: diregbas.h:92
Uint32 size() const
Returns number of path components.
void clear()
clear all internal member variables
DcmCodeString BeamType
BeamType (300a,00c4) vr=CS, vm=1, type=1.
Definition: drtbs.h:731
this class provides the functionality of the telnet initiator application
Definition: dcmqrtis.h:115
void disableImageAndPState()
disables internal settings for image and presentation state.
@ ERW_ready
object transfer completed
Definition: dctypes.h:136
DSRCompositeReferenceValue RealWorldValueMapping
composite reference value (UIDs) to real world value mapping object (optional)
Definition: dsrimgvl.h:501
TID1419_ROIMeasurements_Measurement()
default constructor
Item & getCurrentItem()
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrwvms.h:455
DcmDirectoryRecord * referencedMRDR
pointer to multi-referenced directory record (MRDR) if this record refers to one, NULL otherwise
Definition: dcdirrec.h:514
virtual OFCondition getClinicalTrialSubjectReadingID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectReadingID (0012,0042)
virtual OFCondition storeRequest(const char *SOPClassUID, const char *SOPInstanceUID, const char *imageFileName, DcmQueryRetrieveDatabaseStatus *status, OFBool isNew=OFTrue)=0
register the given DICOM object, which has been received through a C-STORE operation and stored in a ...
OFCondition read(DcmItem &dset, Uint16 ovGroup)
reads the activation layer for the specified repeating group from a DICOM dataset.
Uint32 fragmentSize_
maximum fragment size (in kbytes) for compression, 0 for unlimited.
Definition: djcparam.h:248
static OFCondition createPlanarConfiguration0Word(Uint16 *imageFrame, Uint16 columns, Uint16 rows)
converts an RGB or YBR frame with 16 bits/sample from color-by-plane to color-by-pixel planar configu...
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmLongString BeamName
BeamName (300a,00c2) vr=LO, vm=1, type=3.
Definition: drtbs.h:727
static OFCondition setUint16ValuesOnElement(DcmElement &delem, const OFVector< Uint16 > &values, const OFString &vm, const OFBool check)
Set a DcmElement's content from Uint16 vector.
OFString opt_manufacturerModelName
Manufacturer's Model Name (VM 1)
Definition: dcencdoc.h:277
OFCondition getReferencedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrsers.h:312
DRTContributingEquipmentSequence ContributingEquipmentSequence
ContributingEquipmentSequence (0018,a001) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4664
unsigned long maximumPrintPreviewWidth
maximum width of print preview bitmap
Definition: dviface.h:1763
virtual IODReference * clone() const
Get (deep) clone copy of this reference.
OFCondition write(DcmItem &target, OFBool writeAsOW, OFBool write16BitEntries)
writes the current color table into a DICOM object, encoded as Red/Green/Blue Palette Color Lookup Ta...
DcmDirectoryRecord(const E_DirRecType recordType, const char *referencedFileID, const OFFilename &sourceFileName, DcmFileFormat *fileFormat=NULL)
constructor
const DRTPurposeOfReferenceCodeSequence & getPurposeOfReferenceCodeSequence() const
get PurposeOfReferenceCodeSequence (0040,a170)
Definition: drtris.h:120
DcmDictEntryListIterator begin()
DRTCalculatedDoseReferenceSequence(const DRTCalculatedDoseReferenceSequence ©)
copy constructor
DRTMappingResourceIdentificationSequence MappingResourceIdentificationSequence
MappingResourceIdentificationSequence (0008,0124) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2989
OFCondition checkSOPInstance(const OFString &sopClassUID, const OFString &instanceUID) const
check the specified SOP class UID and SOP instance UID for validity.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition startPrintServer()
starts the print server process (Basic Grayscale Print Management SCP).
virtual OFCondition setNTPSourceAddress(const OFString &value, const OFBool checkValue=OFTrue)
Set NTP Source Address.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition setStudyTime(const OFString &value, const OFBool check=OFTrue)
set StudyTime (0008,0030)
@ ESS_422
4:2:2 sampling (horizontal subsampling of chroma components)
Definition: djutils.h:84
Item EmptyItem
empty default item
Definition: drtdrs.h:698
virtual OFCondition getLastMenstrualDate(OFString &value, const signed long pos=0) const
get LastMenstrualDate (0010,21d0)
OFListIterator(Item *) CurrentItem
currently selected item
DcmCodeString DoseUnits
DoseUnits (3004,0002) vr=CS, vm=1, type=1.
Definition: drtdose.h:4561
static const OFBool is_exact
OFTrue for all arithmetic types T that use exact representation.
Definition: oflimits.h:222
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtrrpcs.h:345
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
virtual OFCondition getUint8Array(Uint8 *&byteVals)
get reference to stored 8 bit data.
DCMTK_OFSTD_EXPORT const unsigned short EC_CODE_CannotConvertEncoding
status code constant: error, cannot convert character encoding
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtrpcs.h:349
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition getClinicalTrialSeriesDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesDescription (0012,0072)
OFTestManager(const OFTestManager &obj)
Private undefined copy constructor.
OFString m_writeSeedFile
Random seed file used for writing updated seed from Pseudo Random Number Generator back to a file.
Definition: tlsscu.h:241
DcmDate StudyDate
Study Date: (DA, 1, 2)
Definition: dsrdoc.h:1339
OFCondition getSourceToCompensatorTrayDistance(Float64 &value, const unsigned long pos=0) const
get SourceToCompensatorTrayDistance (300a,00e6)
virtual OFCondition getMeasuredAPDimension(OFString &value, const signed long pos=0) const
get MeasuredAPDimension (0010,1023)
flags_type get_events(queue_storage_type *buf)
The get_events() function is used by queue's consumer.
virtual size_t getNumberOfVerifyingObservers() const
get number of verifying observers.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrdros.h:155
OFCondition gotoFirstItem()
goto first item in the sequence
#define OFFIS_DCMTK_VERSION
DCMTK version number string including suffix.
Definition: dcuid.h:231
virtual OFCondition getUID(OFString &value, const signed long pos=0) const
Get UID.
virtual DcmObject * clone() const
clone method
Definition: dcvrpobw.h:62
offile_off_t getOffset() const
return initial stream offset
Definition: dcfcache.h:91
OFString opt_documentTitle
*document specific options
Definition: dcencdoc.h:240
DRTBeamDoseVerificationControlPointSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbss.h:148
void printSupportedCiphersuites(STD_NAMESPACE ostream &os) const
print a list of supported ciphersuites to the given output stream
OFBool isRootTemplate() const
check whether this template is a root template, i.e. describes a complete SR document tree starting f...
Definition: dsrstpl.h:102
DRTReferencedSOPSequence ReferencedSOPSequence
ReferencedSOPSequence (0008,1199) vr=SQ, vm=1, type=1C.
Definition: drtqds.h:359
virtual OFCondition deleteSubAndPurgeFile(DcmDirectoryRecord *dirRec)
remove child directory record and delete file referenced by that record, if any
int opt_maxAssociations
maximum number of association for non-single process mode
Definition: wlmactmg.h:71
DRTBeamSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtajcs.h:337
void clear()
clear all internal member variables
OFCondition setBlockName(const OFString &value, const OFBool check=OFTrue)
set BlockName (300a,00fe)
static E_GraphicType3D enumeratedValueToGraphicType3D(const OFString &enumeratedValue)
convert DICOM enumerated value to graphic type (3D)
@ French_CH
(fr-CH,RFC5646,"French (CH)")
Definition: cid5000.h:56
OFCondition setScanSpotPrescribedIndices(const OFString &value, const OFBool check=OFTrue)
set ScanSpotPrescribedIndices (300a,0391)
OFBool isEmpty()
check if item is empty
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFBool isEmpty()
check if item is empty
virtual OFCondition setClinicalTrialCoordinatingCenterName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialCoordinatingCenterName (0012,0060)
unsigned long maximumPrintPreviewHeight
maximum height of print preview bitmap
Definition: dviface.h:1767
DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence()
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtimage.h:2422
unsigned long getAssociationCounter() const
get value of the association counter.
void push_front(const T &x)
inserts before the first element of the list.
Definition: oflist.h:399
Class representing the Enhanced Ultrasound Series Module:
Definition: modenhusseries.h:51
OFCondition write(DcmItem &item)
write elements to sequence item
const char * getStorageMediaFileSetUID()
gets the storageMediaFileSetUID for this series reference.
virtual OFCondition encode(Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint8 *image_buffer, Uint8 *&to, Uint32 &length)
single frame compression routine for 8-bit raw pixel data.
DRTExposureSequence ExposureSequence
ExposureSequence (3002,0030) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5324
OFpath & operator=(const OFpath &rhs)
Copy-assign another OFpath to this one.
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
OFCondition setSetupDeviceLabel(const OFString &value, const OFBool check=OFTrue)
set SetupDeviceLabel (300a,01b8)
void clear()
clear all internal member variables
void clear()
clear all internal member variables
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcgis.h:340
OFCondition operator()(const char *privateKeyFile, const char *certificateFile) const
Create a specialized mismatched private key and certificate error condition that refers to the file n...
OFBool ReferenceTarget
flag indicating whether the content item is referenced (by-reference relationship).
Definition: dsrdoctn.h:750
OFBool isEmpty()
check if item is empty
OFBool isEmpty()
check if item is empty
OFCondition writeMeasurements(OFCondition &result, DcmItem &destination)
Write Measurements to given item.
@ _124_Iodine
(40937006,SCT,"^124^Iodine")
Definition: cid4020.h:112
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getUniversalEntityIDType(OFString &value, const signed long pos=0) const
get UniversalEntityIDType (0040,0033)
virtual OFCondition encode(const Uint16 *pixelData, const Uint32 length, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
compresses the given uncompressed DICOM image and stores the result in the given pixSeq element.
virtual DcmObject * clone() const
clone method
Definition: dcpixseq.h:84
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
virtual OFCondition setInstanceCreationDate(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationDate (0008,0012)
Class representing the Content Item Macro:
Definition: iodcontentitemmacro.h:51
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtcpis.h:200
@ FGM_UniqueFromNewUID
generate unique filename based on new UID
Definition: dstorscp.h:75
virtual ~DiColorMonoTemplate()
destructor
Definition: dicomot.h:70
DcmDecimalString RTImageOrientation
RTImageOrientation (3002,0010) vr=DS, vm=6, type=3.
Definition: drtpvis.h:316
const char * getAttachedImageSOPInstanceUID()
returns the SOP Instance UID of the currently attached image.
const char * getUID()
returns the SOP instance UID of the basic film session.
Definition: dvpsfs.h:126
ItemStruct(const OFString &codingSchemeDesignator)
constructor
Definition: dsrcsidl.h:296
OFCondition setReferencedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceNumber (300c,0051)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
get SeriesInstanceUID (0020,000e)
virtual OFCondition setOperatorsName(const OFString &value, const OFBool check=OFTrue)
set OperatorsName (0008,1070)
unsigned short theModule
module identifier. 0 is reserved for global codes.
Definition: ofcond.h:68
double * convertODtoLumTable(const double *od_tab, const unsigned long count, const OFBool useAmb)
create a table with luminance values from the given OD table.
DRTUDISequence & operator=(const DRTUDISequence ©)
assigment operator
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setPrivateGroupReference(const Uint16 value, const unsigned long pos=0)
set PrivateGroupReference (0008,0301)
DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence()
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drttreat.h:1455
virtual OFCondition readPatientData(DcmItem &dataset)
read PatientData from dataset
DcmCodeString graphicAnnotationLayer
VR=CS, VM=1, Type 1.
Definition: dvpsga.h:178
DSRTCoordTreeNode(const E_RelationshipType relationshipType)
constructor
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
type definitions, constants and helper functions for the dcmsr module
DcmDecimalString GantryAngle
GantryAngle (300a,011e) vr=DS, vm=1, type=1C.
Definition: drticps.h:775
OFCondition getHeadFixationAngle(Float32 &value, const unsigned long pos=0) const
get HeadFixationAngle (300a,0148)
OFCondition setNumberOfLateralSpreadingDevices(const OFString &value, const OFBool check=OFTrue)
set NumberOfLateralSpreadingDevices (300a,0330)
virtual OFCondition getRTImagePlane(OFString &value, const signed long pos=0) const
get RTImagePlane (3002,000c)
virtual OFCondition setDimensionOrganizationUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Dimension Organization UID.
virtual Uint8 * newValueField()
create a new value field (string buffer) of the previously defined size (member variable 'Length').
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition getTotalCompensatorTrayFactor(Float64 &value, const unsigned long pos=0) const
get TotalCompensatorTrayFactor (300a,00e2)
DcmDataDictionary(const DcmDataDictionary &)
private undefined copy constructor
WlmSuperiorSequenceInfoType * superiorSequenceArray
information about superior sequence elements; necessary for inserting values into resultDataset
Definition: wlds.h:82
virtual CodeSequenceMacro & getDiffusionModelCode()
Get access to diffusion model code used.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcctus.h:327
OFCondition removeGraphicObject(size_t layer, size_t idx)
deletes the graphic object with the given index on the given layer.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTRangeModulatorSequence & getRangeModulatorSequence()
get RangeModulatorSequence (300a,0342)
Definition: drtibs.h:600
virtual OFCondition setFirstTreatmentDate(const OFString &value, const OFBool check=OFTrue)
set FirstTreatmentDate (3008,0054)
virtual OFCondition setImagesInAcquisition(const OFString &value, const OFBool check=OFTrue)
set ImagesInAcquisition (0020,1002)
const OFString & getObservationUID() const
get observation unique identifier.
Definition: dsrdoctn.h:411
OFVector< size_t > NodeList
list of node IDs used to remember certain positions in the template
Definition: dsrctpl.h:228
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setEthnicGroup(const OFString &value, const OFBool check=OFTrue)
set EthnicGroup (0010,2160)
STD_NAMESPACE ofstream * outputStream_
pointer to output stream that is used when extractResponses_ is FEM_singleXMLFile.
Definition: dfindscu.h:184
DSRSOPInstanceReferenceList(const DcmTagKey &sequence)
constructor
OFCondition getTableTopLongitudinalSetupDisplacement(OFString &value, const signed long pos=0) const
get TableTopLongitudinalSetupDisplacement (300a,01d4)
OFCondition sendSOPInstances()
send SOP instances to be transferred to the specified peer.
Definition: jpeglib12.h:670
virtual void Remove(const T &item)=0
Removes one item from the set.
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition setPatientState(const OFString &value, const OFBool check=OFTrue)
set PatientState (0038,0500)
DcmTime ReviewTime
ReviewTime (300e,0005) vr=TM, vm=1, type=2C.
Definition: drtplan.h:3328
OFCondition loadStructuredReport(const char *filename)
loads a structured report (which need not be contained in the database).
DRTWedgePositionSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition read(DcmItem &item)
read elements from sequence item
Item & getItem(const size_t num)
get particular item in the sequence
DcmDecimalString CalculatedDoseReferenceDoseValue
CalculatedDoseReferenceDoseValue (3008,0076) vr=DS, vm=1, type=2.
Definition: drtcdrs.h:181
DSRDocumentTree & operator=(DSRDocumentTree tree)
assignment operator.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTRecordedRangeShifterSequence(const DRTRecordedRangeShifterSequence ©)
copy constructor
DcmDecimalString FinalCumulativeTimeWeight
FinalCumulativeTimeWeight (300a,02c8) vr=DS, vm=1, type=1C.
Definition: drtchs.h:643
OFBool hasRepresentation(const E_TransferSyntax repType, const DcmRepresentationParameter *repParam)
check if all PixelData elements in this dataset have a representation conforming to the given transfe...
@ NAcetylaspartatePerCreatineRatio
(113082,DCM,"N-acetylaspartate/Creatine Ratio"), included from CID 4033
Definition: cid7469.h:70
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition getContrastFlowDuration(OFString &value, const signed long pos=0) const
get ContrastFlowDuration (0018,1047)
void clear()
clear all internal member variables
virtual OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
get SeriesInstanceUID (0020,000e)
OFCondition write(DcmItem &item)
write elements to sequence item
DiMonoPixelTemplate(const unsigned long count)
constructor
Definition: dimopxt.h:54
virtual OFCondition readSegments(DcmItem &item)
Read segments from given item.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual ~Item()
destructor
DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence()
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtimage.h:3106
Uint16 getActiveOverlayGroup(size_t layer, size_t idx)
gets the repeating group number of the given activated overlay.
virtual OFCondition getDimensionOrganizationUID(OFString &value, const signed long pos=0) const
Get Dimension Organization UID.
Item & operator=(const Item ©)
assigment operator
virtual ~Item()
destructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getSint64(Sint64 &sintVal, const unsigned long pos=0)
get particular integer value
OFCondition getChannelTotalTime(Float64 &value, const unsigned long pos=0) const
get ChannelTotalTime (300a,0286)
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtbas.h:337
@ PT_PseudoColor
Pseudo-Color Softcopy Presentation State (PCSPS)
Definition: dsrtypes.h:635
@ Eye
(81745001,SCT,"Eye")
Definition: cid4031.h:98
const DRTRecordedRangeModulatorSequence & getRecordedRangeModulatorSequence() const
get RecordedRangeModulatorSequence (3008,00f6)
Definition: drttsibs.h:616
Item EmptyItem
empty default item
Definition: drtrecs.h:315
OFCondition setPresentationState(const DSRCompositeReferenceValue &pstateValue, const OFBool check=OFTrue)
set reference to presentation state object.
OFCondition getRangeModulatorDescription(OFString &value, const signed long pos=0) const
get RangeModulatorDescription (300a,034a)
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
virtual ~Item()
destructor
OFList< DVPSAnnotationContent * > list_
the list maintained by this object
Definition: dvpsabl.h:151
static const char * valueTypeToXMLTagName(const E_ValueType valueType)
convert value type to XML tag name
virtual OFCondition setRecommendedDisplayGrayscaleValue(const Uint16 value, const OFBool checkValue=OFTrue)
Set Recommended Display Grayscale Value.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtgms.h:142
size_t Flags
flags used to customize the counter
Definition: dsrposcn.h:165
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtssrcs.h:335
void clear()
clear all internal member variables
OFCondition getLateralSpreadingDeviceNumber(Sint32 &value, const unsigned long pos=0) const
get LateralSpreadingDeviceNumber (300a,0334)
DcmQueryRetrieveMoveContext & operator=(const DcmQueryRetrieveMoveContext &other)
private undefined assignment operator
virtual OFBool good() const
returns the status of the consumer.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getNumericValue(OFVector< Float64 > &value) const
get NumericValue (0040,a30a)
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
virtual ~DcmBaseSCPWorker()
Virtual Destructor.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition getXRayImageReceptorTranslation(OFString &value, const signed long pos=0) const
get XRayImageReceptorTranslation (3002,000d)
OFCondition getChairHeadFramePosition(OFString &value, const signed long pos=0) const
get ChairHeadFramePosition (300a,0151)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcshs.h:416
virtual OFCondition setDimensionIndexPointer(const DcmTagKey &value, const OFBool checkValue=OFTrue)
Set Dimension Index Pointer.
@ EPI_Monochrome1
monochrome 1
Definition: diutils.h:121
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmPreferLengthFieldSizeFromDataDictionary
This flag defines how the element's length field is interpreted when reading from a dataset with expl...
OFList< DcmDictEntry * > list_
list of entries
Definition: dchashdi.h:109
OFCondition setRealWorldValueMap(DcmItem &dataset, const OFBool check=OFTrue)
set the value of the 'Real World Value Map used for measurement' content item (TID 1411 - Row 14).
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtsns.h:127
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setLateralSpreadingDeviceType(const OFString &value, const OFBool check=OFTrue)
set LateralSpreadingDeviceType (300a,0338)
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtadcs.h:343
static OFCondition decodeFrame(DcmPixelSequence *fromPixSeq, const DJLSCodecParameter *cp, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, Sint32 imageFrames, Uint16 imageColumns, Uint16 imageRows, Uint16 imageSamplesPerPixel, Uint16 bytesPerSample)
decompresses a single frame from the given pixel sequence and stores the result in the given buffer.
virtual OFBool matches(const DcmElement &candidate, const OFBool enableWildCardMatching=OFTrue) const
perform attribute matching.
@ Percent
(%,UCUM,"Percent"), included from CID 84
Definition: cid7181.h:102
DRTRecordedRangeModulatorSequence(const DRTRecordedRangeModulatorSequence ©)
copy constructor
OFBool getMessagePortKeepOpen()
Indicates whether client processes are allowed to keep their notification message port open during th...
virtual OFBool operator<(const OFDate &dateVal) const
comparison operator (less than)
DcmDecimalString BeamLimitingDeviceAngle
BeamLimitingDeviceAngle (300a,0120) vr=DS, vm=1, type=1C.
Definition: drtcps.h:651
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
virtual OFCondition getStrainDescription(OFString &value, const signed long pos=0) const
get StrainDescription (0010,0212)
virtual OFCondition getRecognizableVisualFeatures(OFString &value, const signed long pos=0) const
get RecognizableVisualFeatures (0028,0302)
const char * getStudyDate()
returns the Study Date of the currently selected study.
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFBool haveImagePositionClash(const char *uid, Uint16 position)
checks whether any of the image boxes managed by the image box list has the same position as the give...
Definition: dvpssp.h:860
OFBool gotoItem(Uint32 idx)
sets internal cursor to specified position in cache list
Definition: dvcache.h:179
offile_off_t outputBufStart_
offset of first byte in output ring buffer
Definition: dcostrmz.h:175
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtrrpcs.h:331
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtsptcs.h:349
OFBool dictionaryLoaded
is a dictionary loaded (more than skeleton)
Definition: dcdict.h:205
T * pointer
member typedef for T*
Definition: oflist.h:187
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
DRTDeviceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmCodeString SOPInstanceStatus
SOPInstanceStatus (0100,0410) vr=CS, vm=1, type=3.
Definition: drtionpl.h:3285
@ KPa
(kPa,UCUM,"kPa"), included from CID 3500
Definition: cid7181.h:46
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtcncs.h:333
DRTReferencedSeriesSequence & getReferencedSeriesSequence()
get ReferencedSeriesSequence (0008,1115)
Definition: drtplan.h:1808
DcmApplicationEntity retrieveAETitle
VR=AE, VM=1, Type 3.
Definition: dvpsrs.h:187
Item & operator=(const Item ©)
assigment operator
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrshs.h:366
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setSourceToBlockTrayDistance(const OFString &value, const OFBool check=OFTrue)
set SourceToBlockTrayDistance (300a,00f6)
virtual OFCondition setDeidentificationMethod(const OFString &value, const OFBool check=OFTrue)
set DeidentificationMethod (0012,0063)
OFReadWriteLocker(const OFReadWriteLocker &arg)
unimplemented private copy constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
OFBool FileFormatCheck
check DICOM file format
Definition: dcddirif.h:1580
OFBool isEmpty()
check if item is empty
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
DcmTime PerformedProcedureStepStartTime
PerformedProcedureStepStartTime (0040,0245) vr=TM, vm=1, type=3.
Definition: drtdose.h:4303
const DRTReferencedInstanceSequence & getReferencedInstanceSequence() const
get ReferencedInstanceSequence (0008,114a)
Definition: drtdose.h:2446
const OFString & key() const
return key of key-value pair
Definition: dcmsmap.h:66
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
DcmCodeString QualityControlSubject
QualityControlSubject (0010,0200) vr=CS, vm=1, type=3.
Definition: drtionpl.h:2902
OFCondition ConnectToDataSource()
Connects to the data source.
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtas7.h:158
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
Uint32 getJPEGProcess8Bit() const
return 8-bit JPEG process ID for this transfer syntax.
Definition: dcxfer.h:249
DiGSDFunction(const Uint16 *ddl_tab, const double *val_tab, const unsigned long count, const Uint16 max=255, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0)
constructor, use given array of DDL and luminance/OD values.
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
OFCondition setDeviceID(const OFString &value, const OFBool check=OFTrue)
set DeviceID (0018,1003)
char isEmpty() const
is this node Empty?
OFCondition getStrainStockNumber(OFString &value, const signed long pos=0) const
get StrainStockNumber (0010,0214)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence() const
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtionpl.h:1637
DcmTLSTransportLayer * m_tLayer
The TLS layer responsible for all encryption/authentication stuff.
Definition: tlsscu.h:209
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFString Description
textual description of overlay plane
Definition: diovpln.h:461
void deleteEntry(const DcmDictEntry &entry)
deletes the given entry from either dictionary
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtudis.h:308
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DVPSStoredPrint(const DVPSStoredPrint ©)
copy constructor
DSRDocumentSubTree(const DSRDocumentTreeNodeCursor &startCursor, size_t stopAfterNodeID)
special copy constructor that clones a particular subtree only
DcmLongString PatientSupportAccessoryCode
PatientSupportAccessoryCode (300a,0354) vr=LO, vm=1, type=3.
Definition: drtibs.h:1021
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcsis.h:408
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
DRTReferencedImageSequence ReferencedImageSequence
ReferencedImageSequence (0008,1140) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3335
DcmCodeString PatientSexNeutered
PatientSexNeutered (0010,2203) vr=CS, vm=1, type=2C.
Definition: drtplan.h:3146
void sigmoid(const DiMonoPixel *inter, const Uint32 start, const DiLookupTable *plut, DiDisplayFunction *disp, const double center, const double width, const T3 low, const T3 high)
apply the currently active sigmoid VOI window to the output data
Definition: dimoopxt.h:782
OFCondition medianCut(DcmQuantColorTable &histogram, unsigned long sum, unsigned long theMaxval, unsigned long numberOfColors, DcmLargestDimensionType largeType, DcmRepresentativeColorType repType)
computes a color LUT for the given image histogram.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
void addTextObject(DVPSTextObject *text)
adds the given text object to the list of text objects managed by this object.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item & getCurrentItem()
get current item in the sequence
void clear()
clear all internal member variables
virtual OFCondition setTreatmentSites(const OFString &value, const OFBool check=OFTrue)
set TreatmentSites (300a,000b)
OFString m_peerAETitle
AE title of remote application (default: ANY-SCP)
Definition: scu.h:1038
virtual void SetCreateNullvalues(OFBool)
Set value in a member variable in a derived class.
Definition: wlds.h:474
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool isEmpty()
check if item is empty
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmIntegerString NumberOfBoli
NumberOfBoli (300a,00ed) vr=IS, vm=1, type=1.
Definition: drtbs.h:759
DcmUniqueIdentifier FrameOfReferenceUID
FrameOfReferenceUID (0020,0052) vr=UI, vm=1, type=1.
Definition: drtimage.h:5030
DcmCodeString Modality
Modality (0008,0060) vr=CS, vm=1, type=1.
Definition: drtdose.h:4277
Interface class for PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtpdecs.h:30
OFCondition selectCharacterSetWithoutCodeExtensions()
select a particular DICOM character set without code extensions for subsequent conversions.
DCMTK_DCMDATA_EXPORT const unsigned short EC_CODE_CannotDetermineStartFragment
error, cannot determine start fragment (of compressed pixel data)
OFListIterator(Item *) CurrentItem
currently selected item
OFCmdParam(const char *param, const char *descr, const E_ParamMode mode)
constructor
Definition: ofcmdln.h:110
DRTReferencedSeriesSequence ReferencedSeriesSequence
ReferencedSeriesSequence (0008,1115) vr=SQ, vm=1, type=1C.
Definition: drttreat.h:3029
virtual OFCondition setSOPInstanceStatus(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceStatus (0100,0410)
IODPatientModule & getPatient()
Get Patient Module.
DcmTLSTransportLayer(T_ASC_NetworkRole networkRole, const char *randFile, OFBool initializeOpenSSL)
constructor.
Item EmptyItem
empty default item
Definition: drtgpis.h:364
virtual OFCondition getInstanceCoercionDateTime(OFString &value, const signed long pos=0) const
get InstanceCoercionDateTime (0008,0015)
virtual OFCondition write(DcmItem &item)
Write this macro to given item.
E_FileReadMode read_mode_option
read file with or without metaheader
Definition: mdfconen.h:169
@ TarsalJoint
(27949001,SCT,"Tarsal joint")
Definition: cid4031.h:224
OFBool isEmpty()
check if sequence is empty
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtdcs.h:341
virtual OFCondition getQueryRetrieveView(OFString &value, const signed long pos=0) const
get QueryRetrieveView (0008,0053)
virtual ~DRTContextGroupIdentificationSequence()
destructor
OFCondition getDeliveredSecondaryMeterset(Float64 &value, const unsigned long pos=0) const
get DeliveredSecondaryMeterset (3008,0037)
DcmLongString ServiceEpisodeDescription
ServiceEpisodeDescription (0038,0062) vr=LO, vm=1, type=3.
Definition: drtimage.h:4960
DRTOriginalAttributesSequence & getOriginalAttributesSequence()
get OriginalAttributesSequence (0400,0561)
Definition: drtdose.h:2248
static const OFString m_ModuleName
The name of this module ("PatientModule")
Definition: modpatient.h:138
int setHeightWidthRatio(const double ratio) const
set height width ratio (pixel aspect ratio: y/x)
Definition: dcmimage.h:366
DcmDecimalString PatientBodyMassIndex
PatientBodyMassIndex (0010,1022) vr=DS, vm=1, type=3.
Definition: drtstrct.h:2874
DVPSSignatureStatus getCombinedImagePStateSignatureStatus() const
returns the combined status flag for the current image and presentation state.
int groupEQ(const DcmTagKey &key) const
comparison operation comparing only group numbers
Definition: dctagkey.h:360
OFCondition getRespiratorySignalSource(OFString &value, const signed long pos=0) const
get RespiratorySignalSource (0018,9171)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition getInstanceNumber(OFString &value, const signed long pos=0) const
get InstanceNumber (0020,0013)
DcmDateTime(const DcmDateTime &old)
copy constructor
IdxRecord()
default constructor
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
Sint32 getRectShutterRV()
gets rectangular shutter right vertical edge.
~OFTempFile()
destructor. Deletes the temporary file, if one was created
@ Centimeter
(cm,UCUM,"centimeter"), included from CID 7460
Definition: cid7181.h:60
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item & operator=(const Item ©)
assigment operator
virtual OFCondition getNameOfPhysiciansReadingStudy(OFString &value, const signed long pos=0) const
get NameOfPhysiciansReadingStudy (0008,1060)
virtual void clear()
clear all internal member variables
void Init()
initialize internal data structures and member variables
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
get SeriesInstanceUID (0020,000e)
DCMTK_OFSTD_EXPORT const OFConditionConst EC_NoEncodingLibrary
condition constant: error, no character encoding library available
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtadcs.h:335
OFCondition checkIOD(const char *studyUID, const char *seriesUID, const char *instanceUID)
checks the contents of a DICOM file and displays an evaluation report on the screen.
const DJCodecParameter * cparam
codec parameters
Definition: djeijg12.h:151
OFCondition getLUTExplanation(OFString &value, const signed long pos=0) const
get LUTExplanation (0028,3003)
const DRTConceptCodeSequence & getConceptCodeSequence() const
get ConceptCodeSequence (0040,a168)
Definition: drtpcxs.h:207
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item & operator=(const Item ©)
assigment operator
virtual DcmEVR ident() const
get element type identifier
DSRDocumentTreeNodeObservationUIDFilter(const OFString &observationUID)
constructor
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
DcmShortText PersonAddress
PersonAddress (0040,1102) vr=ST, vm=1, type=3.
Definition: drtporis.h:206
OFBool isEmpty()
check if item is empty
virtual OFCondition writePerFrameFG(DcmItem &dataset)
Write Per-Frame Functional Group Sequence to given item.
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
void setLogLevel(LogLevel _ll)
Set the LogLevel of this Logger.
Definition: logimpl.h:119
const Item & operator[](const size_t num) const
get particular item in the sequence
const char * opt_passwd
password for reading the private key file, may be NULL.
Definition: tlsopt.h:159
virtual ~DSRReferencedSamplePositionList()
destructor
void clear()
clear all internal member variables
Item & operator=(const Item ©)
assigment operator
DRTMultiplexedAudioChannelsDescriptionCodeSequence MultiplexedAudioChannelsDescriptionCodeSequence
MultiplexedAudioChannelsDescriptionCodeSequence (003a,0300) vr=SQ, vm=1, type=2C.
Definition: drtimage.h:5234
OFCondition addItem(const OFString &seriesUID, const OFString &sopClassUID, const OFString &instanceUID)
add new entry to the list of series and instances (if not already existent).
OFBool usePixelValues
Check smallest and largest pixel value and optimize compression, mode 0 only.
Definition: djcparam.h:405
OFCondition setNumberOfBoli(const OFString &value, const OFBool check=OFTrue)
set NumberOfBoli (300a,00ed)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition getInstanceCreationTime(OFString &value, const signed long pos=0) const
get InstanceCreationTime (0008,0013)
virtual OFCondition setModality(const OFString &value, const OFBool check=OFTrue)
set Modality (0008,0060)
DRTReferencedFrameOfReferenceSequence ReferencedFrameOfReferenceSequence
ReferencedFrameOfReferenceSequence (3006,0010) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4619
static const size_t RF_skipInvalidContentItems
do not abort when detecting an invalid content item, skip invalid sub-tree instead
Definition: dsrtypes.h:269
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
OFCondition getLeafJawPositions(OFVector< Float64 > &value) const
get LeafJawPositions (300a,011c)
Encoder class for JPEG Lossless (8/12/16-bit)
Definition: djenclol.h:32
Class representing the Enhanced Equipment Module:
Definition: modenhequipment.h:38
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const char * getActiveOverlayDescription(size_t layer, size_t idx)
gets the overlay description of the given activated overlay.
DcmStackNode(const DcmStackNode &)
private undefined copy constructor
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtsins.h:149
OFCondition gotoNextItem()
goto next item in the sequence
DRTPredecessorStructureSetSequence & getPredecessorStructureSetSequence()
get PredecessorStructureSetSequence (3006,0018)
Definition: drtstrct.h:1518
OFBool isReferenced() const
check whether transfer syntax uses (0028,7FE0) Pixel Data Provider URL to reference pixel data
Definition: dcxfer.h:295
static DcmElement * newDicomElement(const DcmTagKey &tag, const char *privateCreator=NULL)
creates new DICOM element from given attribute tag.
XMLCSTR getAttribute(XMLCSTR name, int i) const
return ith attribute content with specific name (return a NULL if failing)
OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
@ FluoropropylDihydrotetrabenazineDTBZ_F18
(C2934038,UMLS,"Fluoropropyl-dihydrotetrabenazine (DTBZ) F^18^")
Definition: cid4021.h:164
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtas6.h:155
const char * getNetworkAETitle()
returns the AETitle with which this application should identify itself.
Uint32 getMaxValueLength() const
return maximum length of a single value with this VR.
static const char * valueTypeToDefinedTerm(const E_ValueType valueType)
convert value type to DICOM defined term
Item EmptyItem
empty default item
Definition: drtrds.h:315
const DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence() const
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtionpl.h:1241
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtdrs.h:694
DRTGroupOfPatientsIdentificationSequence GroupOfPatientsIdentificationSequence
GroupOfPatientsIdentificationSequence (0010,0027) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2864
virtual OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0)
Get Referenced SOP Class UID.
OFCondition gotoFirstItem()
goto first item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getScanSpotPositionMap(Float32 &value, const unsigned long pos=0) const
get ScanSpotPositionMap (300a,0394)
DcmQueryRetrieveIndexDatabaseHandle & operator=(const DcmQueryRetrieveIndexDatabaseHandle &other)
private undefined assignment operator
void flipHorz(T *data[])
flip image horizontally and store result in the same storage area
Definition: diflipt.h:236
OFCondition setEffectiveWedgeAngle(const OFString &value, const OFBool check=OFTrue)
set EffectiveWedgeAngle (300a,00de)
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmLongString windowCenterWidthExplanation
Module=VOI_LUT, VR=LO, VM=1-n, Type 3.
Definition: dvpssv.h:217
Item & getItem(const size_t num)
get particular item in the sequence
const DRTReferencedBolusSequenceInRTIonBeamsModule & getReferencedBolusSequence() const
get ReferencedBolusSequence (300c,00b0)
Definition: drtibs.h:630
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
@ FractionalProbabilisticSegmentation
(110854,DCM,"Fractional Probabilistic Segmentation"), included from CID 7180
Definition: cid7469.h:242
virtual ~SiSHA512()
destructor
Item & getCurrentItem()
get current item in the sequence
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
virtual ~CodeWithModifiers()
Virtual Destructor, frees memory.
DcmUnsignedShort & operator=(const DcmUnsignedShort &obj)
assignment operator
virtual Uint32 calcElementLength(const E_TransferSyntax xfer, const E_EncodingType enctype)=0
calculate the length of this DICOM element when encoded with the given transfer syntax and the given ...
void clear()
clear all internal member variables
virtual ~Item()
destructor
@ PM_Mandatory
parameter is required (# = 1), "option"
Definition: ofcmdln.h:95
const Item & getCurrentItem() const
get current item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpdecs.h:372
helper class that encapsulated methods for filling a DcmAssociationConfiguration object from a config...
Definition: dcasccff.h:37
OFCondition readBitmapData(const Uint16 width, const Uint16 height, const Uint16 bpp, const OFBool isTopDown, const Uint16 colors, const Uint32 *palette, char *&pixData, Uint32 &length)
Read the bitmap data.
OFpath & operator/=(const OFpath &rhs)
Append another path to this one, handling various special cases.
static size_t createHTMLFootnote(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &footnoteStream, size_t &footnoteNumber, const size_t nodeID, const size_t flags=0)
create an HTML footnote with hyperlinks
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getPersonName(OFString &value, const signed long pos=0) const
get PersonName (0040,a123)
OFCondition setCircularShutter(Sint32 centerX, Sint32 centerY, Sint32 radius)
sets and activates circular display shutter.
virtual OFCondition getTagVal(DcmTagKey &val, const unsigned long pos=0)
retrieve a single value of type DcmTagKey.
virtual OFCondition setOperatorsName(const OFString &value, const OFBool check=OFTrue)
set OperatorsName (0008,1070)
char & at(size_t pos)
returns a non-const reference to the character at position pos of the current string.
Definition: ofstring.h:355
unsigned short theCode
status code that is unique for each module
Definition: ofcond.h:71
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual ~Item()
destructor
OFCondition getApplicatorID(OFString &value, const signed long pos=0) const
get ApplicatorID (300a,0108)
Class representing the Parametric Map Image Module:
Definition: dpmmodparametricmapimage.h:48
DcmLongString IssuerOfPatientID
Issuer of Patient ID: (LO, 1, 3)
Definition: dsrdoc.h:1358
virtual ~Item()
destructor
virtual OFCondition setPatientComments(const OFString &value, const OFBool check=OFTrue)
set PatientComments (0010,4000)
virtual OFCondition setColumns(const Uint16 value, const unsigned long pos=0)
set Columns (0028,0011)
DcmUIDHandler(const OFString &arg)
construct from OFString
virtual OFCondition setPixelRepresentation(const Uint16 value, const OFBool checkValue=OFTrue)
Set Pixel Representation.
E_VerificationFlag VerificationFlagEnum
enumerated value: unverified, verified
Definition: dsrdoc.h:1301
OFBool isEmpty()
check if sequence is empty
SegmentDescriptionMacro()
Constructor.
void clear()
clear all internal member variables
DVPSGraphicLayer * getGraphicLayer(size_t idx)
gets the the graphic layer with the given index.
a class implementing the hash function SHA512
Definition: sisha512.h:41
Item EmptyItem
empty default item
Definition: drtrrtps4.h:315
virtual OFCondition setSpatialResolution(const OFString &value, const OFBool check=OFTrue)
set SpatialResolution (0018,1050)
Interface class for CalculatedDoseReferenceSequence (3008,0070)
Definition: drtcdrs.h:28
void clear()
clear all internal member variables
virtual OFCondition setTimezoneOffsetFromUTC(const OFString &value, const OFBool check=OFTrue)
set TimezoneOffsetFromUTC (0008,0201)
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
special write method for creation of digital signatures
const OFString & getCodingSchemeExternalID(OFString &stringValue) const
get the coding scheme external ID of the currently selected item
const DSRCodedEntryValue & getConceptName() const
get concept name.
DRTPersonIdentificationCodeSequence PersonIdentificationCodeSequence
PersonIdentificationCodeSequence (0040,1101) vr=SQ, vm=1, type=1.
Definition: drtporis.h:208
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item & operator=(const Item ©)
assigment operator
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition abortAssociation()
Aborts the current association by sending an A-ABORT request to the SCU.
virtual DcmRepresentationParameter * clone() const
this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every sub...
Uint16 BitsAllocated
number of bits allocated for each pixel
Definition: diimage.h:637
DSRDocumentTreeNodeTemplateIdentificationFilter(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="")
constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrcdrs.h:345
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
OFCondition setCalculatedDoseReferenceDoseValue(const OFString &value, const OFBool check=OFTrue)
set CalculatedDoseReferenceDoseValue (3008,0076)
unsigned int MaxDensity
maximum density of a print-out (ditto)
Definition: dimoimg.h:1124
Item EmptyItem
empty default item
Definition: drtspcs.h:555
size_t getNumberOfItems() const
get number of items in the sequence
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrrtps5.h:127
OFCondition gotoFirstItem()
goto first item in the sequence
DRTImageIOD(const DRTImageIOD ©)
copy constructor
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrbls.h:165
T_ASC_SC_ROLE getRole() const
returns the role maintained by this object
Definition: dccfrsmp.h:80
const Item & getCurrentItem() const
get current item in the sequence
DRTEncryptedAttributesSequence EncryptedAttributesSequence
EncryptedAttributesSequence (0400,0500) vr=SQ, vm=1, type=1C.
Definition: drtstrct.h:3115
ListType appenderList
Array of appenders.
Definition: apndimpl.h:109
DcmUniqueIdentifier SOPInstanceUID
SOPInstanceUID (0008,0018) vr=UI, vm=1, type=1.
Definition: drtiontr.h:3153
DcmDataset * extractStatusDetail()
return pointer to status detail object, then set status detail to NULL
OFCondition setConfig(const DcmSCPConfig &config)
The SCP must be configurable by setting it's configuration with this method.
DSRDocumentTreeNode * getPrev() const
get pointer to previous tree node
Definition: dsrdoctn.h:506
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrrtps3.h:141
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
Interface class for IonControlPointDeliverySequence (3008,0041) in RTIonBeamsSessionRecordModule.
Definition: drticpds.h:35
virtual OFCondition getSpecificCharacterSet(OFString &value, const signed long pos=0) const
get SpecificCharacterSet (0008,0005)
Item & getItem(const size_t num)
get particular item in the sequence
void setGLRecommendedDisplayValueGray(Uint16 gray)
set graphic layer recommended grayscale display value of this layer.
void deleteOverlayData()
delete buffer for overlay plane data.
a class representing the DICOM value representation 'Universal Resource Identifier or Universal Resou...
Definition: dcvrur.h:37
This abstract class defines the "Factory" interface to create STD_NAMESPACE locale instances.
Definition: factory.h:126
@ ChestAndAbdomen
(416550000,SCT,"Chest and Abdomen")
Definition: cid4031.h:76
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtpsics.h:335
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtsins.h:147
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFCondition gotoFirstItem()
goto first item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
DcmDate DateOfLastCalibration
DateOfLastCalibration (0018,1200) vr=DA, vm=1-n, type=3.
Definition: drttreat.h:2912
OFString UndefinedSubdirectory
name of the subdirectory that might be used for the "exceptional" case, i.e. if the name of the subdi...
Definition: dstorscp.h:308
Class for composite reference values.
Definition: dsrcomvl.h:39
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrfors.h:312
OFListIterator(Item *) CurrentItem
currently selected item
static const OFString & convertToMarkupString(const OFString &sourceString, OFString &markupString, const OFBool convertNonASCII=OFFalse, const E_MarkupMode markupMode=MM_XML, const OFBool newlineAllowed=OFFalse, const size_t maxLength=0)
convert character string to a HTML/XHTML/XML mnenonic string.
@ France
(FR,ISO3166_1,"France")
Definition: cid5001.h:47
OFBool isEmpty()
check if item is empty
OFBool isValid() const
check if item is valid, i.e. not the empty default item
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 element to a stream.
size_t getIdent() const
get unique identifier of this node
Definition: dsrtree.h:112
General purpose class hiding global functions, constants and types from the global namespace.
Definition: dsrtypes.h:241
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtcbars.h:348
DRTContributingEquipmentSequence ContributingEquipmentSequence
ContributingEquipmentSequence (0018,a001) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3280
DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence()
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtionpl.h:1751
static OFCondition encode(const E_TransferSyntax fromRepType, const Uint16 *pixelData, const Uint32 length, const E_TransferSyntax toRepType, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, DcmStack &pixelStack)
looks for a codec that is able to encode from the given transfer syntax and calls the encode() method...
This class implements the RSA public key crypto algorithms.
Definition: sirsa.h:44
Item & getCurrentItem()
get current item in the sequence
DRTFluenceMapSequence FluenceMapSequence
FluenceMapSequence (3002,0040) vr=SQ, vm=1, type=1C.
Definition: drtimage.h:5326
virtual OFCondition getDVHNormalizationPoint(OFString &value, const signed long pos=0) const
get DVHNormalizationPoint (3004,0040)
CID10013_CTAcquisitionType(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
DRTFractionGroupSummarySequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmOtherDouble(const DcmTag &tag, const Uint32 len=0)
constructor.
virtual const log4cplus::tstring & getMessage() const
The application supplied message of logging event.
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
OFCondition getBlockTransmission(OFString &value, const signed long pos=0) const
get BlockTransmission (300a,0102)
virtual OFCondition getPatientBirthDate(OFString &value, const signed long pos=0) const
get PatientBirthDate (0010,0030)
void sort(unsigned long boxes)
sorts the given number of pixel boxes in the array, starting with the first array element.
virtual Uint32 calcElementLength(const E_TransferSyntax xfer, const E_EncodingType enctype)
returns length of representation conforming to the transfer syntax with tag, vr, ....
size_t getReferencedNodeID() const
get ID of the referenced node.
virtual ~Item()
destructor
Class representing the Parametric Map Series Module:
Definition: dpmmodparametricmapseries.h:39
DcmListNode * firstNode
pointer to first node in list
Definition: dclist.h:169
EI_Status ImageStatus
copy of status variable declared in class 'DicomImage'
Definition: diimage.h:614
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtdcs.h:353
DcmAgeString PatientAge
PatientAge (0010,1010) vr=AS, vm=1, type=3.
Definition: drtiontr.h:2948
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtafs.h:141
DcmItem()
default constructor
DSRContentItem(const DSRContentItem &item)
copy constructor.
virtual OFCondition getQualityControlImage(OFString &value, const signed long pos=0) const
get QualityControlImage (0028,0300)
long maxBytesPerStudy
maximum number of bytes per study
Definition: dcmqrcnf.h:119
void Init(DiMonoModality *modality, const OFBool reuse=OFFalse)
initialize internal data structures and member variables
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition addImageBox(DVPSImageBoxContent *box)
adds the given image box object to the list managed by this object.
@ EXS_JPEG2000LosslessOnly
JPEG 2000 (lossless)
Definition: dcxfer.h:93
DCMTK_DCMTRACT_EXPORT const OFConditionConst TRC_EC_NoSuchTrack
No such Track.
OFCondition getReferencedLateralSpreadingDeviceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedLateralSpreadingDeviceNumber (300c,0102)
@ MultiparametricMRIOfProstate
(126021,DCM,"Multiparametric MRI of prostate")
Definition: cid100.h:50
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition getOccupation(OFString &value, const signed long pos=0) const
get Occupation (0010,2180)
DcmCodeString Modality
Modality (0008,0060) vr=CS, vm=1, type=1.
Definition: drtiontr.h:2993
int addOverlay(const unsigned int group, const signed int left_pos, const signed int top_pos, const unsigned int columns, const unsigned int rows, const DcmOverlayData &data, const DcmLongString &label, const DcmLongString &description, const EM_Overlay mode)
add specified plane to group of additional overlay planes.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const DRTStrainCodeSequence & getStrainCodeSequence() const
get StrainCodeSequence (0010,0219)
Definition: drtiontr.h:1821
DcmFloatingPointSingle CompensatorRelativeStoppingPowerRatio
CompensatorRelativeStoppingPowerRatio (300a,02e7) vr=FL, vm=1, type=3.
Definition: drtircs.h:422
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setOverlayColumns(const Uint16 value, const unsigned long pos=0)
set OverlayColumns (60xx,0011)
Inner class that offers typed interface to bulk data.
Definition: dpmparametricmapiod.h:41
OFCondition gotoFirstItem()
goto first item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpfms.h:127
virtual OFCondition getResponsibleOrganization(OFString &value, const signed long pos=0) const
get ResponsibleOrganization (0010,2299)
@ TemperatureEncoded
(113067,DCM,"Temperature encoded"), included from CID 7180
Definition: cid7469.h:88
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item & operator=(const Item ©)
assigment operator
DSRCompositeReferenceValue(const OFString &sopClassUID, const OFString &sopInstanceUID, const OFBool check=OFTrue)
constructor
@ GA201_89Zr
(126731,DCM,"GA201 ^89^Zr")
Definition: cid4021.h:176
OFBool isValid() const
check if item is valid, i.e. not the empty default item
void removeImageReference(DVPSReferencedSeries_PList &allReferences, const char *instanceUID, unsigned long frame, unsigned long numberOfFrames, DVPSObjectApplicability applicability)
removes a reference to an image or frame.
CodeWithModifiers()
Private undefined default constructor.
consumer class that stores data in a buffer provided by the caller.
Definition: dcostrmb.h:33
virtual void close()=0
Release any resources allocated within the appender such as file handles, network connections,...
DcmOtherByteOtherWord ICCProfile
ICCProfile (0028,2000) vr=OB, vm=1, type=3.
Definition: drtimage.h:5172
OFCondition gotoNextItem()
goto next item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getPlanarConfiguration(Uint16 &value, const unsigned long pos=0) const
get PlanarConfiguration (0028,0006)
virtual ~DRTFluenceMapSequence()
destructor
void clear()
reset the object to initial state.
void replicatePixel(const T *src[], T *dest[])
enlarge image by an integer factor.
Definition: discalet.h:366
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n")
check whether given string value conforms to the VR "CS" (Code String) and to the specified VM.
wint_t fputwc(wchar_t wc)
writes the wide character wc to stream.
Definition: offile.h:997
OFCondition getLeafPositionBoundaries(OFString &value, const signed long pos=0) const
get LeafPositionBoundaries (300a,00be)
Item class.
Definition: drtrpis.h:38
OFCondition getBlockData(OFVector< Float64 > &value) const
get BlockData (300a,0106)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
special write method for creation of digital signatures
OFMutex coutMutex
mutex protecting access to cout
Definition: ofconsol.h:234
static const int AF_Exclusive
exclusive option that overrides any other option (e.g. "--help")
Definition: ofcmdln.h:976
OFCondition read(DcmItem &item)
read elements from sequence item
DcmSharedSCPConfig()
Default construct a DcmSharedSCPConfig object referring to a default constructed DcmSCPConfig object.
Definition: scpcfg.h:409
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtrrpcs.h:337
virtual OFCondition getMedicalAlerts(OFString &value, const signed long pos=0) const
get MedicalAlerts (0010,2000)
virtual FunctionalGroups::iterator end()
Iterator pointing behind last functional group in the set.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModule & getLateralSpreadingDeviceSettingsSequence()
get LateralSpreadingDeviceSettingsSequence (300a,0370)
Definition: drticps.h:477
virtual void createNewSOPInstance()
Create a new SOP instance.
OFCondition gotoFirstItem()
goto first item in the sequence
DcmDateTime InstanceCoercionDateTime
InstanceCoercionDateTime (0008,0015) vr=DT, vm=1, type=3.
Definition: drtstrct.h:3082
void clear()
clear all internal member variables
void clear()
resets the object to initial state.
virtual OFCondition getRationalDenominatorValue(Uint32 &value, const signed long pos=0) const
Get RationalDenominatorValue.
OFBool isEmpty()
check if sequence is empty
the list of displayed area selections contained in a presentation state (internal use only).
Definition: dvpsdal.h:40
virtual OFCondition getPixelPaddingValue(Uint16 &value, const unsigned long pos=0) const
get PixelPaddingValue (0028,0120)
virtual OFCondition setClinicalTrialTimePointID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointID (0012,0050)
OFString abstractSyntax
Abstract Syntax name (UID) as proposed by SCU.
Definition: scp.h:116
@ EFGS_UNKNOWN
Unknown.
Definition: fgtypes.h:176
reference operator*() const
Dereference the iterator.
CID244_Laterality(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
Item(const Item ©)
copy constructor
DcmCodeString ApplicatorType
ApplicatorType (300a,0109) vr=CS, vm=1, type=1.
Definition: drtas6.h:164
DRTToleranceTableSequence ToleranceTableSequence
ToleranceTableSequence (300a,0040) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3291
Item EmptyItem
empty default item
Definition: drtbas.h:540
@ RepresentativeOfEthicsCommittee
(128677,DCM,"Representative of Ethics Committee")
Definition: cid7452.h:54
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Item & operator=(const Item ©)
assigment operator
virtual OFCondition getSOPAuthorizationComment(OFString &value, const signed long pos=0) const
get SOPAuthorizationComment (0100,0424)
virtual SharedAppenderPtr createObject(const log4cplus::helpers::Properties &props)=0
Create an "Appender" object.
OFCondition removeItem(const size_t idx)
remove item from the list
Definition: dsrtlist.h:299
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=2.
Definition: drttms0.h:204
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtiblds.h:363
DcmPersonName OtherPatientNames
OtherPatientNames (0010,1001) vr=PN, vm=1-n, type=3.
Definition: drttreat.h:2669
virtual IODPatientStudyModule & getIODPatientStudyModule()
Get Patient Study Module.
output stream that writes into a buffer of fixed length which must be provided by the caller.
Definition: dcostrmb.h:128
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtpscs.h:349
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition loadStructuredReport(const char *studyUID, const char *seriesUID, const char *instanceUID, OFBool changeStatus=OFFalse)
loads a structured report which is contained in the database.
OFBool empty() const
checks whether instance cache is empty
Definition: dvcache.h:159
virtual OFCondition setRows(const Uint16 value, const OFBool checkValue=OFTrue)
Set Rows.
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drtimage.h:5047
DIC_US getStatus() const
return current DIMSE status
Definition: dcmqrcbs.h:67
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFBool allowShutdown_
enable negotiation of private shutdown SOP class
Definition: dcmqropt.h:61
static const size_t RF_acceptInvalidContentItemValue
accept invalid content item value (e.g. violation of VR or VM definition)
Definition: dsrtypes.h:260
@ CTPerfusionHeadWithContrastIV
(39142-5,LN,"CT perfusion head with contrast IV")
Definition: cid100.h:72
static EP_Representation determineRepresentation(double minvalue, double maxvalue)
determine integer representation which is necessary to store values in the specified range
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbrcss.h:536
DcmTime SeriesTime
SeriesTime (0008,0031) vr=TM, vm=1, type=3.
Definition: drtdose.h:4285
Interface class for RecordedLateralSpreadingDeviceSequence (3008,00f4)
Definition: drtrlsds.h:28
~DcmDataDictionary()
destructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getImageFrameOrigin(Uint16 &value, const unsigned long pos=0) const
get ImageFrameOrigin (60xx,0051)
type definitions and constants for the dcmjpls module
@ _62_Copper
(422934004,SCT,"^62^Copper")
Definition: cid4020.h:76
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrbas8.h:354
OFListIterator(Item *) CurrentItem
currently selected item
DcmDecimalString MeasuredAPDimension
MeasuredAPDimension (0010,1023) vr=DS, vm=1, type=3.
Definition: drtiontr.h:2956
DcmFileConsumer(const DcmFileConsumer &)
private unimplemented copy constructor
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTLateralSpreadingDeviceSequence(const DRTLateralSpreadingDeviceSequence ©)
copy constructor
Item & operator=(const Item ©)
assigment operator
DcmQuantPixelBoxArray(unsigned long entries)
constructor.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item(const Item ©)
copy constructor
virtual OFCondition getICCProfile(Uint8 *&value, unsigned long *count=NULL) const
get ICCProfile (0028,2000)
void * getPlaneData(const unsigned long frame, unsigned int plane, unsigned int &left_pos, unsigned int &top_pos, unsigned int &width, unsigned int &height, EM_Overlay &mode, const Uint16 columns, const Uint16 rows, const int bits=8, const Uint16 fore=0xff, const Uint16 back=0x0)
get overlay plane data as an array of 1/8/16 bit values.
@ withSelectedDescriptors
add image entry with selected descriptors only (from given list of concept names)
Definition: tid1600.h:89
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrbs8.h:464
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
virtual unsigned long getVM()
get value multiplicity
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format
static const OFString & encodeBase64(const unsigned char *data, const size_t length, OFString &result, const size_t width=0)
encode binary data according to "Base64" as described in RFC 2045 (MIME).
E_CharacterSet SpecificCharacterSetEnum
defined term: see class DSRTypes
Definition: dsrdoc.h:1303
Item & getItem(const size_t num)
get particular item in the sequence
void putOriginalRepresentation(const E_TransferSyntax repType, const DcmRepresentationParameter *repParam, DcmPixelSequence *pixSeq)
Inserts an original encapsulated representation.
virtual OFBool getRecommendedDisplayCIELabValue(Uint16 &L, Uint16 &a, Uint16 &b)
Get Recommended Display CIELab Value.
Hierarchy & getHierarchy() const
Return the the Hierarchy where this Logger instance is attached.
static OFCondition getCurrentTime(OFString &dicomTime, const OFBool seconds=OFTrue, const OFBool fraction=OFFalse)
get the current system time.
Uint32 getResults(OFList< DcmPath * > &searchResults)
Returns the results from the search / creation call.
DcmCodeString WedgePosition
WedgePosition (300a,0118) vr=CS, vm=1, type=1.
Definition: drtiwps.h:153
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtians.h:141
DCMTK_DCMJPEG_EXPORT const OFConditionConst EJ_IJG8_FrameBufferTooSmall
Buffer for decompressed image (8 bits/sample) too small.
OFCondition checkXrayAngiographicAttributes(DcmItem *dataset, const OFString &sopClass, const OFFilename &filename)
check attributes for compliance with X-ray Angiography application profile
OFCondition read(DcmItem &item)
read elements from sequence item
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drtces.h:345
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtfgs.h:524
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtds.h:492
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const char * getPatientID()
returns the Patient ID of the currently selected study.
void setFamily(short family)
set current protocol family.
Definition: ofsockad.h:107
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtlsds7.h:315
void clear()
clear all internal member variables
virtual OFCondition getPhotometricInterpretation(OFString &value, const signed long pos=0) const
get PhotometricInterpretation (0028,0004)
Uint16 BitPosition
position of overlay plane bit
Definition: diovpln.h:444
DcmFileProducer(const OFFilename &filename, offile_off_t offset=0)
constructor
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
Item class.
Definition: drtces.h:38
void setPort(unsigned short port)
set port number for current protocol family.
@ Diameter
(81827009,SCT,"Diameter"), included from CID 7470
Definition: cid7469.h:362
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
Item & operator=(const Item ©)
assigment operator
DcmLongString DeviceID
DeviceID (0018,1003) vr=LO, vm=1, type=3.
Definition: drtds.h:521
virtual DcmObject * clone() const
clone method
Definition: dcvrui.h:64
OFBool prependDateTime
true if date and time should be prepended to annotation text
Definition: dviface.h:1820
@ EFG_FRAMECONTENT
Frame Content.
Definition: fgtypes.h:123
virtual ~DcmProducer()
destructor
Definition: dcistrma.h:41
const char * getInstanceUID()
returns the SOP Instance UID of the currently selected instance.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getReferencedROINumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedROINumber (3006,0084)
DcmLongString PositionReferenceIndicator
PositionReferenceIndicator (0020,1040) vr=LO, vm=1, type=2.
Definition: drtimage.h:5032
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
DcmIntegerString SeriesNumber
SeriesNumber (0020,0011) vr=IS, vm=1, type=2.
Definition: drtdose.h:4281
DRTEncryptedAttributesSequence & getEncryptedAttributesSequence()
get EncryptedAttributesSequence (0400,0500)
Definition: drtdose.h:2080
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
unsigned long getWidth() const
Get the number of pixels in one row.
Definition: drmimage.h:83
void removeReference()
remove a reference.
Definition: diobjcou.h:64
Uint16 getValue(const Uint16 pos) const
get value of specified LUT entry
Definition: dibaslut.h:141
this class describes configuration settings for a list of symbolic hosts or vendors
Definition: dcmqrcnf.h:187
OFCondition getSurfaceEntryPoint(Float64 &value, const unsigned long pos=0) const
get SurfaceEntryPoint (300a,012e)
OFConfigFile(FILE *infile, unsigned int maxLevel=OFConfigFile_MaxLevel, char commentChar=OFConfigFile_CommentChar, OFBool orderedMode=OFFalse)
constructor.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmPersonName OperatorsName
OperatorsName (0008,1070) vr=PN, vm=1-n, type=2.
Definition: drtstrct.h:2940
DcmIntegerString radiusOfCircularShutter
Module=Display_Shutter, VR=IS, VM=1, Type 1C.
Definition: dcmpstat.h:902
static OFCondition checkCode(const OFString &codeValue, const OFString &codingSchemeDesignator, const OFString &codingSchemeVersion, const OFString &codeMeaning, const DSRTypes::E_CodeValueType codeValueType)
check the specified code for validity.
OFCondition getCertifiedTimestampType(OFString &value, const signed long pos=0) const
get CertifiedTimestampType (0400,0305)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setRotation(DVPSRotationType rotation)
sets rotation status of the presentation state.
OFBool add(const OFString &key, const T &value)
inserts a new key-value pair into the map by means of copy construction.
Definition: dcmsmap.h:148
Class for MONOCHROME1 images.
Definition: dimo1img.h:39
OFBool parseCommandLine(OFCommandLine &cmd, int argCount, wchar_t *argValue[], const int flags=0, const int startPos=1)
parse command line.
DcmCodeString RTPlanRelationship
RTPlanRelationship (300a,0055) vr=CS, vm=1, type=1.
Definition: drtrrtps3.h:144
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drtiontr.h:3055
const DRTSourceImageSequence & getSourceImageSequence() const
get SourceImageSequence (0008,2112)
Definition: drtionpl.h:1865
OFString gr_passwd
the group password.
Definition: ofgrp.h:84
WlmDataSourceFileSystem & operator=(const WlmDataSourceFileSystem &Src)
Protected undefined operator=.
Item & getItem(const size_t num)
get particular item in the sequence
static OFCondition getDicomTimeFromOFTime(const OFTime &timeValue, OFString &dicomTime, const OFBool seconds=OFTrue, const OFBool fraction=OFFalse)
get the specified OFTime value in DICOM format.
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
virtual ~Item()
destructor
const Item & getItem(const size_t num) const
get particular item in the sequence
const DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence() const
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtstrct.h:1404
virtual OFCondition getIssuerOfPatientID(OFString &value, const signed long pos=0) const
get IssuerOfPatientID (0010,0021)
LogLevel fromString(const log4cplus::tstring &s) const
This method is called by all classes internally to log4cplus to convert a string into a LogLevel.
virtual CodeSequenceMacro & getViewCode()
Get View Code.
DcmTime TreatmentTime
TreatmentTime (3008,0251) vr=TM, vm=1, type=2.
Definition: drtiontr.h:3079
DicomImage * createMonoOutputImage(const unsigned long frame, const int bits)
create new single frame DicomImage with applied grayscale transformations.
virtual OFCondition setLaterality(const TrcTypes::E_TrackSetLaterality value, const OFBool checkValue=OFTrue)
Set Laterality.
abstract base class for a codec object that can be registered in dcmdata and performs transfer syntax...
Definition: dccodec.h:79
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition ignoreSTORERequest(T_ASC_PresentationContextID presID, const T_DIMSE_C_StoreRQ &request)
Receives a DICOM dataset on a given presentation context ID but does not store it in memory or disk,...
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
Item class.
Definition: drttscds.h:36
double convertODtoLum(const double value, const OFBool useAmb=OFTrue) const
convert the given OD value to luminance.
virtual OFCondition decode(const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *pixSeq, DcmPolymorphOBOW &uncompressedPixelData, const DcmCodecParameter *cp, const DcmStack &objStack) const
decompresses the given pixel sequence and stores the result in the given uncompressedPixelData elemen...
DSRNumTreeNode(const E_RelationshipType relationshipType)
constructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrics.h:337
OFCondition getNumberOfCompensators(OFString &value, const signed long pos=0) const
get NumberOfCompensators (300a,00e0)
virtual OFCondition setSoftwareVersions(const OFString &value, const OFBool check=OFTrue)
set SoftwareVersions (0018,1020)
OFBool disableFileFormatCheck(const OFBool newMode=OFFalse)
disable/enable the "DICOM file format check".
OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write code in XML format.
static OFBool checkDescriptorToBeAdded(const DSRBasicCodedEntry &conceptName, const AddImageMode mode, const ConceptNameList &descriptors)
check whether a given descriptor should be added (based on further parameters)
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
const char * getTargetRandomSeed(const char *targetID)
returns the RANDOMSEED entry for the storage peer with the given target ID from the configuration fil...
const char * getPrivateCreator() const
returns the current private creator string for this object if any, NULL otherwise.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
int rotate(const int degree)
rotate current image (by steps of 90 degrees)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmTag Tag
the DICOM attribute tag and VR for this object
Definition: dcobject.h:798
E_TransferSyntax OriginalXfer
original transfer syntax of the dataset
Definition: dcdatset.h:411
OFBool isElem(const OFString &uid)
checks whether an item with the specified UID exists in the cache list
Definition: dvcache.h:559
OFBool isEmpty()
check if item is empty
virtual void clear()
clear the internal member variables, i.e. set them to their default values
int StartProvidingService()
Starts providing the implemented service for calling SCUs.
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
Item class.
Definition: drtrsts.h:37
void clear()
clear all internal member variables
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition setLongitudinalTemporalInformationModified(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalInformationModified (0028,0303)
DcmCodeString LongitudinalTemporalInformationModified
LongitudinalTemporalInformationModified (0028,0303) vr=CS, vm=1, type=3.
Definition: drtimage.h:5447
virtual OFCondition handleCGETSession(const T_ASC_PresentationContextID presID, DcmDataset *dataset, OFList< RetrieveResponse * > *responses)
Does the logic for switching between C-GET Response and C-STORE Requests.
virtual ~IODMultiframeDimensionModule()
Destructor.
@ EVR_pixelSQ
used internally for pixel sequences in a compressed image
Definition: dcvr.h:255
OFCondition setSpecificCharacterSet(const OFString &value, const OFBool check=OFTrue)
set specific character set, which is used for checking the affected element values.
OFBool usePrivateKeyPassword
true if the privateKeyPasswd contains the password, false otherwise.
Definition: siprivat.h:108
DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtssrs.h:226
OFCondition getPrivateDataElementDescription(OFString &value, const signed long pos=0) const
get PrivateDataElementDescription (0008,030e)
OFCondition setFinalCumulativeMetersetWeight(const OFString &value, const OFBool check=OFTrue)
set FinalCumulativeMetersetWeight (300a,010e)
const DRTReferencedStudySequence & getReferencedStudySequence() const
get ReferencedStudySequence (0008,1110)
Definition: drtstrct.h:1680
simple wrapper around the "low-level" Logger object to make it easier to switch to a different system
Definition: oflog.h:45
virtual OFCondition setPerformedProcedureStepID(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepID (0040,0253)
DiImage * createImage(const unsigned long fstart, const unsigned long fcount) const
create copy of current image object
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrris1.h:199
Interface class for ReferencedBrachyApplicationSetupSequence (300c,000a) in RTDoseModule.
Definition: drtrbas2.h:28
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setCompensatorDivergence(const OFString &value, const OFBool check=OFTrue)
set CompensatorDivergence (300a,02e0)
virtual OFCondition getPatientBirthTime(OFString &value, const signed long pos=0) const
get PatientBirthTime (0010,0032)
virtual OFCondition setAdmissionID(const OFString &value, const OFBool check=OFTrue)
set AdmissionID (0038,0010)
virtual OFCondition getPerformedProcedureStepEndTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndTime (0040,0251)
DVPSVOIWindow_PList currentImageVOIWindowList
list of VOI Windows of the currently attached image
Definition: dvpstat.h:1281
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getSeriesDate(OFString &value, const signed long pos=0) const
get SeriesDate (0008,0021)
static OFCondition getUint16ValuesFromElement(DcmElement &delem, OFVector< Uint16 > &values)
Get Uint16 values from DcmElement.
virtual OFBool isClinicalTrialSeriesModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSeriesModule (U) is present.
virtual OFCondition startFindRequest(const char *SOPClassUID, DcmDataset *findRequestIdentifiers, DcmQueryRetrieveDatabaseStatus *status)=0
initiate FIND operation using the given SOP class UID (which identifies the query model) and DICOM da...
OFCondition gotoNextItem()
goto next item in the sequence
Definition: dulstruc.h:277
static OFCondition getOFTimeFromString(const OFString &dicomTime, OFTime &timeValue, const OFBool supportOldFormat, const double timeZone)
get the specified DICOM time value in OFTime format.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrdrs8.h:552
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
const DRTIonToleranceTableSequence & getIonToleranceTableSequence() const
get IonToleranceTableSequence (300a,03a0)
Definition: drtionpl.h:1457
OFCondition verifyAndSignStructuredReport(const char *userID, const char *passwd, DVPSVerifyAndSignMode mode)
verifies and digitally signs the current structured report.
virtual int writeBMP(FILE *stream, const unsigned long frame, const int bits)
write pixel data to BMP file
virtual OFCondition makeMachineByteString(const Uint32 length=0)
convert currently stored string value to internal representation.
OFCondition setTimePoint(const OFString &timePoint, const OFBool check=OFTrue)
set the value of the 'Time Point' content item (TID 1502 - Row 3).
@ EquivalentDose
(128512,DCM,"Equivalent Dose"), included from CID 10070
Definition: cid7469.h:328
virtual OFCondition setOverlayBitPosition(const Uint16 value, const unsigned long pos=0)
set OverlayBitPosition (60xx,0102)
DcmTransportLayer * getTransportLayer()
Returns a pointer to the transport layer object, or NULL if the object has not yet been created by a ...
DRTPatientSpeciesCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition getNormalizationPoint(OFString &value, const signed long pos=0) const
get NormalizationPoint (3004,0008)
DcmPersonName(const DcmPersonName &old)
copy constructor
@ EWM_dataset
write as dataset (without meta header)
Definition: dctypes.h:160
virtual OFCondition getSegmentAlgorithmName(OFString &value, const signed long pos=0)
Get the Segment Algorithm Name.
virtual ~Item()
destructor
Item(const Item ©)
copy constructor
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtpics.h:341
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTDigitalSignaturePurposeCodeSequence(const DRTDigitalSignaturePurposeCodeSequence ©)
copy constructor
DcmUnsigned64bitVeryLong(const DcmUnsigned64bitVeryLong &old)
copy constructor
virtual OFCondition getMeasuredAPDimension(OFString &value, const signed long pos=0) const
get MeasuredAPDimension (0010,1023)
OFBool anchorPointIsVisible()
gets the anchor point visibility May only be called when an anchor point is present (haveAnchorPoint(...
DRTIssuerOfAdmissionIDSequence(const DRTIssuerOfAdmissionIDSequence ©)
copy constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmShortText CommentsOnThePerformedProcedureStep
CommentsOnThePerformedProcedureStep (0040,0280) vr=ST, vm=1, type=3.
Definition: drtimage.h:5016
const char * getTargetPrinterSmoothingType(const char *targetID, Uint32 idx, OFString &value)
returns one value from the SMOOTHINGTYPE entry for the printer with the given target ID from the conf...
DiColorMonoTemplate(const DiColorPixel *pixel, DiMonoModality *modality, const double red, const double green, const double blue)
constructor
Definition: dicomot.h:54
DcmDataset * getDataset()
Returns the dataset that this MdfDatasetManager handles.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition losslessCookedEncode(const Uint16 *pixelData, const Uint32 length, DcmItem *dataset, const DJLSRepresentationParameter *djrp, DcmPixelSequence *&pixSeq, const DJLSCodecParameter *djcp, double &compressionRatio, Uint16 nearLosslessDeviation) const
lossless encoder that moves Overlays to (60xx,3000) and only compresses the stored bits of the pixel ...
void setValue(const char *c)
set value from C string
Definition: ofconfig.h:100
virtual OFCondition getSeriesDescription(OFString &value, const signed long pos=0) const
get SeriesDescription (0008,103e)
virtual void write(const unsigned char *buf, size_t bufsize)=0
write the given buffer into the output stream
@ RO6924963_11C
(126719,DCM,"RO6924963 ^11^C")
Definition: cid4021.h:256
DcmDirectoryRecord * buildStereometricRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update stereometric record and copy required values from dataset
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
OFCondition getReferencedControlPointIndex(Sint32 &value, const unsigned long pos=0) const
get ReferencedControlPointIndex (300c,00f0)
static DJLSLosslessEncoder * losslessencoder_
pointer to encoder for lossless JPEG-LS
Definition: djencode.h:91
virtual OFCondition getSeriesNumber(OFString &value, const signed long pos=0) const
Get Series Number.
Item EmptyItem
empty default item
Definition: drtcncs.h:540
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DVPSPresentationLUTType getPresentationLUT()
gets the current Presentation LUT type.
Definition: dcmpstat.h:247
void base_push(OFStackLinkBase *element)
pushes element onto stack.
Definition: ofstack.h:130
OFBool isEmpty()
check if sequence is empty
OFCondition setDeviceLength(const OFString &value, const OFBool check=OFTrue)
set DeviceLength (0050,0014)
DcmDecimalString FrameTime
FrameTime (0018,1063) vr=DS, vm=1, type=1C.
Definition: drtimage.h:5214
static const DSRWaveformReferenceValue EmptyWaveformReference
empty waveform reference value.
Definition: dsrcitem.h:624
virtual OFCondition getPatientDeathDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientDeathDateInAlternativeCalendar (0010,0034)
DcmLongString AdmittingDiagnosesDescription
AdmittingDiagnosesDescription (0008,1080) vr=LO, vm=1-n, type=3.
Definition: drtplan.h:3102
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmFloatingPointSingle TableTopPitchAngle
TableTopPitchAngle (300a,0140) vr=FL, vm=1, type=1C.
Definition: drtcps.h:701
XMLCSTR getAttribute(XMLCSTR name, int *i=NULL) const
return next attribute content with specific name (return a NULL if failing)
@ PT_invalid
internal type used to indicate an error
Definition: dsrtypes.h:627
Float32 YCoord
y value (VR=FL)
Definition: dsrsc3gr.h:80
@ MultiparametricMRIOfWholeBody
(126022,DCM,"Multiparametric MRI of whole body")
Definition: cid100.h:52
DcmDecimalString RadiationMachineSSD
RadiationMachineSSD (3002,0024) vr=DS, vm=1, type=3.
Definition: drtimage.h:5306
OFBool setTimeInSeconds(const double seconds, const double timeZone=0, const OFBool normalize=OFTrue)
set the time to the specified number of seconds
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmUniqueIdentifier SeriesInstanceUID
SeriesInstanceUID (0020,000e) vr=UI, vm=1, type=1.
Definition: drtstrct.h:2928
double getPeakSignalToNoiseRatio() const
return peak signal to noise ratio
Definition: dcmicmph.h:134
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
OFCondition getNumericValue(Float64 &value, const unsigned long pos=0) const
get NumericValue (0040,a30a)
OFListIterator(DcmPathNode *) begin()
Returns iterator pointing to first path component.
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtpcs.h:349
OFCondition receiveSTORERequestDataset(T_ASC_PresentationContextID *presID, T_DIMSE_C_StoreRQ &reqMessage, const OFString &filename)
Receive one C-STORE request dataset via network from another DICOM application and store it directly ...
DicomImage * createFlippedImage(int horz=1, int vert=0) const
create a flipped copy of the current image.
virtual size_t gotoAnnotatedNode(const OFString &annotationText, const OFBool startFromRoot=OFTrue)
set internal cursor to an annotated node.
OFCondition getCumulativeDoseToDoseReference(OFString &value, const signed long pos=0) const
get CumulativeDoseToDoseReference (3008,0052)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTReferencedStudySequence & operator=(const DRTReferencedStudySequence ©)
assigment operator
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrmdrs.h:345
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setTableTopRollRotationDirection(const OFString &value, const OFBool check=OFTrue)
set TableTopRollRotationDirection (300a,0146)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition gotoFirstItem()
goto first item in the sequence
Uint32 biClrUsed
number of actually used colors, if '0' the number of colors is calculated using 'biBitCount'
Definition: diutils.h:196
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool currentImageVOIValid
a flag describing whether the VOI settings in currentImage match the ones in the presentation state.
Definition: dvpstat.h:1256
OFBool operator==(const MdfJob &j) const
Comparison operator between Jobs.
Item EmptyItem
empty default item
Definition: drtpics.h:540
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition read(DcmItem &dataset)
read object from dataset
virtual ~DiPNGPlugin()
destructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getNumberOfFrames(Sint32 &value, const unsigned long pos=0) const
get NumberOfFrames (0028,0008)
@ FATAL_LOG_LEVEL
fatal: very severe error events that will presumably lead the application to abort
Definition: oflog.h:65
DRTReferencedStructureSetSequence ReferencedStructureSetSequence
ReferencedStructureSetSequence (300c,0060) vr=SQ, vm=1, type=1C.
Definition: drtionpl.h:3190
virtual OFCondition read(DcmItem &dataset, const size_t flags)
read temporal coordinates value from dataset.
OFCondition createAndAppendNewNode(DSRDocumentTreeNode *&previousNode, const E_RelationshipType relationshipType, const E_ValueType valueType, const DSRIODConstraintChecker *constraintChecker=NULL)
create a new node and append it to the current one
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbldts.h:134
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition deleteImage(size_t idx)
deletes one of the registered images.
DcmProfileMap profiles_
map of profiles
Definition: dcasccfg.h:253
unsigned long create6xxx3000OverlayData(Uint8 *&buffer, const unsigned int plane, unsigned int &width, unsigned int &height, unsigned long &frames, const unsigned int idx=0)
create bitmap for specified overlay plane and store it in (6xxx,3000) format.
OFListIterator(OFCmdParamPos *) ParamPosIterator
current position in param position list (iterator)
functions for initializing the logging system
Definition: oflog.h:84
Item & getCurrentItem()
get current item in the sequence
DRTContributingEquipmentSequence & getContributingEquipmentSequence()
get ContributingEquipmentSequence (0018,a001)
Definition: drttreat.h:1179
virtual OFBool isAffectedBySpecificCharacterSet() const
check if this object is affected by SpecificCharacterSet at any nesting level.
const T & front() const
returns a constant reference to the first element in the list.
Definition: oflist.h:382
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
OFCondition setSOPInstanceUID(DcmItem &dataset, const DcmTagKey &tagKey, const unsigned long pos=0, const OFBool check=OFTrue)
set SOP instance UID value from dataset.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmCodeString SmokingStatus
SmokingStatus (0010,21a0) vr=CS, vm=1, type=3.
Definition: drtionpl.h:3041
OFCondition getNumberOfBoli(OFString &value, const signed long pos=0) const
get NumberOfBoli (300a,00ed)
Item EmptyItem
empty default item
Definition: drtcctus.h:331
virtual OFCondition setPixelPaddingValue(const Uint16 value, const unsigned long pos=0)
set PixelPaddingValue (0028,0120)
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags=0)
print current SR document to specified output stream.
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
const Item & getItem(const size_t num) const
get particular item in the sequence
DIC_AE origAETitle
title of requestor
Definition: dcmqrcbm.h:157
double getMeanAbsoluteError() const
return mean absolute error
Definition: dcmicmph.h:122
OFCondition addFindingSite(const DSRCodedEntryValue &site, const CID244e_Laterality &laterality=CID244e_Laterality(), const DSRCodedEntryValue &siteModifier=DSRCodedEntryValue(), const OFBool check=OFTrue)
add a 'Finding Site' content item (TID 1419 - Row 2, 3 and 4).
Item & operator=(const Item ©)
assigment operator
const DRTPatientBreedCodeSequence & getPatientBreedCodeSequence() const
get PatientBreedCodeSequence (0010,2293)
Definition: drttreat.h:1413
DRTPatientSetupSequence PatientSetupSequence
PatientSetupSequence (300a,0180) vr=SQ, vm=1, type=1.
Definition: drtplan.h:3296
virtual OFCondition getPatientSpeciesDescription(OFString &value, const signed long pos=0) const
get PatientSpeciesDescription (0010,2201)
void setAnnotationText(const char *value)
sets the current annotation text.
DSRGraphicDataList(const DSRGraphicDataList &lst)
copy constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item & getItem(const size_t num)
get particular item in the sequence
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
virtual OFBool isLeaf() const =0
check if this element is a leaf node in a dataset tree.
OFCondition setSpecifiedMeterset(const OFString &value, const OFBool check=OFTrue)
set SpecifiedMeterset (3008,0042)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtsdcs.h:357
Abstract base class for most classes in module dcmdata.
Definition: dcobject.h:235
OFCondition gotoNextItem()
goto next item in the sequence
@ _43_Scandium
(126605,DCM,"^43^Scandium")
Definition: cid4020.h:58
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrws.h:204
DRTGroupOfPatientsIdentificationSequence(const DRTGroupOfPatientsIdentificationSequence ©)
copy constructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmStorageSCU()
default constructor
DcmByteString(const DcmTag &tag, const Uint32 len)
constructor.
Item class.
Definition: drtrws.h:36
Item class.
Definition: drtrshs.h:36
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTBeamLimitingDeviceSequenceInRTIonBeamsModule(const DRTBeamLimitingDeviceSequenceInRTIonBeamsModule ©)
copy constructor
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
virtual ~Item()
destructor
OFBool useLosslessProcess() const
returns true if lossless compression is desired
Definition: djrparam.h:78
virtual OFString getName() const
Get name of module ("SeriesAndInstanceReferenceMacro")
virtual OFCondition encode(const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *fromPixSeq, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
transcodes (re-compresses) the given compressed DICOM image and stores the result in the given toPixS...
virtual STD_NAMESPACE locale imbue(STD_NAMESPACE locale const &loc)
Redefine default locale for output stream.
virtual OFCondition getMeasuredLateralDimension(OFString &value, const signed long pos=0) const
get MeasuredLateralDimension (0010,1024)
unsigned long getPrintPreviewSize()
gets number of bytes used for the print preview bitmap.
OFDateTime(const OFDateTime &dateTime)
copy constructor
DRTReferencedMeasuredDoseReferenceSequence & operator=(const DRTReferencedMeasuredDoseReferenceSequence ©)
assigment operator
void clear()
clear all internal member variables
void setOverrideKeys(const OFList< OFString > &ovkeys)
Specifies some attributes that should be inserted after conversion.
const char * opt_certificateFile
filename of certificate file we use to authenticate ourselves
Definition: tlsopt.h:152
OFCondition setBeamDescription(const OFString &value, const OFBool check=OFTrue)
set BeamDescription (300a,00c3)
OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrms.h:382
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setCurrentDateTime(const OFBool seconds=OFTrue, const OFBool fraction=OFFalse, const OFBool timeZone=OFFalse)
set the element value to the current system date and time.
DcmIntegerString seriesNumber
Module=General_Series, VR=IS, VM=1, Type 2.
Definition: dcmpstat.h:822
DcmFloatingPointSingle LateralSpreadingDeviceWaterEquivalentThickness
LateralSpreadingDeviceWaterEquivalentThickness (300a,033c) vr=FL, vm=1, type=3.
Definition: drtlsds6.h:169
virtual OFCondition decodeFrame(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel) const
decompresses a single frame from the given pixel sequence and stores the result in the given buffer.
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
OFCondition writeRandomSeed()
Update the random seed file if this was requested by the given command line arguments.
virtual OFCondition checkSelectedValue(const OFBool definedContextGroup=OFFalse) const
check whether the currently selected coded entry is valid.
OFCondition setLeafJawPositions(const OFString &value, const OFBool check=OFTrue)
set LeafJawPositions (300a,011c)
static const OFString m_ModuleName
The name of this module ("ContentItemMacro")
Definition: iodcontentitemmacro.h:463
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtiis.h:622
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmShortString ApplicatorID
ApplicatorID (300a,0108) vr=SH, vm=1, type=1.
Definition: drtas5.h:193
DRTProcedureCodeSequence ProcedureCodeSequence
ProcedureCodeSequence (0008,1032) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3095
virtual OFBool isAllowableTransferSyntax(E_TransferSyntax xfer) const
checks whether the given transfer syntax can be used with this security profile
DcmLongString SourceSerialNumber
SourceSerialNumber (3008,0105) vr=LO, vm=1, type=3.
Definition: drtss.h:434
OFCondition setSourceApplicatorID(const OFString &value, const OFBool check=OFTrue)
set SourceApplicatorID (300a,0291)
virtual ~DRTBlockSequenceInRTBeamsModule()
destructor
DCMTK_DCMNET_EXPORT void DUL_DumpConnectionParameters(DUL_ASSOCIATIONKEY *association, STD_NAMESPACE ostream &outstream)
virtual unsigned long getNumberOfValues()
get number of values stored in this element
bool isAsSevereAsThreshold(LogLevel ll) const
Check whether the message LogLevel is below the appender's threshold.
Definition: appender.h:209
virtual void deleteTreeFromRootNode(T *rootNode)
delete a tree given by its root node.
Definition: dsrtree.h:980
DcmTime ReviewTime
ReviewTime (300e,0005) vr=TM, vm=1, type=2C.
Definition: drtionpl.h:3232
virtual OFCondition setPixelDataProviderURL(const OFString &value, const OFBool check=OFTrue)
set PixelDataProviderURL (0028,7fe0)
Sint32 getConnectionTimeout() const
Returns the timeout configured defining how long SCU will wait for the SCP when requesting an associa...
virtual void updateTreeForOutput()
update the tree for subsequent output, e.g. for being printed or added to an SR document.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFBool isUniversalMatch(const OFBool normalize=OFTrue, const OFBool enableWildCardMatching=OFTrue)
Determine if this element is universal matching.
DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence()
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtstrct.h:1182
virtual OFCondition setIrradiationEventUID(const OFString &value, const OFBool check=OFTrue)
set IrradiationEventUID (0008,3010)
DVPSGraphicAnnotation_PList(const DVPSGraphicAnnotation_PList ©)
copy constructor
DcmPrivateTagCache()
default constructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drttms9.h:391
OFCondition getRealWorldValueIntercept(Float64 &value, const unsigned long pos=0) const
get RealWorldValueIntercept (0040,9224)
OFCondition setStudyInstanceUID(const OFString &value, const OFBool check=OFTrue)
set StudyInstanceUID (0020,000d)
OFCondition gotoNextItem()
goto next item in the sequence
const DcmQueryRetrieveConfig * config_
configuration facility
Definition: dcmqrsrv.h:153
general-purpose 32-bit CRC algorithm.
Definition: ofcrc32.h:34
DSRDateTimeTreeNode(const DSRDateTimeTreeNode &node)
copy constructor.
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
virtual OFCondition setOperatorsName(const OFString &value, const OFBool check=OFTrue)
set OperatorsName (0008,1070)
virtual FGBase * getPerFrame(const Uint32 frameNo, const DcmFGTypes::E_FGType fgType)
Get per-frame functional group.
@ SubjectiveRefraction
(SRF,DCM,"Subjective Refraction")
Definition: cid29.h:120
DcmLongString PersonTelephoneNumbers
PersonTelephoneNumbers (0040,1103) vr=LO, vm=1-n, type=3.
Definition: drtrpis.h:212
void clear()
clear all internal member variables
DRTApplicatorGeometrySequence ApplicatorGeometrySequence
ApplicatorGeometrySequence (300a,0431) vr=SQ, vm=1, type=3.
Definition: drtas1.h:191
const DRTBeamLimitingDeviceToleranceSequence & getBeamLimitingDeviceToleranceSequence() const
get BeamLimitingDeviceToleranceSequence (300a,0048)
Definition: drtitts.h:288
Uint8 quality
for lossy compression, defines compression quality factor
Definition: djeijg12.h:154
virtual OFCondition write(DcmItem &item)
Write functional group to item, will write the Plane Position Sequence.
XMLSTR createXMLString(int nFormat=1, int *pnSize=NULL) const
Create an XML string starting from the current XMLNode.
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid100.h:178
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
OFBool isValid() const
check whether the current internal state is valid.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getScanningSpotSize(Float32 &value, const unsigned long pos=0) const
get ScanningSpotSize (300a,0398)
OFCondition gotoFirstItem()
goto first item in the sequence
@ Brentuximab_89Zr
(126735,DCM,"Brentuximab ^89^Zr")
Definition: cid4021.h:74
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
Item class.
Definition: drtcgis.h:36
virtual OFCondition getMedicalAlerts(OFString &value, const signed long pos=0) const
get MedicalAlerts (0010,2000)
virtual OFCondition decode(const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *pixSeq, DcmPolymorphOBOW &uncompressedPixelData, const DcmCodecParameter *cp, const DcmStack &objStack) const
decompresses the given pixel sequence and stores the result in the given uncompressedPixelData elemen...
static OFCondition createCommon(DcmSegmentation *&segmentation, const Uint16 rows, const Uint16 columns, const IODGeneralEquipmentModule::EquipmentInfo &equipmentInfo, const ContentIdentificationMacro &contentIdentification)
Create those data structures common for binary and fractional segmentations.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Item class.
Definition: drtrlsds.h:36
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
virtual OFCondition setTableTopPitchAngle(const Float32 value, const unsigned long pos=0)
set TableTopPitchAngle (300a,0140)
static DJEncoderLossless * enclol
pointer to encoder for lossless JPEG
Definition: djencode.h:130
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtspcs.h:362
DcmUniqueIdentifier InstanceCreatorUID
InstanceCreatorUID (0008,0014) vr=UI, vm=1, type=3.
Definition: drtiontr.h:3163
SOPInstanceReferenceMacro m_ReferencedPPS
Referenced Performed Procedure Step Sequence.
Definition: modgeneralseries.h:319
OFCondition setPatientSupportAngleTolerance(const OFString &value, const OFBool check=OFTrue)
set PatientSupportAngleTolerance (300a,004c)
DVPSGraphicLayer(const DVPSGraphicLayer ©)
copy constructor
OFBool isEmpty()
check if item is empty
OFBool orderedMode_
mode flag for reading configuration file.
Definition: ofconfig.h:548
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
void clear()
clear all internal member variables
OFCondition setRationalNumeratorValue(const Sint32 value, const unsigned long pos=0)
set RationalNumeratorValue (0040,a162)
const char * getRoleSelectionKey(const char *key) const
returns the role selection key for the given profile
OFCondition getReferencedROINumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedROINumber (3006,0084)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getSourceToBeamLimitingDeviceDistance(OFString &value, const signed long pos=0) const
get SourceToBeamLimitingDeviceDistance (300a,00ba)
virtual OFCondition getClinicalTrialTimePointDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointDescription (0012,0051)
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drtplan.h:3229
OFBool isValid(OFString &sopclassuid)
check if the passed SOP Class UID is equal to the ones stored in this object.
const DiMonoPixel * getMonoInterData() const
get pointer to intermediate pixel data representation
Definition: dimoimg.h:671
OFCondition getWedgeOrientation(OFString &value, const signed long pos=0) const
get WedgeOrientation (300a,00d8)
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setFixationDevicePitchAngle(const Float32 value, const unsigned long pos=0)
set FixationDevicePitchAngle (300a,0199)
DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence()
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtiontr.h:1839
int setRowColumnRatio(const double ratio)
set pixel's rows/column ratio
virtual OFCondition readUntilTag(DcmInputStream &inStream, const E_TransferSyntax ixfer, const E_GrpLenEncoding glenc=EGL_noChange, const Uint32 maxReadLength=DCM_MaxReadLength, const DcmTagKey &stopParsingAtElement=DCM_UndefinedTagKey)
This function reads the information of all attributes which are captured in the input stream and capt...
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
static OFBool isDateTimeQuery(const void *queryData, const size_t querySize)
Check whether the given query data conforms to the VR DT.
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
OFCondition read(DcmItem &item)
read elements from sequence item
DRTPatientSizeCodeSequence & getPatientSizeCodeSequence()
get PatientSizeCodeSequence (0010,1021)
Definition: drtionpl.h:1595
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmUniqueIdentifier SOPClassUID
SOPClassUID (0008,0016) vr=UI, vm=1, type=1.
Definition: drttreat.h:2967
DRTDigitalSignaturesSequence DigitalSignaturesSequence
DigitalSignaturesSequence (fffa,fffa) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3295
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition waitForAssociation(T_ASC_Network *theNet)
wait for incoming A-ASSOCIATE requests, perform association negotiation and serve the requests.
void cleanup()
cleans up cinfo structure, called from destructor and error handlers
MandatoryViewAndSliceProgressionDirectionMacro(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL)
Constructor.
GeneralAnatomyMacro m_Anatomy
General Anatomy Mandatory Macro.
Definition: fgframeanatomy.h:154
static OFBool isTimeQuery(const void *queryData, const size_t querySize)
Check whether the given query data conforms to the VR TM.
Item & getItem(const size_t num)
get particular item in the sequence
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtbrcss.h:349
OFCondition getBlockNumber(OFString &value, const signed long pos=0) const
get BlockNumber (300a,00fc)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
T_DIMSE_BlockingMode blockMode
blocking mode for receive
Definition: dvpsprt.h:271
virtual DcmSegTypes::E_SegmentAlgoType getSegmentAlgorithmType()
Get the Segment Algorithm Type.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
the representation of a Presentation LUT Content SQ item for Stored Print
Definition: dvpspl.h:43
@ TCA_DSS
Digital Signature Standard.
Definition: tlsciphr.h:158
static const size_t HF_alwaysExpandChildrenInline
external: always expand child nodes inline
Definition: dsrtypes.h:287
Interface class for LateralSpreadingDeviceSequence (300a,0332)
Definition: drtlsds.h:28
OFCondition getChannelInnerLength(OFString &value, const signed long pos=0) const
get ChannelInnerLength (300a,0272)
static void setMem(T *dest, const T value, const size_t count)
sets specified number of elements in destination memory to a defined value
Definition: ofbmanip.h:132
OFCondition readSubElement(DcmInputStream &inStream, DcmTag &newTag, const Uint32 newLength, const E_TransferSyntax xfer, const E_GrpLenEncoding glenc, const Uint32 maxReadLength=DCM_MaxReadLength)
This function creates a new DcmElement object on the basis of the newTag and newLength information wh...
const DRTRequestedProcedureCodeSequence & getRequestedProcedureCodeSequence() const
get RequestedProcedureCodeSequence (0032,1064)
Definition: drtras.h:195
virtual OFCondition setPatientWeight(const OFString &value, const OFBool check=OFTrue)
set PatientWeight (0010,1030)
DcmLongString ClinicalTrialSeriesDescription
ClinicalTrialSeriesDescription (0012,0072) vr=LO, vm=1, type=3.
Definition: drtiontr.h:3038
int valueMultiplicityMax
upper limit for VM
Definition: dcdicent.h:382
@ PS_UnknownOption
unknown option detected
Definition: ofcmdln.h:159
OFCondition gotoFirstItem()
goto first item in the sequence
static OFCondition copyFromUint8Array(DcmElement *elem, Container &destination)
Copies Uint8 values from given element to destination container (must support push_back() method).
Definition: iodutil.h:350
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 element to a stream.
E_TransferSyntax repType
transfer syntax
Definition: dcpixel.h:115
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtces.h:542
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtas6.h:158
virtual ~DVSeriesCache()
Destructor.
Definition: dvcache.h:449
DcmVR(DcmEVR evr)
constructor
Definition: dcvr.h:292
size_t find_first_of(const char *s, size_t pos, size_t n) const
determines the first location, loc, between pos and the end of the current string,...
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtspccs.h:327
Item & operator=(const Item ©)
assigment operator
DRTBeamLimitingDeviceSequenceInRTBeamsModule BeamLimitingDeviceSequence
BeamLimitingDeviceSequence (300a,00b6) vr=SQ, vm=1, type=1.
Definition: drtbs.h:725
DcmUnsignedShort Rows
Rows (0028,0010) vr=US, vm=1, type=1.
Definition: drtdose.h:4432
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
Item(const Item ©)
copy constructor
OFCondition getSourceApplicatorWallNominalTransmission(OFString &value, const signed long pos=0) const
get SourceApplicatorWallNominalTransmission (300a,029e)
virtual OFCondition setLongitudinalTemporalOffsetFromEvent(const Float64 value, const unsigned long pos=0)
set LongitudinalTemporalOffsetFromEvent (0012,0052)
DcmCodeString PatientOrientation
PatientOrientation (0020,0020) vr=CS, vm=2, type=2C.
Definition: drtimage.h:5071
OFCondition getPrintBitmapWidthHeight(unsigned long &width, unsigned long &height)
gets width and height of print bitmap.
OFString(const char *s)
Constructs a string object from the array pointed to by the input pointer s.
DSRAcquisitionContextSRConstraintChecker()
default constructor
@ _64_Copper
(3932008,SCT,"^64^Copper")
Definition: cid4020.h:80
Uint32 getTargetPrinterNumberOfFilmSizeIDs(const char *targetID)
returns the number of distinct values (separated by backslash characters) in the FILMSIZEID entry for...
OFCondition removeItem(const OFString &codingSchemeDesignator)
remove the specified item from the list.
@ CountsPerSecond
({counts}/s,UCUM,"Counts per second"), included from CID 84
Definition: cid7181.h:94
E_KeyType getKeyType() const
returns the type of public key stored in this certificate
DcmDecimalString PatientSupportAngle
PatientSupportAngle (300a,0122) vr=DS, vm=1, type=1C.
Definition: drticpds.h:844
static OFCondition getElementFromDataset(DcmItem &dataset, DcmElement &element)
get element from dataset
int runTests(const OFList< OFTestTest * > &tests, const char *module)
Run a list of test cases.
Definition: oftest.h:171
const char * opt_writeSeedFile
filename to which the modified PRNG state is written back
Definition: tlsopt.h:174
OFCondition setStringContentItemFromValue(const E_ValueType valueType, const DSRCodedEntryValue &conceptName, const OFString &stringValue, const OFString &annotationText, const OFBool check)
search for a particular content item (given by the concept name and value type) and set its string va...
OFBool isEmpty()
check if item is empty
virtual OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
virtual OFBool combinationMatches(const DcmElement &keySecond, const DcmElement &candidateFirst, const DcmElement &candidateSecond) const
perform combined attribute matching.
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_VerificationFailed_NoSignature
signature verification failed because the corresponding signature item is incomplete
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
Item & getCurrentItem()
get current item in the sequence
OFCondition setExposureTime(const OFString &value, const OFBool check=OFTrue)
set ExposureTime (0018,1150)
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrss.h:130
int reference_bits
bits/sample to use when processing the reference image
Definition: dcmicmph.h:267
OFConfigFileNode * getSon() const
return pointer to next object in tree on lower level
Definition: ofconfig.h:134
static const OFString m_ModuleName
The module's name ("GeneralIamgeModule")
Definition: modgeneralimage.h:358
int writeRawPPM(FILE *stream, const unsigned long frame, const int bits)
write pixel data to raw PPM file
static OFCondition getOFDateFromString(const char *dicomDate, const size_t dicomDateSize, OFDate &dateValue)
get the specified DICOM date value in OFDate format.
OFCondition gotoNextItem()
goto next item in the sequence
virtual DcmCodecParameter * clone() const
this methods creates a copy of type DcmCodecParameter * it must be overwritten in every subclass.
virtual OFCondition getPatientSize(Float64 &value, const unsigned long pos=0) const
Get Patient's Size (in meters)
int setVoiLutFunction(const EF_VoiLutFunction function)
set VOI LUT function
void init()
This function is a workaround for avoiding a compiler warning on Solaris 2.5.1 using compiler SC 2....
Definition: ofset.h:60
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmDecimalString CumulativeMetersetWeight
CumulativeMetersetWeight (300a,0134) vr=DS, vm=1, type=2.
Definition: drtcps.h:659
DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence()
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtstrct.h:1470
const char * getExplanation()
gets the Window center/width explanation for this VOI Window.
OFString & assign(const char *s, size_t n)
constructs a temporary string from the input and assigns it to the current string.
OFBool isEmpty()
check if item is empty
const Item & getCurrentItem() const
get current item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
unsigned long getNumberOfCorrectSignatures(DVPSObjectType objtype) const
returns number of correct signatures for given object type.
Manages storage and state of the object contained in OFoptional<T>.
Definition: ofoption.h:259
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getPatientWeight(OFString &value, const signed long pos=0) const
get PatientWeight (0010,1030)
OFCondition read(DcmItem &item)
read elements from sequence item
DcmCodeString GeneralAccessoryType
GeneralAccessoryType (300a,0423) vr=CS, vm=1, type=3.
Definition: drtgas.h:201
void clear()
clear all internal member variables
OFCondition setGraphicLayerName(size_t idx, const char *name)
assigns a new unique name to the given graphic layer.
OFBool getProgressNotificationMode() const
Returns the mode that specifies whether the progress of sending and receiving DIMSE messages is notif...
OFCondition selectCharacterSet(DcmItem &dataset, const OFString &toCharset="ISO_IR 192")
select DICOM character sets for the input and output string, between which subsequent calls of conver...
this class provides a simple C++ encapsulation layer for stdio FILE pointers.
Definition: offile.h:305
OFReadWriteLock dataDictLock
the read/write lock used to protect access from multiple threads
Definition: dcdict.h:284
TID1001_ObservationContext & getObservationContext() const
get observation context of this report as defined by TID 1001 (Observation Context).
Definition: tid1500.h:185
Item & operator[](const size_t num)
get particular item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence()
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtgpis.h:128
const DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence() const
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtimage.h:2632
DcmQueryRetrieveMoveContext(const DcmQueryRetrieveMoveContext &other)
private undefined copy constructor
E_DirectoryGenerationMode DirectoryGeneration
mode that is used to generate subdirectories to store the received datasets
Definition: dstorscp.h:312
void convert(const T1 *pixel[3], const unsigned long start, const int bits1, const int bits2, const int planar, const int inverse)
convert intermediate pixel data to output format (render pixel data)
Definition: dicoopxt.h:232
DcmRepresentationListIterator current
current list element for some operations
Definition: dcpixel.h:162
virtual ~DRTProcedureCodeSequence()
destructor
DcmIntegerString ReferencedControlPointIndex
ReferencedControlPointIndex (300c,00f0) vr=IS, vm=1, type=1.
Definition: drticpds.h:852
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
DcmLongString PatientSpeciesDescription
PatientSpeciesDescription (0010,2201) vr=LO, vm=1, type=1C.
Definition: drtimage.h:4815
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
static const size_t XF_omitDataElementName
don't write name of the DICOM data elements. DCMTK-specific format only.
Definition: dctypes.h:223
virtual OFBool canWriteXfer(const E_TransferSyntax oldXfer, const E_TransferSyntax newXfer)
check if this DICOM object can be encoded in the given transfer syntax.
OFList()
default constructor
Definition: oflist.h:341
~OFdirectory_iterator()
Destroy an OFdirectory_iterator freeing the data needed for iterating.
OFCondition setTableTopPitchRotationDirection(const OFString &value, const OFBool check=OFTrue)
set TableTopPitchRotationDirection (300a,0142)
virtual T * Find(const T &item) const
Tries to find a given object in the set.
Definition: ofuoset.h:239
JLS_UIDCreation getUIDCreation() const
returns mode for SOP Instance UID creation
Definition: djcparam.h:130
void * OverlayData
points to current overlay plane data (pixel array)
Definition: dimoimg.h:1148
SiSHA256(SiSHA256 &arg)
private undefined copy constructor
void clear()
clear all internal member variables
virtual OFCondition clear()
clear (remove) attribute value
size_t rfind(const char *pattern, size_t pos=OFString_npos) const
scans the current string backwards, and finds the first occurrence of pattern in the string (from the...
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const void * getOutputPlane(const int dummy) const
get pixel data of specified plane.
const OFString ParamName
parameter name
Definition: ofcmdln.h:120
OFCondition getKVP(Float64 &value, const unsigned long pos=0) const
get KVP (0018,0060)
OFCondition getNumberOfCompensators(Sint32 &value, const unsigned long pos=0) const
get NumberOfCompensators (300a,00e0)
virtual OFCondition setPatientBirthDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDateInAlternativeCalendar (0010,0033)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item class.
Definition: drtcdrs.h:36
const DRTTreatmentSummaryMeasuredDoseReferenceSequence & getTreatmentSummaryMeasuredDoseReferenceSequence() const
get TreatmentSummaryMeasuredDoseReferenceSequence (3008,00e0)
Definition: drttreat.h:1761
virtual ~DimensionIndexItem()
Destructor.
A class for various helper functions.
Definition: ofstd.h:72
Item & operator=(const Item ©)
assigment operator
OFCondition getContourData(Float64 &value, const unsigned long pos=0) const
get ContourData (3006,0050)
virtual OFCondition write(DcmItem &destination)
Write this module to given item.
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition setStudyInstanceUID(const OFString &value, const OFBool check=OFTrue)
set StudyInstanceUID (0020,000d)
int nClear() const
nbr of clear field
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFBool isValidTimeDistributionProtocol(const OFString &value)
Check whether given string is a valid value for attribute Time Distribution Protocol.
Uint16 getValue(const Sint32 pos) const
get value of specified LUT entry.
Definition: dibaslut.h:167
static void createFrameLabelVector(OFString &s, unsigned long numFrames, OFBool isColor)
create content for frame label vector
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtds.h:509
DcmQueryRetrieveConfigAEEntry * AEEntries
array of entries for each storage area
Definition: dcmqrcnf.h:167
OFBool useShutterPolygonal
if true, a polygonal shutter is in use
Definition: dcmpstat.h:886
OFCondition addDataset(DcmDataset *dataset, const E_TransferSyntax datasetXfer=EXS_Unknown, const E_HandlingMode handlingMode=HM_compactAfterSend, const OFBool checkValues=OFTrue)
add a SOP instance from a given DICOM dataset to the list of instances to be transferred.
virtual OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
Get Device Serial Number.
OFCondition setReferencedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceNumber (300c,0051)
void clear()
clear all internal member variables
virtual int compare(const FGBase &rhs) const =0
Comparison operator that compares the normalized value of this object with a given object of the same...
static const size_t HF_renderAllCodes
shortcut: render all codes
Definition: dsrtypes.h:350
DRTConceptNameCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Class for checking the relationship content constraints of the Macular Grid Thickness And Volume Repo...
Definition: dsrmaccc.h:43
virtual DSRDocumentTreeNode * getNode() const
get pointer to current node.
Item & getCurrentItem()
get current item in the sequence
OFCondition getPulseRepetitionInterval(OFString &value, const signed long pos=0) const
get PulseRepetitionInterval (300a,028c)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getBlockDivergence(OFString &value, const signed long pos=0) const
get BlockDivergence (300a,00fa)
void rotateAndFlipFromOrTo(DVPSRotationType rotation, OFBool isFlipped)
adjusts the displayed area coordinates for rotation and flipping.
void * getDataArrayPtr()
get pointer to internal array of pixel data.
Definition: dicopxt.h:174
DcmObject * objNodeValue
pointer to DcmObject instance maintained by this list entry
Definition: dclist.h:65
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual ~Item()
destructor
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setNumberOfPaintings(const OFString &value, const OFBool check=OFTrue)
set NumberOfPaintings (300a,039a)
virtual OFCondition getReferencedFractionGroupNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFractionGroupNumber (300c,0022)
OFCondition setTrim(DVPSTrimMode value)
sets the (optional) trim (printing of borders).
DcmDate LastMenstrualDate
LastMenstrualDate (0010,21d0) vr=DA, vm=1, type=3.
Definition: drtplan.h:3128
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
E_FilenameGenerationMode FilenameGeneration
mode that is used to generate filenames for the received datasets
Definition: dstorscp.h:314
virtual OFCondition getDoubleFloatRealWorldValueFirstValueMapped(Float64 &value, const unsigned long pos=0) const
Get Double Float Real World Value First Value Mapped.
@ Knee
(72696002,SCT,"Knee")
Definition: cid4031.h:138
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTReferencedRTPlanSequenceInRTGeneralPlanModule & getReferencedRTPlanSequence()
get ReferencedRTPlanSequence (300c,0002)
Definition: drtplan.h:1796
void AddProcessToTable(int pid, T_ASC_Association *assoc)
This function adds a process to the table that stores process information.
virtual OFCondition determineDecompressedColorModel(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, OFString &decompressedColorModel) const
determine color model of the decompressed image
OFUnorderedSet< T > Difference(const OFUnorderedSet< T > &other) const
Determines the difference this - other, i.e.
Definition: ofuoset.h:384
const Item & getCurrentItem() const
get current item in the sequence
DRTPatientSizeCodeSequence PatientSizeCodeSequence
PatientSizeCodeSequence (0010,1021) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2794
const unsigned long CIF_KeepYCbCrColorModel
don't convert YCbCr (Full and Full 4:2:2) color images to RGB
Definition: diutils.h:74
virtual DcmEVR ident() const
get element type identifier
OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags=0, const char tripletSeparator='/', const char itemSeparator=',') const
print list of graphic data.
OFCondition setTableTopPitchAngle(const Float32 value, const unsigned long pos=0)
set TableTopPitchAngle (300a,0140)
DRTSourceSequence SourceSequence
SourceSequence (300a,0210) vr=SQ, vm=1, type=1.
Definition: drtplan.h:3317
OFCondition read(DcmItem &item)
read elements from sequence item
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtlsds7.h:318
void setSecField(const char *buffer, const Uint16 length)
Sets content of secondary field.
DcmDictEntryListConstIterator begin() const
static double atof(const char *s, OFBool *success=NULL)
converts a floating-point number from an ASCII decimal representation to internal double-precision fo...
DSRNumericMeasurementValue(const OFString &numericValue, const DSRCodedEntryValue &measurementUnit, const DSRCodedEntryValue &valueQualifier, const OFBool check=OFTrue)
constructor
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
int setPresentationLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation=NULL, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set LUT for presentation transformation.
a simple string class that implements a subset of std::string.
Definition: ofstring.h:81
int opt_acse_timeout
timeout for ACSE operations
Definition: wlmactmg.h:77
OFCondition getReferencedFrameNumber(OFString &value, const signed long pos=0) const
get ReferencedFrameNumber (0008,1160)
OFVector()
default constructor.
Definition: ofvector.h:86
OFDate(const OFDate &dateVal)
copy constructor
virtual OFCondition write(DcmItem &destination)
Write this module to given item.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Uint16 MaxValue
maximum LUT value
Definition: dibaslut.h:287
OFMap< Uint32, Uint32 >::const_iterator const_iterator
Const iterator for iterating over the frames of a stack.
Definition: stack.h:47
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
void setMaxDepth(size_t maxDepth)
Set maximum depth of this diagnostic context.
virtual OFBool isValid() const
check whether the content item is valid.
DSRTreeNode * getPrev() const
get pointer to previous tree node
Definition: dsrtree.h:88
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtrics.h:354
DcmCodeString PrimaryDosimeterUnit
PrimaryDosimeterUnit (300a,00b3) vr=CS, vm=1, type=1.
Definition: drtibs.h:1027
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtaadcs.h:324
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3148
DicomImage(DcmObject *object, E_TransferSyntax xfer, const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation=NULL, const unsigned long flags=0, const unsigned long fstart=0, const unsigned long fcount=0)
constructor, use a given DcmObject with specified modality LUT.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTBlockSequenceInRTBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition insert(DcmItem *, unsigned long=DCM_EndOfListIndex, OFBool=OFFalse)
method inherited from base class that is useless in this class
Definition: dcpixseq.h:276
virtual OFCondition setClinicalTrialSubjectReadingID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectReadingID (0012,0042)
double MinDensity
minimum optical density (-1 if unset)
Definition: didispfn.h:455
virtual OFCondition setInstanceCreationDate(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationDate (0008,0012)
virtual OFCondition setClinicalTrialProtocolID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolID (0012,0020)
OFBool emptyPageWarning()
checks whether any of the image boxes has an image box position assigned.
virtual OFCondition setMeasuredLateralDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredLateralDimension (0010,1024)
DVPSTextObject_PList(const DVPSTextObject_PList ©)
copy constructor
QRResponse & operator=(const QRResponse &other)
Private undefined assignment operator.
OFBool consistencyCheck() const
get current status of the "consistency check" mode.
Definition: dcddirif.h:447
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtblds6.h:209
DcmLongString PatientID
PatientID (0010,0020) vr=LO, vm=1, type=2.
Definition: drtstrct.h:2729
InstanceStruct(const OFString &sopClassUID, const OFString &instanceUID)
constructor
@ _72_Arsenic
(2705002,SCT,"^72^Arsenic")
Definition: cid4020.h:90
Internal structure defining the list items.
Definition: dvcache.h:71
OFCondition addFrame(PixelType *data, const size_t numPixels, const OFVector< FGBase * > &perFrameInformation)
Method that adds a frame to the Parametric Map using the underlying binary data type.
static size_t getCipherSuiteKeySize(size_t idx)
returns the symmetric key size used by the ciphersuite with the given index
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
DRTPatientSetupSequence & operator=(const DRTPatientSetupSequence ©)
assigment operator
const DRTGeneralAccessorySequence & getGeneralAccessorySequence() const
get GeneralAccessorySequence (300a,0420)
Definition: drtes.h:369
Item & getCurrentItem()
get current item in the sequence
OFCondition getReferenceImageNumber(Sint32 &value, const unsigned long pos=0) const
get ReferenceImageNumber (300a,00c8)
OFBool isConnected() const
Get current connection status.
Uint32 getInStackPos(const Uint32 frameNumber) const
Get the stack position for a given frame.
static OFCondition getISOFormattedDateFromString(const OFString &dicomDate, OFString &formattedDate, const OFBool supportOldFormat=OFTrue)
get the specified DICOM date value in ISO format.
virtual ~DcmDate()
destructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcims.h:543
const DRTDVHSequence & getDVHSequence() const
get DVHSequence (3004,0050)
Definition: drtdose.h:2038
Uint32 fieldOffset_
offset within the current DICOM element, in bytes
Definition: dcwcache.h:130
OFString & getStringComponentFromDataset(DcmItem *dataset, const DcmTagKey &key, OFString &result, const unsigned long pos, OFBool searchIntoSub=OFFalse)
get string value component from dataset and report an error (if any)
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtdcs.h:355
DVPSTextObject()
default constructor
unsigned getConversionFlags() const
get flags controlling converter behavior, e.g. specifying how illegal character sequences should be h...
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
DVPSGraphicObject * addGraphicObject(size_t layer, DVPSObjectApplicability applicability=DVPSB_allImages)
creates a new graphic object on the given layer.
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
virtual OFCondition setPerformedProcedureStepID(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepID (0040,0253)
DVPScharacterSet getCharset()
gets the specific character set for this presentation state.
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual void clearData()
Clears all data belonging to this module (rules are kept)
virtual unsigned long getOutputDataSize(const int bits=0) const
get number of bytes required for the rendered output of a single frame
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtdcs.h:345
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcsrs.h:308
virtual OFCondition setPatientBirthTime(const OFString &value, const OFBool check=OFTrue)
set PatientBirthTime (0010,0032)
virtual OFBool canInsertSubTree(const DSRDocumentSubTree *tree, const E_AddMode addMode=AM_belowCurrent, const E_RelationshipType defaultRelType=RT_unknown) const
check whether specified subtree can be inserted at the current position, i.e. added to the current co...
Class representing an object of the "Segmentation SOP Class".
Definition: segdoc.h:53
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getPrintBitmapWidth(unsigned long &width)
gets width of print bitmap.
this class encapsulates an attribute tag (group, element) and a VR.
Definition: dctag.h:57
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
DcmSignedShort RadiationChargeState
RadiationChargeState (300a,0306) vr=SS, vm=1, type=1C.
Definition: drtibs.h:1031
virtual OFCondition write(DcmItem &item)
Write Derivation Image Sequence (containing contain zero or more items) to given item.
OFString NumericValue
Numeric Value (VR=DS, type 1 within a type 2 sequence)
Definition: dsrnumvl.h:539
DcmLongString StudyDescription
StudyDescription (0008,1030) vr=LO, vm=1, type=3.
Definition: drtplan.h:3081
E_ValueType TargetValueType
value type of the referenced node (target content item).
Definition: dsrreftn.h:309
CID10033_CTReconstructionAlgorithm(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
const DRTRangeModulatorSettingsSequenceInRTIonBeamsModule & getRangeModulatorSettingsSequence() const
get RangeModulatorSettingsSequence (300a,0380)
Definition: drticps.h:495
OFCondition getReferencedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition alignValue()
align the element value to an even length (padding)
OFCondition getNumberOfBlocks(OFString &value, const signed long pos=0) const
get NumberOfBlocks (300a,00f0)
DRTROIPhysicalPropertiesSequence & operator=(const DRTROIPhysicalPropertiesSequence ©)
assigment operator
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
virtual OFCondition getPatientSexNeutered(OFString &value, const signed long pos=0) const
get PatientSexNeutered (0010,2203)
DcmCodeString LongitudinalTemporalEventType
LongitudinalTemporalEventType (0012,0053) vr=CS, vm=1, type=1C.
Definition: drtiontr.h:2937
OFCondition read(const OFString &filename, const size_t flags=0)
read XML document from file.
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
DRTReasonForPerformedProcedureCodeSequence ReasonForPerformedProcedureCodeSequence
ReasonForPerformedProcedureCodeSequence (0040,1012) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4210
DiImage * createImage(const unsigned long fstart, const unsigned long fcount) const
create copy of current image object
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmDecimalString PatientSupportAngle
PatientSupportAngle (300a,0122) vr=DS, vm=1, type=3.
Definition: drtes.h:544
void setActiveAnnotation(OFBool value)
switches annotation printing on/off
Definition: dviface.h:1416
virtual OFCondition setFrameAcquisitionDateTime(const OFString &value, const OFBool checkValue=OFTrue)
Set Frame Acquisition Date Time.
@ ESSC_NonPatient
non-patient objects
Definition: dcuid.h:48
OFMap< DcmFGTypes::E_FGType, FGBase * >::iterator iterator
Iterator type for iterating functional groups.
Definition: fg.h:45
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setTargetMaximumDose(const OFString &value, const OFBool check=OFTrue)
set TargetMaximumDose (300a,0027)
DcmIntegerString ReferencedControlPointIndex
ReferencedControlPointIndex (300c,00f0) vr=IS, vm=1, type=1C.
Definition: drtbvcps.h:194
DcmLongString DeidentificationMethod
DeidentificationMethod (0012,0063) vr=LO, vm=1-n, type=1C.
Definition: drtiontr.h:2858
void presentationLUTNCreate(DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset)
implements the N-CREATE operation for the Presentation LUT SOP Class.
DiColorRotateTemplate(const DiColorPixel *pixel, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int degree)
constructor
Definition: dicorot.h:57
DcmRLECodecParameter & operator=(const DcmRLECodecParameter &)
private undefined copy assignment operator
virtual OFBool operator>=(const OFTime &timeVal) const
comparison operator (greater than or equal) Please note that the time values are first transformed to...
DcmDecimalString BeamMeterset
BeamMeterset (300a,0086) vr=DS, vm=1, type=3.
Definition: drtrbs8.h:281
const Item & getItem(const size_t num) const
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
Item(const Item ©)
copy constructor
A helper type for making OFvariant default constructible.
Definition: ofvriant.h:736
OFCondition setPersonName(const OFString &value, const OFBool check=OFTrue)
set PersonName (0040,a123)
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setClinicalTrialSiteName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteName (0012,0031)
const char * getTargetPrinterFilmSizeID(const char *targetID, Uint32 idx, OFString &value)
returns one value from the FILMSIZEID entry for the printer with the given target ID from the configu...
DVPSAnnotationContent * getAnnotationBox(size_t idx)
returns a pointer to the annotation with the given index or NULL if it does not exist.
Class for graphic data items.
Definition: dsrscogr.h:40
virtual OFCondition setDataType(const OFString &value, const OFBool checkValue=OFTrue)
Set Data Type.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item & operator=(const Item ©)
assigment operator
const Item & getCurrentItem() const
get current item in the sequence
DcmCodeString QualityControlSubject
QualityControlSubject (0010,0200) vr=CS, vm=1, type=3.
Definition: drtimage.h:4801
virtual DcmEVR ident() const
get element type identifier
virtual void clear()
Deletes all objects from this registry.
DcmCodeString Modality
Modality: (CS, 1, 1)
Definition: dsrdoc.h:1398
OFCondition flushBuffer(SiMAC &mac)
flushes the internal buffer to the given MAC and to dumpFile if open
virtual ~Item()
destructor
const Item & getCurrentItem() const
get current item in the sequence
OFCondition unlockExclusive()
removes an exlusive lock on the database if any.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
void clear()
clear all internal member variables
const DRTReferencedDoseSequence & getReferencedDoseSequence() const
get ReferencedDoseSequence (300c,0080)
Definition: drtbs.h:504
const DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence() const
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtplan.h:1562
virtual OFCondition getQueryRetrieveView(OFString &value, const signed long pos=0) const
get QueryRetrieveView (0008,0053)
DVPSPrintSCP(DVInterface &iface, const char *cfname)
constructor
virtual ~Item()
destructor
DcmIntegerString SeriesNumber
SeriesNumber (0020,0011) vr=IS, vm=1, type=2.
Definition: drtstrct.h:2930
static double getTimeInHours(const unsigned int hour, const unsigned int minute, const double second, const double timeZone=0, const OFBool normalize=OFTrue)
get the given time in hours.
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
OFCondition assign(DVPSSoftcopyVOI &voi)
assigns the contents of this VOI LUT to the references passed as parameters.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
static void setCustomParameters(JlsCustomParameters &custom, Uint16 bitsAllocated, Uint16 nearLosslessDeviation, const DJLSCodecParameter *djcp)
compute the parameters for the CharLS JlsCustomParameters struct, which maintains the JPEG-LS encodin...
OFString CodeValue
Code Value (VR=SH/UC/UR, type 1)
Definition: dsrcodvl.h:711
void clear()
clear all internal member variables
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getClinicalTrialTimePointDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointDescription (0012,0051)
DcmCodeString specificCharacterSet
Module=SOP_Common, VR=CS, VM=1-n, Type 1C.
Definition: dcmpstat.h:870
OFBool getVerbosePCMode() const
Returns the verbose presentation context mode configured specifying whether details on the presentati...
DcmOutputStream(DcmConsumer *initial)
protected constructor, to be called from derived class constructor
Item & operator[](const size_t num)
get particular item in the sequence
DcmCodeString ValueType
ValueType (0040,a040) vr=CS, vm=1, type=1.
Definition: drtqds.h:367
OFCondition getPersonAddress(OFString &value, const signed long pos=0) const
get PersonAddress (0040,1102)
Item(const Item ©)
copy constructor
virtual OFCondition getAdmittingDiagnosesDescription(OFString &value, const signed long pos=0) const
get AdmittingDiagnosesDescription (0008,1080)
Uint16 getFirstValue() const
get value of first LUT entry.
Definition: dibaslut.h:176
OFConfigFileNode * anchor_
anchor to data tree
Definition: ofconfig.h:516
virtual OFCondition read(DcmItem &dataset)
read object from dataset
OFList< DVPSGraphicObject * > list_
the list maintained by this object
Definition: dvpsgrl.h:113
@ VT_PName
DICOM Value Type: PNAME.
Definition: dsrtypes.h:599
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
DcmDecimalString GantryAngle
GantryAngle (300a,011e) vr=DS, vm=1, type=3.
Definition: drtimage.h:5328
virtual ~DiMonoOutputPixelTemplate()
destructor
Definition: dimoopxt.h:138
void clear()
returns the stack to default-constructed state, i.e.
void clear()
clear all internal member variables
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtccs.h:335
virtual OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
char * theCString
the "C" string pointer
Definition: ofstring.h:836
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const DRTEncryptedAttributesSequence & getEncryptedAttributesSequence() const
get EncryptedAttributesSequence (0400,0500)
Definition: drtplan.h:1442
OFCondition addImageReference(DcmItem &dset, const char *aetitle=NULL, const char *filesetID=NULL, const char *filesetUID=NULL)
adds a reference to an image to this presentation state.
Uint32 length_
length of raw data block, in bytes
Definition: dccfenmp.h:114
Item(const Item ©)
copy constructor
const unsigned long CIF_IgnoreModalityLutBitDepth
ignore third value of the modality LUT descriptor, determine bit depth automatically
Definition: diutils.h:83
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
Item & getItem(const size_t num)
get particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence()
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtimage.h:2854
DiTIFFLZWPredictor predictor
TIFF predictor type.
Definition: dipitiff.h:145
FilterInterface *const m_pFilter
a pointer to the actual filter.
Definition: dcfilter.h:206
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFnullpt_t OFnullopt
A wildcard global constant to initialize an OFoptional object with disengaged state.
Definition: ofoption.h:82
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpcxs.h:347
virtual void clear()
clear all internal member variables
virtual OFCondition checkValue(const OFString &vm="", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM.
DcmFileConsumer(const OFFilename &filename)
constructor
OFCondition getToleranceTableNumber(Sint32 &value, const unsigned long pos=0) const
get ToleranceTableNumber (300a,0042)
DRTReferencedRTPlanSequenceInRTGeneralPlanModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getPatientSupportAngle(Float64 &value, const unsigned long pos=0) const
get PatientSupportAngle (300a,0122)
static void initialize()
initialize this context group explicitly.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
DRTContrastBolusAgentSequence & getContrastBolusAgentSequence()
get ContrastBolusAgentSequence (0018,0012)
Definition: drtimage.h:2470
DSRRadiopharmaceuticalRadiationDoseSRConstraintChecker()
default constructor
virtual void transferInit()
initialize the transfer state of this object.
@ EMT_SHA384
SHA-384.
Definition: sitypes.h:106
int getDepth() const
Get the number of bits per sample of the internal representation.
Definition: drmimage.h:99
Interface class for dcmimgle/dcmimage module.
Definition: dcmimage.h:58
Interface class for ReferencedMeasuredDoseReferenceSequence (3008,0080)
Definition: drtrmdrs.h:28
OFCondition getReferencedROINumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedROINumber (3006,0084)
DcmCodeString QueryRetrieveView
QueryRetrieveView (0008,0053) vr=CS, vm=1, type=1C.
Definition: drtstrct.h:3123
virtual void SetInstitutionId(const unsigned int)
Set value in a member variable in a derived class.
Definition: wlds.h:462
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTSegmentedPropertyTypeModifierCodeSequence SegmentedPropertyTypeModifierCodeSequence
SegmentedPropertyTypeModifierCodeSequence (0062,0011) vr=SQ, vm=1, type=3.
Definition: drtrics.h:370
DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence()
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtdose.h:2152
OFBool isInverse()
checks whether current presentation LUT is inverse, i.e.
DcmUnsignedShort graphicLayerRecommendedDisplayGrayscaleValue
VR=US, VM=1, Type 3.
Definition: dvpsgl.h:159
virtual OFBool stopAfterConnectionTimeout()
This method can be used to return from the listen() loop in a controlled way.
T * get(const log4cplus::tstring &name) const
Used to retrieve an object from the registry.
Definition: factory.h:173
@ GammaDistributionScaleParameter
(113295,DCM,"Gamma Distribution Scale Parameter"), included from CID 7272
Definition: cid7469.h:136
Item & getCurrentItem()
get current item in the sequence
Uint8 getOverlayGroup() const
get group number of overlay repeating group managed by this object.
Definition: dvpsov.h:83
Uint32 realLength
number of characters of the internal string representation
Definition: dcbytstr.h:457
OFCondition getRationalDenominatorValue(Uint32 &value, const unsigned long pos=0) const
get RationalDenominatorValue (0040,a163)
DRTConversionSourceAttributesSequence ConversionSourceAttributesSequence
ConversionSourceAttributesSequence (0020,9172) vr=SQ, vm=1, type=1C.
Definition: drttreat.h:3020
CodeSequenceMacro(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL)
Constructor.
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition insertSubAtCurrentPos(DcmDirectoryRecord *dirRec, OFBool before=OFFalse)
insert new directory child record at the current position.
OFBool operator!=(const DSRSpatialCoordinates3DValue &coordinatesValue) const
comparison operator "not equal"
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
void notifyRequestedUnencryptedDICOMConnection(Uint32 status, const char *txt)
sends RequestedUnencryptedDICOMConnection notification to server.
OFCondition status_
status
Definition: dcostrmf.h:106
virtual OFBool hasValidValue() const
check whether the value of the content item is valid.
OFCondition gotoFirstItem()
goto first item in the sequence
DRTOperatorIdentificationSequence & getOperatorIdentificationSequence()
get OperatorIdentificationSequence (0008,1072)
Definition: drtionpl.h:1535
DcmCodeString RecognizableVisualFeatures
RecognizableVisualFeatures (0028,0302) vr=CS, vm=1, type=3.
Definition: drtimage.h:5096
virtual void close()=0
Closes the transport connection.
virtual OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
Get Study Instance UID.
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
write object to a stream
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_UnknownValueType
error: an unknown value type is used
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtssrcs.h:327
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getWedgePosition(OFString &value, const signed long pos=0) const
get WedgePosition (300a,0118)
virtual OFCondition renderHTML(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, size_t &annexNumber, const size_t flags) const
render spatial coordinates value in HTML/XHTML format
Item class.
Definition: drtws.h:36
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getContourData(OFString &value, const signed long pos=0) const
get ContourData (3006,0050)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition openFile(const OFString &filename)
Opens the JPEG file specified by the given filename.
DcmDirectoryRecord * buildStructReportRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update structure reporting record and copy required values from dataset
WlmDataSourceType
Data source types.
Definition: wltypdef.h:51
virtual OFCondition getStudyTime(OFString &value, const signed long pos=0) const
get StudyTime (0008,0030)
DcmIntegerString NumberOfWedges
NumberOfWedges (300a,00d0) vr=IS, vm=1, type=1.
Definition: drtbs.h:765
OFBool isPosResponseRequested()
Informs (the server) whether a positive response was requested.
Definition: dcuserid.h:228
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
OFCondition sendSeries(const char *targetID, const char *studyUID, const char *seriesUID)
sends a complete series over network to a different DICOM peer.
Definition: dviface.h:819
DcmObject * elem(const unsigned long number) const
returns n-th element from stack without removing it.
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DRTDVHReferencedROISequence & getDVHReferencedROISequence()
get DVHReferencedROISequence (3004,0060)
Definition: drtdvhs.h:218
virtual DiImage * createFlip(const int horz, const int vert) const =0
create a flipped copy of the current image (abstract).
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtpsics.h:341
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
const char * getCurveLabel()
gets the curve label string if present.
Definition: dvpscu.h:101
@ FieldMapMRSignalIntensity
(110807,DCM,"Field Map MR Signal Intensity"), included from CID 7180
Definition: cid7469.h:146
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtrscs.h:349
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtrpcs.h:339
OFCondition setDeviceDescription(const OFString &value, const OFBool check=OFTrue)
set DeviceDescription (0050,0020)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setText(const char *text)
assigns a new "unformatted text value" for this text object.
OFCondition findAndGetString(const DcmTagKey &tagKey, const char *&value, Uint32 &length, const OFBool searchIntoSub=OFFalse)
find element and get value as a reference to a C string.
OFCondition setFixationDevicePosition(const OFString &value, const OFBool check=OFTrue)
set FixationDevicePosition (300a,0198)
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
PixelType * getFrame(const size_t frameNumber)
Type-specific getFrame() method that returns Float32, Uint16, or whatever is used in this Parametric ...
DcmShortText & operator=(const DcmShortText &obj)
assignment operator
@ MaximumSlope
(126375,DCM,"Maximum Slope"), included from CID 4109
Definition: cid7469.h:306
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getXRayImageReceptorAngle(Float64 &value, const unsigned long pos=0) const
get XRayImageReceptorAngle (3002,000e)
void * theKey
thread specific data key resource
Definition: ofthread.h:245
OFString pw_dir
the home directory.
Definition: ofpwd.h:88
OFCondition write(DcmItem &item)
write elements to sequence item
size_t getNumberOfItems() const
get number of items in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
DRTMultiplexedAudioChannelsDescriptionCodeSequence(const DRTMultiplexedAudioChannelsDescriptionCodeSequence ©)
copy constructor
DVPSGraphicLayer * clone()
clone method.
Definition: dvpsgl.h:49
void copyElementType1C(DcmItem *dataset, const DcmTagKey &key, DcmDirectoryRecord *record, const OFFilename &sourceFilename)
copy type 1C element from given dataset to directory record
Definition: dcddirif.h:1458
Class representing a statistic for Tracks in Track Set.
Definition: trcstatistic.h:130
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
DCMTK_DCMNET_EXPORT OFCondition DIMSE_createFilestream(const OFFilename &filename, const T_DIMSE_C_StoreRQ *request, const T_ASC_Association *assoc, T_ASC_PresentationContextID presIdCmd, int writeMetaheader, DcmOutputFileStream **filestream)
create a DICOM file, populate the meta-header from the content of the given C-STORE request,...
OFCondition setPixelAspectRatio(const OFString &verticalPixelSize, const OFString &horizontalPixelSize, const OFBool checkValue=OFTrue)
Set Pixel Aspect Ratio.
Definition: modimagepixelvariant.h:246
@ EIS_InvalidDocument
invalid dataset/file
Definition: diutils.h:230
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
unsigned long getHeight() const
Get the number of pixels in one column.
Definition: drmimage.h:91
@ YBR_FULL_CBComponent
(110838,DCM,"YBR FULL CB Component"), included from CID 7180
Definition: cid7469.h:212
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setResponsibleOrganization(const OFString &value, const OFBool check=OFTrue)
set ResponsibleOrganization (0010,2299)
OFBool createPStateCache()
creates cache of referencing pstates for the current image
static void copyElement(const DcmTagKey &tag, DcmItem &src, DcmItem &dest)
Copy element defined by tag from source item to destination item.
OFdirectory_iterator(const OFpath &path)
Construct an OFdirectory_iterator for iterating over all the files (and folders) inside the given loc...
OFCondition write(DcmItem &item)
write elements to sequence item
DcmIntegerString ReferencedBeamNumber
ReferencedBeamNumber (300c,0006) vr=IS, vm=1, type=1.
Definition: drtrbs2.h:138
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
this class provides the main interface to the dcmsign module - it allows to create,...
Definition: dcsignat.h:56
OFString m_affectedSOPClassUID
Optional response field according to part 7 of the standard.
Definition: scu.h:97
@ EJM_sequential
JPEG extended sequential.
Definition: djutils.h:64
virtual OFCondition setValueType(const OFString &value, const OFBool checkValue=OFTrue)
Set ValueType.
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition gotoNextItem()
goto next item in the sequence
void suppressPixel(const T *src[], T *dest[])
shrink image by an integer divisor.
Definition: discalet.h:412
Item class.
Definition: drtrris6.h:36
int lookup(const DcmQuantPixel &colorP) const
looks up the given color in the hash table.
Definition: diqthash.h:64
OFCondition checkBasicCardiacAttributes(DcmItem *dataset, const OFFilename &filename)
check attributes for compliance with Basic Cardiac application profile
@ TimeToPeak
(113069,DCM,"Time To Peak"), included from CID 4108
Definition: cid7469.h:276
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item & getCurrentItem()
get current item in the sequence
void setVR(const DcmVR &avr)
assign new VR value
Definition: dcvr.h:335
This header defines the LogLevel type.
OFCondition getDeviceDescription(OFString &value, const signed long pos=0) const
get DeviceDescription (0050,0020)
virtual OFCondition setBluePaletteColorLookupTableData(const Uint16 *value, const unsigned long count)
set BluePaletteColorLookupTableData (0028,1203)
virtual OFCondition addPerFrame(const Uint32 frameNo, const FGBase &group)
Add functional group for given frame.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition readSegmentationType(DcmItem &item)
Read Segmentation Type of segmentation object.
double getIlluminationValue() const
get illumination value.
Definition: didispfn.h:272
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setBrachyApplicationSetupDose(const OFString &value, const OFBool check=OFTrue)
set BrachyApplicationSetupDose (300a,00a4)
OFCondition getRedPaletteColorLookupTableDescriptor(Uint16 &value, const unsigned long pos=0) const
get RedPaletteColorLookupTableDescriptor (0028,1101)
const Item & getItem(const size_t num) const
get particular item in the sequence
const DRTContrastBolusAgentSequence & getContrastBolusAgentSequence() const
get ContrastBolusAgentSequence (0018,0012)
Definition: drtimage.h:2476
DSRSpatialCoordinates3DValue & operator=(const DSRSpatialCoordinates3DValue &coordinatesValue)
assignment operator
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
OFCondition getFixationLightPolarAngleTolerance(OFString &value, const signed long pos=0) const
get FixationLightPolarAngleTolerance (300a,0155)
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
get Modality (0008,0060)
virtual OFCondition getICCProfile(Uint8 *&value, unsigned long *count=NULL) const
get ICCProfile (0028,2000)
Implementation of DCMR Context Group: CID 11 - Route of Administration.
Definition: cid11.h:35
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmRepresentationEntry(const DcmRepresentationEntry &oldEntry)
copy constructor
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
log4cplus::tstring name
Appenders are named.
Definition: appender.h:230
virtual const OFVector< TrcTrackSetStatistic * > & getTrackSetStatistics()
Get access to all statistics defined for the Tracks in this Track Set.
OFCondition setDVHType(const OFString &value, const OFBool check=OFTrue)
set DVHType (3004,0001)
DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence()
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtplan.h:1508
DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence()
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtplan.h:1496
virtual OFCondition getPatientBreedDescription(OFString &value, const signed long pos=0) const
get PatientBreedDescription (0010,2292)
This is a I2DImgSource implementation that can parse BMP files and convert them into DICOM images.
Definition: i2dbmps.h:33
virtual ~DcmUnsignedLong()
destructor
OFCondition setPatientSupportRotationDirection(const OFString &value, const OFBool check=OFTrue)
set PatientSupportRotationDirection (300a,0123)
OFCondition getControlPointRelativePosition(OFString &value, const signed long pos=0) const
get ControlPointRelativePosition (300a,02d2)
OFCondition setLUTExplanation(const OFString &value, const OFBool check=OFTrue)
set LUTExplanation (0028,3003)
DcmCodeString SpecificCharacterSet
SpecificCharacterSet (0008,0005) vr=CS, vm=1-n, type=1C.
Definition: drttreat.h:2971
OFBool haveBoundingBox()
checks if this text object contains bounding box.
Uint32 FirstFrame
first frame to be processed
Definition: diimage.h:619
OFCondition selectApplicationProfile(const E_ApplicationProfile profile)
select given application profile
OFBool addParam(const char *param, const OFCmdParam::E_ParamMode mode=OFCmdParam::PM_Mandatory)
adds an item to the list of valid parameters (without description)
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getKVP(OFString &value, const signed long pos=0) const
get KVP (0018,0060)
DRTContourSequence & operator=(const DRTContourSequence ©)
assigment operator
static void copyGeneralStudyModule(DcmItem &src, DcmItem &dest)
Copy General Study Module attributes.
virtual FGBase * clone() const
Returns a deep copy of this object.
virtual OFCondition getCenterWidthExplanation(Float64 &windowCenter, Float64 &windowWidth, OFString &explanation)
Get tripe of information: Window Center, Window With, Window Center and Window Width Explanation.
virtual OFCondition installCompressionFilter(E_StreamCompression filterType)
installs a compression filter for the given stream compression type, which should be neither ESC_none...
int copy(const OFStack< T > &x)
copy assignment of a stack.
Definition: ofstack.h:275
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFBool getAuthenticationParams(OFString &privKeyFile, OFString &certFile, const char *&passphrase, int &privKeyFormat, int &certFormat) const
Returns OFTrue if authentication is enabled.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtssrs.h:422
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
SiMD5 & operator=(SiMD5 &arg)
private undefined copy assignment operator
OFBool isEmpty()
check if item is empty
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmTime InstanceCreationTime
InstanceCreationTime (0008,0013) vr=TM, vm=1, type=3.
Definition: drtdose.h:4646
int checkInterData(const int mode=1)
check intermediate pixel representation for consistency
OFCondition setTemplateNumber(const OFString &value, const OFBool check=OFTrue)
set TemplateNumber (300a,0240)
virtual OFBool hasSelectedValue() const
check whether a coded entry is selected as the current value
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition getExposureTime(OFString &value, const signed long pos=0) const
get ExposureTime (0018,1150)
OFBool isEmpty()
check if item is empty
Definition: dulstruc.h:250
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtds.h:495
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setFilmSizeID(const char *value)
sets the (optional) film size ID.
const DSRCodedEntryValue ConceptName
concept name to check for
Definition: dsrdnflt.h:286
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
size_t getNumberOfItems() const
get number of items in the sequence
T_DIMSE_Priority priority
priority of request
Definition: dcmqrcbg.h:143
DcmDateTime m_FrameAcquisitionDateTime
Frame Acquisition DateTime (DT, 1, 1C)
Definition: fgfracon.h:348
virtual OFCondition getInstanceCreatorUID(OFString &value, const signed long pos=0) const
get InstanceCreatorUID (0008,0014)
virtual OFBool isValid() const
check whether the current image reference value is valid.
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition setQueryRetrieveView(const OFString &value, const OFBool check=OFTrue)
set QueryRetrieveView (0008,0053)
virtual OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
const DcmPixelData & getPixelData() const
get PixelData (7fe0,0010)
Definition: drtimage.h:2378
@ EBO_BigEndian
big endian
Definition: dcxfer.h:136
@ Shoulder
(16982005,SCT,"Shoulder")
Definition: cid4031.h:208
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getSpatialResolution(Float64 &value, const unsigned long pos=0) const
get SpatialResolution (0018,1050)
virtual void reset()
Reset this class image and DICOM object members.
OFBool getRefuseAssociation() const
Returns whether SCP should refuse any association request no matter what the SCU proposes.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrpcs.h:324
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtmucs.h:337
DVPSGraphicAnnotation(const DVPSGraphicAnnotation ©)
copy constructor
virtual size_t gotoNamedChildNode(const DSRCodedEntryValue &conceptName)
set internal cursor to a named node (starting from the first child of the current node and searching ...
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setReferencedROINumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedROINumber (3006,0084)
virtual OFCondition getPregnancyStatus(Uint16 &value, const unsigned long pos=0) const
get PregnancyStatus (0010,21c0)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtafs.h:324
@ LEVEL_INSTANCE
Instance Level.
Definition: iodreferences.h:51
DcmTagKey & operator=(const DcmTagKey &key)
assignment operator for initializing this tag key from an existing one
Definition: dctagkey.h:330
DRTStrainCodeSequence StrainCodeSequence
StrainCodeSequence (0010,0219) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2689
OFString presentationLUTInstanceUID
the current presentation LUT instance.
Definition: dvpssp.h:1098
Item & operator[](const size_t num)
get particular item in the sequence
Item EmptyItem
empty default item
Definition: drtcsas.h:354
Item(const Item ©)
copy constructor
virtual OFCondition getMeasuredAPDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredAPDimension (0010,1023)
const DRTReferencedInstanceSequence & getReferencedInstanceSequence() const
get ReferencedInstanceSequence (0008,114a)
Definition: drtionpl.h:1721
virtual OFVector< DimensionOrganizationItem * > & getDimensionOrganizationSequence()
Get content of the Dimension Organization Sequence.
DcmDicomDir & operator=(const DcmDicomDir &)
private undefined copy assignment operator
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
virtual void notifyAssociationAcknowledge()
Overwrite this function to be notified about an incoming association request.
void pushFromStringMethod(StringToLogLevelMethod newFromString)
When creating a "derived" LogLevel, a StringToLogLevelMethod should be defined and registered with th...
OFCondition getCumulativeMetersetWeight(OFString &value, const signed long pos=0) const
get CumulativeMetersetWeight (300a,0134)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual ~Item()
destructor
DRTIssuerOfPatientIDQualifiersSequence IssuerOfPatientIDQualifiersSequence
IssuerOfPatientIDQualifiersSequence (0010,0024) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2800
OFCondition addGraphicLayer(const char *gLayer, const char *gLayerDescription=NULL)
creates a new graphic layer with the given name and optional description.
static void thread_exit()
terminates the calling thread, in a similar way that exit() terminates the calling process.
@ PVS_Empty
empty string argument
Definition: ofcmdln.h:201
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtpsics.h:351
Item EmptyItem
empty default item
Definition: drtass.h:479
DcmCodeString PatientSexNeutered
PatientSexNeutered (0010,2203) vr=CS, vm=1, type=2C.
Definition: drtionpl.h:3063
@ NeckAndChest
(417437006,SCT,"Neck and Chest")
Definition: cid4031.h:168
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid4021.h:359
virtual ~DRTPrivateDataElementDefinitionSequence()
destructor
Item EmptyItem
empty default item
Definition: drtois.h:395
virtual OFCondition setSpecificCharacterSetType(const E_CharacterSet characterSet)
set specific character set type.
OFCondition setNumberOfWedges(const OFString &value, const OFBool check=OFTrue)
set NumberOfWedges (300a,00d0)
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
DcmUnsignedShort m_ZeroVelocityPixelValueUS
Zero Velocity Pixel Value (US or SS, VM , Required Type 1C)
Definition: fgimagedatatype.h:172
Base class for content items.
Definition: dsrdoctn.h:48
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtcncs.h:353
DRTReferencedSOPSequence ReferencedSOPSequence
ReferencedSOPSequence (0008,1199) vr=SQ, vm=1, type=1C.
Definition: drtcims.h:359
OFCondition getChannelShieldID(OFString &value, const signed long pos=0) const
get ChannelShieldID (300a,02b3)
OFCondition setTrayAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set TrayAccessoryCode (300a,0355)
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
special write method for creation of digital signatures
OFBool setISOFormattedDateTime(const OFString &formattedDateTime)
set the date/time value to the given ISO formatted date/time string.
virtual void resetRules()
Resets rules to their original values.
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtas5.h:187
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2978
virtual ~DRTAdditionalDrugSequence()
destructor
void removeImageReference(const char *seriesUID, const char *instanceUID)
removes image reference.
a Grayscale Softcopy Presentation State.
Definition: dvpstat.h:37
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
@ ASC_USER_IDENTITY_MAX_VALUE
entry always pointing to last valid entry, i.e. max valid number
Definition: dcuserid.h:52
@ Millimeter
(mm,UCUM,"millimeter"), included from CID 7460
Definition: cid7181.h:62
OFBool isEmpty()
check if sequence is empty
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSInvalidCompressedData
error condition constant: The compressed image is invalid
OFCondition setToleranceTableLabel(const OFString &value, const OFBool check=OFTrue)
set ToleranceTableLabel (300a,0043)
const DRTReferencedControlPointSequence & getReferencedControlPointSequence() const
get ReferencedControlPointSequence (300c,00f2)
Definition: drtrbs2.h:120
void clear()
clear all internal member variables
virtual OFCondition setAdmittingDiagnosesDescription(const OFString &value, const OFBool check=OFTrue)
set AdmittingDiagnosesDescription (0008,1080)
virtual OFCondition getMeasuredAPDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredAPDimension (0010,1023)
virtual OFCondition getContentDate(OFString &value, const signed long pos=0) const
get ContentDate (0008,0023)
DcmObject * remove()
remove current entry from list, return element
Item EmptyItem
empty default item
Definition: drtqds.h:550
Item class.
Definition: drtiais.h:36
void setStatus(Uint16 s)
set new status value
Definition: dcmqrdbs.h:68
virtual ~DcmSCP()
Virtual destructor, frees internal memory.
virtual OFCondition writeDataset(DcmItem &dataset)
Write current object to given item.
@ RO6958948_18F
(126757,DCM,"RO6958948 ^18^F")
Definition: cid4021.h:260
Item EmptyItem
empty default item
Definition: drtrpcs.h:540
size_t rfind(const char *pattern, size_t pos, size_t n) const
scans the current string backwards, and finds the first occurrence of pattern in the string (from the...
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtpcs.h:357
DcmDate ContentDate
ContentDate (0008,0023) vr=DA, vm=1, type=3.
Definition: drtdose.h:4556
OFCondition activateOverlayAsBitmapShutter(size_t idx)
activates an overlay as bitmap shutter.
DcmDictEntryListConstIterator end() const
OFCondition gotoNextItem()
select the next item in the list
size_t getNumberOfItems() const
get number of items in the sequence
const DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule & getReferencedDoseReferenceSequence() const
get ReferencedDoseReferenceSequence (300c,0050)
Definition: drtfgs.h:238
DcmTag(Uint16 g, Uint16 e, const DcmVR &avr)
constructor.
void getCurrentRepresentationKey(E_TransferSyntax &repType, const DcmRepresentationParameter *&repParam)
returns the representation identification (key) consisting of representation type and parameter of th...
virtual void Remove(const T &item)
Removes one item from the set.
Definition: ofoset.h:221
@ HemodynamicWaveform
(HD,DCM,"Hemodynamic Waveform")
Definition: cid29.h:68
Item EmptyItem
empty default item
Definition: drtras.h:472
DRTDepthDoseParametersSequence & getDepthDoseParametersSequence()
get DepthDoseParametersSequence (300a,0505)
Definition: drtibs.h:504
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
@ EVR_ST
short text
Definition: dcvr.h:192
OFGroup(group *const g)
the constructor that "sucks out" a struct group instance.
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item class.
Definition: drtlsds7.h:36
DCMTK_DCMDATA_EXPORT void dcmDisableGenerationOfNewVRs()
Global function that disables the generation of "new" value representations, i.e.
Metafunction to determine if a type is signed.
Definition: oftraits.h:372
virtual Logger getInstance(const log4cplus::tstring &name, spi::LoggerFactory &factory)
Return a new logger instance named as the first parameter using factory.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
void dumpNMessage(T_DIMSE_Message &msg, DcmItem *dataset, OFBool outgoing)
prints a dump of the given DIMSE message to the log stream.
static const OFString m_ModuleName
This module's name ("EnhancedUSImageModule")
Definition: modenhusimage.h:572
virtual void writeJsonCloser(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write element end tag in JSON format
@ PittsburghCompoundB_C11
(126500,DCM,"Pittsburgh compound B C^11^")
Definition: cid4021.h:232
DcmFloatingPointDouble m_FrameAcquisitionDuration
Frame Acquisition Duration (FD, 1, 1C)
Definition: fgfracon.h:351
virtual OFCondition getSoftwareVersions(OFString &value, const signed long pos=0) const
get software version(s)
OFCondition getReferencedLateralSpreadingDeviceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedLateralSpreadingDeviceNumber (300c,0102)
OFCondition getDoseType(OFString &value, const signed long pos=0) const
get DoseType (3004,0004)
Item EmptyItem
empty default item
Definition: drtbldts.h:322
DcmIntegerString SeriesNumber
SeriesNumber (0020,0011) vr=IS, vm=1, type=2.
Definition: drttreat.h:2844
virtual OFCondition getStudyID(OFString &value, const signed long pos=0) const
get StudyID (0020,0010)
double getAbsMaxRange() const
get absolute pixel range
Definition: dimopx.h:179
virtual OFBool eos()=0
returns true if the producer is at the end of stream.
OFCondition getROINumber(Sint32 &value, const unsigned long pos=0) const
get ROINumber (3006,0022)
OFCondition write(DcmItem &item)
write elements to sequence item
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtass.h:475
OFCondition read(DcmItem &dset)
reads a list of series references (ReferencedSeriesSequence) from a DICOM dataset.
virtual void setErrorHandler(OFunique_ptr< ErrorHandler > eh)
Set the ErrorHandler for this Appender.
DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence()
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtionpl.h:1919
OFCondition setDefaultPresentationLUTShape()
resets the Presentation LUT to the default LUT shape which is DVPSP_identity for MONOCHROME2 images a...
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual int compare(const DcmElement &rhs) const
Comparison operator that compares the normalized value of this element with a given element of the sa...
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
void clear()
clear all internal member variables
OFCondition findOrCreateSequencePath(DcmSequenceOfItems *seq, OFString &path)
Function that allows for finding and/or inserting a hierarchy of items and attributes as defined by a...
OFList< DSRDocumentTreeNodeFilter * > FilterList
list of pointers to filter criteria
Definition: dsrdnflt.h:103
DcmDecimalString TableTopVerticalPositionTolerance
TableTopVerticalPositionTolerance (300a,0051) vr=DS, vm=1, type=3.
Definition: drttts.h:361
const Item & getItem(const size_t num) const
get particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbl5.h:525
DRTStrainCodeSequence & getStrainCodeSequence()
get StrainCodeSequence (0010,0219)
Definition: drtionpl.h:1895
const_iterator end() const
returns constant iterator pointer after the last element of this map
Definition: ofmap.h:124
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrrtps4.h:308
DcmLongString ClinicalTrialSponsorName
ClinicalTrialSponsorName (0012,0010) vr=LO, vm=1, type=1.
Definition: drtstrct.h:2802
DcmUnsignedShort PixelPaddingRangeLimit
PixelPaddingRangeLimit (0028,0121) vr=US/SS, vm=1, type=1C.
Definition: drtimage.h:5180
OFBool isEmpty()
check if sequence is empty
@ AP_BasicCardiac
Basic Cardiac X-Ray Angiographic Studies on CD-R Media (STD-XABC-CD)
Definition: dcddirif.h:151
const DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence() const
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtimage.h:2440
virtual OFCondition setSeriesDate(const OFString &value, const OFBool check=OFTrue)
set SeriesDate (0008,0021)
A class to handle a series cache (list of items).
Definition: dvcache.h:403
OFCondition addMeasurement(const T_Measurement &conceptName, const MeasurementValue &numericValue, const OFBool checkEmpty=OFTrue, const OFBool checkValue=OFTrue)
add a measurement as defined in 'ROI Measurements' (TID 1419 - Row 5).
virtual OFCondition readPatientData(DcmItem &dataset)
read PatientData from dataset
DRTSetupDeviceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item & getCurrentItem()
get current item in the sequence
DcmUniqueIdentifier RelatedGeneralSOPClassUID
RelatedGeneralSOPClassUID (0008,001a) vr=UI, vm=1-n, type=3.
Definition: drttreat.h:2981
OFCondition setRoiWindow(const unsigned long left_pos, const unsigned long top_pos, const unsigned long width, const unsigned long height, const unsigned long frame=0)
set automatically calculated VOI window for the specified Region of Interest (ROI).
Definition: drmimage.h:185
DJLSCodecParameter(JLS_UIDCreation uidCreation=EJLSUC_default, JLS_PlanarConfiguration planarConfiguration=EJLSPC_restore, OFBool ignoreOffsetTable=OFFalse, OFBool forceSingleFragmentPerFrame=OFFalse)
constructor, for use with decoders.
static E_DocumentType sopClassUIDToDocumentType(const OFString &sopClassUID)
convert SOP class UID to SR document type
@ AM_beforeCurrent
add new node before current one (sibling)
Definition: dsrtypes.h:851
const DSRSharedSubTemplate & getValue() const
get reference to included template, i.e. the value of this content item
Definition: dsrtpltn.h:134
Item & operator=(const Item ©)
assigment operator
Item EmptyItem
empty default item
Definition: drtporis.h:395
OFBool isEmpty()
check if item is empty
OFCondition getPresentationPixelSpacing(double &x, double &y)
gets the presentation pixel spacing for this displayed area if present.
const char * getTagName()
return the DICOM attribute tag name for this object.
Definition: dcobject.h:724
Item class.
Definition: drttms0.h:36
Item & operator=(const Item ©)
assigment operator
OFListIterator(Item *) CurrentItem
currently selected item
DVPSGraphicLayer_PList(const DVPSGraphicLayer_PList ©)
copy constructor
OFBool isBigEndian() const
return true if transfer syntax is big endian, false otherwise
Definition: dcxfer.h:224
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrbs2.h:135
DRTGeneralAccessorySequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition getPatientSex(OFString &value, const signed long pos=0) const
get PatientSex (0010,0040)
OFCondition printSCUcreateBasicFilmSession(DVPSPrintMessageHandler &printHandler, DcmDataset &dset, OFBool plutInSession)
Creates a DICOM Basic Film Session SOP Instance in the printer.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual ~DRTFractionGroupSequence()
destructor
size_t getNumberOfVOILUTsInImage()
gets the number of VOI LUTs available in the attached image.
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
const E_ValueType ValueType
value type (associated DICOM VR=CS, mandatory)
Definition: dsrdoctn.h:755
DcmShortText HL7InstanceIdentifier
HL7InstanceIdentifier (0040,e001) vr=ST, vm=1, type=1.
Definition: drthsdrs.h:158
Item EmptyItem
empty default item
Definition: drtcshs.h:423
OFCondition write(DcmItem &item)
write elements to sequence item
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=3.
Definition: drtbs.h:753
DcmQueryRetrieveIndexDatabaseHandle(const char *storageArea, long maxStudiesPerStorageArea, long maxBytesPerStudy, OFCondition &result)
Constructor.
OFBool isInverse()
checks whether image is inverse (shape, plut or mono1).
DcmShortText(const DcmTag &tag, const Uint32 len=0)
constructor.
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get specified value as a character string.
This class encapsulates data structures and operations for modifying DICOM files.
Definition: mdfdsman.h:44
OFCondition setMeasurementUnit(const T_Units &measurementUnit, const OFBool check=OFTrue)
set measurement unit.
Definition: srnumvlu.h:282
E_ParseStatus checkParamCount()
checks whether number of parameters in parsed command line is within the range of min/max (see below)
OFCondition getNumberOfPaintings(OFString &value, const signed long pos=0) const
get NumberOfPaintings (300a,039a)
Item(const Item ©)
copy constructor
Item & getItem(const size_t num)
get particular item in the sequence
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtdspcs.h:357
void addSubGroup(const char *name, const int longCols=0, const int shortCols=0)
adds a new subgroup (beyond group-level).
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
virtual ~DRTApplicatorSequenceInRTBeamsModule()
destructor
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drttreat.h:2894
DJDecompressIJG16Bit(const DJCodecParameter &cp, OFBool isYBR)
constructor
OFCondition getConceptName(DSRCodedEntryValue &conceptName) const
get copy of concept name.
DRTReferencedSpatialRegistrationSequence & operator=(const DRTReferencedSpatialRegistrationSequence ©)
assigment operator
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual ~Item()
destructor
virtual OFCondition getStrainDescription(OFString &value, const signed long pos=0) const
get StrainDescription (0010,0212)
DVPSGraphicObject * removeGraphicObject(size_t idx)
returns a pointer to the graphic object with the given index (or NULL if it does not exist) and remov...
virtual OFCondition getContentTime(OFString &value, const signed long pos=0) const
get ContentTime (0008,0033)
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
virtual DcmObject * clone() const
clone method
Definition: dcvrds.h:69
DRTCodingSchemeResourcesSequence(const DRTCodingSchemeResourcesSequence ©)
copy constructor
OFCondition read(DcmItem &item)
read elements from sequence item
abstract codec class for JPEG-LS decoders.
Definition: djcodecd.h:40
void inventMissingInstanceLevelAttributes(DcmDirectoryRecord *parent)
invent missing type 1 attributes for all child records (from instance level)
void clear()
clear currently stored filename
virtual OFCondition set(const CodeSequenceMacro &typeCode, const CodeSequenceMacro &typeModifierCode, const CodeSequenceMacro &unitsCode, const Float64 statisticValue)
Set Track Set statistic.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtsdcs.h:536
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
DcmUniqueIdentifier referencedPresentationLUTInstanceUID
the ReferencedPresentationLUTSequence is only created/read on the fly
Definition: dvpsfs.h:168
virtual OFCondition convertCharacterSet(const OFString &toCharset, const size_t flags=0, const OFBool ignoreCharset=OFFalse)
convert all element values that are contained in this item and that are affected by SpecificCharacter...
const Item & getCurrentItem() const
get current item in the sequence
@ EJLSUC_always
always assign new SOP instance UID on compression and decompression
Definition: djlsutil.h:64
virtual ~Item()
destructor
OFCondition getCalculatedDoseReferenceDescription(OFString &value, const signed long pos=0) const
get CalculatedDoseReferenceDescription (3008,0074)
DcmCodeString BrachyAccessoryDeviceType
BrachyAccessoryDeviceType (300a,0264) vr=CS, vm=1, type=1.
Definition: drtbads.h:252
OFCondition setAmbientLightValue(double value)
sets ambient light value for the display transformation.
DcmRoleSelectionMap(const DcmRoleSelectionMap &arg)
Copy constructor, creates deep copy.
Class for User Identity Negotiation request user item.
Definition: dcuserid.h:156
OFString convertToLengthLimitedOctalString(const char *strValue, const size_t strLength) const
convert given string to octal format, i.e. all non-ASCII and control characters are converted to thei...
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
DcmFloatingPointSingle ExternalContourEntryPoint
ExternalContourEntryPoint (300a,0133) vr=FL, vm=3, type=3.
Definition: drtcps.h:663
Item & operator[](const size_t num)
get particular item in the sequence
DRTReferencedInstanceSequence & getReferencedInstanceSequence()
get ReferencedInstanceSequence (0008,114a)
Definition: drtstrct.h:1614
virtual OFCondition setProtocolName(const OFString &value, const OFBool checkValue=OFTrue)
Set Protocol Name.
@ ESSC_Patient
patient objects
Definition: dcuid.h:46
DRTReferencedReferenceImageSequenceInRTIonBeamsModule ReferencedReferenceImageSequence
ReferencedReferenceImageSequence (300c,0042) vr=SQ, vm=1, type=3.
Definition: drtibs.h:1047
void clear()
clear all internal member variables
int errorCond(OFCondition cond, const char *message)
if the given condition indicates an error, prints the given string to the error log and returns true ...
@ EFG_PLANEPOSPATIENT
Plane Position (Patient)
Definition: fgtypes.h:152
a class representing the DICOM value representation 'Time' (TM)
Definition: dcvrtm.h:36
OFBool isEmpty()
check if item is empty
OFCondition getScanMode(OFString &value, const signed long pos=0) const
get ScanMode (300a,0308)
OFCondition findAndGetUint64Array(const DcmTagKey &tagKey, const Uint64 *&value, unsigned long *count=NULL, const OFBool searchIntoSub=OFFalse)
find element and get value as an array of unsigned 64-bit integers.
void clear()
clear all internal member variables
DRTDigitalSignaturesSequence DigitalSignaturesSequence
DigitalSignaturesSequence (fffa,fffa) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3113
a class representing DICOM elements (such as uncompressed pixel data) that can be interpreted either ...
Definition: dcvrpobw.h:35
const Item & getItem(const size_t num) const
get particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtmls.h:340
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
OFListIterator(Item *) CurrentItem
currently selected item
DVPSReferencedImage()
default constructor
virtual ~DVPSPrintMessageHandler()
destructor
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtpsics.h:333
void clear()
clear all internal member variables
DcmLongString DeidentificationMethod
DeidentificationMethod (0012,0063) vr=LO, vm=1-n, type=1C.
Definition: drtdose.h:4142
virtual OFCondition setPatientWeight(const OFString &value, const OFBool checkValue=OFTrue)
Set Patient's Weight (in kilograms)
Item & getCurrentItem()
get current item in the sequence
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtajcs.h:345
OFCondition gotoNextItem()
goto next item in the sequence
DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModule & operator=(const DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModule ©)
assigment operator
DcmCodeString PatientIdentityRemoved
PatientIdentityRemoved (0012,0062) vr=CS, vm=1, type=3.
Definition: drtionpl.h:2944
DcmCodeString mediumType
VR=CS, VM=1.
Definition: dvpsfs.h:155
Class representing the HL7 V2 Hierarchic Designator Macro.
Definition: iodmacro.h:1216
Uint16 biPlanes
number of planes, usually '1'
Definition: diutils.h:184
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
void clear()
clear all internal member variables
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmPersonName ReviewerName
ReviewerName (300e,0008) vr=PN, vm=1, type=2C.
Definition: drtionpl.h:3234
virtual OFCondition setStrainNomenclature(const OFString &value, const OFBool check=OFTrue)
set StrainNomenclature (0010,0213)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Class representing the Real World Value Mapping Functional Group that specifies the mapping of stored...
Definition: fgrealworldvaluemapping.h:36
virtual DcmEVR ident() const
get element type identifier
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTReferencedBrachyApplicationSetupSequenceInRTFractionSchemeModule ReferencedBrachyApplicationSetupSequence
ReferencedBrachyApplicationSetupSequence (300c,000a) vr=SQ, vm=1, type=1C.
Definition: drtfgs.h:342
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write numeric measurement value in XML format
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
virtual OFCondition getTimeOfLastCalibration(OFString &value, const signed long pos=0) const
get TimeOfLastCalibration (0018,1201)
OFString abstractSyntaxName
Abstract Syntax Name of Presentation Context.
Definition: scu.h:1009
virtual unsigned char pduType() const =0
Denotes whether instance is part of a request (DUL_TYPEASSOCIATERQ) or acknowledgement PDU (DUL_TYPEA...
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFCondition gotoNextItem()
goto next item in the sequence
DRTReferencedRTPlanSequenceInRTImageModule & getReferencedRTPlanSequence()
get ReferencedRTPlanSequence (300c,0002)
Definition: drtimage.h:2962
DCMTK_DCMNET_EXPORT OFGlobal< Sint32 > dcmSocketReceiveTimeout
Global timeout in seconds for receiving data on a socket from a remote host.
DRTReferencedSeriesSequence ReferencedSeriesSequence
ReferencedSeriesSequence (0008,1115) vr=SQ, vm=1, type=1C.
Definition: drtstrct.h:3134
OFBool currentImageOwned
a flag describing whether the presentation state is owner of the DICOM dataset in currentImageDataset...
Definition: dvpstat.h:1252
@ RVF_UNKNOWN
Unknown (e.g. not set)
Definition: dpmtypes.h:90
DSRXMLCursor & operator=(const DSRXMLCursor &cursor)
assignment operator
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmUniqueIdentifier ReferencedDoseReferenceUID
ReferencedDoseReferenceUID (300a,0083) vr=UI, vm=1, type=3.
Definition: drtrbs8.h:285
OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
OFBool getCancelled
true if the get sub-operations have been cancelled
Definition: dcmqrcbg.h:164
DcmUnsignedShort & getLUTDescriptor()
returns a reference to the current VOI LUT descriptor.
Definition: dvpssv.h:165
virtual OFString getName() const =0
Get name of component.
double Foreground
"color" of overlay plane (in percent: '0.0' = dark, '1.0' = bright)
Definition: diovpln.h:447
size_t getNumberOfItems() const
get number of items in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual void emitMessage(void *arg, int msg_level) const
callback function used to report warning messages and the like.
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
OFCondition gotoFirstItem()
goto first item in the sequence
DcmLongString ClinicalTrialProtocolName
ClinicalTrialProtocolName (0012,0021) vr=LO, vm=1, type=2.
Definition: drtionpl.h:2961
DcmUnsignedShort presentationLUTData
Module=Softcopy_Presentation_LUT, VR=xs, VM=1-n, Type 1c.
Definition: dvpspl.h:241
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition setSmokingStatus(const OFString &value, const OFBool check=OFTrue)
set SmokingStatus (0010,21a0)
this class provides a primitive interface for handling a flat DICOM element, similar to DcmElement,...
Definition: dcmqridx.h:149
DcmOtherLong & operator=(const DcmOtherLong &obj)
assignment operator
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getISOFormattedDateTime(OFString &formattedDateTime, const unsigned long pos=0, const OFBool seconds=OFTrue, const OFBool fraction=OFFalse, const OFBool timeZone=OFTrue, const OFBool createMissingPart=OFFalse, const OFString &dateTimeSeparator=" ", const OFString &timeZoneSeparator=" ")
get the current element value in ISO date/time format.
OFCondition write(DcmItem &item)
write elements to sequence item
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrsss.h:132
OFBool isEmpty()
checks if this annotation layer is empty.
void checkTable()
check lookup table for validity (and possibly correct it)
DRTConceptNameCodeSequence(const DRTConceptNameCodeSequence ©)
copy constructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
size_t getNumberOfItems() const
get number of items in the sequence
Item & getCurrentItem()
get current item in the sequence
OFCondition getSourceApplicatorStepSize(Float64 &value, const unsigned long pos=0) const
get SourceApplicatorStepSize (300a,02a0)
virtual ~DRTTreatmentSummaryRecordIOD()
destructor
virtual OFBool isMeasuredDoseReferenceRecordModulePresent(const OFBool complete=OFFalse)
check whether MeasuredDoseReferenceRecordModule (U) is present.
DRTRTDoseROISequence & operator=(const DRTRTDoseROISequence ©)
assigment operator
OFCondition write(DcmItem &item)
write elements to sequence item
Item class.
Definition: drtpbcs.h:37
const DRTReferencedImageSequence & getReferencedImageSequence() const
get ReferencedImageSequence (0008,1140)
Definition: drtplan.h:1742
DVPSOverlay * getOverlayGroup(Uint16 group)
get overlay by group
@ _2FA_F18
(126713,DCM,"2FA F^18^")
Definition: cid4021.h:46
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
virtual ~FGImageDataType()
Destructor, frees memory.
static const size_t CF_discardIllegal
discard characters that cannot be represented in destination character set.
Definition: dctypes.h:245
void unpackColumnValues(const int value, unsigned int &longCols, unsigned int &shortCols) const
unpacks two 16 bit values from one 32 bit value
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
OFCondition read(DcmItem &item)
read elements from sequence item
DcmDecimalString KVP
KVP (0018,0060) vr=DS, vm=1, type=2C.
Definition: drtes.h:538
OFCondition getInterMarkerDistance(OFString &value, const signed long pos=0) const
get InterMarkerDistance (0050,0019)
OFCondition getTrayAccessoryCode(OFString &value, const signed long pos=0) const
get TrayAccessoryCode (300a,0355)
DRTSourceInstanceSequence SourceInstanceSequence
SourceInstanceSequence (0042,0013) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5125
@ EyeRegion
(371398005,SCT,"Eye region")
Definition: cid4031.h:100
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition write(DcmItem &item)
write elements to sequence item
DcmLongString FractionGroupDescription
FractionGroupDescription (300a,0072) vr=LO, vm=1, type=3.
Definition: drtfgs.h:326
OFCondition getNumericValue(OFString &value, const signed long pos=0) const
get NumericValue (0040,a30a)
virtual ~QRResponse()
Destructor, cleans up internal memory (dataset if present).
Definition: scu.h:89
const char * getOverlayInPresentationStateLabel(size_t idx)
gets the overlay label of the given overlay in the presentation state.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
virtual DcmItem * remove(const unsigned long)
method inherited from base class that is useless in this class
Definition: dcpixseq.h:290
virtual ~DRTModifiedAttributesSequence()
destructor
DRTHL7StructuredDocumentReferenceSequence HL7StructuredDocumentReferenceSequence
HL7StructuredDocumentReferenceSequence (0040,a390) vr=SQ, vm=1, type=1C.
Definition: drtplan.h:3397
DcmNativeSocketType theSocket
the socket file descriptor/handle used by the transport connection.
Definition: dcmtrans.h:245
OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
get StudyInstanceUID (0020,000d)
DcmDecimalString CompensatorPosition
CompensatorPosition (300a,00ea) vr=DS, vm=2, type=1.
Definition: drtcos.h:463
virtual OFCondition setSOPAuthorizationDateTime(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationDateTime (0100,0420)
virtual ~DiCMYKPixelTemplate()
destructor
Definition: dicmypxt.h:66
void copyElementType1CFromDatasetOrSequenceItem(DcmItem *dataset, const DcmTagKey &elementKey, const DcmTagKey &sequenceKey, DcmDirectoryRecord *record, const OFFilename &sourceFilename)
copy type 1C element from given dataset or first item of the given sequence to directory record.
const log4cplus::tstring & getThread2() const
The alternative name of thread in which this logging event was generated.
Definition: logevent.h:162
OFCondition getReferencedToleranceTableNumber(OFString &value, const signed long pos=0) const
get ReferencedToleranceTableNumber (300c,00a0)
DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence()
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtdose.h:2452
const char * getLUTExplanation()
returns the LUT explanation of the presentation LUT if it exists and is non-empty.
DiMono1Image(const DiMonoImage *image, const unsigned long fstart, const unsigned long fcount)
constructor, copy
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
T MinValue[2]
minimum pixel values (0 = global, 1 = ignoring global)
Definition: dimopxt.h:426
DiLookupTable * TableData
pointer to modality lookup table
Definition: dimomod.h:276
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTReferencedPatientPhotoSequence ReferencedPatientPhotoSequence
ReferencedPatientPhotoSequence (0010,1100) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2659
@ EXS_JPEGProcess24_26
JPEG Full Progression, Hierarchical (lossy, 8/12 bit)
Definition: dcxfer.h:75
DcmDictEntry * findInList(DcmDictEntryList &lst, const DcmTagKey &key, const char *privCreator) const
searches entry for the given tag and private creator
virtual ~IODDoubleFloatingPointImagePixelModule()
Destructor.
IODFloatingPointImagePixelModule()
Constructor.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition setTableTopRollRotationDirection(const OFString &value, const OFBool check=OFTrue)
set TableTopRollRotationDirection (300a,0146)
Item class.
Definition: drtbcps.h:37
virtual OFCondition getResponsibleOrganization(OFString &value, const signed long pos=0) const
get ResponsibleOrganization (0010,2299)
UserIdentityNegotiationSubItemRQ()
Constructor.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition createDefaultValues(OFBool renumber, unsigned long number, OFBool ignoreEmptyImages)
create default values for all missing type 1 elements.
virtual void createDerivationDescription(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio, OFString &derivationDescription) const
creates 'derivation description' string after encoding.
Uint32 biSize
size of the BitmapInfoHeader, usually '40'
Definition: diutils.h:178
WlmActivityManager(WlmDataSource *dataSourcev, OFCmdUnsignedInt opt_portv, OFBool opt_refuseAssociationv, OFBool opt_rejectWithoutImplementationUIDv, OFCmdUnsignedInt opt_sleepBeforeFindReqv, OFCmdUnsignedInt opt_sleepAfterFindv, OFCmdUnsignedInt opt_sleepDuringFindv, OFCmdUnsignedInt opt_maxPDUv, E_TransferSyntax opt_networkTransferSyntaxv, OFBool opt_failInvalidQueryv, OFBool opt_singleProcessv, int opt_maxAssociationsv, T_DIMSE_BlockingMode opt_blockModev, int opt_dimse_timeoutv, int opt_acse_timeoutv, OFBool opt_forkedChildv=OFFalse, int argcv=0, char *argvv[]=NULL)
constructor.
OFCondition setWedgeAngle(const OFString &value, const OFBool check=OFTrue)
set WedgeAngle (300a,00d5)
virtual ~Item()
destructor
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtics.h:327
OFCondition getSurfaceEntryPoint(OFVector< Float64 > &value) const
get SurfaceEntryPoint (300a,012e)
virtual OFCondition getOriginalSpecializedSOPClassUID(OFString &value, const signed long pos=0) const
get OriginalSpecializedSOPClassUID (0008,001b)
DcmTagKey getXTag() const
returns a copy of the tag key by value
Definition: dctag.h:132
OFBool operator!=(const OFdirectory_iterator &rhs) const
Compare an OFdirectory_iterator against another one.
OFBool isValid() const
check whether the current internal state is valid.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getNumberOfLeafJawPairs(OFString &value, const signed long pos=0) const
get NumberOfLeafJawPairs (300a,00bc)
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFBool isEmpty()
check if item is empty
const void * getData(void *buffer, const unsigned long size, const unsigned long frame, int bits, const int planar, const int negative)
get pixel data with specified format.
E_ValueType getValueType() const
get value type of the current content item
Definition: dsrdoctn.h:322
A struct for creating a failed to load private key error condition.
Definition: tlscond.h:58
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
void removeAllSOPInstances()
remove all SOP instances from the transfer list.
@ Decibel
(dB,UCUM,"decibel")
Definition: cid7181.h:144
E_KeyType
type of key for public key cryptosystem
Definition: sitypes.h:72
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmDecimalString TableTopVerticalPositionTolerance
TableTopVerticalPositionTolerance (300a,0051) vr=DS, vm=1, type=3.
Definition: drtitts.h:430
virtual OFCondition getStudyID(OFString &value, const signed long pos=0) const
get StudyID (0020,0010)
OFCondition newPrinter(const char *name=NULL, const char *destinationAE=NULL)
deletes all optional attribute values that might not be supported by all printers.
DRTPlannedVerificationImageSequence PlannedVerificationImageSequence
PlannedVerificationImageSequence (300a,00ca) vr=SQ, vm=1, type=3.
Definition: drtbs.h:767
OFBool haveLUT()
check if a VOI LUT is currently active
Definition: dvpssv.h:139
void insert(OFIterator< T > position, size_t n, const T &x)
inserts n elements with value x into the list, before the given position.
Definition: oflist.h:425
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtecs.h:336
virtual OFCondition setPregnancyStatus(const Uint16 value, const unsigned long pos=0)
set PregnancyStatus (0010,21c0)
DcmDate PatientBirthDate
PatientBirthDate (0010,0030) vr=DA, vm=1, type=2.
Definition: drtdose.h:4086
OFBool haveGraphicLayerRecommendedDisplayValue(size_t idx)
checks whether a recommended display value (grayscale, color or both) for the given graphic layer exi...
DSRGraphicDataList()
default constructor
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setPatientSize(const OFString &value, const OFBool check=OFTrue)
set PatientSize (0010,1020)
virtual DcmEVR ident() const
get element type identifier
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrbs8.h:461
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
virtual OFCondition getSliceThickness(Float64 &value, const signed long pos=0)
Get Slice Thickness.
const T & front() const
get a reference to the first element of this vector.
Definition: ofvector.h:278
virtual OFBool isOrderSignificant() const
check whether the order of content items in this template is significant
Definition: dsrctpl.h:80
OFCondition addDerivationParameter(const DSRCodedEntryValue &conceptName, const CMR_SRNumericMeasurementValue &numericValue, const OFBool check=OFTrue)
add a 'Derivation Parameter' content item (TID 1419 - Row 13).
@ LeastAxisIn3DLength
(7J51,IBSI,"Least Axis in 3D Length"), included from CID 7470
Definition: cid7469.h:390
Item & operator=(const Item ©)
assigment operator
virtual size_t addNode(T *node, const E_AddMode addMode=AM_afterCurrent)
add new node to the current one.
Definition: dsrtree.h:687
const DSRTypes::E_CodeValueType CodeValueType
type of 'CodeValue': short (SH), long (UC) or Uniform Resource Name (UR)
Definition: dsrcodvl.h:96
virtual ~DRTWADORSRetrievalSequence()
destructor
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
Item & getCurrentItem()
get current item in the sequence
OFMap< OFString, DcmTransferSyntaxList * >::const_iterator end()
const iterator pointing to end of transfer syntax map (behind last entry)
void flipHorzVert(T *data[])
flip image horizontally and vertically and store result in the same storage area
Definition: diflipt.h:306
Class for content item DATETIME.
Definition: dsrdtitn.h:42
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getSOPAuthorizationComment(OFString &value, const signed long pos=0) const
get SOPAuthorizationComment (0100,0424)
static void appendCompressionRatio(OFString &arg, double ratio)
format compression ratio as string and append to given string object.
OFCondition setFrameOfReferenceUID(const OFString &value, const OFBool check=OFTrue)
set FrameOfReferenceUID (0020,0052)
DRTDeviceSequence DeviceSequence
DeviceSequence (0050,0010) vr=SQ, vm=1, type=1.
Definition: drtimage.h:5248
DcmShortText DerivationDescription
DerivationDescription (0008,2111) vr=ST, vm=1, type=3.
Definition: drtimage.h:5119
static void callbackRECEIVEProgress(void *callbackContext, unsigned long byteCount)
Callback function used for receiving DIMSE messages.
virtual DSRDocumentSubTree * clone() const
clone this subtree.
OFBool hasProcedureReported() const
check whether there are any 'Procedure reported' content items (TID 1500 - Row 4) in this measurement...
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
virtual OFCondition getDoseSummationType(OFString &value, const signed long pos=0) const
get DoseSummationType (3004,000a)
OFMap< OFString, DcmExtendedNegotiationList * > map_
map of extended negotiation lists
Definition: dccfenmp.h:191
DcmCodeString ChannelMode
ChannelMode (003a,0302) vr=CS, vm=1, type=1.
Definition: drtmacds.h:154
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtgmcs.h:329
size_t getNumberOfItems() const
get number of items in the sequence
DcmDate studyDate
Module=General_Study, VR=DA, VM=1, Type 2.
Definition: dvpssp.h:968
virtual OFCondition run(T_ASC_Association *incomingAssoc)
Handle an already established (on TCP/IP level) connection.
virtual OFCondition getPixelSpacing(Float64 &value, const signed long pos=0)
Get Pixel Spacing.
E_DirRecType DirRecordType
directory record type of this record
Definition: dcdirrec.h:511
void setMaxLength(Uint32 val)
set the maximum number of characters for each string component
Definition: dcbytstr.h:406
static void replace_all(OFString &src, const OFString &pattern, const OFString &rplc)
replace all occurrences of a pattern in the given string (in-place) with another string.
size_t countNodes(const OFBool searchIntoSubTemplates=OFFalse, const OFBool countIncludedTemplateNodes=OFTrue) const
count number of content items (nodes) in the document tree.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Uint32 CurrentFragment
current pixel item fragment (for encapsulated pixel data)
Definition: diimage.h:669
static OFBool isinf(float f)
Determines if the given floating point number is a positive or negative infinity.
OFBool operator!=(const DSRImageReferenceValue &referenceValue) const
comparison operator "not equal".
@ RelativeRegionalBloodFlow
(126397,DCM,"Relative Regional Blood Flow"), included from CID 4108
Definition: cid7469.h:270
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition setSamplesPerPixel(const Uint16 value, const unsigned long pos=0)
set SamplesPerPixel (0028,0002)
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtscs.h:345
OFCondition getMeasuredDoseValue(OFString &value, const signed long pos=0) const
get MeasuredDoseValue (3008,0016)
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
Item class.
Definition: drtiseis.h:36
DcmLongString ClinicalTrialProtocolName
ClinicalTrialProtocolName (0012,0021) vr=LO, vm=1, type=2.
Definition: drtplan.h:3044
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmCodeString Modality
Modality (0008,0060) vr=CS, vm=1, type=1.
Definition: drtionpl.h:3081
static OFString & toUpper(OFString &value)
returns the upper-case version of a given string.
virtual OFBool isExpandedDocumentTree() const
check whether this subtree is an expanded document tree.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Interface class for RTIonPlanIOD.
Definition: drtionpl.h:89
IODDoubleFloatingPointImagePixelModule()
Constructor.
E_ParamValueStatus getParamAndCheckMinMax(const int pos, OFCmdFloat &value, const OFCmdFloat low, const OFCmdFloat high)
gets value of specified parameter as floating point and checks for given boundaries
DVPSOverlay(const DVPSOverlay ©)
copy constructor
virtual unsigned long getVM()
get value multiplicity
DSRReferencedInstanceList ReferencedInstances
Referenced Instance Sequence: (SQ, 1-n, 1C)
Definition: dsrdoc.h:1453
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtrrpcs.h:351
OFCondition setReasonForTheRequestedProcedure(const OFString &value, const OFBool check=OFTrue)
set ReasonForTheRequestedProcedure (0040,1002)
virtual OFCondition getCodeMeaning(OFString &value, const signed long pos=0)
Get Code Meaning.
OFFile(FILE *f)
create object for given stdio FILE
Definition: offile.h:313
virtual OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set manufacturer
DcmSegTypes::E_SegmentationFractionalType getSegmentationFractionalType()
Get Fractional Segmentation Type.
Definition: segdoc.h:202
OFCondition getScanSpotMetersetsDelivered(Float32 &value, const unsigned long pos=0) const
get ScanSpotMetersetsDelivered (3008,0047)
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmInputStream * stream_
input stream, may be NULL
Definition: dcfcache.h:102
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setPatientBirthDate(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDate (0010,0030)
Interface class for SourceImageSequence (0008,2112)
Definition: drtsis.h:29
OFString ContextGroupVersion
Mapping Resource UID (VR=UI, type 3)
Definition: dsrcodvl.h:734
DRTMeasurementUnitsCodeSequence MeasurementUnitsCodeSequence
MeasurementUnitsCodeSequence (0040,08ea) vr=SQ, vm=1, type=1.
Definition: drtrwvms.h:264
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
const DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence() const
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drttreat.h:1329
OFBool copyFile(const OFFilename &fromFilename, const OFFilename &toFilename)
copy contents of specified file
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmLongText SOPAuthorizationComment
SOPAuthorizationComment (0100,0424) vr=LT, vm=1, type=3.
Definition: drttreat.h:3002
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
static const unsigned int ftoa_leftadj
left-justify number be within the field
Definition: ofstd.h:850
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition handleFINDResponse(const T_ASC_PresentationContextID presID, QRResponse *response, OFBool &waitForNextResponse)
This is the standard handler for C-FIND message responses: It just adds up all responses it receives ...
const DSRImageReferenceValue & getValue() const
get reference to image reference value
Definition: dsrimgvl.h:294
OFListIterator(Item *) CurrentItem
currently selected item
DcmShortString ownerID
VR=SH, VM=1.
Definition: dvpsfs.h:161
virtual OFCondition setAuthorizationEquipmentCertificationNumber(const OFString &value, const OFBool check=OFTrue)
set AuthorizationEquipmentCertificationNumber (0100,0426)
virtual OFCondition getPixelRepresentation(Uint16 &value, const signed long pos=0)
Get Pixel Representation.
DVPSPresentationLUT presentationLUT
Module=Softcopy_Presentation_LUT, VR=SQ, Card=1, Type 1C.
Definition: dcmpstat.h:843
Template class to handle Palette color pixel data.
Definition: dipalpxt.h:42
OFPasswd()
default constructor that creates an invalid object.
DCMTK_DCMTRACT_EXPORT const OFConditionConst TRC_EC_MeasurementDataMissing
Measurement Data Missing.
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
T_ASC_Network * m_net
The DICOM network the association is based on.
Definition: scu.h:986
void store_char(char c)
writes a character to the string buffer maintained in "buffer".
@ TKE_ECDH_RSA
Fixed ECDH with RSA signatures.
Definition: tlsciphr.h:142
OFCondition setStudyInstanceUID(const OFString &value, const OFBool check=OFTrue)
set StudyInstanceUID (0020,000d)
const DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence() const
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtimage.h:2692
OFCondition createMeasurementReport(const CID7021_MeasurementReportDocumentTitles &title, const OFBool check)
create the mandatory (and other supported) content items of this template, i.e. TID 1500 - Row 1 to 6...
OFCondition getNumberOfBoli(Sint32 &value, const unsigned long pos=0) const
get NumberOfBoli (300a,00ed)
Item & getCurrentItem()
get current item in the sequence
DVPSCurve_PList & operator=(const DVPSCurve_PList &)
private undefined assignment operator
Item & operator=(const Item ©)
assigment operator
OFCondition getPatientSupportID(OFString &value, const signed long pos=0) const
get PatientSupportID (300a,0352)
DcmDate SeriesDate
SeriesDate (0008,0021) vr=DA, vm=1, type=3.
Definition: drtiontr.h:2999
OFBool imageReferencesEmpty()
checks if the list of image references for this displayed area is empty.
Definition: dvpssv.h:134
virtual OFCondition write(DcmItem &item)
Write Frame VOI LUT Sequence to given item.
OFString & replace(size_t pos1, size_t n1, const OFString &str, size_t pos2=0, size_t n2=OFString_npos)
replaces a range of characters in the current string with a range of characters taken from the input ...
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtsss.h:325
OFBool isEmpty()
check if sequence is empty
DRTAdmittingDiagnosesCodeSequence AdmittingDiagnosesCodeSequence
AdmittingDiagnosesCodeSequence (0008,1084) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3021
virtual OFCondition getPixelAspectRatio(Sint32 &value, const unsigned long pos=0) const
get PixelAspectRatio (0028,0034)
OFList< TransferEntry * > TransferList
list of SOP instances to be transferred
Definition: dstorscu.h:532
DiHSVImage(const DiDocument *docu, const EI_Status status)
constructor
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableUnlimitedTextVRGeneration
Global flag to enable/disable the generation of VR=UT, which has been introduced after the first edit...
DRTDerivationCodeSequence DerivationCodeSequence
DerivationCodeSequence (0008,9215) vr=SQ, vm=1, type=3.
Definition: drtssrs.h:229
virtual OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
OFBool haveGraphicLayerRecommendedDisplayValue(size_t idx)
checks whether a recommended display value (grayscale, color or both) for the given graphic layer exi...
const Item & getCurrentItem() const
get current item in the sequence
DVPSGraphicObject & operator=(const DVPSGraphicObject &)
private undefined assignment operator
virtual OFCondition setSegmentDescription(const OFString &value, const OFBool checkValue=OFTrue)
Set Segment Description.
void clear()
clear all internal member variables
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtics.h:355
OFBool isValidSCPProfile(const char *key) const
checks if the profile is suitable for use by an SCP.
@ EFGS_BOTH
Functional Group can be shared or per-frame.
Definition: fgtypes.h:178
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setPatientBirthDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDateInAlternativeCalendar (0010,0033)
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the reference (which has been checked from outside ...
OFCondition gotoFirstItem()
goto first item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
Interface class for SnoutSequence (300a,030c)
Definition: drtsns.h:28
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getMeasuredAPDimension(OFString &value, const signed long pos=0) const
get MeasuredAPDimension (0010,1023)
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
virtual ~DSRDocumentTreeNodeRelationshipTypeFilter()
destructor
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTRequestAttributesSequence RequestAttributesSequence
RequestAttributesSequence (0040,0275) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3184
unsigned long corruptSignaturesImage
number of corrupt signatures in current Image
Definition: dvsighdl.h:203
void rotateAndFlip(DVPSRotationType rotationFrom, OFBool isFlippedFrom, DVPSRotationType rotationTo, OFBool isFlippedTo)
adjusts the displayed area coordinates for the rotation and flipping status of the image.
DcmShortString GeneralAccessoryID
GeneralAccessoryID (300a,0421) vr=SH, vm=1, type=1.
Definition: drtgas.h:197
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmDataset * statusDetail_
an optional DICOM dataset with status detail, may be NULL.
Definition: dcmqrdbs.h:75
DcmDecimalString ChannelLength
ChannelLength (300a,0284) vr=DS, vm=1, type=2.
Definition: drtchs.h:635
DcmPresentationState(const DcmPresentationState ©)
private undefined copy constructor
virtual OFCondition clear()
clear (remove) attribute value
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getChannelShieldNominalTransmission(Float64 &value, const unsigned long pos=0) const
get ChannelShieldNominalTransmission (300a,02ba)
virtual OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
OFCondition createPrintJobFilenames(const char *printer, OFString &tempname, OFString &jobname)
creates a new pair of filenames for print job creation.
virtual OFCondition setImageType(const OFString &value, const OFBool checkValue=OFTrue)
Set Image Type.
OFConsole()
default constructor.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
DcmDecimalString TableTopVerticalPosition
TableTopVerticalPosition (300a,0128) vr=DS, vm=1, type=3.
Definition: drtimage.h:5344
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
Item & operator=(const Item ©)
assigment operator
void clear()
clear all internal member variables
DVPSStoredPrint(Uint16 illumin, Uint16 reflection, const char *aetitle=NULL)
constructor
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtrscs.h:341
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item class.
Definition: drtmris.h:36
DcmIntegerString ChannelNumber
ChannelNumber (300a,0282) vr=IS, vm=1, type=1.
Definition: drtchs.h:637
Interface class for GeneralAccessorySequence (300a,0420)
Definition: drtgas.h:28
OFBool isEmpty()
check if item is empty
DRTReferencedControlPointSequence & operator=(const DRTReferencedControlPointSequence ©)
assigment operator
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DSRDocumentTreeNode * getDown() const
get pointer to first child node
Definition: dsrdoctn.h:522
DcmDecimalString SpecifiedMeterset
SpecifiedMeterset (3008,0042) vr=DS, vm=1, type=2.
Definition: drticpds.h:870
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DJDecompressIJG16Bit & operator=(const DJDecompressIJG16Bit &)
private undefined copy assignment operator
virtual OFCondition setSeriesNumber(const OFString &value, const OFBool checkValue=OFTrue)
Set Series Number.
DcmSignedLong(const DcmTag &tag, const Uint32 len)
constructor.
OFCondition getStringValue(OFString &stringVal)
get a copy of the current string value.
virtual OFCondition setContentTime(const OFString &value, const OFBool check=OFTrue)
set content time
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
OFCondition getHighBit(Uint16 &value, const unsigned long pos=0) const
get HighBit (0028,0102)
DRTIonBeamSequence & operator=(const DRTIonBeamSequence ©)
assigment operator
virtual OFCondition getDoubleFloatPixelPaddingRangeLimit(Float64 &value, const signed long pos=0)
Get Double Float Pixel Padding Range Limit.
Item EmptyItem
empty default item
Definition: drtsds.h:386
OFCondition setReferencedToleranceTableNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedToleranceTableNumber (300c,00a0)
DcmShortString AccessionNumber
AccessionNumber (0008,0050) vr=SH, vm=1, type=2.
Definition: drtionpl.h:2994
OFBool disableTransferSyntaxCheck(const OFBool newMode=OFFalse)
disable/enable the "transfer syntax check".
DCMTK_DCMSEG_EXPORT const OFConditionConst SG_EC_InvalidValue
error: invalid value
DcmIntegerString ReferencedFrameNumber
ReferencedFrameNumber (0008,1160) vr=IS, vm=1-n, type=1C.
Definition: drtsis.h:212
DcmShortString ScanSpotTuneID
ScanSpotTuneID (300a,0390) vr=SH, vm=1, type=1C.
Definition: drticpds.h:864
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbvcps.h:183
DcmPersonName PhysiciansOfRecord
PhysiciansOfRecord (0008,1048) vr=PN, vm=1-n, type=3.
Definition: drtiontr.h:2912
OFList< OFString > ArgumentList
list of command line arguments (after parsing)
Definition: ofcmdln.h:1066
Uint16 getMaxDensityValue()
gets the (optional) max density.
OFString ProgramName
program name, i.e. the value of argv[0]
Definition: ofcmdln.h:1058
DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence()
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtiontr.h:1563
virtual OFCondition getPatientBirthTime(OFString &value, const signed long pos=0) const
get PatientBirthTime (0010,0032)
DRTPatientSetupSequence PatientSetupSequence
PatientSetupSequence (300a,0180) vr=SQ, vm=1, type=1.
Definition: drtionpl.h:3213
virtual EP_Interpretation getInternalColorModel() const
get color model of internal pixel representation.
Definition: dimo1img.h:58
DcmWriteCache(const DcmWriteCache &arg)
private undefined copy constructor
OFBool goDown()
go one level down, i.e. store the position on the current level and start with 1 on the new level
DRTChannelShieldSequence ChannelShieldSequence
ChannelShieldSequence (300a,02b0) vr=SQ, vm=1, type=3.
Definition: drtchs.h:639
virtual OFCondition getClinicalTrialSubjectID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectID (0012,0040)
virtual OFCondition readStudyData(DcmItem &dataset)
read StudyData from dataset.
OFCondition getInConcatenationTotalNumber(Uint16 &value, const unsigned int pos)
Get Concatenation Total Number.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition loadAllDataIntoMemory()=0
this method loads all attribute values maintained by this object and all sub-objects (in case of a co...
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtrpcs.h:329
OFString & getStringFromAttribute(const DSRXMLCursor &cursor, OFString &stringValue, const char *name, const OFBool encoding=OFFalse, const OFBool required=OFTrue) const
get string value from particular XML attribute.
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrsts.h:147
DcmIntegerString ReferencedToleranceTableNumber
ReferencedToleranceTableNumber (300c,00a0) vr=IS, vm=1, type=3.
Definition: drtbs.h:785
double luminance() const
this method computes the luminance of the current pixel according to the NTSC formula.
Definition: diqtpix.h:79
Item & getCurrentItem()
get current item in the sequence
void clear()
reset the object to initial state.
a class representing a directory record dataset in a DICOMDIR.
Definition: dcdirrec.h:140
Item & operator=(const Item ©)
assigment operator
OFCondition setScheduledProcedureStepDescription(const OFString &value, const OFBool check=OFTrue)
set ScheduledProcedureStepDescription (0040,0007)
OFCondition getNumberOfBoli(Sint32 &value, const unsigned long pos=0) const
get NumberOfBoli (300a,00ed)
Item EmptyItem
empty default item
Definition: drtdirs.h:299
OFString incomingProfile
profile name for incoming association configuration
Definition: dcmqropt.h:167
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrbs2.h:316
Item & operator=(const Item ©)
assigment operator
int highestBucket
index of highest bucket for which the DcmDictEntryList has been initialized
Definition: dchashdi.h:297
Item EmptyItem
empty default item
Definition: drtrfgs.h:338
DiMonoOutputPixel(const DiMonoPixel *pixel, const unsigned long size, const unsigned long frame, const unsigned long max)
constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getOrganAtRiskLimitDose(Float64 &value, const unsigned long pos=0) const
get OrganAtRiskLimitDose (300a,002b)
Item & getItem(const size_t num)
get particular item in the sequence
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtrics.h:344
DRTRecordedBlockSequence & operator=(const DRTRecordedBlockSequence ©)
assigment operator
virtual OFCondition setStudyTime(const OFString &value, const OFBool check=OFTrue)
set StudyTime (0008,0030)
virtual OFCondition getReferringPhysicianName(OFString &value, const signed long pos=0) const
get ReferringPhysicianName (0008,0090)
virtual OFCondition putSint32(const Sint32 sintVal, const unsigned long pos=0)
set particular element value to given integer
static OFString segtype2OFString(const DcmSegTypes::E_SegmentationType &value)
Return string representation from segmentation enum type.
DRTPersonIdentificationCodeSequence PersonIdentificationCodeSequence
PersonIdentificationCodeSequence (0040,1101) vr=SQ, vm=1, type=1.
Definition: drtcpis.h:208
DcmUnsignedShort overlayBitsAllocated
VR=US, VM=1, Type=1.
Definition: dvpsov.h:155
virtual OFCondition setBitsStored(const Uint16 value, const OFBool checkValue=OFTrue)
Set Bits Stored.
virtual OFCondition putSint16Array(const Sint16 *sintVals, const unsigned long numSints)
set element value to given integer array data
OFCondition getElementFromNodeContent(const DSRXMLCursor &cursor, DcmElement &delem, const char *name=NULL, const OFBool encoding=OFFalse) const
get element value from particular XML element
Item & getCurrentItem()
get current item in the sequence
Item class.
Definition: drthsdrs.h:36
DRTReferringPhysicianIdentificationSequence ReferringPhysicianIdentificationSequence
ReferringPhysicianIdentificationSequence (0008,0096) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4885
T * Data
pointer to pixel data
Definition: dimopxt.h:420
virtual OFCondition getFrameType(OFString &value, const signed long pos=0) const
Get FrameType.
virtual OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
DcmCodeString TableTopRollRotationDirection
TableTopRollRotationDirection (300a,0146) vr=CS, vm=1, type=2C.
Definition: drticps.h:835
const DRTBreedRegistrationSequence & getBreedRegistrationSequence() const
get BreedRegistrationSequence (0010,2294)
Definition: drtplan.h:1310
virtual OFCondition setNumberOfFrames(const OFString &value, const OFBool check=OFTrue)
set NumberOfFrames (0028,0008)
#define OFrvalue_ref(T)
Determines rvalue reference type for the type T.
Definition: ofutil.h:214
virtual ~DRTCorrectedParameterSequence()
destructor
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtcncs.h:337
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getInstanceNumber(Sint32 &value, const unsigned long pos=0) const
get InstanceNumber (0020,0013)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getInstanceCreationTime(OFString &value, const signed long pos=0) const
get InstanceCreationTime (0008,0013)
virtual OFBool hasTemplateIdentification() const
check whether template identification is set
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getOFStringArray(OFString &stringVal, OFBool normalize=OFTrue)
get the string value (all components)
OFCondition DisconnectFromFileSystem()
Disconnects from the worklist file system database.
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtdimcs.h:347
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtspccs.h:324
DRTROIContourSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition getInstanceNumber(OFString &value, const signed long pos=0) const
get InstanceNumber (0020,0013)
@ EJM_lossless
JPEG lossless.
Definition: djutils.h:73
static T epsilon()
The machine epsilon, that is, the difference between and the next value representable by the floatin...
OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read list of items from XML document
const Item & getItem(const size_t num) const
get particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
void setDIMSETimeout(const Uint32 dimseTimeout)
Set timeout for receiving DIMSE messages.
OFString m_Module
Module (e.g. "PatientModule" or "component name", e.g. "CodeSequenceMacro".
Definition: iodrules.h:243
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtsptcs.h:327
DRTRangeModulatorSettingsSequenceInRTIonBeamsModule(const DRTRangeModulatorSettingsSequenceInRTIonBeamsModule ©)
copy constructor
DcmListNode * lastNode
pointer to last node in list
Definition: dclist.h:172
static OFString & combineDirAndFilename(OFString &result, const OFString &dirName, const OFString &fileName, const OFBool allowEmptyDirName=OFFalse)
combine the given directory and file name.
const Item & operator[](const size_t num) const
get particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
virtual OFCondition setPatientBreedDescription(const OFString &value, const OFBool check=OFTrue)
set PatientBreedDescription (0010,2292)
@ EVR_SS
signed short
Definition: dcvr.h:189
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition getSourceToReferenceObjectDistance(Float64 &value, const unsigned long pos=0) const
get SourceToReferenceObjectDistance (3002,0028)
DSRDocumentTreeNodeCursor()
default constructor
DcmSegTypes::E_SegmentationType getSegmentationType()
Get Segmentation Type.
Definition: segdoc.h:192
OFCondition read(DcmItem &item)
read elements from sequence item
Item & getCurrentItem()
get current item in the sequence
OFBool isEmpty()
check if sequence is empty
Interface class for ModifiedAttributesSequence (0400,0550)
Definition: drtmas.h:28
static OFString & getValueFromXMLNodeContent(const DSRXMLDocument &doc, DSRXMLCursor cursor, OFString &dateTimeValue, const OFBool clearString=OFTrue)
get DICOM date/time value from given XML element.
Item(const Item ©)
copy constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
virtual OFCondition getDoseComment(OFString &value, const signed long pos=0) const
get DoseComment (3004,0006)
DcmCodeString m_ContentLabel
Content Label: (CS, VM 1, Type 1)
Definition: iodmacro.h:1194
int getHistogramWindow(const double thresh, double ¢er, double &width)
get automatically computed histogram window
Definition: dimopxt.h:271
DiMonoModality(const DiDocument *docu, DiInputPixel *pixel, const double slope, const double intercept)
constructor, rescale
virtual OFCondition putFloat64Array(const Float64 *vals, const unsigned long num)
replace the element value by a copy of the given Float64 array (which is possibly multi-valued).
DRTOperatorIdentificationSequence & getOperatorIdentificationSequence()
get OperatorIdentificationSequence (0008,1072)
Definition: drtos.h:149
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setLeafPositionBoundaries(const OFString &value, const OFBool check=OFTrue)
set LeafPositionBoundaries (300a,00be)
DcmLongText SOPAuthorizationComment
SOPAuthorizationComment (0100,0424) vr=LT, vm=1, type=3.
Definition: drtimage.h:5433
virtual OFCondition getSliceLocation(Float64 &value, const unsigned long pos=0) const
get SliceLocation (0020,1041)
DiRegisterBase()
constructor, default
Definition: diregbas.h:55
static void cleanup()
deregisters encoder.
DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence()
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtimage.h:2614
OFCondition setDisplayedAreaPixelSpacing(double spacingX, double spacingY)
sets the displayed area pixel spacing and removes any pixel aspect ratio setting.
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
OFCondition getTotalCompensatorTrayFactor(OFString &value, const signed long pos=0) const
get TotalCompensatorTrayFactor (300a,00e2)
DcmUnlimitedText LocalNamespaceEntityID
LocalNamespaceEntityID (0040,0031) vr=UT, vm=1, type=1C.
Definition: drtians.h:144
virtual OFCondition getContentDescription(OFString &value, const signed long pos=0)
Get Content Description.
@ RetroOrbitalRoute
(127070,DCM,"Retro-orbital route")
Definition: cid11.h:86
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
Definition: syncprim.h:206
virtual SOPInstanceReferenceMacro & getSOPInstanceReferenceMacro()
Get SOPInstanceReferenceMacro.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drttsmds.h:341
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtads.h:347
void setIdentityType(const T_ASC_UserIdentityNegotiationMode &mode)
Sets identity type to be used.
virtual OFBool isLosslessProcess() const =0
returns true if the transfer syntax supported by this codec is lossless.
Base class for deriving Image Pixel Module, Floating Point Image Pixel Module and Double Floating Poi...
Definition: modimagepixelbase.h:32
DiMonoImage(const DiDocument *docu, const EI_Status status, const double slope, const double intercept)
constructor, rescale
virtual ~FGPlaneOrientationPatient()
Destructor, frees memory.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getVOILUTFunction(OFString &value, const unsigned long pos=0)
Get VOI LUT Function.
DcmPersonName ReferringPhysicianName
ReferringPhysicianName (0008,0090) vr=PN, vm=1, type=2.
Definition: drttreat.h:2743
virtual OFCondition setPerformedProcedureStepStartDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartDate (0040,0244)
OFVector< ReferencedSOPSequenceItem * > m_ReferencedSOPSequence
ReferencedSOPSequence.
Definition: iodcontentitemmacro.h:475
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
virtual OFCondition setDimensionIndexPrivateCreator(const OFString &value, const OFBool checkValue=OFTrue)
Set Dimension Index Private Creator.
virtual const void * getData() const =0
get pointer to pixel data (abstract).
@ DT_KeyObjectSelectionDocument
DICOM IOD: Key Object Selection Document.
Definition: dsrtypes.h:513
const char * getConfigurationInformation()
gets the (optional) configuration information.
CodeSequenceMacro m_TransducerGeometry
Item of Transducer Geometry Code Sequence.
Definition: modenhusimage.h:584
IODReferences m_References
References used when creating Tractography Results objects.
Definition: trctractographyresults.h:292
TrcTractographyResultsModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
virtual ~Item()
destructor
OFCondition getControlPoint3DPosition(Float64 &value, const unsigned long pos=0) const
get ControlPoint3DPosition (300a,02d4)
DcmDate ReviewDate
ReviewDate (300e,0004) vr=DA, vm=1, type=2C.
Definition: drtplan.h:3326
DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence()
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtionpl.h:1463
virtual OFBool isTransparentConnection()
returns OFTrue if this connection is a transparent TCP connection, OFFalse if the connection is a sec...
unsigned long createJavaAWTBitmap(void *&data, const unsigned long frame=0, const int bits=32)
create true color (32 bit) or palette (8 bit) bitmap for Java (AWT default format).
Definition: dcmimage.h:1599
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 ...
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmAssociationConfiguration & operator=(const DcmAssociationConfiguration &arg)
Copy assignment operator, performs deep copy.
XMLCSTR getText(int i=0) const
return ith text field
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid4020.h:177
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrses.h:128
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
static FGDerivationImage * createMinimal(const OFVector< ImageSOPInstanceReferenceMacro > &derivationImages, const OFString &derivationDescription, const CodeSequenceMacro &derivationCode, const CodeSequenceMacro &purposeOfReference)
Convenience function to create a minimalistic FGDerivationImage.
const DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence() const
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtdose.h:2314
OFCondition setCurrentFractionNumber(const OFString &value, const OFBool check=OFTrue)
set CurrentFractionNumber (3008,0022)
OFCondition write(DcmItem &item)
write elements to sequence item
DcmPathNode()
Constructor.
Definition: dcpath.h:45
OFBool operator<(const OFpath &lhs, const OFpath &rhs)
Lexicographically compare two paths.
OFCondition addImageReferenceAttached(const char *aetitle=NULL, const char *filesetID=NULL, const char *filesetUID=NULL)
adds a reference to the currently attached image to this presentation state.
OFBool createIndexCache()
creates index cache to optimize reading of index file
virtual OFCondition decodeFrame(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel) const
decompresses a single frame from the given pixel sequence and stores the result in the given buffer.
virtual ~FGStack()
Virtual destructor, frees memory.
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
@ EVR_DS
decimal string
Definition: dcvr.h:138
DRTReferencedReferenceImageSequenceInRTBeamsModule(const DRTReferencedReferenceImageSequenceInRTBeamsModule ©)
copy constructor
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtbrcss.h:351
DVPSImageBoxContent_PList * clone()
clone method.
Definition: dvpsibl.h:54
static const unsigned int ftoa_alternate
convert value to alternate form.
Definition: ofstd.h:847
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getRadiationAtomicNumber(Sint32 &value, const unsigned long pos=0) const
get RadiationAtomicNumber (300a,0304)
OFList< DVPSDisplayedArea * > list_
the list maintained by this object
Definition: dvpsdal.h:137
unsigned char m_posRspRequested
If 1, positive response is requested from server. Set to 0 otherwise.
Definition: dcuserid.h:285
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmQueryRetrieveProcessTable processtable_
child process table, only used in multi-processing mode
Definition: dcmqrsrv.h:156
DcmCodecList(const DcmCodec *aCodec, const DcmRepresentationParameter *aDefaultRepParam, const DcmCodecParameter *aCodecParameter)
constructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFListIterator(Item *) CurrentItem
currently selected item
virtual ~SiSHA256()
destructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
const DRTMeasuredDoseReferenceSequence & getMeasuredDoseReferenceSequence() const
get MeasuredDoseReferenceSequence (3008,0010)
Definition: drtiontr.h:1461
OFCondition addPresentationContext(const char *key, const char *abstractSyntaxUID, const char *transferSyntaxKey)
adds the given abstract syntax UID and transfer syntax list key to the list of presentation contexts ...
void setVR(const char *vrName)
assign new VR value by name.
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtpbcs.h:337
@ EXS_JPEG2000MulticomponentLosslessOnly
JPEG 2000 part 2 multi-component extensions (lossless)
Definition: dcxfer.h:97
DcmPathProcessor(const DcmPathProcessor &rhs)
Private undefined copy constructor.
@ AttenuationCoefficient
(112031,DCM,"Attenuation Coefficient"), included from CID 7180
Definition: cid7469.h:170
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getXRayTubeCurrent(Sint32 &value, const unsigned long pos=0) const
get XRayTubeCurrent (0018,1151)
OFCondition getChannelShieldNominalThickness(Float64 &value, const unsigned long pos=0) const
get ChannelShieldNominalThickness (300a,02b8)
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtcbars.h:346
const DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence() const
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtionpl.h:1301
@ EJLSBD_limit
limit bit depth to a certain value, i.e.
Definition: djlsutil.h:101
virtual OFBool matches(const OFString &key, const OFString &candidate, const OFBool enableWildCardMatching=OFTrue) const
virtual ~DcmOutputStream()
destructor
@ ER_RepresentationHex
The UUID is printed in hexadecimal notation with hyphens (-) separating groups.
Definition: ofuuid.h:44
int compare(size_t pos1, size_t n1, const OFString &str) const
constructs a temporary string from this object and compares it with the input string
OFCondition setReferencedRangeShifterNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedRangeShifterNumber (300c,0100)
OFCondition gotoFirstItem()
goto first item in the sequence
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrms.h:193
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
virtual OFCondition getIrradiationEventUID(OFString &value, const signed long pos=0) const
get IrradiationEventUID (0008,3010)
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format
DcmDate ContentDate
Content Date: (DA, 1, 1)
Definition: dsrdoc.h:1429
const Item & getCurrentItem() const
get current item in the sequence
T_DIMSE_BlockingMode m_blockMode
DIMSE blocking mode (default: blocking)
Definition: scu.h:1029
size_t find_last_of(const char *s, size_t pos=OFString_npos) const
determines the highest location, loc, up to pos, such that the character at loc matches at least one ...
@ DT_PatientRadiationDoseSR
DICOM IOD: Patient Radiation Dose SR.
Definition: dsrtypes.h:541
OFCondition setBitsAllocated(const Uint16 value, const unsigned long pos=0)
set BitsAllocated (0028,0100)
OFCondition gotoFirstItem()
goto first item in the sequence
DcmCodeString ResponsiblePersonRole
ResponsiblePersonRole (0010,2298) vr=CS, vm=1, type=1C.
Definition: drtplan.h:3023
Sint16 Top
y-coordinate of overlay plane's origin
Definition: diovpln.h:430
DcmObject * Object
reference to DICOM dataset (in memory)
Definition: didocu.h:398
virtual ~Item()
destructor
OFCondition write(DcmItem &item)
write elements to sequence item
~DiColorRotateTemplate()
destructor
Definition: dicorot.h:79
pointer m_pData
The underlying (raw) pointer.
Definition: ofmem.h:418
DRTReferencedBeamSequenceInRTGeneralTreatmentRecordModule & operator=(const DRTReferencedBeamSequenceInRTGeneralTreatmentRecordModule ©)
assigment operator
DRTReferencedBolusSequenceInRTBeamsModule(const DRTReferencedBolusSequenceInRTBeamsModule ©)
copy constructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
const char * getOriginator()
gets the the application entity title of the print SCU.
virtual const void * getData() const =0
get pointer to output pixel data (abstract)
OFList< OFCmdParamPos * > ParamPosList
list of parameter positions within argument list
Definition: ofcmdln.h:1071
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
OFCondition getFloatingPointValue(Float64 &value, const unsigned long pos=0) const
get FloatingPointValue (0040,a161)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtvls.h:141
Item & getCurrentItem()
get current item in the sequence
DcmDecimalString DVHMeanDose
DVHMeanDose (3004,0074) vr=DS, vm=1, type=3.
Definition: drtdvhs.h:311
OFCondition setTime(const OFString &value, const OFBool check=OFTrue)
set Time (0040,a122)
abstract base class for all security profiles.
Definition: sisprof.h:44
const Item & getItem(const size_t num) const
get particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition getPerformedProcedureStepStartDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartDate (0040,0244)
@ EXS_JPEGProcess10_12
JPEG Full Progression, Non-Hierarchical (lossy, 8/12 bit)
Definition: dcxfer.h:59
DcmDecimalString SourceEncapsulationNominalThickness
SourceEncapsulationNominalThickness (300a,0222) vr=DS, vm=1, type=3.
Definition: drtss.h:420
const DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence() const
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtdose.h:2194
~DcmSCPConfig()
Destructor, cleans up memory.
virtual OFCondition setTemplateIdentification(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="", const OFBool check=OFTrue)
set template identifier and mapping resource to the root node of this tree.
Item & getItem(const size_t num)
get particular item in the sequence
const DRTDoseReferenceSequence & getDoseReferenceSequence() const
get DoseReferenceSequence (300a,0010)
Definition: drtplan.h:1430
OFMutex cerrMutex
mutex protecting access to cerr
Definition: ofconsol.h:237
Item & getCurrentItem()
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrpps.h:335
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getNumberOfControlPoints(OFString &value, const signed long pos=0) const
get NumberOfControlPoints (300a,0110)
Interface class for BreedRegistryCodeSequence (0010,2296)
Definition: drtbrcss.h:29
~OFSockAddr()
Destructor.
Definition: ofsockad.h:64
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrecs.h:311
OFBool isEmpty()
check if sequence is empty
DB_SmallDcmElmt(const DB_SmallDcmElmt ©)
private undefined copy constructor
DcmFindSCUCallback & operator=(const DcmFindSCUCallback &other)
private undefined assignment operator.
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtcncs.h:349
void warn(const log4cplus::tstring &msg) const
This method is used to output log4cplus internal warning statements.
CodeWithModifiers m_Anatomy
Anatomy code for this Track Set.
Definition: trctrackset.h:449
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
IODAcquisitionContextModule m_IODAcquisitionContextModule
Acquisition Context Module.
Definition: dpmparametricmapbase.h:242
@ EXS_JPEGProcess25_27
JPEG Full Progression, Hierarchical (lossy, 8/12 bit), arithmetic coding.
Definition: dcxfer.h:77
virtual OFCondition createOffsetTable(const DcmOffsetList &offsetList)
creates in this object an offset table for a compressed pixel sequence
Uint32 getFileOffset() const
get the offset in file of this directory record
pointer operator->() const
Dereference the iterator.
DRTReferencedSetupImageSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getPrivateCreatorReference(OFString &value, const signed long pos=0) const
get PrivateCreatorReference (0008,0302)
const void * getData() const
get pointer to internal pixel data
Definition: dimopxt.h:138
static OFBool check32BitAddOverflow(const Uint32 summand1, const Uint32 summand2)
check whether the addition of two 32-bit integers yields in an overflow
Definition: ofstd.h:890
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpcs.h:324
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
Template class to convert color image to monochrome images.
Definition: dicomot.h:42
Metafunction to add another pointer-level to a type.
Definition: oftraits.h:477
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setTableTopVerticalPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopVerticalPosition (300a,0128)
DcmCodeString LongitudinalTemporalEventType
LongitudinalTemporalEventType (0012,0053) vr=CS, vm=1, type=1C.
Definition: drttreat.h:2833
virtual OFCondition setClinicalTrialTimePointID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointID (0012,0050)
DcmFileCache & operator=(const DcmFileCache &arg)
private undefined copy assignment operator
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getDiaphragmPosition(OFString &value, const signed long pos=0) const
get DiaphragmPosition (3002,0034)
OFCondition setCompensatorID(const OFString &value, const OFBool check=OFTrue)
set CompensatorID (300a,00e5)
virtual OFCondition getDVHNormalizationDoseValue(Float64 &value, const unsigned long pos=0) const
get DVHNormalizationDoseValue (3004,0042)
DcmCodeString WedgeType
WedgeType (300a,00d3) vr=CS, vm=1, type=2.
Definition: drtws.h:286
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
DcmTime ContentTime
Content Time: (TM, 1, 1)
Definition: dsrdoc.h:1431
OFCondition gotoNextItem()
goto next item in the sequence
virtual ~Item()
destructor
DRTDeidentificationMethodCodeSequence DeidentificationMethodCodeSequence
DeidentificationMethodCodeSequence (0012,0064) vr=SQ, vm=1, type=1C.
Definition: drtstrct.h:2793
OFCondition setMinMaxWindow(const int idx=0)
set automatically calculated minimum/maximum window.
Definition: drmimage.h:149
DVPSRotationType currentImageRotation
a flag describing the current rotation angle of currentImage
Definition: dvpstat.h:1266
static DcmTLSCipherAuthentication getCipherSuiteAuthentication(size_t idx)
returns the authentication algorithm used by the ciphersuite with the given index
OFCondition setXRayImageReceptorAngle(const OFString &value, const OFBool check=OFTrue)
set XRayImageReceptorAngle (3002,000e)
virtual OFCondition putSint16(const Sint16 sintVal, const unsigned long pos=0)
set particular element value to given integer
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getLateralSpreadingDeviceType(OFString &value, const signed long pos=0) const
get LateralSpreadingDeviceType (300a,0338)
virtual OFCondition setLossyImageCompressionMethod(const OFString &value, const OFBool checkValue=OFTrue)
Set Lossy Image Compression Method.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
void clear()
clear all internal member variables
const DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence() const
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtimage.h:3040
DJCompressIJG16Bit(const DJCodecParameter &cp, EJ_Mode mode, int prediction, int ptrans)
constructor for lossless JPEG
DRTStrainStockSequence & operator=(const DRTStrainStockSequence ©)
assigment operator
OFCondition gotoFirstItem()
goto first item in the sequence
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtssrcs.h:341
OFCondition setReferencedLateralSpreadingDeviceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedLateralSpreadingDeviceNumber (300c,0102)
DcmDecimalString BlockData
BlockData (300a,0106) vr=DS, vm=2-2n, type=1.
Definition: drtibls.h:342
const signed long Left
left coordinate of clipping area
Definition: discalet.h:240
int setMinMaxWindow(const int idx=1)
set automatically calculated minimum/maximum window.
OFCondition getRTBeamLimitingDeviceType(OFString &value, const signed long pos=0) const
get RTBeamLimitingDeviceType (300a,00b8)
virtual OFBool isClinicalTrialSubjectModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSubjectModule (U) is present.
DSRSubTemplate(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="")
constructor
@ SUVlbmJanma
(126405,DCM,"SUVlbm(Janma)"), included from CID 7180
Definition: cid7469.h:320
OFCondition setNumberOfWedges(const OFString &value, const OFBool check=OFTrue)
set NumberOfWedges (300a,00d0)
DRTHL7StructuredDocumentReferenceSequence HL7StructuredDocumentReferenceSequence
HL7StructuredDocumentReferenceSequence (0040,a390) vr=SQ, vm=1, type=1C.
Definition: drtimage.h:5445
OFList< DVPSVOILUT * > list_
the list maintained by this object
Definition: dvpsvll.h:92
virtual OFCondition getFrameComments(OFString &value, const signed long pos=0)
Get Frame Comments.
@ WaterPerFatOutOfPhase
(129102,DCM,"Water/fat out of phase"), included from CID 7180
Definition: cid7469.h:336
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
DcmSCU & operator=(const DcmSCU &src)
Private undefined operator=.
JLS_PlanarConfiguration
describes how the decoder should handle planar configuration of decompressed color images.
Definition: djlsutil.h:74
virtual OFString checkAndInventType2Attrib(const DcmTagKey &key, DcmDataset *targetDset, const OFString &defaultValue="") const
Checks whether a given tag exists in a dataset (can be empty) If not, the tag is inserted (if enabled...
Definition: i2doutpl.h:165
OFBool isPrivate() const
returns true if the tag key is private, i.e.
Definition: dctagkey.h:307
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item EmptyItem
empty default item
Definition: drtdias.h:315
OFListIterator(OFListIterator_OFString) OptionPosIterator
current position in option position list
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
Base class for a list of document tree node filters.
Definition: dsrdnflt.h:73
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
DPMParametricMapBase(OFin_place_type_t(ImagePixel))
Constructor; not public since object should be create via factory method in derived class.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
DRTContextGroupIdentificationSequence ContextGroupIdentificationSequence
ContextGroupIdentificationSequence (0008,0123) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2987
virtual void resetRules()
Resets rules to their original values.
OFCondition write(DcmItem &item)
write elements to sequence item
static OFCondition loadFile(DcmFileFormat &dcmff, const OFString &filename, DcmDataset *&dset)
Loads file.
OFBool popened_
a flag indicating whether or not this object was created with popen().
Definition: offile.h:1067
@ StandardDeviation
(386136009,SCT,"Standard Deviation")
Definition: cid7464.h:50
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtscs.h:211
DRTRangeShifterSettingsSequenceInRTIonBeamsModule(const DRTRangeShifterSettingsSequenceInRTIonBeamsModule ©)
copy constructor
virtual OFCondition getInstanceCreationDate(OFString &value, const signed long pos=0) const
get InstanceCreationDate (0008,0012)
virtual OFBool add(IODReference *ref)
Add reference to this set of references.
unsigned int MinDensity
minimum density of a print-out (in hundreds of Optical Density)
Definition: dimoimg.h:1122
static OFCondition copyReferenceImageAttributes(DcmItem *src, DcmItem *diffImage)
initialize the difference image DICOM dataset by copying all required attributes from the reference i...
static const char * getStringValueFromElement(const DcmElement &delem)
get string value from element
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
virtual OFCondition getInstanceNumber(OFString &value, const signed long pos=0) const
get InstanceNumber (0020,0013)
virtual OFCondition setInstanceCreatorUID(const OFString &value, const OFBool check=OFTrue)
set InstanceCreatorUID (0008,0014)
CodeSequenceMacro(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent, const OFString &codeValue, const OFString &codingSchemeDesignator, const OFString &codeMeaning, const OFString &codingSchemeVersion="")
Convenience constructor to set initial values.
OFVector< size_t > ciphersuiteList
current list of ciphersuites
Definition: tlsciphr.h:414
OFCondition write(DcmItem &item)
write elements to sequence item
this class describes configuration settings for a Query/Retrieve SCP Service
Definition: dcmqrcnf.h:198
static const size_t PF_printLongSOPClassName
print long SOP class name of referenced objects (default: short name for images)
Definition: dsrtypes.h:435
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
OFBool getPixelData(void *data, const unsigned long count, const unsigned long fcount, const unsigned long frames, const int planar) const
fill given memory block with pixel data (all three image planes, RGB)
Definition: dicopxt.h:189
DcmLongString PatientID
PatientID (0010,0020) vr=LO, vm=1, type=1.
Definition: drtspgis.h:149
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
const DRTBeamDoseVerificationControlPointSequence & getBeamDoseVerificationControlPointSequence() const
get BeamDoseVerificationControlPointSequence (300a,008c)
Definition: drtrdrs1.h:127
Item EmptyItem
empty default item
Definition: drtes.h:745
Interface class for BeamDoseVerificationControlPointSequence (300a,008c)
Definition: drtbvcps.h:28
virtual BaseSCPWorker * createSCPWorker()
Create a worker to be used for handling a request.
Definition: scppool.h:334
OFCondition getTextValue(OFString &value, const signed long pos=0) const
get TextValue (0040,a160)
virtual OFCondition abortAssociation()
Aborts the current association by sending an A-ABORT request to the SCP.
T_ASC_UserIdentityNegotiationMode m_userIdentityType
User Identity Type: 1 (username), 2 (username/password), 3 (kerberos), 4 (SAML)
Definition: dcuserid.h:283
virtual OFCondition setSOPAuthorizationComment(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationComment (0100,0424)
virtual DcmElement * remove(DcmObject *elem)
remove element from list.
@ MonoclonalAntibodymAb_89Zr
(126511,DCM,"Monoclonal Antibody (mAb) ^89^Zr")
Definition: cid4021.h:208
virtual OFBool checkCallingHostAccepted(const OFString &hostOrIP)
Overwrite this function if calling IP / host name should undergo checking.
const Item & getCurrentItem() const
get current item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmZLibOutputFilter & operator=(const DcmZLibOutputFilter &)
private unimplemented copy assignment operator
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
OFCondition readXMLVerifyingObserverData(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read XML verifying observer data
void setLZWPredictor(DiTIFFLZWPredictor pred)
set predictor type for LZW compression
DSRCodedEntryValue * getConceptNamePtr()
get pointer to the concept name
Definition: dsrdoctn.h:498
DSRImageReferenceValue * getImageReferencePtr()
get pointer to image reference.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual ~Item()
destructor
OFList< DVPSGraphicAnnotation * > list_
the list maintained by this object
Definition: dvpsgal.h:262
@ SAT_SEMIAUTOMATIC
Calculated segment with user interaction.
Definition: segtypes.h:108
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtgmcs.h:335
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtdimcs.h:357
OFBool isValid() const
check if item is valid, i.e. not the empty default item
@ SUVbw
(126401,DCM,"SUVbw"), included from CID 7180
Definition: cid7469.h:314
DRTDeidentificationMethodCodeSequence DeidentificationMethodCodeSequence
DeidentificationMethodCodeSequence (0012,0064) vr=SQ, vm=1, type=1C.
Definition: drtplan.h:3031
virtual OFCondition getPatientAge(OFString &value, const signed long pos=0) const
get PatientAge (0010,1010)
const OFString & getOutputDirectory() const
get the output directory to be used for the storage of the received DICOM datasets.
DiImage * createFlip(const int horz, const int vert) const
create a flipped copy of the current image
TrcMeasurement()
Protected constructor, use create() method to create a new track set.
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches the filter criterion
virtual OFCondition getCodeValue(OFString &value, const signed long pos=0)
Get Code Value.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_ElemLengthExceeds32BitField
Element length is larger than 32-bit length field permits.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtadcs.h:533
int checkPlane(const unsigned int plane, const int mode=1)
check whether the specified plane is valid.
virtual OFBool canWriteXfer(const E_TransferSyntax newXfer, const E_TransferSyntax oldXfer=EXS_Unknown)
check if this DICOM object can be encoded in the given transfer syntax.
@ GlembatumumabVedotin_89Zr
(126724,DCM,"Glembatumumab vedotin ^89^Zr")
Definition: cid4021.h:180
virtual OFCondition getFrameOfReferenceUID(OFString &value, const signed long pos=0) const
get FrameOfReferenceUID (0020,0052)
DcmExtendedNegotiationMap()
constructor
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtccs.h:345
void clear()
clear all internal member variables
const DRTLateralSpreadingDeviceSequence & getLateralSpreadingDeviceSequence() const
get LateralSpreadingDeviceSequence (300a,0332)
Definition: drtibs.h:594
OFCondition getIsocenterToBlockTrayDistance(Float32 &value, const unsigned long pos=0) const
get IsocenterToBlockTrayDistance (300a,00f7)
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtcbars.h:344
virtual OFBool isROIContourModulePresent(const OFBool complete=OFFalse)
check whether ROIContourModule (C) is present.
virtual DcmSharedSCPConfig & getSharedConfig()
Get access to the DcmSharedSCPConfig object.
FGFrameContent()
Constructor, creates empty functional group.
DcmSequenceOfItems(const DcmTag &tag)
constructor.
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
virtual OFCondition setSliceLocation(const OFString &value, const OFBool check=OFTrue)
set SliceLocation (0020,1041)
a class representing X.509 public key certificates.
Definition: sicertvf.h:40
OFCondition createJPEGFileMap()
Function that scans a JPEG file and creates a "file map" which includes all JPEG markers and their by...
virtual ~Item()
destructor
Class for image segment number list.
Definition: dsrimgse.h:41
virtual CodeSequenceMacro * getMeasurementUnitsCodeSequence()
Get reference to the MeasurementUnitsCodeSequence.
Interface class for ReferencedControlPointSequence (300c,00f2)
Definition: drtrcps.h:28
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getSpecificCharacterSet(OFString &value, const signed long pos=0) const
get SpecificCharacterSet (0008,0005)
const char * getUserLogin(const char *userID)
returns the login for the given user.
DCMTK_DCMNET_EXPORT OFGlobal< Sint32 > dcmConnectionTimeout
Global timeout in seconds for connecting to remote hosts.
void clear()
Resets DcmTransferSyntaxMap and frees any allocated memory.
virtual OFCondition getLastMenstrualDate(OFString &value, const signed long pos=0) const
get LastMenstrualDate (0010,21d0)
DcmCodeString currentImageModality
modality of currently attached image (if any)
Definition: dvpstat.h:1285
Uint32 m_acseTimeout
Timeout for ACSE operations in seconds.
Definition: scpcfg.h:379
StudiesOtherInstancesItem(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL)
Constructor.
int trywait()
atomically decreases the counter if it is larger than zero, otherwise returns OFSemaphore::busy.
Interface class for StructureSetROISequence (3006,0020)
Definition: drtssrs.h:29
OFCondition setCumulativeDoseToDoseReference(const OFString &value, const OFBool check=OFTrue)
set CumulativeDoseToDoseReference (3008,0052)
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTConsultingPhysicianIdentificationSequence ConsultingPhysicianIdentificationSequence
ConsultingPhysicianIdentificationSequence (0008,009d) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3073
virtual OFCondition setSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceUID (0008,0018)
size_t getNumberOfItems() const
get number of items in the sequence
DcmDecimalString SpatialResolution
SpatialResolution (0018,1050) vr=DS, vm=1, type=3.
Definition: drtionpl.h:3158
void forceAssociationRefuse(const OFBool doRefuse)
Force every association request to be refused by SCP, no matter what the SCU is offering.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_MaximumLengthViolated
Maximum VR length violated.
DVPSPrintSCP(const DVPSPrintSCP ©)
private undefined copy constructor
A class for automatically creating unique pseudo-random filenames.
Definition: offname.h:33
DRTReferencedBolusSequenceInRTBeamsModule & operator=(const DRTReferencedBolusSequenceInRTBeamsModule ©)
assigment operator
OFCondition gotoNextItem()
goto next item in the sequence
DRTSnoutSequence & getSnoutSequence()
get SnoutSequence (300a,030c)
Definition: drtibs.h:660
virtual OFCondition setSpatialResolution(const OFString &value, const OFBool check=OFTrue)
set SpatialResolution (0018,1050)
static void debugDumpBin(Uint8 *buffer, size_t length, const char *what)
Dumps a memory block byte for byte to the debug log stream.
DcmUnlimitedText UniqueDeviceIdentifier
UniqueDeviceIdentifier (0018,1009) vr=UT, vm=1, type=1.
Definition: drtudis.h:132
DRTReferencedDoseReferenceSequenceInRTBeamsModule & getReferencedDoseReferenceSequence()
get ReferencedDoseReferenceSequence (300c,0050)
Definition: drtcps.h:421
virtual OFCondition getTimeOfLastCalibration(OFString &value, const signed long pos=0) const
get TimeOfLastCalibration (0018,1201)
virtual FGInterface & getFunctionalGroups()
Get access to functional groups.
@ T1
(113063,DCM,"T1"), included from CID 7180
Definition: cid7469.h:76
DcmCodeString SmokingStatus
SmokingStatus (0010,21a0) vr=CS, vm=1, type=3.
Definition: drtstrct.h:2886
virtual OFCondition getCineRate(OFString &value, const signed long pos=0) const
get CineRate (0018,0040)
DVPSVOILUT_PList & operator=(const DVPSVOILUT_PList &)
private undefined assignment operator
DcmLongString ClinicalTrialProtocolEthicsCommitteeApprovalNumber
ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082) vr=LO, vm=1, type=3.
Definition: drtionpl.h:2973
static Uint32 limitMaxFrames(const size_t numFramesPresent, const OFString &warning)
Print warning if more than 2147483647 frames are present.
void mixSeed()
mix the seed values and then generate the first round of random numbers.
DRTConsentForClinicalTrialUseSequence ConsentForClinicalTrialUseSequence
ConsentForClinicalTrialUseSequence (0012,0083) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3076
const char * getStudyInstanceUID()
gets the Study Instance UID.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setSourceApplicatorStepSize(const OFString &value, const OFBool check=OFTrue)
set SourceApplicatorStepSize (300a,02a0)
Interface class for ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtcpis.h:30
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format to a stream
DSRTree()
default constructor
Definition: dsrtree.h:393
OFCondition setReferencedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceNumber (300c,0051)
virtual const DcmIODTypes::Frame * getFrame(const size_t &frameNo)
Get (const) frame data of a specific frame.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getRealWorldValueLastValueMapped(Sint32 &value, const unsigned long pos=0) const
Get Real World Value First Value Mapped.
DcmLongString StrainStockNumber
StrainStockNumber (0010,0214) vr=LO, vm=1, type=1.
Definition: drtsss.h:149
DcmUnlimitedText PrivateDataElementDescription
PrivateDataElementDescription (0008,030e) vr=UT, vm=1, type=3.
Definition: drtpdeds.h:230
virtual OFCondition setSOPInstanceStatus(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceStatus (0100,0410)
virtual DiImage * createImage(const DiDocument *docu, const EI_Status status, const EP_Interpretation photo)
create color image representation
size_t Position
current position within the current level
Definition: dsrposcn.h:161
DcmUniqueIdentifier SeriesInstanceUID
Series Instance Number: (UI, 1, 1)
Definition: dsrdoc.h:1400
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtdspcs.h:324
DRTGeneticModificationsSequence GeneticModificationsSequence
GeneticModificationsSequence (0010,0221) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2848
DcmTLSECFailedToWriteRandomSeedFileConst()
Constructor, initializes the OFConditionConst base.
virtual ~Item()
destructor
Item EmptyItem
empty default item
Definition: drtlsds7.h:322
OFCondition getNumberOfControlPoints(Sint32 &value, const unsigned long pos=0) const
get NumberOfControlPoints (300a,0110)
Item & operator[](const size_t num)
get particular item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
offile_off_t inputBufStart_
offset of first byte in input ring buffer
Definition: dcostrmz.h:166
friend DCMTK_DCMDATA_EXPORT STD_NAMESPACE ostream & operator<<(STD_NAMESPACE ostream &s, const DcmDictEntry &e)
friend operator<<
int LongColumn
width of column for long option names
Definition: ofcmdln.h:1094
This is a very simple filter based on string matching.
Definition: filter.h:262
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtfds.h:388
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmDecimalString BlockData
BlockData (300a,0106) vr=DS, vm=2-2n, type=2.
Definition: drtbl5.h:327
Interface class for DigitalSignaturesSequence (fffa,fffa)
Definition: drtdss.h:29
OFCondition findAndDeleteSequenceItem(const DcmTagKey &seqTagKey, const signed long itemNum)
looks up the given sequence in the current dataset and deletes the given item.
OFCondition getWedgePosition(OFString &value, const signed long pos=0) const
get WedgePosition (300a,0118)
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtscs.h:347
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmDecimalString LossyImageCompressionRatio
LossyImageCompressionRatio (0028,2112) vr=DS, vm=1-n, type=3.
Definition: drtdose.h:4398
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
const DRTFixationDeviceSequence & getFixationDeviceSequence() const
get FixationDeviceSequence (300a,0190)
Definition: drtpss.h:201
OFCondition getNumericValue(OFString &value, const signed long pos=0) const
get NumericValue (0040,a30a)
OFCondition setTableTopLateralPositionTolerance(const OFString &value, const OFBool check=OFTrue)
set TableTopLateralPositionTolerance (300a,0053)
Interface class for RangeShifterSequence (300a,0314)
Definition: drtrshs.h:28
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual void * getDataPtr()=0
get pointer to pixel data (abstract).
ManualResetEvent ev_consumer
Event on which consumer can wait if it finds queue empty.
Definition: queue.h:137
DRTIssuerOfPatientIDQualifiersSequence IssuerOfPatientIDQualifiersSequence
IssuerOfPatientIDQualifiersSequence (0010,0024) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4084
const DRTOriginalAttributesSequence & getOriginalAttributesSequence() const
get OriginalAttributesSequence (0400,0561)
Definition: drtdose.h:2254
virtual OFCondition getAuthorizationEquipmentCertificationNumber(OFString &value, const signed long pos=0) const
get AuthorizationEquipmentCertificationNumber (0100,0426)
DRTOperatorIdentificationSequence & getOperatorIdentificationSequence()
get OperatorIdentificationSequence (0008,1072)
Definition: drtiontr.h:1467
DcmTime studyTime
Module=General_Study, VR=TM, VM=1, Type 2.
Definition: dcmpstat.h:809
DcmOverlayData & getData()
return reference to overlay data
Definition: dvpsov.h:131
OFBool isSignableTag() const
returns true if a data element with the given tag key can be digitally signed, false otherwise
offile_off_t bufSize_
size of the user buffer, in bytes
Definition: dcistrmb.h:123
OFCondition getReferencedStartControlPointIndex(OFString &value, const signed long pos=0) const
get ReferencedStartControlPointIndex (300c,00f4)
Item & getItem(const size_t num)
get particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmShortText(const DcmShortText &old)
copy constructor
OFCondition putNameComponents(const OFString &lastName, const OFString &firstName, const OFString &middleName, const OFString &namePrefix, const OFString &nameSuffix)
put element value from specified name components.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual IODReference * clone() const
Create (deep) clone copy of this reference.
void voilut(const DiMonoPixel *inter, const Uint32 start, const DiLookupTable *vlut, const DiLookupTable *plut, DiDisplayFunction *disp, const T3 low, const T3 high)
apply the currently active VOI LUT to the output data
Definition: dimoopxt.h:335
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
DcmCodeString LongitudinalTemporalEventType
LongitudinalTemporalEventType (0012,0053) vr=CS, vm=1, type=1C.
Definition: drtimage.h:4973
OFCondition getItem(const size_t idx, Float32 &column, Float32 &row) const
get copy of the specified value pair
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const DRTWedgePositionSequence & getWedgePositionSequence() const
get WedgePositionSequence (300a,0116)
Definition: drtcps.h:451
DSRReferencedInstanceList()
constructor (default)
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getFixationDevicePosition(OFString &value, const signed long pos=0) const
get FixationDevicePosition (300a,0198)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
static void registerCodecs(Uint16 jpls_t1=0, Uint16 jpls_t2=0, Uint16 jpls_t3=0, Uint16 jpls_reset=0, OFBool preferCookedEncoding=OFTrue, Uint32 fragmentSize=0, OFBool createOffsetTable=OFTrue, JLS_UIDCreation uidCreation=EJLSUC_default, OFBool convertToSC=OFFalse, DJLSCodecParameter::interleaveMode jplsInterleaveMode=DJLSCodecParameter::interleaveDefault, OFBool useFFbitstreamPadding=OFTrue)
registers encoders for all supported JPEG-LS processes.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
virtual OFCondition setLossyImageCompressionRatio(const OFString &value, const OFBool check=OFTrue)
set LossyImageCompressionRatio (0028,2112)
OFCondition write(DcmItem &dset)
writes the graphic layer managed by this object to a DICOM dataset.
OFString XMLgetAttribute(XMLNode fileNode, DcmTagKey attr)
This function is only used to process CDA files.
DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence()
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtimage.h:2686
OFBool getUIDCreation() const
returns mode for SOP Instance UID creation
Definition: dcrlecp.h:99
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getImageType(OFString &value, const signed long pos=0)
Get Image Type.
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
@ ECC_monochrome
convert color images to monochrome before compressing
Definition: djutils.h:142
virtual ~TrcTrackSetStatistic()
Destructor, frees memory.
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getNumericValue(Float64 &value, const unsigned long pos=0) const
get NumericValue (0040,a30a)
void assertion(bool assertionVal, const log4cplus::tstring &msg) const
If assertionVal parameter is false, then logs msg with FATAL_LOG_LEVEL log level.
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getMaterialID(OFString &value, const signed long pos=0) const
get MaterialID (300a,00e1)
DRTRecordedCompensatorSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition setRectShutter(Sint32 lv, Sint32 rv, Sint32 uh, Sint32 lh)
sets and activates rectangular display shutter.
DiMonoPixelTemplate(const DiMonoPixel *pixel, const unsigned long count)
constructor
Definition: dimopxt.h:342
Uint16 getBottom(const Sint32 top_pos=0) const
get bottom border of overlay plane origin
Definition: diovpln.h:175
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getStationName(OFString &value, const signed long pos=0) const
get StationName (0008,1010)
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmIntegerString ControlPointIndex
ControlPointIndex (300a,0112) vr=IS, vm=1, type=1.
Definition: drtbcps.h:225
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
DRTDoseReferenceSequence & getDoseReferenceSequence()
get DoseReferenceSequence (300a,0010)
Definition: drtplan.h:1424
OFTestManager()
Private constructor, this is a singleton!
Definition: oftest.h:296
This abstract class defines the "Factory" interface to create "Appender" objects.
Definition: factory.h:65
const Item & getCurrentItem() const
get current item in the sequence
unsigned long createAWTBitmap(void *&data, const unsigned long frame, const int bits)
create true color (32 bit) bitmap for Java (AWT default format).
DSRReferencedSamplePositionList & getSamplePositionList()
get reference to list of referenced sample positions
Definition: dsrtcovl.h:206
virtual OFCondition read(DcmItem &dataset, const DSRIODConstraintChecker *constraintChecker, const size_t flags)
read content item from dataset.
EP_Representation getRepresentation() const
get integer representation of output data
Definition: dimoopxt.h:149
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmPersonName PersonName
PersonName (0040,a123) vr=PN, vm=1, type=1C.
Definition: drtpcxs.h:368
virtual OFCondition setLossyImageCompressionMethod(const OFString &value, const OFBool checkValue=OFTrue)
Set Lossy Image Compression Method.
CID4020_PETRadionuclide(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
Item(const Item ©)
copy constructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence()
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drttreat.h:1275
Item & operator=(const Item ©)
assigment operator
virtual OFCondition getPixelPaddingValue(Uint16 &value, const unsigned long pos=0) const
get PixelPaddingValue (0028,0120)
virtual void notifySENDProgress(const unsigned long byteCount)
This function is called while sending DIMSE messages, i.e. on each PDV of a dataset.
OFCondition computeMonochromeImageComparionMetricsByte()
compare two images that are both monochrome and have at most 8 bits/pixel in internal storage,...
OFBool isImplicitVR() const
return true if transfer syntax is implicit VR, false otherwise
Definition: dcxfer.h:227
void clear()
clear all internal member variables
OFCondition gotoFirstItem()
goto first item in the sequence
void clear()
clear all internal member variables
OFCondition getFrameOfReferenceUID(OFString &value, const signed long pos=0) const
get FrameOfReferenceUID (0020,0052)
const Item & getCurrentItem() const
get current item in the sequence
const char * getOverlayInPresentationStateDescription(size_t idx)
gets the overlay description of the given overlay in the presentation state.
EnumType
types of general region of interest measurement modifiers
Definition: cid7464.h:42
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtxrs.h:311
OFBool isEmpty()
check if item is empty
OFListIterator(Item *) CurrentItem
currently selected item
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtrscs.h:327
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
OFCondition getBeamLimitingDevicePositionTolerance(Float64 &value, const unsigned long pos=0) const
get BeamLimitingDevicePositionTolerance (300a,004a)
Uint16 m_numberOfWarningSubops
Number generated warnings generated by sub operations (in Q/R: C-STORE calls).
Definition: scu.h:169
OFBool isCompressed() const
check whether pixel data only exist in compressed format
Definition: didocu.h:183
XMLClear * updateClear_WOSD(XMLSTR lpszNewContent, int i=0)
if the clearTag to update is missing, a new one will be added
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drtimage.h:5045
OFCondition moveTextObject(size_t old_layer, size_t idx, size_t new_layer, DVPSObjectApplicability applicability=DVPSB_allImages)
moves the text object with the given index on the given layer to a different layer.
static OFCondition loadFile(const OFString &filename, DcmSegmentation *&segmentation)
Static method to load a Segmentation object from a file.
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
DRTReferencedPerformedProcedureStepSequence ReferencedPerformedProcedureStepSequence
ReferencedPerformedProcedureStepSequence (0008,1111) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2858
virtual OFCondition processAssociationRQ()
Actually process association request.
CID100_QuantitativeDiagnosticImagingProcedures(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmDate PerformedProcedureStepEndDate
PerformedProcedureStepEndDate (0040,0250) vr=DA, vm=1, type=3.
Definition: drtdose.h:4305
const char * getUserCertificateFolder()
returns the directory in which user certificates and keys are located.
static OFCondition getAndCheckElementFromDataset(DcmItem &dataset, DcmElement &delem, const OFString &vm, const OFString &type, const char *moduleName=NULL, const OFBool acceptViolation=OFFalse)
get element from dataset and check it for correct value multiplicity and type.
@ Jejunum
(21306003,SCT,"Jejunum")
Definition: cid4031.h:136
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition setContentQualification(const OFString &value, const OFBool check=OFTrue)
set ContentQualification (0018,9004)
Interface class for ReferencedRTPlanSequence (300c,0002) in RTDoseModule.
Definition: drtrrtps.h:29
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
virtual ~Item()
destructor
Item & getItem(const size_t num)
get particular item in the sequence
signed long renderedImageRight
contains the right hand corner of the attached image after pixel data have been rendered.
Definition: dvpstat.h:1236
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrsss.h:130
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
void clear()
clear additional information
Definition: dsrcsidl.h:308
static DcmIODTypes::Frame * unpackBinaryFrame(const DcmIODTypes::Frame *frame, Uint16 rows, Uint16 cols)
Unpacks a binary segmentation frame into a "sparse" pixel data frame where every resulting byte repre...
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
virtual OFCondition getEffectiveDuration(Float64 &value, const unsigned long pos=0) const
get EffectiveDuration (0018,0072)
virtual OFVector< CodeSequenceMacro * > & getProcedureCodeSequence()
Get reference to content of Procedure Code Sequence.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setMedicalAlerts(const OFString &value, const OFBool check=OFTrue)
set MedicalAlerts (0010,2000)
DcmSignedLong displayedAreaBottomRightHandCorner
VR=SL, VM=2, Type 1.
Definition: dvpsda.h:256
DcmIntegerString ReferencedDoseReferenceNumber
ReferencedDoseReferenceNumber (300c,0051) vr=IS, vm=1, type=1.
Definition: drtrdrs8.h:368
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcss.h:324
virtual ~IODSegmentationReference()
Destructor.
Definition: iodreferences.h:269
Uint16 getBits() const
get number of bits per entry
Definition: dibaslut.h:78
void adjust(DcmQuantPixel &, long, long)
dummy method needed for API compatibility with DcmQuantFloydSteinberg
Definition: diqtid.h:59
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
virtual OFCondition setSeriesDate(const OFString &value, const OFBool check=OFTrue)
set SeriesDate (0008,0021)
DcmZLibOutputFilter()
default constructor
OFBool AbortMode
abort on first inconsistent record
Definition: dcddirif.h:1564
@ Mediastinum
(72410000,SCT,"Mediastinum")
Definition: cid4031.h:158
DcmFloatingPointSingle GantryPitchAngle
GantryPitchAngle (300a,014a) vr=FL, vm=1, type=3.
Definition: drtes.h:534
OFCondition write(DcmItem &item)
write elements to sequence item
DcmLongString presentationLUTExplanation
Module=Softcopy_Presentation_LUT, VR=LO, VM=1, Type 3.
Definition: dvpspl.h:239
EP_Interpretation Type
integer constant
Definition: diutils.h:152
Template class to determine pixel representation.
Definition: dipxrept.h:48
void print(STD_NAMESPACE ostream &out, unsigned int level)
print the content of this node to an output stream
OFCondition setSOPClassUID(const DcmElement &delem, const unsigned long pos=0, const OFBool check=OFTrue)
set SOP class UID value from element.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcncs.h:324
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
Item & getCurrentItem()
get current item in the sequence
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition loadPrintPreview(size_t idx, OFBool printLUT=OFTrue, OFBool changeStatus=OFFalse)
loads a Hardcopy Grayscale image registered by the stored print object and creates a preview.
void copyPixel(const T *src[], T *dest[])
copy pixel data
Definition: ditranst.h:86
DRTQuantityDefinitionSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
static OFCondition checkPrivateTagReservation(DcmItem *item, DcmTag &tag, const OFString &privateCreator="")
Checks in item, whether a private reservation for a given tag key.
E_ValueType getValueType() const
get value type.
DRTReferencedSeriesSequence & getReferencedSeriesSequence()
get ReferencedSeriesSequence (0008,1115)
Definition: drtimage.h:2974
DcmUniqueIdentifier studyInstanceUID
Module=General_Study, VR=UI, VM=1, Type 1.
Definition: dvpssp.h:966
OFCondition actionRQ(const char *sopclassUID, const char *sopinstanceUID, Uint16 actionTypeID, DcmDataset *actionInformation, Uint16 &status, DcmDataset *&actionReply)
sends an N-ACTION-RQ message and receives response.
virtual void callback(T_DIMSE_C_FindRQ *request, int &responseCount, T_DIMSE_C_FindRSP *rsp, DcmDataset *responseIdentifiers)=0
callback method that is called once for each incoming C-FIND-RSP message.
virtual OFBool scaleData(const Uint8 *srcData, const unsigned int srcWidth, const unsigned int srcHeight, Uint8 *dstData, const unsigned int dstWidth, const unsigned int dstHeight) const
scale given pixel data (monochrome only).
virtual void removeAppender(const log4cplus::tstring &name)=0
Remove the appender with the name passed as parameter from the list of appenders.
Class for handling coded entry values, i.e. unambiguous machine-readable codes.
Definition: dsrcodvl.h:113
OFCondition write(DcmItem &item)
write elements to sequence item
Interface class for ContextGroupIdentificationSequence (0008,0123)
Definition: drtcgis.h:28
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtds.h:501
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
@ EXS_LittleEndianExplicit
Explicit VR Little Endian.
Definition: dcxfer.h:45
OFString callingApplicationEntityTitle
calling AE Title
Definition: wlds.h:58
OFBool isEmpty()
check if item is empty
virtual OFCondition setVOILUTFunction(const OFString &value, const OFBool checkValue=OFTrue)
Set VOI LUT Function.
DRTReferencedStructureSetSequence ReferencedStructureSetSequence
ReferencedStructureSetSequence (300c,0060) vr=SQ, vm=1, type=1C.
Definition: drtplan.h:3273
Definition: jpegint12.h:174
OFFile file_
the file we're actually writing to
Definition: dcostrmf.h:103
@ E4G10_89Zr
(126519,DCM,"E4G10 ^89^Zr")
Definition: cid4021.h:116
@ IndexedHemodynamicResistance
(110826,DCM,"Indexed Hemodynamic Resistance"), included from CID 7180
Definition: cid7469.h:168
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool isEmpty()
check if item is empty
DcmShortText StructureSetDescription
StructureSetDescription (3006,0006) vr=ST, vm=1, type=3.
Definition: drtstrct.h:3018
DRTSourceImageSequence & getSourceImageSequence()
get SourceImageSequence (0008,2112)
Definition: drtionpl.h:1859
DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence()
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtionpl.h:1271
const Item & getCurrentItem() const
get current item in the sequence
DRTReferencedBrachyApplicationSetupSequenceInRTFractionSchemeModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition getAcquisitionDateTime(OFString &value, const signed long pos=0)
Get Acquisition DateTime.
virtual OFCondition makeMachineByteString(const Uint32 length=0)
convert currently stored string value to internal representation.
OFCondition setValue(const DSRCompositeReferenceValue &referenceValue, const OFBool check=OFTrue)
set composite reference value.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtdimcs.h:324
virtual OFCondition getBitsStored(Uint16 &value, const unsigned long pos=0) const
get BitsStored (0028,0101)
InstanceStruct * gotoInstance(const OFString &instanceUID)
set cursor to the specified instance (if existent)
OFCondition setChannelMode(const OFString &value, const OFBool check=OFTrue)
set ChannelMode (003a,0302)
void clear()
clear all internal member variables
const DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence() const
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtiontr.h:1569
virtual OFCondition setPerformedProcedureStepEndDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndDate (0040,0250)
@ IntraepithelialRoute
(C38244,NCIt,"Intraepithelial route")
Definition: cid11.h:62
CID10033e_CTReconstructionAlgorithm(const OFString &selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
const DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence() const
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtimage.h:2932
virtual OFCondition getBurnedInAnnotation(OFString &value, const signed long pos=0) const
Get Burned In Annotation.
double getMinValue() const
get minimum luminance/OD value from the characteristic curve.
Definition: didispfn.h:179
OFunique_ptr< Layout > layout
The layout variable does not need to be set if the appender implementation has its own layout.
Definition: appender.h:227
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Item & getCurrentItem()
get current item in the sequence
const char * getTargetPrinterEmptyImageDensity(const char *targetID, Uint32 idx, OFString &value)
returns one value from the EMPTYIMAGEDENSITY entry for the printer with the given target ID from the ...
DRTWADORSRetrievalSequence & getWADORSRetrievalSequence()
get WADORSRetrievalSequence (0040,e025)
Definition: drtrpphs.h:162
void clear()
clear all internal member variables
virtual OFCondition getPatientBreedDescription(OFString &value, const signed long pos=0) const
get PatientBreedDescription (0010,2292)
virtual OFCondition getBitsStored(Uint16 &value, const signed long pos=0)
Get Bits Stored.
int hideOverlay(const unsigned int plane, const unsigned int idx=0)
deactivate specified overlay plane
Definition: dcmimage.h:1140
virtual ~DRTMotionSynchronizationSequence()
destructor
const DRTPlannedVerificationImageSequence & getPlannedVerificationImageSequence() const
get PlannedVerificationImageSequence (300a,00ca)
Definition: drtbs.h:456
virtual OFBool isStructureSetModulePresent(const OFBool complete=OFFalse)
check whether StructureSetModule (C) is present.
int deleteImageFile(const char *filename)
conditionally deletes given image file (only if file resides in index.dat directory)
void deleteBackNode()
Removes last path node from path.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
void clear()
clear all internal member variables
OFCondition gotoFirstItem()
goto first item in the sequence
DcmLongString ClinicalTrialSubjectReadingID
ClinicalTrialSubjectReadingID (0012,0042) vr=LO, vm=1, type=1C.
Definition: drtstrct.h:2814
virtual OFCondition setInstanceNumber(const OFString &value, const OFBool check=OFTrue)
set InstanceNumber (0020,0013)
virtual OFCondition setStereoPairsPresent(const OFString &value, const OFBool check=OFTrue)
set StereoPairsPresent (0022,0028)
const char * getVoiWindowExplanation(const unsigned long window, OFString &explanation) const
get description of specified VOI window (stored in the image file)
Definition: dcmimage.h:820
DcmSequenceOfItems * lowerLevelList
list of child directory records, kept in a sequence of items
Definition: dcdirrec.h:508
DcmLongString BrachyAccessoryDeviceName
BrachyAccessoryDeviceName (300a,0266) vr=LO, vm=1, type=3.
Definition: drtbads.h:244
unsigned long Counter
internal counter
Definition: diobjcou.h:106
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
static T round_error()
The largest possible rounding error in ULPs (units in the last place) as defined by ISO 10967,...
@ Rib
(113197003,SCT,"Rib")
Definition: cid4031.h:196
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
DcmTLSCipherAuthentication
This enum describes the authentication mechanism used in a certain TLS ciphersuite.
Definition: tlsciphr.h:156
OFCondition setWedgeID(const OFString &value, const OFBool check=OFTrue)
set WedgeID (300a,00d4)
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
IODReferences(const IODReferences &rhs)
Copy constructor, performs deep copy of provided references.
OFCondition loadFile(const char *filename)
Backup and load file into internal MdfDatasetManager.
DcmBaseSCPWorker(DcmBaseSCPPool &pool)
Protected constructor which is called within the friend class DcmSCPWorkerFactory in order to create ...
@ interleaveDefault
Use same interleave mode as the DICOM header says in planarConfiguration, if possible.
Definition: djcparam.h:41
Definition: internal.h:102
virtual size_t gotoNamedNode(const DSRCodedEntryValue &conceptName, const OFBool startFromRoot=OFTrue, const OFBool searchIntoSub=OFTrue)
set internal cursor to a named node.
OFCondition gotoFirstItem()
goto first item in the sequence
DcmLongString ClinicalTrialSeriesID
ClinicalTrialSeriesID (0012,0071) vr=LO, vm=1, type=3.
Definition: drtiontr.h:3036
DB_ElementList(const DB_ElementList ©)
private undefined copy constructor
OFGlobal(const T &arg)
constructor.
Definition: ofglobal.h:45
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFOrderedSet()
Default constructor.
Definition: ofoset.h:51
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
const char * getSOPInstanceUID()
gets the SOP Instance UID.
OFString isValid(DcmDataset &dataset) const
Do some completeness / validity checks.
@ DiffusionWeighted
(113043,DCM,"Diffusion weighted"), included from CID 7270
Definition: cid7469.h:102
OFCondition getDoseRateSet(OFString &value, const signed long pos=0) const
get DoseRateSet (300a,0115)
DcmCodeString QualityControlImage
QualityControlImage (0028,0300) vr=CS, vm=1, type=3.
Definition: drtdose.h:4390
const char * getPresentationLUTExplanation()
returns the LUT explanation of the presentation LUT if it exists and is non-empty.
Definition: dcmpstat.h:271
IODImageReference(const MAX_LEVEL level)
Constructor allowing to set reference level.
virtual OFBool checkForSpecificCharacterSet() const
mode specifying whether the SpecificCharacterSet (0008,0005) element should be checked by convertChar...
Definition: dcitem.h:346
@ TSP_Profile_Basic
DICOM Basic TLS Secure Transport Connection Profile (retired), using the ciphersuite TLS_RSA_WITH_3DE...
Definition: tlsciphr.h:55
OFCondition write(DcmItem &item)
write elements to sequence item
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition setColumns(const Uint16 value, const unsigned long pos=0)
set Columns (0028,0011)
virtual OFCondition write(DcmItem &item)
Write Image Data Type Sequence (this functional group) to given item.
virtual OFCondition checkValue(const OFString &vm="", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableVRCheckerForStringValues
This flag defines whether the VR checker is actually used by the various checkStringValue() methods.
size_t find(const OFString &pattern, size_t pos=0) const
determines the earliest occurrence of the input pattern in the current string object,...
OFCondition addOrReplaceContentItem(const size_t nodePos, const E_RelationshipType relationshipType, const E_ValueType valueType, const DSRCodedEntryValue &conceptName, const OFString &annotationText, const OFBool check)
add a new or replace an existing content item with a given node ID.
OFCondition getLeafPositionBoundaries(OFVector< Float64 > &value) const
get LeafPositionBoundaries (300a,00be)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition getStructureSetLabel(OFString &value, const signed long pos=0) const
get StructureSetLabel (3006,0002)
const char * getSpoolerName()
returns the filename (path) of the DICOM Print SCU application used for printing images,...
Uint16 getT2() const
returns JPEG-LS parameter T2
Definition: djcparam.h:171
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
@ PVS_CantFind
specified parameter doesn't exist
Definition: ofcmdln.h:199
DcmUnsignedShort ReferencedSegmentNumber
ReferencedSegmentNumber (0062,000b) vr=US, vm=1-n, type=1C.
Definition: drtsis.h:218
const char * getPrintServerName()
returns the filename (path) of the DICOM Print SCU application used for printing images,...
static OFCondition parseItemNoFromPath(OFString &path, Uint32 &itemNo, OFBool &wasWildcard)
Helper function for findOrCreatePath().
virtual size_t getNumDataPoints()
Get Number of data points.
const OFString ObservationUID
observation unique identifier to check for
Definition: dsrdnflt.h:457
DSRTreeNode(const DSRTreeNodeAnnotation &annotation=DSRTreeNodeAnnotation())
(default) constructor
Definition: dsrtree.h:60
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setScanningSpotSize(const Float32 value, const unsigned long pos=0)
set ScanningSpotSize (300a,0398)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const char * getLogFolder()
returns the directory used to store log files.
int isSigned() const
check whether template type T is signed or not
Definition: discalet.h:173
int hidePlane(unsigned int plane)
make specified plane invisible
~DcmQuantHistogramItemList()
destructor. Destroys all objects pointed to by list.
virtual DcmEVR ident() const
get element type identifier
Item class.
Definition: drtbvcps.h:36
DcmQueryRetrieveProcessTable()
default constructor
Definition: dcmqrptb.h:52
virtual OFBool isValid() const
check whether the content item is valid.
const Item & operator[](const size_t num) const
get particular item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition read(DcmInputStream &inStream, const E_TransferSyntax xfer, 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...
static const unsigned int ftoa_format_e
Use e or E conversion format instead of g or G.
Definition: ofstd.h:835
OFFilename()
default constructor
const LogLevel TRACE_LOG_LEVEL
The TRACE_LOG_LEVEL LogLevel is used to "trace" entry and exiting of methods.
Definition: loglevel.h:85
Uint32 getTargetPrinterNumberOfPrinterResolutionIDs(const char *targetID)
returns the number of distinct values (separated by backslash characters) in the RESOLUTIONID entry f...
virtual OFCondition setFloatingPointValue(const Float64 value, const unsigned long pos=0, const OFBool checkValue=OFTrue)
Set FloatingPointValue.
void first_section(unsigned int level, OFConfigFileNode *anchor)
sets cursor to the first entry at the given level (without changing the cursor position at higher lev...
OFBool updateReference(const size_t referencedNodeID, const E_ValueType targetValueType)
update reference to the target content item (using the node ID).
OFCondition setReferencedPatientSetupNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedPatientSetupNumber (300c,006a)
OFBool isMarked() const
check for mark flag.
OFCondition setRationalDenominatorValue(const Uint32 value, const unsigned long pos=0)
set RationalDenominatorValue (0040,a163)
OFCondition getGantryAngle(OFString &value, const signed long pos=0) const
get GantryAngle (300a,011e)
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2988
log4cplus::tstring const & getPropertyFilename() const
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid7181.h:274
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
OFCondition getDeviceLength(OFString &value, const signed long pos=0) const
get DeviceLength (0050,0014)
const DRTReferencedDoseReferenceSequenceInRTBeamsModule & getReferencedDoseReferenceSequence() const
get ReferencedDoseReferenceSequence (300c,0050)
Definition: drtcps.h:427
virtual ~DcmTLSTransportLayer()
destructor
Interface class for ROIPhysicalPropertiesSequence (3006,00b0)
Definition: drtrpps.h:29
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtads.h:355
Class for managing the Parametric Map IOD attributes.
Definition: dpmparametricmapiod.h:34
virtual ~DcmTransportConnection()
destructor
virtual OFCondition check(const OFBool quiet=OFFalse)
Check whether this component's data satisfies the underlying rules.
DcmLongString SeriesDescription
Series Description: (LO, 1, 3)
Definition: dsrdoc.h:1410
OFCondition read(DcmItem &item)
read elements from sequence item
T * operator->() const
dereferences the iterator.
Definition: oflist.h:243
@ PTSM_Cu62
(422789008,SCT,"PTSM Cu^62^")
Definition: cid4021.h:242
virtual ~DcmFloatingPointDouble()
destructor
static const OFString & dicomToXMLPersonName(const OFString &dicomPersonName, OFString &xmlPersonName, const OFBool writeEmptyValue=OFFalse)
convert DICOM person name to XML format.
A class to handle a study cache (list of items).
Definition: dvcache.h:683
static const OFfloat_denorm_style has_denorm
Identifies the floating-point types that support subnormal values.
Definition: oflimits.h:317
@ FlowVariance
(110829,DCM,"Flow Variance"), included from CID 7180
Definition: cid7469.h:178
virtual OFCondition setPerformedProcedureStepEndDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndDate (0040,0250)
const DRTMotionSynchronizationSequence & getMotionSynchronizationSequence() const
get MotionSynchronizationSequence (300a,0410)
Definition: drtpss.h:213
Item & operator=(const Item ©)
assigment operator
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
virtual OFCondition getInstanceCreationDate(OFString &value, const signed long pos=0) const
get InstanceCreationDate (0008,0012)
virtual OFCondition setOperatorsName(const OFString &value, const OFBool check=OFTrue)
set OperatorsName (0008,1070)
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition getPatientBodyMassIndex(OFString &value, const signed long pos=0) const
get PatientBodyMassIndex (0010,1022)
OFUUID(const struct BinaryRepresentation &val)
Construct a new UUID from its binary representation.
DcmPersonName ResponsiblePerson
ResponsiblePerson (0010,2297) vr=PN, vm=1, type=2C.
Definition: drtplan.h:3021
virtual OFBool isGeneralReferenceModulePresent(const OFBool complete=OFFalse)
check whether GeneralReferenceModule (U) is present.
void recalcListSize()
counts the elements in the list and adjusts the listSize member variable.
Definition: oflist.h:335
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setImageSOPInstanceUID(size_t idx, const char *value)
sets the SOP instance UID for the given image box.
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format.
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
DcmDirectoryRecord * buildOverlayRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update overlay record and copy required values from dataset
@ Rituximab_89Zr
(126737,DCM,"Rituximab ^89^Zr")
Definition: cid4021.h:250
virtual OFCondition setInstanceNumber(const OFString &value, const OFBool check=OFTrue)
set InstanceNumber (0020,0013)
virtual OFCondition readSharedFG(DcmItem &dataset)
Read Shared Functional Group Sequence from given item.
virtual DcmObject * clone() const
clone method
Definition: dcvrof.h:69
IODImageReference(const OFString &patientID, const OFString &studyUID, const OFString &seriesUID, const OFString &sopInstanceUID, const OFString &sopClassUID, const OFVector< Uint32 > &refFrameNumbers)
Convenience constructor setting reference data including frame numbers.
virtual FGBase * clone() const
Returns a deep copy of this object.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setPatientSex(const OFString &value, const OFBool check=OFTrue)
set PatientSex (0010,0040)
virtual OFCondition setRadiationMachineSSD(const OFString &value, const OFBool check=OFTrue)
set RadiationMachineSSD (3002,0024)
virtual OFCondition getPatientSize(Float64 &value, const unsigned long pos=0) const
get PatientSize (0010,1020)
unsigned long currentNumRows
current number of rows
Definition: dvpssp.h:1081
DcmDecimalString TableTopVerticalSetupDisplacement
TableTopVerticalSetupDisplacement (300a,01d2) vr=DS, vm=1, type=3.
Definition: drtpss.h:349
DcmCodeString FixationEye
FixationEye (300a,0150) vr=CS, vm=1, type=3.
Definition: drtibs.h:973
OFListIterator(Item *) CurrentItem
currently selected item
const DRTBreedRegistrationSequence & getBreedRegistrationSequence() const
get BreedRegistrationSequence (0010,2294)
Definition: drtdose.h:1954
const char * getTargetPrinterMediumType(const char *targetID, Uint32 idx, OFString &value)
returns one value from the MEDIUMTYPE entry for the printer with the given target ID from the configu...
Definition: jpeglib12.h:740
DcmUnsignedLongOffset & operator=(const DcmUnsignedLongOffset &obj)
assignment operator.
OFCondition read(DcmItem &item)
read elements from sequence item
virtual double getUnscaledDose(unsigned int x, unsigned int y, unsigned int frame=0) const
get the unscaled dose information for a single pixel.
DVPSReferencedImage_PList & operator=(const DVPSReferencedImage_PList &)
private undefined assignment operator
virtual OFCondition setMostRecentTreatmentDate(const OFString &value, const OFBool check=OFTrue)
set MostRecentTreatmentDate (3008,0056)
const DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence() const
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drttreat.h:1161
DRTReasonForPerformedProcedureCodeSequence ReasonForPerformedProcedureCodeSequence
ReasonForPerformedProcedureCodeSequence (0040,1012) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3014
OFBool getUsePixelValues() const
returns flag indicating if compression to be optimized for real pixel values
Definition: djcparam.h:263
handles command line arguments.
Definition: ofcmdln.h:142
OFCondition setNumericValueQualifier(const CID42_NumericValueQualifier &valueQualifier, const OFBool check=OFTrue)
set numeric value qualifier.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
virtual DJDecoder * createDecoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, OFBool isYBR) const
creates an instance of the compression library to be used for decoding.
DcmSignedShort(const DcmTag &tag, const Uint32 len)
constructor.
EnumType
types of quantitative diagnostic imaging procedures
Definition: cid100.h:42
Item EmptyItem
empty default item
Definition: drtics.h:540
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
virtual OFCondition setAdditionalPatientHistory(const OFString &value, const OFBool check=OFTrue)
set AdditionalPatientHistory (0010,21b0)
virtual void disableAuthentication()
Disables authentication.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtcncs.h:327
int hindex
index of current bucket
Definition: dchashdi.h:180
@ Fallypride_C11
(126704,DCM,"Fallypride C^11^")
Definition: cid4021.h:124
DRTUDISequence & getUDISequence()
get UDISequence (0018,100a)
Definition: drtionpl.h:1931
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Uint32 m_acseTimeout
ACSE timeout (default: 30 seconds)
Definition: scu.h:1047
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition setTime(const OFString &value, const OFBool check=OFTrue)
set Time (0040,a122)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
const DcmDataDictionary & rdlock()
acquires a read lock and returns a const reference to the dictionary.
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtris.h:147
virtual void SetPfFileName(const OFString &)
Set value in a member variable in a derived class.
Definition: wlds.h:478
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual ~Item()
destructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbldps.h:321
virtual OFBool getCursorToCurrentNode(DSRDocumentTreeNodeCursor &cursor) const
get a cursor to the current node of this document tree.
size_t getNumberOfItems() const
get number of items in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtchs.h:857
Uint32 TotalNumberOfFrames
total number of frames stored in the dataset
Definition: diimage.h:623
DcmShortText SetupReferenceDescription
SetupReferenceDescription (300a,01d0) vr=ST, vm=1, type=3.
Definition: drtsds.h:203
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTContributingEquipmentSequence & getContributingEquipmentSequence()
get ContributingEquipmentSequence (0018,a001)
Definition: drtstrct.h:1230
Item & operator=(const Item ©)
assigment operator
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read data into this module from given item.
DcmDirectoryRecord * findExistingRecord(DcmDirectoryRecord *parent, const E_DirRecType recordType, DcmItem *dataset)
search for a given directory record
DcmLongString ClinicalTrialProtocolEthicsCommitteeName
ClinicalTrialProtocolEthicsCommitteeName (0012,0081) vr=LO, vm=1, type=1C.
Definition: drtimage.h:4870
size_t numberOfImageReferences() const
gets the number of image references in this object.
Definition: dvpsrs.h:154
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
DRTApplicationSetupSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
const DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence() const
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtplan.h:1514
unsigned char pduType() const
Denotes that instance is part of a request (DUL_TYPEASSOCIATERQ)
virtual OFCondition encodeColorImage(OFBool YBRmode, DcmItem *dataset, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DJCodecParameter *cp, double &compressionRatio) const
compresses the given uncompressed DICOM color image and stores the result in the given pixSeq element...
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition setPatientSex(const OFString &value, const OFBool check=OFTrue)
set patient's sex
OFCondition getNominalBeamEnergy(Float64 &value, const unsigned long pos=0) const
get NominalBeamEnergy (300a,0114)
DRTImage(const DRTImage &)
undefined private copy constructor
Item class.
Definition: drtecs.h:36
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Uint32 biClrImportant
number of important colors, '0' means all
Definition: diutils.h:198
OFCondition computeMonochromeImageComparionMetricsRaw()
compare two monochrome images without setting a VOI window.
virtual OFCondition check() const
Check whether data of functional group is valid.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item & getItem(const size_t num)
get particular item in the sequence
DRTRecordedRangeShifterSequence & getRecordedRangeShifterSequence()
get RecordedRangeShifterSequence (3008,00f2)
Definition: drttsibs.h:622
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setBeamMeterset(const OFString &value, const OFBool check=OFTrue)
set BeamMeterset (300a,0086)
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
DcmIntegerString ReferencedRangeShifterNumber
ReferencedRangeShifterNumber (300c,0100) vr=IS, vm=1, type=1.
Definition: drtrshs6.h:171
virtual OFCondition setEffectiveDuration(const OFString &value, const OFBool check=OFTrue)
set EffectiveDuration (0018,0072)
virtual OFCondition setInstanceCreationDate(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationDate (0008,0012)
OFCondition printSCUpreparePresentationLUT(DVPSPrintMessageHandler &printHandler, OFBool printerRequiresMatchingLUT, OFBool printerLUTRenderingPreferred, OFBool printerSupports12Bit)
checks whether a presentation LUT or LUT shape is active in this stored print object.
IODGeneralEquipmentModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtwrsrs.h:113
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
DVPSVOILUT * clone()
clone method.
Definition: dvpsvl.h:50
DcmShortString PerformedProcedureStepID
PerformedProcedureStepID (0040,0253) vr=SH, vm=1, type=3.
Definition: drtdose.h:4299
OFCondition setRespiratorySignalSource(const OFString &value, const OFBool check=OFTrue)
set RespiratorySignalSource (0018,9171)
OFBool operator<(const DcmStack &arg) const
dummy comparison operator, needed for MSVC5.
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFBool supportStudyRoot_
support for study root q/r model
Definition: dcmqropt.h:140
@ NEUTRAL
This filter is neutral with respect to the log event; the remaining filters, if if any,...
Definition: filter.h:54
DcmIntegerString ContourNumber
ContourNumber (3006,0048) vr=IS, vm=1, type=3.
Definition: drtcs.h:277
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
OFString DeleteLeadingAndTrailingBlanks(const OFString &value)
This function makes a copy of value without leading and trailing blanks.
TID1500_MeasurementReport(const CID7021_MeasurementReportDocumentTitles &title=CID7021_MeasurementReportDocumentTitles(), const OFBool check=OFTrue)
(default) constructor.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual unsigned long getVM()
get value multiplicity
OFCondition gotoFirstItem()
goto first item in the sequence
DcmTransportLayer & operator=(const DcmTransportLayer &)
private undefined assignment operator
DicomImage * createMonochromeImage(const double red=0.299, const double green=0.587, const double blue=0.114) const
create monochrome copy of the current image.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DVPSReferencedImage_PList referencedImageList
ReferencedImageSequence, Type 1c.
Definition: dvpsga.h:176
OFString m_ModifierVM
1, 1-n, 2-2n, ...
Definition: iodmacro.h:325
Implementation of DCMR Context Group: CID 100 - Quantitative Diagnostic Imaging Procedures.
Definition: cid100.h:35
DcmFloatingPointSingle VirtualSourceAxisDistances
VirtualSourceAxisDistances (300a,030a) vr=FL, vm=2, type=1.
Definition: drtibs.h:1065
unsigned long minimumPrintBitmapWidth
minimum width of print bitmap (used for implicit scaling)
Definition: dvpstat.h:1306
void setDecompressionMode(const E_DecompressionMode decompressionMode)
set mode that specifies whether or not compressed datasets are decompressed if needed,...
DJDecoderProgressive()
default constructor
@ BIC
(126224,DCM,"BIC"), included from CID 7180
Definition: cid7469.h:202
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid7464.h:131
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getSourceToCompensatorDistance(OFVector< Float64 > &value) const
get SourceToCompensatorDistance (300a,02e2)
DRTPatientBreedCodeSequence & getPatientBreedCodeSequence()
get PatientBreedCodeSequence (0010,2293)
Definition: drtstrct.h:1446
@ HM_doNothing
do nothing with the dataset
Definition: dstorscu.h:82
OFCondition getRTImageSID(Float64 &value, const unsigned long pos=0) const
get RTImageSID (3002,0026)
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtpcs.h:351
static const unsigned int MaxOverlayCount
constant defining the maximum number of overlay planes (16)
Definition: diovlay.h:391
int getOutputData(void *buffer, const unsigned long size, const int bits=0, const unsigned long frame=0, const int planar=0)
render pixel data and output to given memory buffer.
Definition: dcmimage.h:449
OFCondition getScanMode(OFString &value, const signed long pos=0) const
get ScanMode (300a,0308)
T_ASC_PresentationContextID presId_
current presentation context ID. Will contain valid value when callback() is called.
Definition: dfindscu.h:122
virtual int write(DiImage *image, FILE *stream, const unsigned long frame=0) const
write given image to a file stream (JPEG format)
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setContent(const char *instanceuid, const char *text, Uint16 position)
sets the content of this annotation box object.
Class for referenced date/time list.
Definition: dsrtcodt.h:41
static OFCondition decompress(DcmDataset &dset)
Decompress given dataset if possible.
static OFCondition getOFTimeFromString(const OFString &dicomTime, OFTime &timeValue)
get the specified DICOM time value in OFTime format.
void clear()
clear all internal member variables
const Item & getCurrentItem() const
get current item in the sequence
OFBool getConvertToSC() const
returns secondary capture conversion flag
Definition: dcrlecp.h:91
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
OFCondition setDepthValueAveragingFlag(const OFString &value, const OFBool check=OFTrue)
set DepthValueAveragingFlag (300a,0093)
OFString m_VM
VM, see DcmElement::checkVM() for permitted values (e.g. "1-n")
Definition: iodrules.h:237
DRTReferencedVerificationImageSequence ReferencedVerificationImageSequence
ReferencedVerificationImageSequence (300c,0040) vr=SQ, vm=1, type=3.
Definition: drttsibs.h:1058
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtsdcs.h:341
DRTPersonIdentificationCodeSequence PersonIdentificationCodeSequence
PersonIdentificationCodeSequence (0040,1101) vr=SQ, vm=1, type=1.
Definition: drtois.h:208
Item & operator=(const Item ©)
assigment operator
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition read(DcmItem &dataset, const size_t flags)
read spatial coordinates value from dataset
DcmDecimalString EffectiveWedgeAngle
EffectiveWedgeAngle (300a,00de) vr=DS, vm=1, type=3.
Definition: drtws.h:272
OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
OFCondition gotoFirstItem()
goto first item in the sequence
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtporcs.h:357
virtual ~DRTAdmittingDiagnosesCodeSequence()
destructor
DRTOtherPatientIDsSequence & getOtherPatientIDsSequence()
get OtherPatientIDsSequence (0010,1002)
Definition: drtplan.h:1592
virtual OFCondition getSoftwareVersions(OFString &value, const signed long pos=0) const
get SoftwareVersions (0018,1020)
virtual OFString getName() const
Get name of module.
global variables and classes for transport connections
DVPSPresentationLUT()
default constructor
static void callbackRECEIVEProgress(void *callbackContext, unsigned long byteCount)
Callback function used for receiving DIMSE messages.
virtual OFBool isCalculatedDoseReferenceRecordModulePresent(const OFBool complete=OFFalse)
check whether CalculatedDoseReferenceRecordModule (U) is present.
@ _61_Copper
(71425003,SCT,"^61^Copper")
Definition: cid4020.h:74
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtpcs.h:205
void clear()
clear all internal member variables
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setResponsiblePersonRole(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePersonRole (0010,2298)
OFBool isKnownKey(const char *key) const
checks if the key is known
E_ByteOrder pixelDataByteOrder
transfer syntax byte order for pixel data
Definition: dcxfer.h:322
int get(void *&value)
retrieves the thread specific value for this object.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
void clear()
clear all internal member variables
virtual OFCondition sendMOVERequest(const T_ASC_PresentationContextID presID, const OFString &moveDestinationAETitle, DcmDataset *dataset, OFList< RetrieveResponse * > *responses)
Sends a C-MOVE Request on given presentation context and receives list of responses.
this helper class is a extended negotiation list entry.
Definition: dccfenmp.h:39
Item & getCurrentItem()
get current item in the sequence
virtual ~Item()
destructor
OFCondition setRTBeamLimitingDeviceType(const OFString &value, const OFBool check=OFTrue)
set RTBeamLimitingDeviceType (300a,00b8)
virtual OFCondition setSpecificCharacterSet(const OFString &value, const OFBool check=OFTrue)
set SpecificCharacterSet (0008,0005)
IODEnhGeneralEquipmentModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
OFVector< ReferencedSeriesItem * > m_ReferencedSeriesItems
Vector with all items of the Referenced Series Sequence.
Definition: iodmacro.h:468
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpics.h:533
DcmPersonName NameOfPhysiciansReadingStudy
NameOfPhysiciansReadingStudy (0008,1060) vr=PN, vm=1-n, type=3.
Definition: drtdose.h:4200
virtual ~DiPixelRepresentationTemplate()
destructor
Definition: dipxrept.h:56
virtual OFCondition addShared(const FGBase &group)
Add functional group that should be shared for all frames.
static const size_t RF_acceptUnknownRelationshipType
accept unknown/missing relationship type
Definition: dsrtypes.h:257
OFCondition write(DcmItem &item)
write elements to sequence item
General purpose class hiding global functions, constants and types related to functional groups from ...
Definition: fgtypes.h:100
void set(const wchar_t *filename, const OFBool convert=OFTrue)
replace currently stored filename by given value
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setDerivationDescription(const OFString &value, const OFBool check=OFTrue)
set DerivationDescription (0008,2111)
OFVector< CodeSequenceMacro * > m_ReasonForPerformedProcedureCodeSequence
Reason for Performed Procedure Code Sequence.
Definition: modgeneralstudy.h:241
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
DRTContentItemModifierSequence & getContentItemModifierSequence()
get ContentItemModifierSequence (0040,0441)
Definition: drtpcxs.h:225
DcmLongString DeviceDescription
DeviceDescription (0050,0020) vr=LO, vm=1, type=3.
Definition: drtds.h:515
DRTGeneralAccessorySequence GeneralAccessorySequence
GeneralAccessorySequence (300a,0420) vr=SQ, vm=1, type=3.
Definition: drtbs.h:743
static DJEncoderP14SV1 * encsv1
pointer to encoder for lossless SV1 JPEG
Definition: djencode.h:127
@ EVT_Explicit
explicit VR encoding
Definition: dcxfer.h:146
XMLAttribute getAttribute(int i=0) const
return ith attribute
virtual OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read temporal coordinates value from XML document
const DRTScheduledProtocolCodeSequence & getScheduledProtocolCodeSequence() const
get ScheduledProtocolCodeSequence (0040,0008)
Definition: drtras.h:207
OFCondition getPatientSupportAngle(OFString &value, const signed long pos=0) const
get PatientSupportAngle (300a,0122)
virtual OFCondition getStrainNomenclature(OFString &value, const signed long pos=0) const
get StrainNomenclature (0010,0213)
virtual OFCondition getReferringPhysicianName(OFString &value, const signed long pos=0) const
get ReferringPhysicianName (0008,0090)
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read data into this module from given item.
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
Abstract base class that handles forwarding the configuration and T_ASC_Association to the actual wor...
Definition: scppool.h:52
OFCondition checkSOPClassAndXfer(DcmMetaInfo *metainfo, DcmItem *dataset, const OFFilename &filename)
check SOP class and transfer syntax for compliance with current profile
DcmLongString RangeShifterSetting
RangeShifterSetting (300a,0362) vr=LO, vm=1, type=1.
Definition: drtrshs7.h:137
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition setSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceUID (0008,0018)
virtual OFCondition getInstanceCreationTime(OFString &value, const signed long pos=0) const
get InstanceCreationTime (0008,0013)
void nextCol(long &col) const
increases the column number
Definition: diqtid.h:87
OFCondition setNumericValueQualifier(const DSRCodedEntryValue &valueQualifier, const OFBool check=OFTrue)
set numeric value qualifier.
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setModality(const OFString &value, const OFBool check=OFTrue)
set Modality (0008,0060)
virtual OFCondition setCurrentTreatmentStatus(const OFString &value, const OFBool check=OFTrue)
set CurrentTreatmentStatus (3008,0200)
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getGeneralAccessoryID(OFString &value, const signed long pos=0) const
get GeneralAccessoryID (300a,0421)
DSRTypes::E_TemporalRangeType getTemporalRangeType() const
get current temporal range type.
Definition: dsrtcovl.h:180
virtual OFCondition getConceptName(DSRCodedEntryValue &conceptName) const
get copy of the concept name.
DcmUnsignedLong RationalDenominatorValue
RationalDenominatorValue (0040,a163) vr=UL, vm=1-n, type=1C.
Definition: drtcims.h:355
virtual OFCondition setPatientSexNeutered(const OFString &value, const OFBool check=OFTrue)
set PatientSexNeutered (0010,2203)
const char * getOverlayDescription()
gets the overlay description if present.
virtual size_t replaceNode(DSRDocumentTreeNode *node)
replace current node by the given one.
OFCondition getSourceEncapsulationNominalThickness(OFString &value, const signed long pos=0) const
get SourceEncapsulationNominalThickness (300a,0222)
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmDecimalString TargetPrescriptionDose
TargetPrescriptionDose (300a,0026) vr=DS, vm=1, type=3.
Definition: drtdrs.h:513
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition getLongitudinalTemporalEventType(OFString &value, const signed long pos=0) const
get LongitudinalTemporalEventType (0012,0053)
virtual OFCondition getPerformedProcedureStepStartTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartTime (0040,0245)
@ EPI_YBR_Full
YCbCr full.
Definition: diutils.h:135
DcmUniqueIdentifier SOPClassUID
SOP Class UID: (UI, 1, 1)
Definition: dsrdoc.h:1314
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
@ Lipid
(70106000,SCT,"Lipid"), included from CID 4033
Definition: cid7469.h:56
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
Item & getItem(const size_t num)
get particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
DcmDecimalString ChannelShieldNominalThickness
ChannelShieldNominalThickness (300a,02b8) vr=DS, vm=1, type=3.
Definition: drtcshs.h:232
virtual OFCondition getPatientBirthDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientBirthDateInAlternativeCalendar (0010,0033)
const DRTSourceInstanceSequence & getSourceInstanceSequence() const
get SourceInstanceSequence (0042,0013)
Definition: drtimage.h:3064
const char * getGraphicLayerDescription(size_t idx)
gets a description string for the graphic layer with the given index.
@ EFG_PLANEORIENTPATIENT
Plane Orientation (Patient)
Definition: fgtypes.h:154
@ Fluoromethane_F18
(422763008,SCT,"Fluoromethane F^18^")
Definition: cid4021.h:160
OFCondition setDeliveredTreatmentTime(const OFString &value, const OFBool check=OFTrue)
set DeliveredTreatmentTime (3008,003b)
DcmRLECodecDecoder & operator=(const DcmRLECodecDecoder &)
private undefined copy assignment operator
DcmLongString AdmissionID
AdmissionID (0038,0010) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2898
OFCondition loadPState(const char *pstName, const char *imgName=NULL)
loads a presentation state and an image (which need not be contained in the database) and attaches th...
DcmStorageMode getStorageMode() const
Returns the storage mode enabled.
DRTFractionStatusSummarySequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
const DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence() const
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtdose.h:2566
OFCondition write(DcmItem &dset)
writes the list of graphic objects managed by this object to a DICOM dataset.
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFBool hasPreviousNode() const
check whether the current node has a preceding sibling
Definition: dsrtncsr.h:434
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
int emptyOutputBuffer(jpeg_compress_struct *cinfo)
callback for IJG compress destination manager.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getDeliveryMaximumDose(OFString &value, const signed long pos=0) const
get DeliveryMaximumDose (300a,0023)
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
DcmShortString MaterialID
MaterialID (300a,00e1) vr=SH, vm=1, type=2.
Definition: drtircs.h:432
virtual OFCondition setSoftwareVersions(const OFString &value, const OFBool check=OFTrue)
set SoftwareVersions (0018,1020)
virtual OFCondition getPersonName(OFString &value, const signed long pos=0) const
Get PersonName.
OFCondition getNumberOfWedges(OFString &value, const signed long pos=0) const
get NumberOfWedges (300a,00d0)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setCompensatorColumnOffset(const Float32 value, const unsigned long pos=0)
set CompensatorColumnOffset (300a,02e5)
DcmDecimalString PatientBodyMassIndex
PatientBodyMassIndex (0010,1022) vr=DS, vm=1, type=3.
Definition: drtiontr.h:2954
DcmDirectoryRecord * buildRTStructureSetRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update RT structure set record and copy required values from dataset
virtual ~TrcTractographyResultsModule()
Destructor.
DRTStudiesContainingOtherReferencedInstancesSequence & operator=(const DRTStudiesContainingOtherReferencedInstancesSequence ©)
assigment operator
@ FGM_ShortUniquePseudoRandom
generate short pseudo-random unique filename
Definition: dstorscp.h:77
DiMono2Image(const DiMonoImage *image, const signed long left_pos, const signed long top_pos, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const int interpolate=0, const int aspect=0, const Uint16 pvalue=0)
constructor, scale/clip
Definition: dcmqrtis.h:104
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
SHA512_CTX * ctx
OpenSSL SHA512 context.
Definition: sisha512.h:94
DcmShortText PersonAddress
PersonAddress (0040,1102) vr=ST, vm=1, type=3.
Definition: drtois.h:206
const DRTReferencedImageSequence & getReferencedImageSequence() const
get ReferencedImageSequence (0008,1140)
Definition: drttreat.h:1521
E_ValueStatus getValue(OFCmdFloat &value)
returns next argument as a floating point value
E_ValueStatus getValue(OFCmdSignedInt &value)
returns next argument as a signed integer value
DcmDecimalString TableTopLateralPosition
TableTopLateralPosition (300a,012a) vr=DS, vm=1, type=2C.
Definition: drticps.h:825
OFCondition getISOFormattedTime(OFString &formattedTime, const unsigned long pos=0, const OFBool seconds=OFTrue, const OFBool fraction=OFFalse, const OFBool createMissingPart=OFFalse, const OFBool supportOldFormat=OFTrue)
get the current element value in ISO time format.
virtual OFCondition getAuthorizationEquipmentCertificationNumber(OFString &value, const signed long pos=0) const
get AuthorizationEquipmentCertificationNumber (0100,0426)
OFCondition insertLatin1(DcmDataset *outputDset)
Inserts "ISO_IR100" in the attribute "Specific Character Set".
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmAcceptUnexpectedImplicitEncoding
This flag defines how non-standard VRs are treated by the parser when reading.
Item EmptyItem
empty default item
Definition: drtrros.h:486
virtual OFCondition getDataType(OFString &value, const signed long pos=0)
Get Data Type.
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
virtual OFCondition setPlanIntent(const OFString &value, const OFBool check=OFTrue)
set PlanIntent (300a,000a)
virtual OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
get SeriesInstanceUID (0020,000e)
virtual OFCondition getServiceEpisodeDescription(OFString &value, const signed long pos=0) const
get ServiceEpisodeDescription (0038,0062)
DRTReferencedStudySequence & getReferencedStudySequence()
get ReferencedStudySequence (0008,1110)
Definition: drtdose.h:2536
DcmIntegerString WedgeNumber
WedgeNumber (300a,00d2) vr=IS, vm=1, type=1.
Definition: drtiws.h:229
virtual OFCondition setSeriesInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SeriesInstanceUID (0020,000e)
virtual ~DPMParametricMapSeriesModule()
Destructor.
unsigned long InputCount
number of pixels in the input buffer
Definition: dipixel.h:118
@ CS_UTF8
UTF-8: Unicode in UTF-8.
Definition: dsrtypes.h:825
DRTRecordedLateralSpreadingDeviceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTMeasurementUnitsCodeSequence(const DRTMeasurementUnitsCodeSequence ©)
copy constructor
double * curveData
curve data, converted to double
Definition: dvpscu.h:126
virtual OFCondition check() const
Check whether data in functional group is valid.
OFMap & operator=(const OFMap &other)
assignment operator
Definition: ofmap.h:75
OFCondition write(DcmItem &item)
write elements to sequence item
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getPatientComments(OFString &value, const signed long pos=0) const
get PatientComments (0010,4000)
OFConfigFileCursor & operator=(const OFConfigFileCursor &source)
assignment operator
virtual OFCondition insertExtraTemplate(const DSRSubTemplate &subTemplate, const E_AddMode addMode=AM_belowCurrent, const E_RelationshipType defaultRelType=RT_unknown)
insert tree from given extra template to internally stored document tree.
static OFCondition mapBodyPartExamined(const OFString &definedTerm, DSRCodedEntryValue &codedEntryValue, const OFBool enhancedEncodingMode=OFFalse)
map a defined term for Body Part Examined (0018,0015) to the associated coded entry.
void clear()
clear all internal member variables
virtual OFCondition getPatientSize(Float64 &value, const unsigned long pos=0) const
get PatientSize (0010,1020)
OFBool getReadFromDICOMDIRMode() const
get mode that specifies whether to read information on SOP instances to be sent from the DICOMDIR fil...
DRTCodingSchemeIdentificationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmIntegerString CompensatorRows
CompensatorRows (300a,00e7) vr=IS, vm=1, type=1.
Definition: drtcos.h:465
DcmDate StructureSetDate
StructureSetDate (3006,0008) vr=DA, vm=1, type=2.
Definition: drtstrct.h:3023
virtual OFCondition setPlanarConfiguration(const Uint16 value, const unsigned long pos=0)
set PlanarConfiguration (0028,0006)
OFCondition read(DcmItem &dataset, const size_t flags)
read list of graphic data
Item & operator=(const Item ©)
assigment operator
void clear()
clear all internal member variables
OFBool isEmpty()
check if item is empty
void clear()
clear all internal member variables
OFCondition setContourNumber(const OFString &value, const OFBool check=OFTrue)
set ContourNumber (3006,0048)
virtual OFCondition getNumberOfFrames(Sint32 &value, const unsigned long pos=0) const
get NumberOfFrames (0028,0008)
const char * getActiveOverlayLabel(size_t layer, size_t idx)
gets the overlay label of the given activated overlay.
void setTimeout(T_DIMSE_BlockingMode blocking, int timeOut)
sets the blocking and timeout mode for receive operations.
Definition: dvpspr.h:216
void dumpProfiles(STD_NAMESPACE ostream &out, const OFString &profileName="")
dumps all profiles or a selected profile to the given output stream.
virtual OFCondition setSeriesTime(const OFString &value, const OFBool check=OFTrue)
set series time
DcmIntegerString NumberOfRangeModulators
NumberOfRangeModulators (300a,0340) vr=IS, vm=1, type=1.
Definition: drttsibs.h:1012
OFCondition setDeliveredPrimaryMeterset(const OFString &value, const OFBool check=OFTrue)
set DeliveredPrimaryMeterset (3008,0036)
OFCondition setGantryAngle(const OFString &value, const OFBool check=OFTrue)
set GantryAngle (300a,011e)
virtual OFCondition getPerformedProcedureStepEndTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndTime (0040,0251)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item class.
Definition: drtas5.h:37
static size_t getIdentCounter()
get current value of global node counter
Definition: dsrtree.h:154
DcmTime PerformedProcedureStepEndTime
PerformedProcedureStepEndTime (0040,0251) vr=TM, vm=1, type=3.
Definition: drtplan.h:3194
FGFrameVOILUT()
Constructor creating empty functional group.
void setOverrideKeys(const OFList< OFString > &ovkeys)
Specifies some attributes that should be inserted after encapsulation They will override any identica...
E_PreliminaryFlag PreliminaryFlagEnum
enumerated value: preliminary, final
Definition: dsrdoc.h:1297
static DcmSegTypes::E_SegmentationFractionalType OFString2FractionalType(const OFString &value)
Return enum representation of fractional type string as found in segmentation objects.
DRTRecordedRangeShifterSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item & operator=(const Item ©)
assigment operator
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DRTCorrectedParameterSequence(const DRTCorrectedParameterSequence ©)
copy constructor
OFThreadSpecificData()
default constructor
virtual OFCondition getStudyTime(OFString &value, const signed long pos=0) const
get study time
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
DcmQueryRetrieveCharacterSetOptions()
Constructor, will construct an object that is marked as "not configured".
Item class.
Definition: drtss.h:36
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtmls.h:343
DRTGeneralAccessorySequence & getGeneralAccessorySequence()
get GeneralAccessorySequence (300a,0420)
Definition: drtbs.h:438
DRTSourceInstanceSequence SourceInstanceSequence
SourceInstanceSequence (0042,0013) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3249
virtual OFCondition write(DcmItem &dataset) const
write spatial coordinates reference value to dataset
OFCondition getRationalDenominatorValue(Uint32 &value, const unsigned long pos=0) const
get RationalDenominatorValue (0040,a163)
Template class to flip monochrome images (on pixel data level) horizontally and vertically.
Definition: dimoflt.h:45
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTReferencedStudySequence ReferencedStudySequence
ReferencedStudySequence (0008,1110) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2769
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getApplicatorID(OFString &value, const signed long pos=0) const
get ApplicatorID (300a,0108)
the list of graphic layers contained in a presentation state (internal use only).
Definition: dvpsgll.h:40
static OFCondition checkPrivateTagReservation(DcmItem *item, const DcmTagKey &tagKey, const OFString &privateCreator="")
Checks in item, whether a private reservation for a given tag key exists.
OFCondition setSourceDescription(const OFString &value, const OFBool check=OFTrue)
set SourceDescription (300a,021c)
Interface class for ReferencedStudySequence (0008,1110)
Definition: drtrss.h:28
size_t getNumberOfPoints()
gets the number of graphic points.
DcmOtherLong(const DcmTag &tag)
constructor.
static const char * documentTypeToSOPClassUID(const E_DocumentType documentType)
convert SR document type to SOP class UID
void dropAndDestroyAssociation()
Drops association and clears internal structures to free memory.
virtual OFString getName() const
Get name of module.
IteratorBasedFilter(const Iterator &begin, const Iterator &end)
construct an IteratorBasedFilter object from two iterators.
Definition: dcfilter.h:67
@ PT_GrayscalePlanarMPR
Grayscale Planar MPR Volumetric Presentation State (GP-VPS)
Definition: dsrtypes.h:641
virtual OFCondition getTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get template identifier and mapping resource from the root node of this tree.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item class.
Definition: drtdirs.h:36
DcmTime InstanceCreationTime
InstanceCreationTime (0008,0013) vr=TM, vm=1, type=3.
Definition: drtstrct.h:3080
Interface class for ReferencedBrachyApplicationSetupSequence (300c,000a) in RTFractionSchemeModule.
Definition: drtrbas8.h:28
const Item & getCurrentItem() const
get current item in the sequence
Item EmptyItem
empty default item
Definition: drtbads.h:439
virtual OFCondition decodeFrame(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel) const
decompresses a single frame from the given pixel sequence and stores the result in the given buffer.
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
virtual OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool checkValue=OFTrue)
Set Coding Scheme Designator.
OFString opt_conceptCM
*concept data
Definition: dcencdoc.h:236
static OFCondition create(const Float32 *dataValues, const unsigned long numValues, TrcMeasurement::Values *&values)
Create TrcMeasurement::Values from minimal data.
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drttms9.h:210
OFCondition read(DcmItem &dataset, const size_t flags)
read list of graphic data
OFCondition getSetupDeviceParameter(Float64 &value, const unsigned long pos=0) const
get SetupDeviceParameter (300a,01bc)
Uint32 payloadReadOffset
read offset into payload in bytes
Definition: dvpsmsg.h:152
virtual DcmDirectoryRecord * matchFilename(const char *filename)
look up directory record for the given referenced file ID (not OS file path)
Item class.
Definition: drtsdcs.h:37
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
Item & operator=(const Item ©)
assigment operator
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcpis.h:388
OFBool haveOverlayGroup(Uint16 group)
check presence of overlay group
DcmDecimalString DiaphragmPosition
DiaphragmPosition (3002,0034) vr=DS, vm=4, type=3.
Definition: drtes.h:526
DcmPersonName patientName
Module=Patient, VR=PN, VM=1, Type 1.
Definition: dvpssp.h:955
the list of text objects contained in a presentation state (internal use only).
Definition: dvpstxl.h:40
XMLClear * addClear(XMLCSTR lpszValue, XMLCSTR lpszOpen=NULL, XMLCSTR lpszClose=NULL, XMLElementPosition pos=-1)
Add a new clear tag.
void reserveEntriesInNodeList(const size_t count, const OFBool initialize=OFFalse)
reserve a certain number of entries in the list of node IDs.
@ RO6931643_11C
(126720,DCM,"RO6931643 ^11^C")
Definition: cid4021.h:258
OFCondition setRangeModulatorGatingStopValue(const Float32 value, const unsigned long pos=0)
set RangeModulatorGatingStopValue (300a,0384)
OFCondition setSmoothingType(const char *value)
sets the (optional) smoothing type.
const DSRSpatialCoordinates3DValue & getSpatialCoordinates3D() const
get spatial coordinates 3D.
Item & operator=(const Item ©)
assigment operator
void clear()
clear all internal member variables
virtual OFCondition getPixelPaddingValue(Uint16 &value, const unsigned long pos=0) const
get PixelPaddingValue (0028,0120)
DcmDate DateOfLastCalibration
DateOfLastCalibration (0018,1200) vr=DA, vm=1-n, type=3.
Definition: drtimage.h:5059
size_t getNumberOfOverlaysInPresentationState()
gets the number of overlays which are embedded in the presentation state.
virtual OFCondition getRecognizableVisualFeatures(OFString &value, const signed long pos=0)
Get Recognizable Visual Features.
size_t find_last_of(const OFString &str, size_t pos=OFString_npos) const
determines the highest location, loc, up to pos, such that the character at loc matches at least one ...
SharedLoggerImplPtr parent
The parent of this logger.
Definition: logimpl.h:185
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
DcmIntegerString NumberOfWedges
NumberOfWedges (300a,00d0) vr=IS, vm=1, type=1.
Definition: drtibs.h:1019
OFCondition findAndGetElement(const DcmTagKey &tagKey, DcmElement *&element, const OFBool searchIntoSub=OFFalse, const OFBool createCopy=OFFalse)
find element and get a pointer to it (or copy it).
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmDecimalString CumulativeTimeWeight
CumulativeTimeWeight (300a,02d6) vr=DS, vm=1, type=2.
Definition: drtbcps.h:231
a class representing the DICOM value representation 'Signed 64-bit Very Long' (SV)
Definition: dcvrsv.h:35
Item & getCurrentItem()
get current item in the sequence
OFCondition setConfigurationInformation(const char *value)
sets the (optional) configuration information.
DcmLongText & operator=(const DcmLongText &obj)
assignment operator
OFCondition getBrachyApplicationSetupDoseSpecificationPoint(OFString &value, const signed long pos=0) const
get BrachyApplicationSetupDoseSpecificationPoint (300a,00a2)
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtgmcs.h:211
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition spoolStoredPrintFromDB(const char *studyUID, const char *seriesUID, const char *instanceUID)
requests the spooler process to print an old print job that is stored in the database as a "stored pr...
OFCondition(unsigned short aModule, unsigned short aCode, OFStatus aStatus, const char *aText)
constructor for condition code with text
Definition: ofcond.h:177
OFCondition getObservationDateTime(OFString &value, const signed long pos=0) const
get ObservationDateTime (0040,a032)
Item & operator[](const size_t num)
get particular item in the sequence
Class managing common information on an SR template.
Definition: dsrctpl.h:49
@ Distance
(121206,DCM,"Distance"), included from CID 7470
Definition: cid7469.h:356
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFBool hasOpenBeginning() const
Return the information whether *this refers to an open range without a definite beginning.
virtual OFCondition addTrack(const Float32 *pointData, const size_t numPoints, const Uint16 *recommendedCIELabColors, const size_t numColors, TrcTrack *&result)
Add track to Track Set.
virtual ~Item()
destructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getQualityControlSubject(OFString &value, const signed long pos=0) const
get QualityControlSubject (0010,0200)
const DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence() const
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtimage.h:2836
TYPE
Type of reference.
Definition: iodreferences.h:62
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtdvrrs.h:134
virtual OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
Uint32 RepresentativeFrame
number of representative frame, type 3 attribute (default '0')
Definition: diimage.h:625
virtual ~DVPSVOIWindow_PList()
destructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmIntegerString InstanceNumber
InstanceNumber (0020,0013) vr=IS, vm=1, type=3.
Definition: drtplan.h:3259
DiDisplayLUT(const unsigned long count, const Uint16 max, const double amb, const double illum=0)
constructor
DRTIssuerOfPatientIDQualifiersSequence IssuerOfPatientIDQualifiersSequence
IssuerOfPatientIDQualifiersSequence (0010,0024) vr=SQ, vm=1, type=3.
Definition: drtplan.h:2971
DSRImageTreeNode(const E_RelationshipType relationshipType)
constructor
OFCondition putString(const char *stringValue)
put list of referenced frame numbers as a string.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
this class encapsulates the decompression routines of the IJG JPEG library configured for 8 bits/samp...
Definition: djdijg8.h:39
offile_errno_t getLastError() const
return last error code for this stream
Definition: offile.h:942
OFCondition gotoFirstItem()
goto first item in the sequence
void clear()
clear all internal member variables
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
T * pointer
typedef of pointer type T* for template programmers.
Definition: ofmem.h:293
E_KeyType getKeyType()
returns the type of public key stored in this certificate
OFCondition getOverrideReason(OFString &value, const signed long pos=0) const
get OverrideReason (3008,0066)
virtual OFCondition getStrainDescription(OFString &value, const signed long pos=0) const
get StrainDescription (0010,0212)
virtual OFCondition convertSharedToPerFrame(const DcmFGTypes::E_FGType fgType)
Convert a shared functional group to a per-frame one by copying the shared one into a per-frame one f...
Uint32 getTargetPrinterNumberOfMediumTypes(const char *targetID)
returns the number of distinct values (separated by backslash characters) in the MEDIUMTYPE entry for...
virtual ~DcmPolymorphOBOW()
destructor
OFCondition setSourceIsotopeName(const OFString &value, const OFBool check=OFTrue)
set SourceIsotopeName (300a,0226)
virtual ~Item()
destructor
virtual OFCondition setTimeOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set TimeOfLastCalibration (0018,1201)
OFCondition setPresentationLookupTable(DcmItem &dset)
stores a presentation lookup table in the stored print object.
DcmFindSCUExtractMode
mode specifying whether and how to extract C-FIND responses.
Definition: dfindscu.h:50
OFMap< OFString, DcmPresentationContextList * >::const_iterator begin()
const iterator pointing to start of presentation context map
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtlsds.h:363
DRTCompensatorSequence CompensatorSequence
CompensatorSequence (300a,00e3) vr=SQ, vm=1, type=1C.
Definition: drtbs.h:735
virtual OFCondition setDateOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set DateOfLastCalibration (0018,1200)
OFBool imageReferencesEmpty()
checks if the list of image references for this displayed area is empty.
Definition: dvpsda.h:164
virtual void resetRules()
Resets rules to their original values.
const char * opt_readSeedFile
filename of file containing at least 1K of entropy used to seed the PRNG
Definition: tlsopt.h:169
virtual size_t replaceNode(T *node)
replace current node by the given one.
Definition: dsrtree.h:779
Class for content item TEXT.
Definition: dsrtextn.h:42
DcmDateTime ObservationDateTime
ObservationDateTime (0040,a032) vr=DT, vm=1, type=3.
Definition: drtpcxs.h:366
void clear()
clear all internal member variables
virtual ~DRTBrachyControlPointSequence()
destructor
an item of the graphic layer sequence in a presentation state (internal use only).
Definition: dvpsgl.h:37
OFCondition read(DcmItem &item)
read elements from sequence item
Item & getItem(const size_t num)
get particular item in the sequence
Interface class for TreatmentSummaryMeasuredDoseReferenceSequence (3008,00e0)
Definition: drttsmds.h:28
OFCondition write(DcmItem &dset, OFBool writeRequestedImageSize, OFBool writeReferencedPLUTSQ=OFTrue)
writes the image box managed by this object to a DICOM dataset.
DSRDocument & getCurrentReport()
returns a reference to the current structured report.
Definition: dviface.h:250
virtual OFCondition setOperatorsName(const OFString &value, const OFBool checkValue=OFTrue)
Set Operators' Name.
unsigned int Minute
currently stored minute value
Definition: oftime.h:415
@ EPI_CMYK
CMYK color (retired)
Definition: diutils.h:133
OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read study, series and instance level attributes from XML document
DcmCodeString ScanMode
ScanMode (300a,0308) vr=CS, vm=1, type=1.
Definition: drttsibs.h:1060
DRTTreatmentSummaryMeasuredDoseReferenceSequence TreatmentSummaryMeasuredDoseReferenceSequence
TreatmentSummaryMeasuredDoseReferenceSequence (3008,00e0) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2945
virtual OFCondition decode(Uint8 *compressedFrameBuffer, Uint32 compressedFrameBufferSize, Uint8 *uncompressedFrameBuffer, Uint32 uncompressedFrameBufferSize, OFBool isSigned)
suspended decompression routine.
DiPixel(const unsigned long count, const unsigned long inputCount=0)
constructor
Definition: dipixel.h:47
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
OFCondition setChannelShieldName(const OFString &value, const OFBool check=OFTrue)
set ChannelShieldName (300a,02b4)
Item class.
Definition: drtcis.h:36
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
virtual OFString getName() const
Get name of macro.
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write spatial coordinates value in XML format
void clear()
clear all internal member variables
size_t getValueWidth() const
compute the size for non-empty values of this VR.
const DRTDigitalSignaturesSequence & getDigitalSignaturesSequence() const
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtimage.h:2548
static void copyPatientStudyModule(DcmItem &src, DcmItem &dest)
Copy Patient Study Module attributes.
static OFBool check(const char *dicomTime, const size_t dicomTimeSize, const OFBool supportOldFormat)
check whether given string conforms to a single value of VR "TM" (Time).
Item & operator[](const size_t num)
get particular item in the sequence
Interface class for RTReferencedStudySequence (3006,0012)
Definition: drtrsts.h:29
OFBool isEmpty()
check if sequence is empty
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence()
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtplan.h:1340
DVPSImageBoxContent * clone()
clone method.
Definition: dvpsib.h:53
double getMaxValue() const
get maximum pixel value after modality transform
Definition: dimomod.h:119
OFpath()
Construct an empty path.
SiPrivateKey(SiPrivateKey &arg)
private undefined copy constructor
Item EmptyItem
empty default item
Definition: drtspgis.h:332
OFCondition getReferencedBeamNumber(OFString &value, const signed long pos=0) const
get ReferencedBeamNumber (300c,0006)
const char * getLabel() const
get label of overlay plane
Definition: diovpln.h:333
const DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence() const
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtplan.h:1718
const Item & getCurrentItem() const
get current item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual DJDecoder * createDecoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, OFBool isYBR) const
creates an instance of the compression library to be used for decoding.
OFMap< Uint32, Uint32 >::iterator iterator
Iterator type for iterating over the frames of a stack.
Definition: stack.h:44
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_InvalidByValueRelationship
error: the by-value relationship between two content items is not allowed
DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule & getReferencedRTPlanSequence()
get ReferencedRTPlanSequence (300c,0002)
Definition: drttreat.h:1575
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
Item & operator[](const size_t num)
get particular item in the sequence
OFBool isSOPInstanceUID(const char *uid)
compare SOP Instance UID.
DVPSInstanceType Type
type of instance
Definition: dvcache.h:107
OFBool m_checkPrivateReservations
If enabled (default), any insertions of private tags will fail, if no corresponding reservation exist...
Definition: dcpath.h:503
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition readSeriesData(DcmItem &dataset)
read SeriesData from dataset.
DcmIntegerString shutterRightVerticalEdge
Module=Display_Shutter, VR=IS, VM=1, Type 1C.
Definition: dcmpstat.h:894
virtual OFString getName() const
Get name of module ("DPMParametricMapSeriesModule")
virtual OFBool operator>(const OFDate &dateVal) const
comparison operator (greater than)
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtrrpcs.h:357
OFCondition getPersonName(OFString &value, const signed long pos=0) const
get PersonName (0040,a123)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DiImage * createImage(const unsigned long fstart, const unsigned long fcount) const
create copy of current image object
Item class.
Definition: drtaadcs.h:37
OFCondition putAndInsertFloat64(const DcmTag &tag, const Float64 value, const unsigned long pos=0, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
virtual OFBool containsExtendedCharacters(const OFBool checkAllStrings=OFFalse)
check if this element contains non-ASCII characters.
void xget(T &arg)
gets the value of this object.
Definition: ofglobal.h:76
const OFString SOPClassUID
SOP Class UID (VR=UI, type 1)
Definition: dsrsoprf.h:343
OFCondition setStartCumulativeMetersetWeight(const OFString &value, const OFBool check=OFTrue)
set StartCumulativeMetersetWeight (300c,0008)
Item class.
Definition: drtmucs.h:37
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTReferencedPatientPhotoSequence & operator=(const DRTReferencedPatientPhotoSequence ©)
assigment operator
DRTBreedRegistrationSequence & operator=(const DRTBreedRegistrationSequence ©)
assigment operator
DcmFloatingPointSingle boundingBoxTLHC
VR=FL, VM=2, Type 1c.
Definition: dvpstx.h:200
DcmUniqueIdentifier & operator=(const DcmUniqueIdentifier &obj)
assignment operator
virtual OFCondition verify(const unsigned char *inputHash, unsigned long inputHashSize, E_MACType inputHashAlgorithm, const unsigned char *inputSignature, unsigned long inputSignatureSize, OFBool &verified)
verifies a signature.
virtual OFCondition getTrackingID(OFString &value, const signed long pos=0)
Get Tracking ID.
virtual OFCondition getStudyDate(OFString &value, const signed long pos=0) const
get StudyDate (0008,0020)
virtual OFBool isGeneralReferenceModulePresent(const OFBool complete=OFFalse)
check whether GeneralReferenceModule (U) is present.
OFBool findParam(const int pos, OFListIterator(OFCmdParamPos *) &pos_iter)
finds specified parameter and sets given iterator to this position
Item EmptyItem
empty default item
Definition: drtdvhs.h:508
virtual OFCondition getStartTrim(Sint32 &value, const unsigned long pos=0) const
get StartTrim (0008,2142)
definition and handling of value representations (VR)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
DRTMotionSynchronizationSequence & operator=(const DRTMotionSynchronizationSequence ©)
assigment operator
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
@ EMO_ThresholdReplace
threshold replace
Definition: diutils.h:258
virtual OFCondition getCompletionFlagDescription(OFString &value, const signed long pos=0) const
get completion flag description.
@ Intern
(C1144859,UMLS,"Intern")
Definition: cid7452.h:70
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
Item(const Item ©)
copy constructor
DcmCodeString OverlayType
OverlayType (60xx,0040) vr=CS, vm=1, type=1.
Definition: drtdose.h:4494
OFCondition handleNAction(T_DIMSE_Message &rq, T_ASC_PresentationContextID presID)
handles any incoming N-ACTION-RQ message and sends back N-ACTION-RSP.
void determineRepresentation(const DiDocument *docu)
determine integer representation used for the output data
virtual OFCondition setWindowWidth(const OFString &value, const OFBool checkValue=OFTrue)
Set Window Width.
unsigned int num
number of entries in the set
Definition: ofset.h:43
virtual ~Item()
destructor
virtual OFCondition getPixelPaddingRangeLimit(Uint16 &value, const unsigned long pos=0) const
get PixelPaddingRangeLimit (0028,0121)
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
DRTContourImageSequence ContourImageSequence
ContourImageSequence (3006,0016) vr=SQ, vm=1, type=1.
Definition: drtrses.h:131
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getWindowWidth(Float64 &value, const unsigned long pos=0) const
get WindowWidth (0028,1051)
OFBool isEmpty()
check if sequence is empty
const DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence() const
get PerformedProtocolCodeSequence (0040,0260)
Definition: drttreat.h:1449
OFCondition setParameterSequencePointer(const OFString &value, const OFBool check=OFTrue)
set ParameterSequencePointer (3008,0061)
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getPatientBreedDescription(OFString &value, const signed long pos=0) const
get PatientBreedDescription (0010,2292)
DVPSCurve_PList()
default constructor
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
void setbuffer(char *buf, size_t size)
The three types of buffering available are unbuffered, block buffered, and line buffered.
Definition: offile.h:700
virtual OFCondition checkDocumentTreeConstraints(DSRIODConstraintChecker *checker)
check whether the document tree complies with the constraints of the given checker.
DcmFloatingPointDouble RealWorldValueSlope
RealWorldValueSlope (0040,9225) vr=FD, vm=1, type=1C.
Definition: drtrwvms.h:276
OFCondition setApplicatorDescription(const OFString &value, const OFBool check=OFTrue)
set ApplicatorDescription (300a,010a)
const char * getSOPclassUID() const
get SOP class UID of current image object
Item(const Item ©)
copy constructor
const DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule & getReferencedRTPlanSequence() const
get ReferencedRTPlanSequence (300c,0002)
Definition: drtiontr.h:1689
void getLastErrorString(OFString &s) const
return string describing last error code for this stream
Definition: offile.h:947
void insert(unsigned int level, OFConfigFileNode *&newnode, OFConfigFileNode *&anchor, OFBool orderedMode)
inserts a new node into the tree at the current cursor position
DcmCodeString CompensatorDivergence
CompensatorDivergence (300a,02e0) vr=CS, vm=1, type=1.
Definition: drtircs.h:408
OFCondition setGantryAngle(const OFString &value, const OFBool check=OFTrue)
set GantryAngle (300a,011e)
OFBool cookedEncodingPreferred() const
returns flag indicating whether or not the "cooked" lossless encoder should be preferred over the "ra...
Definition: djcparam.h:147
OFCondition getTableTopLongitudinalPositionTolerance(OFString &value, const signed long pos=0) const
get TableTopLongitudinalPositionTolerance (300a,0052)
Interface class for PersonIdentificationCodeSequence (0040,1101)
Definition: drtpics.h:29
virtual void resetRules()
Resets rules to their original values.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item class.
Definition: drtdss.h:37
OFBool isEmpty()
check if item is empty
@ Spine
(421060004,SCT,"Spine")
Definition: cid4031.h:214
DRTSourceInstanceSequence SourceInstanceSequence
SourceInstanceSequence (0042,0013) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3146
DIC_US nCompleted
number of completed sub-operations
Definition: dcmqrcbg.h:155
OFCondition setNumberOfBlocks(const OFString &value, const OFBool check=OFTrue)
set NumberOfBlocks (300a,00f0)
log4cplus::tstring const & get() const
Used when printing the diagnostic context.
Item class.
Definition: drtrtrs2.h:37
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition read(DcmItem &item)
read elements from sequence item
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSCannotComputeNumberOfFragments
error condition constant: Cannot compute number of fragments for JPEG-LS frame
DiMonoImage(const DiDocument *docu, const EI_Status status, const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation)
constructor, modality LUT
@ AP_GeneralPurposeBDMPEG4HPatLV42_3D
General Purpose BD Interchange with MPEG-4 AVC/H.264 HiP@Level4.2 for 3D video (STD-GEN-BD-MPEG4-HPLV...
Definition: dcddirif.h:139
virtual OFCondition getTimezoneOffsetFromUTC(OFString &value, const signed long pos=0) const
get timezone offset from UTC
OFBool appliesOnlyToFrame(unsigned long frame)
checks whether this image reference applies exactly to the given frame number.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual ~Item()
destructor
DcmPersonName NameOfPhysiciansReadingStudy
NameOfPhysiciansReadingStudy (0008,1060) vr=PN, vm=1-n, type=3.
Definition: drttreat.h:2763
OFCondition decode(const DcmXfer &fromType, const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, DcmStack &pixelStack)
decode representation to unencapsulated format
virtual ~DSRDocumentTreeNodeCursor()
destructor
DcmLongString MedicalAlerts
MedicalAlerts (0010,2000) vr=LO, vm=1-n, type=3.
Definition: drtstrct.h:2882
DVPSPrintEventHandler * eventHandler
the current event handler. Can be NULL.
Definition: dvpspr.h:282
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
int removeOverlay(const unsigned int group)
remove specified (additional) overlay plane
Definition: dcmimage.h:1019
DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence()
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtionpl.h:1655
DcmShortText RTImageDescription
RTImageDescription (3002,0004) vr=ST, vm=1, type=3.
Definition: drtimage.h:5279
OFCondition setStartCumulativeMetersetWeight(const OFString &value, const OFBool check=OFTrue)
set StartCumulativeMetersetWeight (300c,0008)
OFCondition getReferencedBlockNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedBlockNumber (300c,00e0)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtgas.h:379
DVPSStoredPrint_PList(const DVPSStoredPrint_PList ©)
copy constructor
void addTextObject(DVPSTextObject *text)
adds the given text object to the list of text objects managed by this object.
This class ensures that a NDC#push call is always matched with a NDC#pop call even in the face of exc...
Definition: ndc.h:315
DRTStructureSetROISequence(const DRTStructureSetROISequence ©)
copy constructor
CodeSequenceMacro m_ContentCreatorIdentificationCode
Content Creator's Identification Code Sequence.
Definition: iodmacro.h:1206
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get particular value as a character string
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFCondition read(DcmItem &item)
read elements from sequence item
virtual ~I2DImgSource()
Virtual Destructor.
Definition: i2dimgs.h:109
OFSemaphore & operator=(const OFSemaphore &arg)
unimplemented private assignment operator
OFSet(const OFSet< T > &src)
Copy constructor.
Definition: ofset.h:70
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTBeamSequence & operator=(const DRTBeamSequence ©)
assigment operator
DcmCodeString patientSex
Module=Patient, VR=CS, VM=1, Type 2.
Definition: dvpssp.h:961
virtual OFCondition clear()=0
clear (remove) attribute value
@ VF_Verified
DICOM enumerated value: VERIFIED.
Definition: dsrtypes.h:777
virtual DSRSOPInstanceReferenceList & getIdenticalDocuments()
get list of identical documents.
Implementation of DCMR Context Group: CID 7021 - Measurement Report Document Titles.
Definition: cid7021.h:35
virtual ~Item()
destructor
Item & getCurrentItem()
get current item in the sequence
Item class.
Definition: drtrsrs.h:36
const Item & getCurrentItem() const
get current item in the sequence
@ EWT_window_center_width
compute VOI window using center and width
Definition: diutils.h:342
int fail_
this flag indicates a failure of the RLE codec.
Definition: dcrledec.h:239
OFCondition getApplicatorType(OFString &value, const signed long pos=0) const
get ApplicatorType (300a,0109)
DcmDate PerformedProcedureStepStartDate
PerformedProcedureStepStartDate (0040,0244) vr=DA, vm=1, type=3.
Definition: drtdose.h:4301
virtual OFCondition getRescaleIntercept(Float64 &value, const unsigned long pos=0) const
get RescaleIntercept (0028,1052)
OFpath(const char *const cstr)
Construct an OFpath from a const char*.
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtsdcs.h:327
OFCondition setSourceApplicatorType(const OFString &value, const OFBool check=OFTrue)
set SourceApplicatorType (300a,0292)
OFCondition removeCurve(size_t layer, size_t idx)
deletes the curve activation with the given index on the given layer.
virtual void clear()
Clear all reference data.
virtual ~Item()
destructor
DcmTime RTPlanTime
RTPlanTime (300a,0007) vr=TM, vm=1, type=2.
Definition: drtionpl.h:3180
static void lab2Rgb(double &R, double &G, double &B, double L, double a, double b)
Convert CIELab color representation to sRGB representation.
OFCondition encodeDigitalSignatureItem(DcmItem &signatureItem, SiMAC &mac, E_TransferSyntax oxfer)
encodes the contents of the digital signature sequence except CertificateOfSigner,...
OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
DRTIonControlPointSequence(const DRTIonControlPointSequence ©)
copy constructor
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
void detach()
detaches an attached DICOM dataset from the signature object.
void clear()
clear all internal member variables
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTReferencedStructureSetSequence & getReferencedStructureSetSequence()
get ReferencedStructureSetSequence (300c,0060)
Definition: drtplan.h:1820
OFListIterator(Item *) CurrentItem
currently selected item
DcmLongString PatientID
PatientID (0010,0020) vr=LO, vm=1, type=2.
Definition: drtplan.h:2967
virtual OFCondition setModality(const OFString &value, const OFBool check=OFTrue)
set Modality (0008,0060)
Uint32 getACSETimeout() const
Returns ACSE timeout.
OFMap< OFString, DcmProfileEntry * >::const_iterator begin()
const iterator pointing to start of profile map
DcmIntegerString InstanceNumber
InstanceNumber (0020,0013) vr=IS, vm=1, type=1.
Definition: drtiontr.h:3075
const DRTPatientSizeCodeSequence & getPatientSizeCodeSequence() const
get PatientSizeCodeSequence (0010,1021)
Definition: drtionpl.h:1601
DcmLongString DeidentificationMethod
DeidentificationMethod (0012,0063) vr=LO, vm=1-n, type=1C.
Definition: drtplan.h:3029
DRTDerivationCodeSequence DerivationCodeSequence
DerivationCodeSequence (0008,9215) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3245
DcmDate ContentDate
ContentDate (0008,0023) vr=DA, vm=1, type=2C.
Definition: drtimage.h:5073
virtual OFCondition putFloat64Array(const Float64 *doubleVals, const unsigned long numDoubles)
set element value to given double array data
virtual ~DSRTree()
destructor
Definition: dsrtree.h:545
OFString ContextGroupExtensionCreatorUID
Context Group Extension Creator UID (VR=UI, type 1C)
Definition: dsrcodvl.h:738
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtspccs.h:536
virtual OFCondition addReferencedFrameNumber(const Uint16 &value, const OFBool checkValue=OFTrue)
Add a Referenced Frame Number.
virtual OFCondition status() const
returns the status of the consumer as an OFCondition object.
OFBool opt_failInvalidQuery
indicates if the application shall fail on an invalid C-Find RQ message
Definition: wlmactmg.h:60
OFCondition setTrackingUniqueIdentifier(const OFString &trackingUID, const OFBool check=OFTrue)
set the value of the 'Tracking Unique Identifier' content item (TID 1411 - Row 3).
@ RO542908_89Zr
(126756,DCM,"RO542908 ^89^Zr")
Definition: cid4021.h:254
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setSeriesTime(const OFString &value, const OFBool check=OFTrue)
set SeriesTime (0008,0031)
virtual OFCondition getPixelAspectRatio(Uint16 &value, const signed long pos=0)
Get Pixel Aspect Ratio.
OFCondition gotoFirstItem()
goto first item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getClinicalTrialSeriesID(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesID (0012,0071)
DRTSourceImageSequence & getSourceImageSequence()
get SourceImageSequence (0008,2112)
Definition: drtstrct.h:1734
OFBool isKnownProfile(const char *key) const
checks if the profile is known
virtual ~DcmFloatingPointSingle()
destructor
~WlmActivityManager()
destructor
OFCondition readXMLInstanceData(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read XML "instance" data
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrtrs2.h:325
Item & getCurrentItem()
get current item in the sequence
OFCondition readXMLPatientData(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read XML "patient" data
static DSRCodedEntryValue mapAcquisitionType(const OFString &definedTerm, const OFBool enhancedEncodingMode=OFFalse)
map a defined term for Acquisition Type (0018,9302) to the associated coded entry
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setDoseReferenceType(const OFString &value, const OFBool check=OFTrue)
set DoseReferenceType (300a,0020)
OFBool checkParseStatus(const OFCommandLine::E_ParseStatus status)
check parse status of previously parsed command line
@ SacroiliacJoint
(39723000,SCT,"Sacroiliac joint")
Definition: cid4031.h:198
OFCondition addCertificateRevocationList(const char *fileName, int fileType)
loads a certificate revocation list (CRL) in X.509 format from a file and adds it to the pool of trus...
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtpbcs.h:353
OFCondition getReferencedPatientSetupNumber(OFString &value, const signed long pos=0) const
get ReferencedPatientSetupNumber (300c,006a)
virtual SOPInstanceReferenceMacro & getReferencedPPS()
Get reference to Referenced Performed Procedure Step.
DRTBrachyAccessoryDeviceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool isEmpty()
check if item is empty
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtadcs.h:327
DicomImage * image_
DicomImage instance representing the image.
Definition: drmimage.h:272
OFString & operator=(char s)
constructs a temporary string from the input s and assigns it to the current string.
@ _28H1_89Zr
(126752,DCM,"28H1 ^89^Zr")
Definition: cid4021.h:44
DRTDigitalSignaturesSequence & operator=(const DRTDigitalSignaturesSequence ©)
assigment operator
DcmCodeString ContourGeometricType
ContourGeometricType (3006,0042) vr=CS, vm=1, type=1.
Definition: drtcs.h:273
DVPSTextObject * addTextObject(size_t layer, DVPSObjectApplicability applicability=DVPSB_allImages)
creates a new text object on the given layer.
static const size_t XF_embedDocumentType
embed content of document type definition. DCMTK-specific format only.
Definition: dctypes.h:220
const DRTPrimaryFluenceModeSequence & getPrimaryFluenceModeSequence() const
get PrimaryFluenceModeSequence (3002,0050)
Definition: drtes.h:381
RootLogger sits at the top of the logger hierachy.
Definition: rootlog.h:48
void MatchWorklistFile(DcmDataset &searchMask, const OFpath &worklistFile)
Determine whether a Worklist file matches the search mask.
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
OFCondition getChairHeadFramePosition(Float64 &value, const unsigned long pos=0) const
get ChairHeadFramePosition (300a,0151)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
void addEntry(DcmDictEntry *entry)
adds an entry to the dictionary.
OFCondition write(DcmItem &dset)
writes the list of text objects managed by this object to a DICOM dataset.
OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition setInstanceNumber(const OFString &value, const OFBool check=OFTrue)
set InstanceNumber (0020,0013)
virtual OFCondition getColumns(Uint16 &value, const unsigned long pos=0)
Get Columns.
DCMTK_DCMDATA_EXPORT const char * dcmLongSCUStorageSOPClassUIDs[]
an array of const strings containing all storage SOP classes that are proposed by default by those St...
OFCondition setNominalPriorDose(const OFString &value, const OFBool check=OFTrue)
set NominalPriorDose (300a,001a)
OFCondition write(DcmItem &item)
write elements to sequence item
size_t getNumberOfTrackStatistics()
Returns number of Track Statistics in Track Set.
size_t getLevel() const
get current level.
Definition: dsrtncsr.h:775
OFCondition getReferencedControlPointIndex(OFString &value, const signed long pos=0) const
get ReferencedControlPointIndex (300c,00f0)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setImageMagnificationType(size_t idx, const char *value)
sets the (optional) magnification type for the given registered image box.
Definition: dvpssp.h:430
virtual OFString getName() const
Get name of module ("PatientModule")
virtual OFCondition write(DcmItem &destination)
Write data of this module into given destination item.
const Item & getCurrentItem() const
get current item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
unsigned long getRepresentativeFrame() const
get index of representative frame.
Definition: dcmimage.h:250
DcmBufferProducer()
constructor
OFBool isFilled()
checks if the graphic is filled
OFString opt_measurementUnitsCSD
3d Model Measurement Units Code Scheme Designator
Definition: dcencdoc.h:287
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtmas.h:275
Item(const Item ©)
copy constructor
OFCondition getFixationLightPolarAngleTolerance(Float64 &value, const unsigned long pos=0) const
get FixationLightPolarAngleTolerance (300a,0155)
XMLNode getChildNodeWithAttribute(XMLCSTR tagName, XMLCSTR attributeName, XMLCSTR attributeValue=NULL, int *i=NULL) const
return child node with specific name/attribute (return an empty node if failing)
virtual void clear()
Delete all functional groups (shared and per-frame)
DRTSnoutSequence SnoutSequence
SnoutSequence (300a,030c) vr=SQ, vm=1, type=3.
Definition: drtibs.h:1053
OFCondition setTreatmentDeliveryType(const OFString &value, const OFBool check=OFTrue)
set TreatmentDeliveryType (300a,00ce)
DcmIntegerString BlockNumberOfPoints
BlockNumberOfPoints (300a,0104) vr=IS, vm=1, type=2.
Definition: drtbl5.h:337
Defines presentation context, consisting of one abstract syntax name and a list of transfer syntaxes ...
Definition: scu.h:999
int createLinODPresentationLut(const unsigned long count, const int bits)
create a presentation look-up table converting the pixel data which is linear to Optical Density to D...
size_t getNumberOfMeasurements()
Returns number of Measurements in Track Set.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmUniversalResourceIdentifierOrLocator CodingSchemeURL
CodingSchemeURL (0008,010e) vr=UR, vm=1, type=1.
Definition: drtcsrs.h:130
virtual OFBool stopAfterCurrentAssociation()
This method can be used to return from the listen() loop in a controlled way.
const DSRNumericMeasurementValue EmptyNumericMeasurement
empty numeric measurement value.
Definition: dsrcitem.h:599
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getCompensatorThicknessData(Float64 &value, const unsigned long pos=0) const
get CompensatorThicknessData (300a,00ec)
virtual OFCondition setClinicalTrialSeriesID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesID (0012,0071)
virtual OFCondition setResponsibleOrganization(const OFString &value, const OFBool check=OFTrue)
set ResponsibleOrganization (0010,2299)
virtual OFCondition getSOPClassUID(OFString &value, const signed long pos=0) const
Get SOP Class UID.
double getAmbientLightValue() const
get ambient light value
Definition: didislut.h:63
int getPlanes() const
get number of planes
Definition: dicopx.h:77
~DcmStackNode()
destructor, non virtual.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTBeamLimitingDeviceSequenceInRTImageModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFBool containsUnknownVR() const
returns true if the object contains an element with Unknown VR at any nesting level
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtaadcs.h:341
virtual OFCondition setHighBit(const Uint16 value, const unsigned long pos=0)
set HighBit (0028,0102)
OFCondition setImagePolarity(size_t idx, const char *value)
sets the polarity for the given registered image box.
Definition: dvpssp.h:408
virtual DJEncoder * createEncoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample) const =0
creates an instance of the compression library to be used for encoding/decoding.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcbars.h:337
DRTDerivationCodeSequence DerivationCodeSequence
DerivationCodeSequence (0008,9215) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3063
DcmDecimalString PatientBodyMassIndex
PatientBodyMassIndex (0010,1022) vr=DS, vm=1, type=3.
Definition: drtionpl.h:3029
Uint16 repeatingGroup
the repeating group managed by this object
Definition: dvpsal.h:108
virtual OFBool isExtensible() const
check whether template is extensible
Definition: dsrctpl.h:72
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition setIsocenterToRangeModulatorDistance(const Float32 value, const unsigned long pos=0)
set IsocenterToRangeModulatorDistance (300a,038a)
DRTBeamSequence BeamSequence
BeamSequence (300a,00b0) vr=SQ, vm=1, type=1.
Definition: drtplan.h:3306
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtes.h:741
OFCondition getReferencedROINumber(OFString &value, const signed long pos=0) const
get ReferencedROINumber (3006,0084)
DcmUniqueIdentifier sOPInstanceUID
Module=SOP_Common, VR=UI, VM=1, Type 1.
Definition: dcmpstat.h:868
unsigned char * buffer_
the user buffer we're actually reading from
Definition: dcistrmb.h:117
Item & operator[](const size_t num)
get particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbl2.h:548
DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence()
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtstrct.h:1314
const char * getActivationLayer()
get activation layer name.
static void cleanup()
deregisters decoder.
virtual FilterResult decide(const InternalLoggingEvent &event) const =0
If the decision is DENY, then the event will be dropped.
DSRPositionCounter(const DSRPositionCounter &counter)
copy constructor
DcmIntegerString NumberOfFractionsDelivered
NumberOfFractionsDelivered (3008,005a) vr=IS, vm=1, type=2.
Definition: drtfgss.h:198
virtual OFCondition setSoftwareVersions(const OFString &value, const OFBool check=OFTrue)
set SoftwareVersions (0018,1020)
DcmIntegerString ActualFrameDuration
ActualFrameDuration (0018,1242) vr=IS, vm=1, type=3.
Definition: drtimage.h:5232
T & operator*() const
Dereferences pointer to the managed object.
Definition: ofmem.h:140
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition gotoNextItem()
goto next item in the sequence
DcmShortString ApplicatorID
ApplicatorID (300a,0108) vr=SH, vm=1, type=1.
Definition: drtas1.h:193
DcmCodeString SmokingStatus
SmokingStatus (0010,21a0) vr=CS, vm=1, type=3.
Definition: drtplan.h:3124
OFCondition setContributionDateTime(const OFString &value, const OFBool check=OFTrue)
set ContributionDateTime (0018,a002)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableOtherFloatVRGeneration
Global flag to enable/disable the generation of VR=OF, which has been introduced after the first edit...
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrtrs4.h:311
OFCondition setPersonAddress(const OFString &value, const OFBool check=OFTrue)
set PersonAddress (0040,1102)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Uint32 getTargetPrinterNumberOfMinDensities(const char *targetID)
returns the number of distinct values (separated by backslash characters) in the MINDENSITY entry for...
helper structure for item offsets
Definition: dcdicdir.h:40
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
int getLine() const
The is the line where this log statement was written.
Definition: logevent.h:187
size_t bytesInLastBlock
filled number of bytes in last block in pixelDataList
Definition: djeijg8.h:165
OFCondition setReferencedROINumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedROINumber (3006,0084)
DB_SmallDcmElmt & operator=(const DB_SmallDcmElmt ©)
private undefined copy assignment operator
virtual OFCondition check() const
Check whether item contains valid data.
OFCondition putString(const char *stringValue)
put list of referenced time offsets as a string.
DVPSStoredPrint * clone()
clone method.
Definition: dvpssp.h:61
virtual CodeSequenceMacro & getSegmentedPropertyCategoryCode()
Get Segmented Property Category Code.
OFCondition getDepthValueAveragingFlag(OFString &value, const signed long pos=0) const
get DepthValueAveragingFlag (300a,0093)
OFCondition setReferencedROINumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedROINumber (3006,0084)
DJCodecParameter(E_CompressionColorSpaceConversion pCompressionCSConversion, E_DecompressionColorSpaceConversion pDecompressionCSConversion, E_UIDCreation pCreateSOPInstanceUID, E_PlanarConfiguration pPlanarConfiguration, OFBool predictor6WorkaroundEnable=OFFalse, OFBool cornellWorkaroundEnable=OFFalse, OFBool pForceSingleFragmentPerFrame=OFFalse, OFBool pOptimizeHuffman=OFFalse, int pSmoothingFactor=0, int pForcedBitDepth=0, Uint32 pFragmentSize=0, OFBool pCreateOffsetTable=OFTrue, E_SubSampling pSampleFactors=ESS_444, OFBool pWriteYBR422=OFFalse, OFBool pConvertToSC=OFFalse, size_t pWindowType=0, size_t pWindowParameter=0, double pVoiCenter=0.0, double pVoiWidth=0.0, size_t pRoiLeft=0, size_t pRoiTop=0, size_t pRoiWidth=0, size_t pRoiHeight=0, OFBool pUsePixelValues=OFTrue, OFBool pUseModalityRescale=OFFalse, OFBool pAcceptWrongPaletteTags=OFFalse, OFBool pAcrNemaCompatibility=OFFalse, OFBool pTrueLosslessMode=OFTrue)
constructor.
OFCondition setRetrieveAETitle(const OFString &value, const OFBool check=OFTrue)
set the retrieve application entity title of the currently selected entry
OFCondition getCertificateOfSigner(Uint8 *&value, unsigned long *count=NULL) const
get CertificateOfSigner (0400,0115)
virtual OFCondition handleMOVEResponse(const T_ASC_PresentationContextID presID, RetrieveResponse *response, OFBool &waitForNextResponse)
This is the standard handler for C-MOVE message responses: It just adds up all responses it receives ...
AlgorithmIdentificationMacro m_SegmentationAlgorithmIdentification
Segmentation Algorithm Identification (SQ, 1, 3).
Definition: segment.h:320
OFListIterator(Item *) CurrentItem
currently selected item
static const size_t RF_ignoreRelationshipConstraints
ignore relationship constraints for this document class
Definition: dsrtypes.h:263
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrbls.h:347
OFCondition setMetersetExposure(const OFString &value, const OFBool check=OFTrue)
set MetersetExposure (3002,0032)
virtual void RemoveByIndex(unsigned int index)
Removes one item from the set.
Definition: ofuoset.h:208
size_t bufptr_
index into buffer during file read
Definition: ofconfig.h:528
DIC_AE callingAETitle
calling AE title
Definition: wltypdef.h:81
WlmReturnedCharacterSetType
Returned Character Set types.
Definition: wltypdef.h:66
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition compressRawFrame(const Uint8 *framePointer, Uint16 bitsAllocated, Uint16 columns, Uint16 rows, Uint16 samplesPerPixel, Uint16 planarConfiguration, const OFString &photometricInterpretation, DcmPixelSequence *pixelSequence, DcmOffsetList &offsetList, unsigned long &compressedSize, const DJLSCodecParameter *djcp) const
perform the lossless raw compression of a single frame
DcmEVR
VR Enumerations.
Definition: dcvr.h:121
Class implementing a position counter to be used for iterating a tree of nodes.
Definition: dsrposcn.h:42
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtadcs.h:337
char * failedUIDs
instance UIDs of failed store sub-ops
Definition: dcmqrcbg.h:149
DcmQuantComponent getBlue() const
returns the blue component
Definition: diqtpix.h:114
static OFBool rangeMatchingDateTime(const void *dateQueryData, const size_t dateQuerySize, const void *timeQueryData, const size_t timeQuerySize, const void *dateCandidateData, const size_t dateCandidateSize, const void *timeCandidateData, const size_t timeCandidateSize)
Match the query date and time or date and time range and the candidate date and time using combined d...
DRTReferencedRTPlanSequence(const DRTReferencedRTPlanSequence ©)
copy constructor
virtual OFCondition addPresentationContext(const OFString &abstractSyntax, const OFList< OFString > &xferSyntaxes, const T_ASC_SC_ROLE requestorRole=ASC_SC_ROLE_DEFAULT, const OFString &profile="DEFAULT")
Add abstract syntax to presentation contexts the SCP is able to negotiate with SCUs.
DRTIonBeamsTreatmentRecordIOD(const DRTIonBeamsTreatmentRecordIOD ©)
copy constructor
DcmLongString SoftwareVersions
SoftwareVersions (0018,1020) vr=LO, vm=1-n, type=3.
Definition: drtionpl.h:3152
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmShortString TreatmentMachineName
TreatmentMachineName (300a,00b2) vr=SH, vm=1, type=2.
Definition: drtbs.h:795
static void writeSubSequence(OFCondition &result, const DcmTagKey &seqKey, Container &source, DcmItem &destination, const OFString &cardinality, const OFString &type, const OFString &module)
Write given container into a DICOM sequence that is created within the given item.
Definition: iodutil.h:611
DiDisplayFunction(const char *filename, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=-1)
constructor, read device characteristics file.
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtpbcs.h:351
DRTContrastBolusAdministrationRouteSequence & operator=(const DRTContrastBolusAdministrationRouteSequence ©)
assigment operator
OFBool isEmpty()
check if sequence is empty
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
DcmUnlimitedCharacters StrainDescription
StrainDescription (0010,0212) vr=UC, vm=1, type=3.
Definition: drtionpl.h:2926
virtual OFCondition setRescaleSlope(const OFString &value, const OFBool check=OFTrue)
set RescaleSlope (0028,1053)
void * jsampBuffer
temporary storage for row buffer during suspension
Definition: djdijg16.h:118
void printPixel(STD_NAMESPACE ostream &out, const size_t flags, const int level, const char *pixelFileName, size_t *pixelCounter)
print pixel data and optionally write it to a binary file.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpdeds.h:420
DUL_BLOCKOPTIONS getConnectionBlockingMode() const
Returns whether receiving of TCP/IP connection requests is done in blocking or unblocking mode.
Uint16 Rows
number of (stored) rows
Definition: diovpln.h:438
OFCondition read(DcmItem &item)
read elements from sequence item
DcmLongString ClinicalTrialSubjectReadingID
ClinicalTrialSubjectReadingID (0012,0042) vr=LO, vm=1, type=1C.
Definition: drtiontr.h:2881
DcmIntegerString InstanceNumber
InstanceNumber (0020,0013) vr=IS, vm=1, type=3.
Definition: drtdose.h:4570
DcmSCUPresContext()
Default constructor.
Definition: scu.h:1002
static const char * numberToString(const size_t number, char *stringValue)
convert unsigned integer number to character string
const DRTMACParametersSequence & getMACParametersSequence() const
get MACParametersSequence (4ffe,0001)
Definition: drttreat.h:1353
DRTCodingSchemeIdentificationSequence CodingSchemeIdentificationSequence
CodingSchemeIdentificationSequence (0008,0110) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3090
DcmUnsignedShort maxDensity
Module=Film_Box_Module, VR=US, VM=1, Type 2.
Definition: dvpssp.h:1026
OFCondition getCompensatorPixelSpacing(OFVector< Float64 > &value) const
get CompensatorPixelSpacing (300a,00e9)
const DRTIonBeamLimitingDeviceSequence & getIonBeamLimitingDeviceSequence() const
get IonBeamLimitingDeviceSequence (300a,03a4)
Definition: drtibs.h:534
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
Class for spatial coordinate (3D) values.
Definition: dsrsc3vl.h:40
OFBool isEmpty()
check if item is empty
DRTReferencedControlPointSequence & getReferencedControlPointSequence()
get ReferencedControlPointSequence (300c,00f2)
Definition: drtrbs2.h:114
const char * getPresentationContextKey() const
returns the presentation context key
int mirrorTable(const int flag=0x1)
mirror the order of all LUT entries.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtudis.h:311
DcmLongString ApplicatorDescription
ApplicatorDescription (300a,010a) vr=LO, vm=1, type=3.
Definition: drtas1.h:189
virtual OFCondition getAdmissionID(OFString &value, const signed long pos=0) const
get AdmissionID (0038,0010)
virtual OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
DcmDecimalString MetersetExposure
MetersetExposure (3002,0032) vr=DS, vm=1, type=3.
Definition: drtimage.h:5358
virtual OFBool isValid() const
check whether the currently stored time value is valid.
static const int busy
this constant is returned by the trylock() method if the mutex is already locked.
Definition: ofthread.h:385
OFBool isEmpty()
check if sequence is empty
OFBool isValid() const
check if item is valid, i.e. not the empty default item
size_t getNumberOfItems() const
get number of items in the sequence
OFString Explanation
LUT explanation string.
Definition: dibaslut.h:293
const DRTContrastBolusAdministrationRouteSequence & getContrastBolusAdministrationRouteSequence() const
get ContrastBolusAdministrationRouteSequence (0018,0014)
Definition: drtimage.h:2464
DcmDate presentationCreationDate
Module=Presentation_State, VR=DA, VM=1, Type 1.
Definition: dcmpstat.h:855
int setPresentationLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation=NULL, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set LUT for presentation transformation.
Definition: dcmimage.h:943
Item class.
Definition: drtrdros.h:36
Item(const Item ©)
copy constructor
Uint32 getTargetPrinterNumberOfConfigurationSettings(const char *targetID)
returns the number of distinct values in the CONFIGURATION_x entries for the printer with the given t...
DcmCodeString DoseUnits
DoseUnits (3004,0002) vr=CS, vm=1, type=1.
Definition: drtrdros.h:158
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtgmcs.h:355
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtbrcss.h:337
a class representing the DICOM value representation 'Person Name' (PN)
Definition: dcvrpn.h:38
OFCondition setRangeModulatorGatingStartValue(const Float32 value, const unsigned long pos=0)
set RangeModulatorGatingStartValue (300a,0382)
OFCondition gotoNextItem()
goto next item in the sequence
virtual ~FGFrameAnatomy()
Virtual destructor, frees memory.
unsigned long AutoInstanceNumber
current instance number used to invent missing attribute values
Definition: dcddirif.h:1614
virtual void Insert(const T &item)
Inserts a new item into the set.
Definition: ofuoset.h:139
OFBool isValid() const
check if item is valid, i.e. not the empty default item
void clear()
clear all internal member variables
static OFString getUserName()
Retrieve the name of the user that started the current process.
const E_ParamMode ParamMode
parameter's cardinality mode
Definition: ofcmdln.h:124
@ OxygenExtractionFraction
(126392,DCM,"Oxygen Extraction Fraction"), included from CID 4108
Definition: cid7469.h:278
const DRTReferencedStructureSetSequence & getReferencedStructureSetSequence() const
get ReferencedStructureSetSequence (300c,0060)
Definition: drtplan.h:1826
OFCondition startFindRequest(const char *SOPClassUID, DcmDataset *findRequestIdentifiers, DcmQueryRetrieveDatabaseStatus *status)
initiate FIND operation using the given SOP class UID (which identifies the query model) and DICOM da...
virtual unsigned long getSize() const
returns the size of a block of encrypted/decrypted ciphertext in bytes.
Item class.
Definition: drtrsers.h:37
virtual OFString isValid(DcmDataset &dataset) const
Do some completeness / validity checks.
@ T2WeightedMRSignalIntensity
(110805,DCM,"T2 Weighted MR Signal Intensity"), included from CID 7180
Definition: cid7469.h:98
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtrrpcs.h:205
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
void notifyReceivedEncryptedDICOMConnection(Uint32 status, const char *txt)
sends ReceivedEncryptedDICOMConnection notification to server.
static OFBool containsExtendedCharacters(const char *stringVal, const size_t stringLen)
check if a given character string contains non-ASCII characters.
OFCondition addProjectionRadiographyDescriptors(DSRDocumentSubTree &tree, DcmItem &dataset, const AddImageMode mode, const ConceptNameList &descriptors, const OFBool check)
add image library entry descriptors for projection radiography (TID 1603)
virtual OFCondition getOverlaySubtype(OFString &value, const signed long pos=0) const
get OverlaySubtype (60xx,0045)
Definition: jpegint12.h:152
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
virtual OFBool isValid() const
check whether the content item is valid.
DcmCodeString TreatmentVerificationStatus
TreatmentVerificationStatus (3008,002c) vr=CS, vm=1, type=2.
Definition: drttsibs.h:1074
double getWindowWidth()
gets the Window Width of this VOI Window.
Definition: dvpsvw.h:86
DCMTK_DCMDATA_EXPORT void dcmEnableGenerationOfNewVRs()
Global function that enables the generation of "new" value representations, i.e.
DcmShortText SetupDeviceDescription
SetupDeviceDescription (300a,01ba) vr=ST, vm=1, type=3.
Definition: drtsds.h:195
DcmTLSTransportLayer()
constructor.
void clear()
reset the object to initial state.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpvis.h:307
Item(const Item ©)
copy constructor
virtual OFCondition setContentQualification(const OFString &value, const OFBool check=OFTrue)
set ContentQualification (0018,9004)
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Returns that this functional group can be shared or per-frame (both)
Definition: fgplanpo.h:66
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_DoubledTag
Doubled tag.
Item(const Item ©)
copy constructor
virtual OFCondition setSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set SeriesDescription (0008,103e)
this helper class is a profile list entry.
Definition: dccfprmp.h:38
CID6147_ResponseCriteria(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtgmcs.h:353
virtual OFCondition getSeriesDate(OFString &value, const signed long pos=0) const
get SeriesDate (0008,0021)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrrtps3.h:327
OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
DcmDecimalString BeamLimitingDeviceAngle
BeamLimitingDeviceAngle (300a,0120) vr=DS, vm=1, type=3.
Definition: drtimage.h:5332
Default implementation of FindSCU callback class.
Definition: dfindscu.h:139
size_t size() const
returns number of elements in the list.
Definition: oflist.h:370
virtual OFCondition read(DcmItem &dataset)
Overwrites DcmIODCommon::read()
DSRProcedureLogConstraintChecker()
default constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
void clear()
clear all internal member variables
const Item & operator[](const size_t num) const
get particular item in the sequence
Item(const Item ©)
copy constructor
void clear()
clear all internal member variables
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
virtual OFCondition getClinicalTrialCoordinatingCenterName(OFString &value, const signed long pos=0) const
get ClinicalTrialCoordinatingCenterName (0012,0060)
DcmExtendedNegotiationItem & operator=(const DcmExtendedNegotiationItem &arg)
assignment operator
int writePPM(STD_NAMESPACE ostream &stream) const
write pixel data of selected frame to PPM/ASCII file
Definition: dimoopxt.h:195
unsigned long getVoiLutCount() const
get number of VOI LUTs (stored in image file)
Definition: dimoimg.h:319
OFCondition getTargetMaximumDose(OFString &value, const signed long pos=0) const
get TargetMaximumDose (300a,0027)
DRTBlockSequenceInRTBeamsModule & operator=(const DRTBlockSequenceInRTBeamsModule ©)
assigment operator
provides an operating system independent abstraction for threads.
Definition: ofthread.h:56
const Item & getCurrentItem() const
get current item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFBool isCommonInstanceReferenceModulePresent(const OFBool complete=OFFalse)
check whether CommonInstanceReferenceModule (U) is present.
DRTMACParametersSequence MACParametersSequence
MACParametersSequence (4ffe,0001) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3293
void printSCPBasicFilmBoxDelete(T_DIMSE_Message &rq, T_DIMSE_Message &rsp)
performs a Print SCP basic film box N-DELETE operation.
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_NotEnoughFrames
Not enough frames found.
DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence()
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtionpl.h:1235
virtual ~DRTImageIOD()
destructor
OFCondition getInConcatenationNumber(Uint16 &value, const unsigned int pos)
Get Concatenation Number.
DcmSequenceOfItems * m_fgSequence
The data hold by this item, i.e. the sequence making up the functional group.
Definition: fgbase.h:261
void HandleNonSequenceElementInResultDataset(DcmElement *element, unsigned long idx)
This function takes care of handling a certain non-sequence element whithin the structure of a certai...
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmShortString MaterialID
MaterialID (300a,00e1) vr=SH, vm=1, type=3.
Definition: drtchs.h:645
DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence()
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drttreat.h:1107
const DSRGraphicData3DItem & getItem(const size_t idx) const
get reference to the specified item
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
virtual OFCondition getUint32(Uint32 &val, const unsigned long pos=0)
retrieve a single value of type Uint32.
Item EmptyItem
empty default item
Definition: drtrbs8.h:468
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtds.h:499
Sint32 getCenterOfCircularShutter_y()
gets circular shutter center y component.
virtual ~DiColorOutputPixel()
destructor
OFBool operator<(const DcmTagKey &key) const
'less than' operator.
Definition: dctagkey.h:396
DcmFloatingPointSingle SnoutPosition
SnoutPosition (300a,030d) vr=FL, vm=1, type=2C.
Definition: drticpds.h:868
virtual OFCondition getRTImagePosition(Float64 &value, const unsigned long pos=0) const
get RTImagePosition (3002,0012)
OFMap< OFString, DcmTransferSyntaxList * > map_
map of transfer syntax lists
Definition: dccftsmp.h:99
OFCondition write(DcmItem &dataset) const
write list of items to the coding scheme identification sequence.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpdecs.h:375
OFCondition setApplicatorOpening(const Float32 value, const unsigned long pos=0)
set ApplicatorOpening (300a,0433)
const DRTStrainCodeSequence & getStrainCodeSequence() const
get StrainCodeSequence (0010,0219)
Definition: drtionpl.h:1901
@ RT_invalid
internal type used to indicate an error
Definition: dsrtypes.h:555
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getNumberOfControlPoints(Sint32 &value, const unsigned long pos=0) const
get NumberOfControlPoints (300a,0110)
const DRTReferencedSeriesSequence & getReferencedSeriesSequence() const
get ReferencedSeriesSequence (0008,1115)
Definition: drtstrct.h:1668
virtual DJEncoder * createEncoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample) const
creates an instance of the compression library to be used for encoding/decoding.
virtual OFCondition verify(const unsigned char *inputHash, unsigned long inputHashSize, E_MACType inputHashAlgorithm, const unsigned char *inputSignature, unsigned long inputSignatureSize, OFBool &verified)=0
verifies a signature.
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtdimcs.h:345
DcmShortString StudyID
StudyID (0020,0010) vr=SH, vm=1, type=2.
Definition: drtimage.h:4891
DRTPredecessorStructureSetSequence & getPredecessorStructureSetSequence()
get PredecessorStructureSetSequence (3006,0018)
Definition: drtdose.h:2344
This class used to simplify the use of the LogLog class.
Definition: lloguser.h:46
size_t getNumberOfGraphicObjects(size_t layer)
returns the number of graphic objects for the given graphic layer.
DcmCodeString ScanSpotReorderingAllowed
ScanSpotReorderingAllowed (300a,0395) vr=CS, vm=1, type=3.
Definition: drticps.h:815
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition putUint16Array(const Uint16 *wordValue, const unsigned long numWords)
set element value to given 16 bit data.
OFConfigFileCursor(const OFConfigFileCursor &source)
copy constructor
virtual OFCondition checkValue(const OFString &dateTimeValue) const
check the specified date/time value for validity.
const OFString & getMappingResource() const
get mapping resource
Definition: dsrctpl.h:107
@ IntraluminalRoute
(37737002,SCT,"Intraluminal route")
Definition: cid11.h:70
OFBool isEmpty()
check if item is empty
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
void clear()
clear all internal member variables
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrbls.h:162
OFCondition getChannelIdentificationCode(OFString &value, const signed long pos=0) const
get ChannelIdentificationCode (003a,0301)
DVConfiguration & operator=(const DVConfiguration &)
private undefined assignment operator
@ EXS_LittleEndianImplicit
Implicit VR Little Endian.
Definition: dcxfer.h:41
OFCondition getPixelAspectRatio(OFString &value, const signed long pos=0) const
get PixelAspectRatio (0028,0034)
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtadcs.h:205
virtual OFCondition getImageTriggerDelay(OFString &value, const signed long pos=0) const
get ImageTriggerDelay (0018,1067)
void resize(size_type n, T v=T())
resize this OFVector.
Definition: ofvector.h:358
IODGeneralImageModule m_GeneralImage
General Image Module.
Definition: iodimage.h:306
virtual FilterResult decide(const InternalLoggingEvent &event) const
Return the decision of this filter.
Item(const Item ©)
copy constructor
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read data of this module from given source item.
DSRSpatialCoordinates3DValue * getSpatialCoordinates3DPtr()
get pointer to spatial coordinates 3D.
OFCondition setPatientSupportAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set PatientSupportAccessoryCode (300a,0354)
Interface class for PatientSetupSequence (300a,0180)
Definition: drtpss.h:33
OFListIterator(ItemStruct *) Iterator
internal cursor to current (selected) list item
OFBool m_checkOnWrite
If enabled, functional group structure is checked on write().
Definition: fginterface.h:314
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcsas.h:162
a class representing the DICOM value representation 'Long Text' (LT)
Definition: dcvrlt.h:34
OFList< DcmPath * > m_results
Internal list that represents the search results found.
Definition: dcpath.h:495
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmIgnoreFileMetaInformationGroupLength
This flag allows for ignoring the value of (0002,0000) File Meta Information Group Length which is us...
DcmLongString ClinicalTrialSeriesID
ClinicalTrialSeriesID (0012,0071) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3124
Item EmptyItem
empty default item
Definition: drtpvis.h:511
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtgmcs.h:331
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
@ T1WeightedDynamicContrastEnhancedMRSignalIntensity
(110816,DCM,"T1 Weighted Dynamic Contrast Enhanced MR Signal Intensity"), included from CID 7180
Definition: cid7469.h:148
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
virtual ~DRTReferencedBeamSequenceInRTDoseModule()
destructor
OFCondition getChannelLength(OFString &value, const signed long pos=0) const
get ChannelLength (300a,0284)
virtual OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
get StudyInstanceUID (0020,000d)
FGUnknown()
Private default constructor, shall not be used.
virtual OFBool operator==(const DSRContentItem &item) const
comparison operator "equal".
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition setTriggerSourceOrType(const OFString &value, const OFBool checkValue=OFTrue)
Set Trigger Source or Type.
virtual OFBool readFromFile(const OFString &filename)
Initializes this reference from given file, i.e.
unsigned long getOutputDataSize(const int bits=0) const
get number of bytes required for the rendered output of a single frame.
Definition: dcmimage.h:397
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtois.h:391
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtiis.h:400
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFCondition setTargetUnderdoseVolumeFraction(const OFString &value, const OFBool check=OFTrue)
set TargetUnderdoseVolumeFraction (300a,0028)
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFBool operator==(const DiBaseLUT &lut)
compares current LUT with specified LUT
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrrtps4.h:127
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DRTROIPhysicalPropertiesSequence(const DRTROIPhysicalPropertiesSequence ©)
copy constructor
Item EmptyItem
empty default item
Definition: drtpbcs.h:540
virtual OFCondition putOFStringArray(const OFString &val)
replace the element value by a copy of the given string (which is possibly multi-valued).
OFCondition createTransportLayer(T_ASC_Network *net, T_ASC_Parameters *params, OFConsoleApplication &app, OFCommandLine &cmd)
Create a DcmTLSTransportLayer object based on the collected command line arguments.
OFCondition getReferencedROINumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedROINumber (3006,0084)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item & operator=(const Item ©)
assigment operator
double voiWidth
VOI window width for mode 5.
Definition: djcparam.h:390
template class used to store stack entries.
Definition: ofstack.h:172
SiMACConstructor()
constructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFString currentPrinter
target ID of current printer, empty if no printer exists in config file
Definition: dviface.h:1779
virtual OFCondition getFloat64Array(Float64 *&doubleVals)
get reference to stored double data
virtual OFCondition getInstanceCreationTime(OFString &value, const signed long pos=0) const
get InstanceCreationTime (0008,0013)
OFCondition getPixelAspectRatio(Uint16 &value, const signed long pos=0)
Get Pixel Aspect Ratio.
Definition: modimagepixelvariant.h:197
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool isEmpty()
check if sequence is empty
ContentItemMacro(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtas5.h:373
virtual OFCondition setCineRate(const OFString &value, const OFBool check=OFTrue)
set CineRate (0018,0040)
OFCondition activateOverlayInPresentationState(size_t layer, size_t idx)
activates the given overlay from the presentation state on the given graphic layer.
DcmDicomDir(const DcmDicomDir &newDir)
private undefined copy constructor
OFCondition getISOFormattedDate(OFString &formattedDate, const unsigned long pos=0, const OFBool supportOldFormat=OFTrue)
get the current element value in ISO date format.
CodeSequenceMacro m_TypeModifier
Single item from Modifier Code Sequence.
Definition: trcstatistic.h:112
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtpscs.h:355
size_t getNumberOfTextObjects(size_t layer)
returns the number of text objects for the given graphic layer.
typedef OFListConstIterator(value_type) const _iterator
constant iterator class for OFMap.
virtual ~DRTFixationDeviceSequence()
destructor
OFCondition getTableTopVerticalPosition(OFString &value, const signed long pos=0) const
get TableTopVerticalPosition (300a,0128)
DRTPerformedProtocolCodeSequence PerformedProtocolCodeSequence
PerformedProtocolCodeSequence (0040,0260) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5014
OFStatus
this enumeration describes the return status of an operation.
Definition: ofcond.h:47
This class provides a collection of time functions.
Definition: oftime.h:47
virtual ~DRTRangeShifterSequence()
destructor
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
void * getValue(const E_ByteOrder newByteOrder=gLocalByteOrder)
This function returns this element's value.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition getMechanicalIndex(Float64 &value, const unsigned long pos=0)
Get Mechanical Index.
virtual OFCondition createValueFromTempFile(DcmInputStreamFactory *factory, const Uint32 length, const E_ByteOrder byteOrder)
replace the attribute value with the content of the given temporary file.
OFList< OFString > * files
list of files to be modified
Definition: mdfconen.h:215
@ ProportionalToCounts
({propcounts},UCUM,"Proportional to counts"), included from CID 84
Definition: cid7181.h:96
OFBool isEmpty()
check if sequence is empty
virtual unsigned long getVM()
get value multiplicity
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getPrivateDataElementNumberOfItems(Uint32 &value, const unsigned long pos=0) const
get PrivateDataElementNumberOfItems (0008,030b)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTMultiplexedAudioChannelsDescriptionCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition setGantryRotationDirection(const OFString &value, const OFBool check=OFTrue)
set GantryRotationDirection (300a,011f)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbas.h:533
DJLSEncoderBase()
default constructor
virtual OFCondition setSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set SeriesDescription (0008,103e)
virtual OFCondition setSOPAuthorizationComment(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationComment (0100,0424)
OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
DcmUnsignedShort reflectedAmbientLight
Module=Film_Box_Module, VR=US, VM=1, Type 2c required if presentation SOP class present.
Definition: dvpssp.h:1034
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DiLookupTable(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation=NULL, const EL_BitsPerTableEntry descripMode=ELM_UseValue, const signed long first=-1, EI_Status *status=NULL)
constructor
virtual int processNextFrames(const unsigned long fcount)
process next couple of frames
DcmSignature()
default constructor
virtual OFCondition getFloatPixelPaddingValue(Float32 &value, const signed long pos=0)
Get Float Pixel Padding Value.
OFCondition setRealWorldValueMap(DcmItem &dataset, const OFBool check=OFTrue)
set the value of the 'Real World Value Map used for measurement' content item (TID 300 - Row 18).
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getRTBeamLimitingDeviceType(OFString &value, const signed long pos=0) const
get RTBeamLimitingDeviceType (300a,00b8)
unsigned long numColors
number of entries in color table
Definition: diqtctab.h:223
virtual OFCondition setImagePositionPatient(const OFString &coordinateX, const OFString &coordinateY, const OFString &coordinateZ, const OFBool checkValue=OFTrue)
Set Image Position Patient.
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
OFCondition createDummyValues(OFBool replaceSOPInstanceUID)
create dummy values for all missing type 1 elements.
virtual OFBool isCursorValid() const
check whether the internal cursor, which points to the current content item, is valid
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtdspcs.h:355
OFList< DVPSPresentationLUT * > list_
the list maintained by this object
Definition: dvpspll.h:130
DRTPhysiciansReadingStudyIdentificationSequence & operator=(const DRTPhysiciansReadingStudyIdentificationSequence ©)
assigment operator
DRTReferringPhysicianIdentificationSequence ReferringPhysicianIdentificationSequence
ReferringPhysicianIdentificationSequence (0008,0096) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2986
const char * getReferringPhysiciansName()
returns the Referring Physicians Name of the currently selected study.
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
const Item & operator[](const size_t num) const
get particular item in the sequence
@ EIS_InvalidImage
invalid image, internal error
Definition: diutils.h:240
DcmTag(const DcmTag &tag)
copy constructor
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches all filter criteria in the list
DRTSourcePatientGroupIdentificationSequence SourcePatientGroupIdentificationSequence
SourcePatientGroupIdentificationSequence (0010,0026) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4146
DcmDecimalString rescaleSlope
Module=Modality_LUT, VR=DS, VM=1, Type 1c.
Definition: dcmpstat.h:968
DcmFloatingPointSingle IsocenterToRangeShifterDistance
IsocenterToRangeShifterDistance (300a,0364) vr=FL, vm=1, type=3.
Definition: drtrshs6.h:165
OFBool isEmpty()
check if item is empty
virtual OFCondition getMeasuredAPDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredAPDimension (0010,1023)
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableUniversalResourceIdentifierOrLocatorVRGeneration
Global flag to enable/disable the generation of VR=UR, which has been introduced after the first edit...
log4cplus::tstring message
Definition: ndc.h:306
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getSoftwareVersions(OFString &value, const signed long pos=0) const
get SoftwareVersions (0018,1020)
OFBool getConvertToSC() const
returns secondary capture conversion flag
Definition: djcparam.h:179
DRTRealWorldValueMappingSequence(const DRTRealWorldValueMappingSequence ©)
copy constructor
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtpscs.h:345
E_FGSharedType
Functional group types.
Definition: fgtypes.h:174
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format
Class for checking the relationship content constraints of the Comprehensive SR IOD.
Definition: dsrcomcc.h:40
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item(const Item ©)
copy constructor
void clear()
clear all internal member variables
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
unsigned char * backup_
the backup buffer
Definition: dcistrmb.h:120
const OFString & getCodeValue() const
get code value.
Definition: dsrcodvl.h:378
@ MagneticResonanceImagingGuidance
(258177008,SCT,"Magnetic resonance imaging guidance")
Definition: cid100.h:46
virtual ~DRTCodingSchemeResourcesSequence()
destructor
DcmShortText RTPlanDescription
RTPlanDescription (300a,0004) vr=ST, vm=1, type=3.
Definition: drtplan.h:3256
DRTPerformedProtocolCodeSequence PerformedProtocolCodeSequence
PerformedProtocolCodeSequence (0040,0260) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3027
virtual int getMinMaxValues(double &min, double &max) const =0
get minimum and maximum pixel values (abstract)
DcmCodeString CompensatorType
CompensatorType (300a,00ee) vr=CS, vm=1, type=3.
Definition: drtcos.h:473
OFCondition getControlPointIndex(OFString &value, const signed long pos=0) const
get ControlPointIndex (300a,0112)
int flipImage(int horz=1, int vert=0) const
flip current image (horizontally and/or vertically)
DcmTransportLayerStatus addCipherSuite(const char *suite)
adds a ciphersuite to the list of ciphersuites for TLS negotiation.
OFCondition getPatientSupportAngleTolerance(Float64 &value, const unsigned long pos=0) const
get PatientSupportAngleTolerance (300a,004c)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Interface class for DICOMRetrievalSequence (0040,e021)
Definition: drtdirs.h:28
virtual OFCondition setPatientID(const OFString &value, const OFBool checkValue=OFTrue)
Set Patient ID.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual ~DRTReferencedPatientPhotoSequence()
destructor
OFCondition setTableTopPitchAngle(const Float32 value, const unsigned long pos=0)
set TableTopPitchAngle (300a,0140)
DcmDecimalString OrganAtRiskOverdoseVolumeFraction
OrganAtRiskOverdoseVolumeFraction (300a,002d) vr=DS, vm=1, type=3.
Definition: drtdrs.h:505
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition adjustOverlays(DcmItem *dataset, DicomImage &image) const
for all overlay groups create (60xx,3000) Overlay Data.
virtual OFVector< CodeSequenceMacro * > & getReasonForPerformedProcedureCodeSequence()
Get reference to content of Reason for Performed Procedure Code Sequence.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcgis.h:343
virtual OFCondition setSeriesInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SeriesInstanceUID (0020,000e)
DiYBR422Image(const DiDocument *docu, const EI_Status status)
constructor
DcmDirectoryRecord * buildVoiLutRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update VOI LUT record and copy required values from dataset
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmUnlimitedText PrivateDataElementEncoding
PrivateDataElementEncoding (0008,030f) vr=UT, vm=1, type=3.
Definition: drtpdeds.h:232
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get particular value as a character string
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=3.
Definition: drtibs.h:983
void clear()
clear all internal member variables
OFCondition setBlockData(const OFString &value, const OFBool check=OFTrue)
set BlockData (300a,0106)
void clear()
clear all internal member variables
DcmTime PerformedProcedureStepStartTime
PerformedProcedureStepStartTime (0040,0245) vr=TM, vm=1, type=3.
Definition: drttreat.h:2866
DcmSequenceOfItems(const DcmSequenceOfItems &oldSeq)
copy constructor
virtual OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get manufacturer's model name
OFBool isEmpty()
check if item is empty
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFTime()
default constructor.
@ WARN_LOG_LEVEL
warn: potentially harmful situations
Definition: oflog.h:61
EnumType
types of CT reconstruction algorithm
Definition: cid10033.h:42
virtual OFCondition putUint16Array(const Uint16 *wordValue, const unsigned long length)
insert an original unencapsulated representation.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence() const
get ContextGroupIdentificationSequence (0008,0123)
Definition: drttreat.h:1173
OFIterator< T > begin() const
returns an iterator referencing the first element in the list.
Definition: oflist.h:354
DcmLongString IssuerOfPatientID
IssuerOfPatientID (0010,0021) vr=LO, vm=1, type=3.
Definition: drtiontr.h:2798
@ IE_FOR
Frame of Reference Entity.
Definition: iodtypes.h:96
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
OFCondition setCompensatorRelativeStoppingPowerRatio(const Float32 value, const unsigned long pos=0)
set CompensatorRelativeStoppingPowerRatio (300a,02e7)
OFMap< DcmFGTypes::E_FGType, FGBase * > m_groups
Map holding the functional groups, one of each type at most.
Definition: fg.h:110
a class implementing the hash function SHA384
Definition: sisha384.h:41
Item & getCurrentItem()
get current item in the sequence
DRTProcedureCodeSequence & getProcedureCodeSequence()
get ProcedureCodeSequence (0008,1032)
Definition: drtdose.h:2368
DcmCodeString presentationSizeMode
VR=CS, VM=1, Type 1.
Definition: dvpsda.h:258
OFCondition getValue(DSRImageReferenceValue &referenceValue) const
get copy of image reference value
@ SequencedAcquisition
(113804,DCM,"Sequenced Acquisition")
Definition: cid10013.h:44
OFCondition setMeasurementUnit(const DSRCodedEntryValue &measurementUnit, const OFBool check=OFTrue)
set measurement unit.
OFCondition gotoFirstItem()
goto first item in the sequence
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtpsics.h:343
virtual OFCondition getReferringPhysicianName(OFString &value, const signed long pos=0) const
get ReferringPhysicianName (0008,0090)
OFCondition getMeasuredDoseReferenceNumber(OFString &value, const signed long pos=0) const
get MeasuredDoseReferenceNumber (3008,0064)
OFCondition read(DcmItem &dset)
reads a list of graphic annotations from a DICOM dataset.
static void lab2DicomLab(double &LDicom, double &aDicom, double &bDicom, double L, double a, double b)
Convert CIELab color representation to CIELab color representation found in DICOM.
Item class.
Definition: drtcs.h:37
DcmFloatingPointDouble(const DcmTag &tag)
constructor.
@ EWM_updateMeta
write as fileformat and update required information (e.g. SOP Class/Instance UID)
Definition: dctypes.h:162
DcmPath()
Constructor, creates an empty search result.
virtual OFCondition digest(const unsigned char *data, unsigned long length)
feeds data into the MAC algorithm
OFCondition startMoveRequest(const char *SOPClassUID, DcmDataset *moveRequestIdentifiers, DcmQueryRetrieveDatabaseStatus *status)
initiate MOVE operation using the given SOP class UID (which identifies the retrieve model) and DICOM...
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getPerformedProcedureStepDescription(OFString &value, const signed long pos=0) const
get PerformedProcedureStepDescription (0040,0254)
static FGPlanePosPatient * createMinimal(const OFString &imagePositionPatientX, const OFString &imagePositionPatientY, const OFString &imagePositionPatientZ)
Convenience function to create minimal functional group.
ConsoleAppender appends log events to STD_NAMESPACE cout or STD_NAMESPACE cerr using a layout specifi...
Definition: consap.h:55
virtual OFBool isModalityLUTModulePresent(const OFBool complete=OFFalse)
check whether ModalityLUTModule (U) is present.
DcmSCPConfig & operator*() const
Access the shared DcmSCPConfig object.
Definition: scpcfg.h:429
OFCondition write(DcmItem &dataset) const
write study, series and instance level attributes to dataset
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
OFCondition setTableTopRollAngleTolerance(const Float32 value, const unsigned long pos=0)
set TableTopRollAngleTolerance (300a,0050)
DcmDate StudyDate
StudyDate (0008,0020) vr=DA, vm=1, type=2.
Definition: drttreat.h:2739
virtual OFCondition setPerformedProcedureStepStartDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartDate (0040,0244)
DcmQuantComponent blue
blue color component of this pixel
Definition: diqtpix.h:161
static OFCondition loadFile(const OFString &filename, TrcTractographyResults *&tractography)
Load Tractography Results object from a file.
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
DVPSPrintSCP & operator=(const DVPSPrintSCP &)
private undefined assignment operator
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setCodingSchemeUID(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeUID (0008,010c)
DcmShortText BolusDescription
BolusDescription (300a,00dd) vr=ST, vm=1, type=3.
Definition: drtrbos1.h:167
virtual OFBool isRTPrescriptionModulePresent(const OFBool complete=OFFalse)
check whether RTPrescriptionModule (U) is present.
DcmLongString IssuerOfPatientID
IssuerOfPatientID (0010,0021) vr=LO, vm=1, type=3.
Definition: drtionpl.h:2886
DRTModifiedAttributesSequence(const DRTModifiedAttributesSequence ©)
copy constructor
OFBool isEmpty()
check if item is empty
virtual const void * getOutputData(const unsigned long frame, const int bits, const int planar=0)
get pixel data with specified format.
void clear()
clear all internal member variables
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setStudyDate(const OFString &value, const OFBool check=OFTrue)
set StudyDate (0008,0020)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
void clear()
reset the object to initial state.
OFCondition gotoFirstItem()
goto first item in the sequence
DcmDecimalString RTImageOrientation
RTImageOrientation (3002,0010) vr=DS, vm=6, type=2C.
Definition: drtimage.h:5294
const DRTReferencedTreatmentRecordSequenceInRTDoseModule & getReferencedTreatmentRecordSequence() const
get ReferencedTreatmentRecordSequence (3008,0030)
Definition: drtdose.h:2554
OFCondition read(DcmItem &dset, DVPSPresentationLUT_PList &presentationLUTList)
reads an image box content item from a DICOM dataset.
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
This class implements a buffering mechanism that is used when writing large elements that reside in f...
Definition: dcwcache.h:44
E_Representation
The possible ways to represent a UUID.
Definition: ofuuid.h:40
void writeTrackStatistics(OFCondition &result, DcmItem &destination)
Write Track Statistics to given item.
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
Item EmptyItem
empty default item
Definition: drtbldps.h:328
DcmDecimalString TableTopLateralPosition
TableTopLateralPosition (300a,012a) vr=DS, vm=1, type=3.
Definition: drtimage.h:5348
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item EmptyItem
empty default item
Definition: drtrsns.h:315
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getUID(OFString &value, const signed long pos=0) const
get UID (0040,a124)
DVInterface & operator=(const DVInterface &)
private undefined assignment operator
XMLClear * updateClear(XMLCSTR lpszNewValue, XMLCSTR lpszOldValue)
if the clearTag to update is missing, a new one will be added
OFCondition getLUTExplanation(OFString &value, const signed long pos=0) const
get LUTExplanation (0028,3003)
int deleteLookupTable(const int bits)
delete specified LUT
const DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence() const
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtionpl.h:1469
OFStackLinkBase * base_top()
returns element on top of stack.
Definition: ofstack.h:111
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmShortString EthnicGroup
EthnicGroup (0010,2160) vr=SH, vm=1, type=3.
Definition: drtiontr.h:2824
virtual OFCondition setModality(const OFString &value, const OFBool check=OFTrue)
set Modality (0008,0060)
virtual OFCondition setPrimaryDosimeterUnit(const OFString &value, const OFBool check=OFTrue)
set PrimaryDosimeterUnit (300a,00b3)
virtual OFCondition getSynchronizationTrigger(OFString &value, const signed long pos=0) const
Get Synchronization Trigger.
@ EWT_voi_lut_from_file
use the n-th VOI look up table from the image file
Definition: diutils.h:332
@ EXS_JPEGProcess28
JPEG Lossless, Hierarchical.
Definition: dcxfer.h:79
DRTGeneralAccessorySequence & getGeneralAccessorySequence()
get GeneralAccessorySequence (300a,0420)
Definition: drtes.h:363
virtual OFCondition getClinicalTrialSiteName(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteName (0012,0031)
int getMinMaxWindow(const int idx, double ¢er, double &width)
get automatically computed min-max window
Definition: dimopxt.h:186
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrims.h:186
const Item & getCurrentItem() const
get current item in the sequence
OFBool dbCheckFindIdentifier_
flag for database interface: check C-FIND identifier
Definition: dcmqrsrv.h:159
virtual void SetDbDsn(const OFString &)
Set value in a member variable in a derived class.
Definition: wlds.h:432
const Item & operator[](const size_t num) const
get particular item in the sequence
const char * getPatientSex()
returns the Patient Sex of the currently selected study.
OFBool isEmpty()
check if item is empty
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Uint16 getValue(const Uint32 pos) const
get value of specified LUT entry.
Definition: dibaslut.h:154
@ ApparentDiffusionCoefficient
(113041,DCM,"Apparent Diffusion Coefficient"), included from CID 7272
Definition: cid7469.h:122
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrds.h:311
@ LEVEL_STUDY
Study level.
Definition: iodreferences.h:55
Class representing the US Image Description Functional Group.
Definition: fgusimagedescription.h:33
DcmObject * seek(E_ListPos pos=ELP_next)
seek within element in list to given position (i.e.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTRTROIObservationsSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getTableTopVerticalPosition(Float64 &value, const unsigned long pos=0) const
get TableTopVerticalPosition (300a,0128)
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a particular value as a character string.
@ Spiperone_F18
(129499001,SCT,"Spiperone F^18^")
Definition: cid4021.h:276
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
@ PerCentimeter
(/cm,UCUM,"/Centimeter"), included from CID 84
Definition: cid7181.h:114
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmLongString ClinicalTrialSeriesID
ClinicalTrialSeriesID (0012,0071) vr=LO, vm=1, type=3.
Definition: drttreat.h:2883
virtual OFCondition getOccupation(OFString &value, const signed long pos=0) const
get Occupation (0010,2180)
const char * getXferID() const
return UID string for this transfer syntax
Definition: dcxfer.h:215
Interface class for IonWedgeSequence (300a,03aa)
Definition: drtiws.h:28
virtual OFCondition getStructureSetName(OFString &value, const signed long pos=0) const
get StructureSetName (3006,0004)
@ LATERALITY_UNDEFINED
Undefined (e.g. value not set)
Definition: fgframeanatomy.h:41
OFString inputFormat() const
Returns format of input image.
virtual ~DcmOutputBufferStream()
destructor
static const OFString & getPrintStringFromElement(const DcmElement &delem, OFString &stringValue)
get string value from element and convert to "print" format.
virtual OFCondition read(DcmItem &dataset)
read object from dataset
static DJEncoderSpectralSelection * encsps
pointer to encoder for spectral selection JPEG
Definition: djencode.h:121
OFBool getUseModalityRescale() const
returns flag indicating if compression should compute Rescale Slope/Intercept
Definition: djcparam.h:271
static E_RelationshipType definedTermToRelationshipType(const OFString &definedTerm)
convert DICOM defined term to relationship type
DRTShieldingDeviceSequence & operator=(const DRTShieldingDeviceSequence ©)
assigment operator
OFCondition gotoFirstItem()
goto first item in the sequence
unsigned long printJobCounter
a counter used for generating print job names.
Definition: dviface.h:1634
void splice(OFIterator< T > position, OFList< T > &x, OFIterator< T > i)
inserts one element from list x into the current list and removes it from x
Definition: oflist.h:475
OFCondition setToleranceTableLabel(const OFString &value, const OFBool check=OFTrue)
set ToleranceTableLabel (300a,0043)
const DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence() const
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drttreat.h:1569
OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
DcmShortString Occupation
Occupation (0010,2180) vr=SH, vm=1, type=3.
Definition: drtstrct.h:2894
virtual DcmFGTypes::E_FGSharedType getSharedType() const =0
Find out whether functional group is potentially only shared, only per-frame or can be both.
virtual ~DRTReferencedReferenceImageSequenceInRTIonBeamsModule()
destructor
Item EmptyItem
empty default item
Definition: drtchs.h:864
virtual OFCondition getResponsiblePerson(OFString &value, const signed long pos=0) const
get ResponsiblePerson (0010,2297)
DcmIntegerString WedgeNumber
WedgeNumber (300a,00d2) vr=IS, vm=1, type=1.
Definition: drtws.h:282
DiMonoPixel(const DiInputPixel *pixel, DiMonoModality *modality)
constructor
OFCondition setReferencedToleranceTableNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedToleranceTableNumber (300c,00a0)
DcmDate FirstTreatmentDate
FirstTreatmentDate (3008,0054) vr=DA, vm=1, type=2.
Definition: drtiontr.h:3123
virtual OFCondition setConsultingPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ConsultingPhysicianName (0008,009c)
unspecified OFnullptr_t
OFnullptr_t is the type of the null pointer literal, OFnullptr.
Definition: oftypes.h:220
OFCondition setPurposeOfReference(const DSRCodedEntryValue &codeValue, const OFBool check=OFTrue)
set purpose of reference code of the currently selected entry.
@ NMUnspecifiedBodyRegion
(49118-3,LN,"NM unspecified body region")
Definition: cid100.h:62
const Item & getItem(const size_t num) const
get particular item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drttms9.h:206
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtssrcs.h:331
OFCondition setWedgeOrientation(const OFString &value, const OFBool check=OFTrue)
set WedgeOrientation (300a,00d8)
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtbas.h:341
OFBool useShutterCircular
if true, a circular shutter is in use
Definition: dcmpstat.h:884
int hasSignedRepresentation
is 'true' if pixel data is signed
Definition: diimage.h:652
virtual DcmObject * clone() const
clone method
Definition: dcvrsv.h:87
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
int RLE_pcount_
repeat counter, for RLE compressor may temporarily become negative, guaranteed to be >= 0 between met...
Definition: dcrleenc.h:408
DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModule TreatmentMachineSequence
TreatmentMachineSequence (300a,0206) vr=SQ, vm=1, type=1.
Definition: drtplan.h:3315
OFBool HaltOnUnsuccessfulStoreMode
flag indicating whether to halt on unsuccessful store
Definition: dstorscu.h:522
virtual OFCondition setInConcatenationNumber(const Uint16 value)
Set In-concatenation Number.
unsigned long theThread
thread identifier
Definition: ofthread.h:172
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches the filter criterion (relationship type)
virtual ~DRTOperatorIdentificationSequence()
destructor
Creator RSA Digital Signature Profile.
Definition: sicreapr.h:36
DcmTime InstanceCreationTime
InstanceCreationTime (0008,0013) vr=TM, vm=1, type=3.
Definition: drtiontr.h:3159
virtual OFCondition checkValue(const OFString &vm="", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM.
CMR_SRNumericMeasurementValue(const DSRNumericMeasurementValue &numericMeasurement)
copy constructor
DcmCodeString WedgePosition
WedgePosition (300a,0118) vr=CS, vm=1, type=1.
Definition: drtwps.h:139
OFCondition selectInstance(const char *studyUID, const char *seriesUID, const char *instanceUID)
selects the instance with the given UIDs.
virtual ~Values()
Destructor, frees memory.
OFCondition getNumberOfBlocks(OFString &value, const signed long pos=0) const
get NumberOfBlocks (300a,00f0)
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtdcs.h:347
DRTStrainCodeSequence & getStrainCodeSequence()
get StrainCodeSequence (0010,0219)
Definition: drtplan.h:1940
OFCondition write(DcmItem &dset)
writes the image reference managed by this object to a DICOM dataset.
E_UIDCreation getUIDCreation() const
returns mode for SOP Instance UID creation
Definition: djcparam.h:187
virtual OFCondition getStationName(OFString &value, const signed long pos=0) const
Get Station Name.
OFString & getStringFromDataset(DcmItem *dataset, const DcmTagKey &key, OFString &result, OFBool searchIntoSub=OFFalse)
get string value from dataset and report an error (if any)
void clear()
clear all internal member variables
const DRTDigitalSignaturesSequence & getDigitalSignaturesSequence() const
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtionpl.h:1361
DRTConsentForClinicalTrialUseSequence ConsentForClinicalTrialUseSequence
ConsentForClinicalTrialUseSequence (0012,0083) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4272
OFString m_DefaultValue
Default value for attribute.
Definition: iodrules.h:251
DSRPositionCounter & operator++()
pre-increment operator.
Definition: dsrposcn.h:78
SHA512_CTX * ctx
OpenSSL SHA384 context.
Definition: sisha384.h:94
OFCondition getBlockData(Float64 &value, const unsigned long pos=0) const
get BlockData (300a,0106)
static const OFString m_ModuleName
This module's name ("DoubleFloatingPointImagePixelModule")
Definition: modfloatingpointimagepixel.h:242
OFString m_StackID
The Stack ID of this frame.
Definition: stack.h:132
DcmLongText(const DcmTag &tag, const Uint32 len=0)
constructor.
DcmCodeString PatientSex
PatientSex (0010,0040) vr=CS, vm=1, type=2.
Definition: drtionpl.h:2898
DcmLongString SourceIsotopeName
SourceIsotopeName (300a,0226) vr=LO, vm=1, type=1.
Definition: drtss.h:426
OFBool isEmpty()
check if item is empty
DcmUniqueIdentifier InstanceCreatorUID
InstanceCreatorUID (0008,0014) vr=UI, vm=1, type=3.
Definition: drtimage.h:5410
void copyElementType3(DcmItem *dataset, const DcmTagKey &key, DcmDirectoryRecord *record, const OFFilename &sourceFilename)
copy type 3 element from given dataset to directory record
Definition: dcddirif.h:1486
const Item & operator[](const size_t num) const
get particular item in the sequence
const char * getSeriesUID()
returns the Series Instance UID of the currently selected series.
OFCondition computeMonochromeImageComparionMetricsWord()
compare two images that are both monochrome and have more than 8 bits/pixel in internal storage,...
@ Kurtosis
(126052,DCM,"Kurtosis")
Definition: cid7464.h:64
size_t getNumberOfItems() const
get number of items in the sequence
virtual DcmEVR ident() const
get element type identifier
@ TCE_None
No encryption.
Definition: tlsciphr.h:179
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrfors.h:128
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtics.h:333
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n")
check whether given string value conforms to the VR "UI" (Unique Identifier) and to the specified VM.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
Class for checking the relationship content constraints of the Enhanced SR IOD.
Definition: dsrenhcc.h:40
OFCondition getLeafPositionBoundaries(OFString &value, const signed long pos=0) const
get LeafPositionBoundaries (300a,00be)
WlmDataSource * dataSource
data source which shall be queried on incoming C-Find RQ messages
Definition: wlcefs.h:98
const DRTRTROIIdentificationCodeSequence & getRTROIIdentificationCodeSequence() const
get RTROIIdentificationCodeSequence (3006,0086)
Definition: drtrros.h:185
virtual bool isDisabled(LogLevel level)
Is the LogLevel specified by level enabled?
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drttreat.h:2898
virtual OFCondition getStudyDescription(OFString &value, const signed long pos=0) const
get StudyDescription (0008,1030)
@ EPI_ARGB
ARGB color (retired)
Definition: diutils.h:131
virtual OFCondition setSeriesDate(const OFString &value, const OFBool check=OFTrue)
set series date
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition getTableTopEccentricAxisDistance(OFString &value, const signed long pos=0) const
get TableTopEccentricAxisDistance (300a,0124)
OFCondition gotoNextItem()
goto next item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getSOPInstanceUID(OFString &value, const signed long pos=0) const
get SOPInstanceUID (0008,0018)
const char * getOverlayInImageLabel(size_t idx)
gets the overlay label of the given overlay in the attached image.
virtual OFCondition putFloat64(const Float64 doubleVal, const unsigned long pos=0)
set particular element value to given double
virtual const char * errorString(DcmTransportLayerStatus code)
returns an error string for a given error code.
virtual OFCondition getPerformedProcedureStepStartTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartTime (0040,0245)
virtual Uint16 getMaxThreads()
Get number of maximum permitted connections, i.e. threads/workers.
OFBool lastItemComplete
flag used during suspended I/O.
Definition: dcsequen.h:626
virtual OFCondition getStructureSetLabel(OFString &value, const signed long pos=0) const
get StructureSetLabel (3006,0002)
Metafunction to remove the extent from an array type.
Definition: oftraits.h:458
OFCondition setSetupTechniqueDescription(const OFString &value, const OFBool check=OFTrue)
set SetupTechniqueDescription (300a,01b2)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtibls.h:545
void cleanup()
cleans up pixelDataList, called from destructor and error handlers
virtual OFBool isLosslessProcess() const =0
returns true if the transfer syntax supported by this codec is lossless.
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getStatus() const
gets the error status of this class. If this is bad, no file was created
Definition: oftempf.h:63
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtmucs.h:353
DRTFractionGroupSummarySequence FractionGroupSummarySequence
FractionGroupSummarySequence (3008,0220) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3127
virtual OFCondition setBitsAllocated(const Uint16 value, const unsigned long pos=0)
set BitsAllocated (0028,0100)
virtual DcmTransportConnection * createConnection(DcmNativeSocketType openSocket, OFBool useSecureLayer)
factory method that returns a new transport connection for the given socket.
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags=0, const DSRPositionCounter *posCounter=NULL)
print current SR document tree to specified output stream
virtual OFCondition getOverlayDescription(OFString &value, const signed long pos=0) const
get OverlayDescription (60xx,0022)
OFCondition toFrontGraphicLayer(size_t idx)
makes a graphic layer the highest layer for display.
virtual ~DcmBufferProducer()
destructor
DRTPredecessorStructureSetSequence & operator=(const DRTPredecessorStructureSetSequence ©)
assigment operator
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drthsdrs.h:162
OFCondition getReferencedControlPointIndex(OFString &value, const signed long pos=0) const
get ReferencedControlPointIndex (300c,00f0)
virtual OFCondition setPerformedProcedureStepEndTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndTime (0040,0251)
Uint32 getPeerMaxPDULength() const
Returns maximum PDU size the communication peer (i.e. the SCU) is able to receive.
void convertPixelData()
convert pixel data to uncompressed representation (if required)
OFtuple< typename OFdecay< Types >::type... > OFmake_tuple(Types &&... args)
Creates a tuple, automatically deducing the element types from the given arguments.
static void currentDateTime(OFString &str)
returns the current date and time as a DICOM DT string.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpcxs.h:558
const Item & operator[](const size_t num) const
get particular item in the sequence
void clear()
clear all internal member variables
OFBool isEmpty()
check if item is empty
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the image reference value, is valid
OFCondition setObservationDateTime(const OFString &value, const OFBool check=OFTrue)
set ObservationDateTime (0040,a032)
DcmFloatingPointSingle ScanSpotPositionMap
ScanSpotPositionMap (300a,0394) vr=FL, vm=1-n, type=1C.
Definition: drticpds.h:856
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtcss.h:347
DcmLongString StrainNomenclature
StrainNomenclature (0010,0213) vr=LO, vm=1, type=3.
Definition: drttreat.h:2687
virtual OFCondition setAdditionalPatientHistory(const OFString &value, const OFBool check=OFTrue)
set AdditionalPatientHistory (0010,21b0)
DVInstanceCache()
Constructor.
Definition: dvcache.h:124
this class represents a TCP/IP based transport connection which can be a transparent TCP/IP socket co...
Definition: dcmtrans.h:67
virtual OFVector< ContentItemMacro * > & getEntireQuantityDefinitionSequence()
Get a reference to the entire ConceptNameCodeSequence, including items exceeding the value multiplici...
virtual OFCondition setReferringPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ReferringPhysicianName (0008,0090)
Item class.
Definition: drtmdrs.h:36
DPMParametricMapImageModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
T_DIMSE_Message * m_openDIMSERequest
The last DIMSE successfully sent, unresponded DIMSE request.
Definition: scu.h:1023
OFCondition getBeamDose(OFString &value, const signed long pos=0) const
get BeamDose (300a,0084)
DcmPersonName PhysiciansOfRecord
PhysiciansOfRecord (0008,1048) vr=PN, vm=1-n, type=3.
Definition: drtdose.h:4196
virtual OFCondition setFunctionalGroupPointer(const DcmTagKey &value, const OFBool checkValue=OFTrue)
Set Dimension Index Functional Group Pointer.
OFCondition getSourceStrengthReferenceDate(OFString &value, const signed long pos=0) const
get SourceStrengthReferenceDate (300a,022c)
OFCondition write(DcmItem &item)
write elements to sequence item
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmSCP(const DcmSCP &src)
Private undefined copy constructor.
EP_Interpretation PhotometricInterpretation
DICOM color model (enumeration)
Definition: dcmimage.h:1898
@ Left
(7771000,SCT,"Left")
Definition: cid244.h:46
DVPSCurve * getCurve(size_t layer, size_t idx)
gets the curve with the given index on the given layer.
virtual ~IODReference()
Destructor.
Uint32 FirstFrame
first frame to be processed (from DicomImage constructor)
Definition: diovpln.h:427
OFBool isEmpty()
check if item is empty
void clear()
clear all internal member variables
const char * getQueryRetrieveServerName()
returns the filename (path) of the DICOM Query/Retrieve SCP application, as configured in section GEN...
static const OFString m_ComponentName
Name of this component ("SeriesAndInstanceReferenceMacro")
Definition: iodmacro.h:471
virtual DiImage * createRotate(const int degree) const =0
create a rotated copy of the current image (abstract).
@ BoneOfUpperLimb
(371195002,SCT,"Bone of upper limb")
Definition: cid4031.h:62
DcmDecimalString LeafPositionBoundaries
LeafPositionBoundaries (300a,00be) vr=DS, vm=3-n, type=2C.
Definition: drtblds6.h:214
DRTReferencedRTPlanSequenceInRTImageModule(const DRTReferencedRTPlanSequenceInRTImageModule ©)
copy constructor
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
OFCondition getReferencedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
DVSignatureHandler(DVConfiguration &cfg)
constructor
virtual void createNewStudy()
create new study.
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setRequestedDecimateCropBehaviour(DVPSDecimateCropBehaviour value)
sets the (optional) requested decimate/crop behaviour for all image boxes managed by this stored prin...
virtual void refuseAssociation(const DcmRefuseReasonType reason)
This function takes care of refusing an association request.
T * NodeCursor
pointer to current node
Definition: dsrtncsr.h:311
const Item & operator[](const size_t num) const
get particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
DRTFluenceMapSequence & operator=(const DRTFluenceMapSequence ©)
assigment operator
virtual OFCondition getSynchronizationTrigger(OFString &value, const signed long pos=0) const
get synchronization trigger
OFListIterator(Item *) CurrentItem
currently selected item
void setGL(const char *gl)
set graphic layer name of this layer.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_IllegalCall
Illegal call, perhaps wrong parameters.
#define OFFIS_DCMTK_RELEASEDATE
release date of current toolkit release
Definition: dcuid.h:215
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmShortString BlockTrayID
BlockTrayID (300a,00f5) vr=SH, vm=1, type=3.
Definition: drtrbls.h:169
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmUIDHandler()
default constructor
@ EJE_Encapsulated
pixel data encapsulated
Definition: dcxfer.h:156
Item & getCurrentItem()
get current item in the sequence
DcmFloatingPointSingle TableTopRollAngle
TableTopRollAngle (300a,0144) vr=FL, vm=1, type=2C.
Definition: drticps.h:833
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setFilled(OFBool filled)
sets the graphic filled status for the graphic object
OFConsole & operator=(const OFConsole &arg)
private undefined assignment operator
This is used to lock a Hierarchy.
Definition: hierlock.h:49
OFBool haveImagePositionClash(const char *uid, Uint16 position)
checks whether any of the image boxes managed by this list has the same position as the given one,...
OFCondition removeTextObject(const char *layer, const char *instanceUID, unsigned long frame, size_t idx)
deletes the text object (applicable to the current image and frame) with the given index on the given...
virtual OFCondition setPhysiciansOfRecord(const OFString &value, const OFBool check=OFTrue)
set PhysiciansOfRecord (0008,1048)
@ GT3_Ellipsoid
DICOM Graphic Type: ELLIPSOID.
Definition: dsrtypes.h:697
Class implementing a document tree node cursor.
Definition: dsrdncsr.h:51
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition gotoNextItem()
goto next item in the sequence
DRTRTReferencedSeriesSequence & operator=(const DRTRTReferencedSeriesSequence ©)
assigment operator
OFCondition addImageGroupDescriptors(DcmItem &dataset, const AddImageMode mode, const ConceptNameList &descriptors=ConceptNameList(), const OFBool check=OFTrue)
add common image descriptors to the current image group, i.e. add content items items for TID 1602 (I...
OFCondition setWedgeID(const OFString &value, const OFBool check=OFTrue)
set WedgeID (300a,00d4)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition instanceReviewed(const char *studyUID, const char *seriesUID, const char *instanceUID)
modifies the review flag for one instance in the database, which is set to 'reviewed' state (DVIF_obj...
DcmFileFormat * FileFormat
reference to DICOM fileformat (read from file, maybe NULL)
Definition: didocu.h:400
OFCondition putAndInsertOFStringArray(const DcmTag &tag, const OFString &value, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
DcmQueryRetrieveTelnetInitiator(DcmQueryRetrieveConfig &cfg)
constructor
virtual OFCondition handleFINDRequest(T_DIMSE_C_FindRQ &reqMessage, const T_ASC_PresentationContextID presID, DcmDataset *&reqDataset)
Handle C-FIND request.
Definition: scp.h:756
DcmDate LastMenstrualDate
LastMenstrualDate (0010,21d0) vr=DA, vm=1, type=3.
Definition: drttreat.h:2804
virtual OFCondition getSOPAuthorizationDateTime(OFString &value, const signed long pos=0) const
get SOPAuthorizationDateTime (0100,0420)
virtual OFCondition getStudyDate(OFString &value, const signed long pos=0) const
get StudyDate (0008,0020)
DVPSIPCMessage()
default constructor
void set_section(unsigned int level, const char *key)
sets cursor to the entry with keyword "key" at the given level.
Definition: ofconfig.h:405
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmCodeString CodingSchemeURLType
CodingSchemeURLType (0008,010a) vr=CS, vm=1, type=1.
Definition: drtcsrs.h:132
virtual ~DRTPlanIOD()
destructor
size_t getNumberOfItems() const
get number of items in the sequence
DRTStudiesContainingOtherReferencedInstancesSequence(const DRTStudiesContainingOtherReferencedInstancesSequence ©)
copy constructor
Item EmptyItem
empty default item
Definition: drtcpas.h:354
type definitions and constants for the database index file
const DSRTypes::E_RelationshipType RelationshipType
relationship type to check for
Definition: dsrdnflt.h:349
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrrms.h:179
virtual OFCondition setTimezoneOffsetFromUTC(const OFString &value, const OFBool check=OFTrue)
set TimezoneOffsetFromUTC (0008,0201)
int showAllOverlays(const unsigned int idx=0)
activate all overlay planes (make them visible)
Definition: dcmimage.h:1107
Item & operator[](const size_t num)
get particular item in the sequence
void clear()
clear all internal member variables
DcmDate SeriesDate
SeriesDate (0008,0021) vr=DA, vm=1, type=3.
Definition: drtstrct.h:2932
OFListIterator(ItemStruct *) Iterator
internal cursor to current (selected) list item
OFBool setCurrentDate()
set the date value to the current system date.
const OFString FromDateTime
start observation date/time to check for (as a string, might be empty)
Definition: dsrdnflt.h:418
DRTOtherPatientIDsSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item(const Item ©)
copy constructor
DiLookupTable * createInverseLUT() const
create an inverse copy of the current LUT.
virtual IODMultiframeDimensionModule & getDimensions()
Return reference to multi-fame dimension module.
Item EmptyItem
empty default item
Definition: drthsdrs.h:347
OFCondition getDVHDoseScaling(Float64 &value, const unsigned long pos=0) const
get DVHDoseScaling (3004,0052)
int showAllPlanes(const double fore, const double thresh, const EM_Overlay mode)
make all planes visible
OFBool isTLS13Enabled() const
checks if TLS 1.3 is enabled (permitted) for the currently selected TLS security profile.
iterator begin()
get an iterator for the first element in this object.
Definition: ofvector.h:171
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
DcmUnsignedShort imageRotation
Module=Spatial_Transform, VR=US, VM=1, Type 1.
Definition: dcmpstat.h:938
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition putAndInsertUint16Array(const DcmTag &tag, const Uint16 *value, const unsigned long count, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
unsigned flags
determine semantics of the character set value
Definition: dcmqrcnf.h:104
size_t getNumberOfItems() const
get number of items in the sequence
const Item & getCurrentItem() const
get current item in the sequence
Sint32 getRectShutterLV()
gets rectangular shutter left vertical edge.
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
Item(const Item ©)
copy constructor
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setAlgorithmSource(const OFString &value, const OFBool checkValue=OFTrue)
Set Algorithm Source.
Metafunction to remove the reference from a type.
Definition: oftraits.h:429
static const OFBool has_quiet_NaN
OFTrue for all types T capable of representing the special value Quiet Not-A-Number.
Definition: oflimits.h:272
unsigned short module() const
get the module identifier for this object.
Definition: ofcond.h:252
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtpbcs.h:339
OFString htmlOverview
current overview
Definition: dvsighdl.h:188
size_t getNumberOfPoints()
gets the number of points in the curve.
Definition: dvpscu.h:76
DCMTK_DCMNET_EXPORT OFCondition DUL_readSocketHandleAsForkedChild()
this helper function calls DUL_markProcessAsForkedChild(), then reads the socket handle from the pipe...
OFBool isGroupLength() const
checks whether the tag key is a valid group length element.
Definition: dctagkey.h:301
error handling, codes and strings for the dcmdata module
DCMTK_DCMTRACT_EXPORT const OFConditionConst TRC_EC_InvalidTrackData
Invalid Track Data.
virtual ~DRTIonControlPointSequence()
destructor
DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModule LateralSpreadingDeviceSettingsSequence
LateralSpreadingDeviceSettingsSequence (300a,0370) vr=SQ, vm=1, type=1C.
Definition: drticps.h:791
OFString roleSelectionGroup_
symbolic identifier of the role selection list, may be empty
Definition: dccfprmp.h:91
static OFPasswd getPwNam(const char *name)
Thread-safe version of getpwnam.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFBool preferCookedEncoding_
flag indicating if the "cooked" lossless encoder should be preferred over the "raw" one
Definition: djcparam.h:233
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getPatientName(OFString &value, const signed long pos=0) const
get PatientName (0010,0010)
virtual OFCondition getServiceEpisodeID(OFString &value, const signed long pos=0) const
get ServiceEpisodeID (0038,0060)
T info
element on stack
Definition: ofstack.h:174
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
DcmDate ReviewDate
ReviewDate (300e,0004) vr=DA, vm=1, type=2C.
Definition: drtionpl.h:3230
virtual OFCondition determineDecompressedColorModel(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, OFString &decompressedColorModel) const
determine color model of the decompressed image
static OFCondition getFormattedNameFromComponents(const OFString &lastName, const OFString &firstName, const OFString &middleName, const OFString &namePrefix, const OFString &nameSuffix, OFString &formattedName)
get formatted/readable name from specified name components.
size_t getNumberOfItems() const
get number of items in the sequence
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtrrpcs.h:327
void flipVert(const T *src[], T *dest[])
flip source image vertically and store result in destination image
Definition: diflipt.h:170
DcmPolymorphOBOW(const DcmTag &tag, const Uint32 len=0)
constructor
OFFilename(const OFFilename &arg)
copy constructor
virtual ~DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule()
destructor
DcmCodeString ValueType
ValueType (0040,a040) vr=CS, vm=1, type=1.
Definition: drtpcxs.h:382
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtdrs.h:476
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
DcmDate Date
Date (0040,a121) vr=DA, vm=1, type=1C.
Definition: drtqds.h:341
Item EmptyItem
empty default item
Definition: drtadcs.h:540
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
DcmDateTime SOPAuthorizationDateTime
SOPAuthorizationDateTime (0100,0420) vr=DT, vm=1, type=3.
Definition: drtplan.h:3383
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=1C.
Definition: drtporis.h:204
virtual OFCondition getContentDescription(OFString &value, const signed long pos=0) const
Get Content Description.
virtual IODGeneralEquipmentModule & getEquipment()
Get General Equipment Module.
static void trimString(const char *&pBegin, const char *&pEnd)
An utility function that finds a substring within a string that does not contain leading and trailing...
@ UterusAndFallopianTubes
(110639002,SCT,"Uterus and fallopian tubes")
Definition: cid4031.h:250
OFCondition gotoNextItem()
goto next item in the sequence
const DRTReferencedBeamSequenceInRTDoseModule & getReferencedBeamSequence() const
get ReferencedBeamSequence (300c,0004)
Definition: drtrtrs2.h:120
DRTChannelSourceSequence(const DRTChannelSourceSequence ©)
copy constructor
Item EmptyItem
empty default item
Definition: drtrbls.h:354
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DCMTK_DCMSEG_EXPORT const OFConditionConst SG_EC_UnknownSegmentationType
error: unknown segmentation type
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
Item(const Item ©)
copy constructor
OFListIterator(Item *) CurrentItem
currently selected item
DiOverlayImage(const DiDocument *docu, const EI_Status status)
constructor
void clear()
clear this OFVector.
Definition: ofvector.h:201
static DSRCodedEntryValue mapReconstructionAlgorithm(const OFString &definedTerm, const OFBool enhancedEncodingMode=OFFalse)
map a defined term for Reconstruction Algorithm (0018,9315) to the associated coded entry
Item & getCurrentItem()
get current item in the sequence
OFCondition getTableTopLateralPosition(OFString &value, const signed long pos=0) const
get TableTopLateralPosition (300a,012a)
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableAutomaticInputDataCorrection
This flags defines whether automatic correction should be applied to input data (e....
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtspcs.h:366
DRTRecordedWedgeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmTransportLayer(const DcmTransportLayer &)
private undefined copy constructor
DcmIntegerString(const DcmIntegerString &old)
copy constructor
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid5000.h:167
DRTROIContourSequence ROIContourSequence
ROIContourSequence (3006,0039) vr=SQ, vm=1, type=1.
Definition: drtdose.h:4628
OFCondition read(DcmItem &dset)
reads a list of image references (ReferencedImageSequence) from a DICOM dataset.
OFCondition getTreatmentDate(OFString &value, const signed long pos=0) const
get TreatmentDate (3008,0250)
DRTDerivationCodeSequence(const DRTDerivationCodeSequence ©)
copy constructor
Item(const Item ©)
copy constructor
virtual OFCondition setPatientBirthDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDateInAlternativeCalendar (0010,0033)
virtual ~IODFloatingPointImagePixelModule()
Destructor.
int show(const Uint16 pvalue)
make overlay plane visible and set p-value.
DcmUnsigned64bitVeryLong(const DcmTag &tag)
constructor.
OFBool isEmpty()
check if sequence is empty
OFCondition getPatientPosition(OFString &value, const signed long pos=0) const
get PatientPosition (0018,5100)
~DcmIODUtil()
Undefined destructor.
Sint32 biYPelsPerMeter
vertical resolution: pixels/meter, usually set to '0'
Definition: diutils.h:194
OFBool was_created
Used to remember, whether a file was newly created.
Definition: mdfconen.h:209
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition getRTImageOrientation(OFString &value, const signed long pos=0) const
get RTImageOrientation (3002,0010)
static void registerCodecs(E_CompressionColorSpaceConversion pCompressionCSConversion=ECC_lossyYCbCr, E_UIDCreation pCreateSOPInstanceUID=EUC_default, OFBool pOptimizeHuffman=OFFalse, int pSmoothingFactor=0, int pForcedBitDepth=0, Uint32 pFragmentSize=0, OFBool pCreateOffsetTable=OFTrue, E_SubSampling pSampleFactors=ESS_422, OFBool pWriteYBR422=OFTrue, OFBool pConvertToSC=OFFalse, unsigned long pWindowType=0, unsigned long pWindowParameter=0, double pVoiCenter=0.0, double pVoiWidth=0.0, unsigned long pRoiLeft=0, unsigned long pRoiTop=0, unsigned long pRoiWidth=0, unsigned long pRoiHeight=0, OFBool pUsePixelValues=OFTrue, OFBool pUseModalityRescale=OFFalse, OFBool pAcceptWrongPaletteTags=OFFalse, OFBool pAcrNemaCompatibility=OFFalse, OFBool pRealLossless=OFTrue)
registers encoders for all supported JPEG processes.
virtual DJEncoder * createEncoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample) const
creates an instance of the compression library to be used for encoding/decoding.
Abstract base class to handle monochrome pixel data.
Definition: dimopx.h:49
virtual unsigned long getVM()
get the value multiplicity.
WlmDataSourceFileSystem()
default constructor.
OFBool hasMeasurements(const OFBool checkChildren=OFTrue) const
check whether there is an included 'ROI Measurements' template (TID 1411 - Row 15) in this measuremen...
OFCondition setSourceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set SourceSerialNumber (3008,0105)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtsis.h:396
OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
OFCondition addItem(const OFString &sopClassUID, const OFString &instanceUID, ItemStruct *&item)
add the specified SOP instance to the list (if not existent)
virtual OFCondition checkValue(const OFString &dateValue) const
check the specified date value for validity.
virtual OFCondition setPatientIdentityRemoved(const OFString &value, const OFBool check=OFTrue)
set PatientIdentityRemoved (0012,0062)
OFCondition findAndGetSequence(const DcmTagKey &seqTagKey, DcmSequenceOfItems *&sequence, const OFBool searchIntoSub=OFFalse, const OFBool createCopy=OFFalse)
looks up and returns a given sequence.
OFCondition setSetupDeviceType(const OFString &value, const OFBool check=OFTrue)
set SetupDeviceType (300a,01b6)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition getRelatedGeneralSOPClassUID(OFString &value, const signed long pos=0) const
get RelatedGeneralSOPClassUID (0008,001a)
@ Counts
({counts},UCUM,"Counts"), included from CID 84
Definition: cid7181.h:92
DcmFloatingPointSingle FixationLightAzimuthalAngle
FixationLightAzimuthalAngle (300a,0356) vr=FL, vm=1, type=3.
Definition: drttsibs.h:992
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmLongText CompensatorDescription
CompensatorDescription (300a,02eb) vr=LT, vm=1, type=3.
Definition: drtcos.h:451
DRTOperatorIdentificationSequence OperatorIdentificationSequence
OperatorIdentificationSequence (0008,1072) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3009
DcmIntegerString InstanceNumber
InstanceNumber (0020,0013) vr=IS, vm=1, type=2.
Definition: drtimage.h:5069
DRTDVHSequence DVHSequence
DVHSequence (3004,0050) vr=SQ, vm=1, type=1.
Definition: drtdose.h:4601
virtual ~DcmFindSCUDefaultCallback()
destructor
Definition: dfindscu.h:158
virtual void * getDataPtr()=0
get pointer to outpout pixel data (abstract)
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
DcmShortString MaterialID
MaterialID (300a,00e1) vr=SH, vm=1, type=3.
Definition: drtcshs.h:238
int setRoiWindow(const unsigned long left_pos, const unsigned long top_pos, const unsigned long width, const unsigned long height, const unsigned long frame=0)
set automatically calculated VOI window for the specified Region of Interest (ROI).
Definition: dcmimage.h:663
@ ER_RepresentationOID
The UUID is printed as one, long integer with the prefix "2.25.".
Definition: ofuuid.h:46
@ ChestAbdomenAndPelvis
(416775004,SCT,"Chest, Abdomen and Pelvis")
Definition: cid4031.h:78
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
Implementation of a TIFF plugin for the dcmimgle/dcmimage library.
Definition: dipitiff.h:93
OFCondition setNumberOfPaintings(const OFString &value, const OFBool check=OFTrue)
set NumberOfPaintings (300a,039a)
Interface class for ReferencedBeamSequence (300c,0004) in RTDoseModule.
Definition: drtrbs2.h:29
virtual OFBool isClinicalTrialStudyModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialStudyModule (U) is present.
OFCondition getTreatmentDeliveryType(OFString &value, const signed long pos=0) const
get TreatmentDeliveryType (300a,00ce)
~DcmRLEDecoder()
destructor
Definition: dcrledec.h:55
OFCondition write(DcmItem &item)
write elements to sequence item
DcmPresentationContextItem(const DcmPresentationContextItem &arg)
copy constructor
void SetEnableRejectionOfIncompleteWlFiles(OFBool value)
Set value in member variable.
void addItems(const OFVector< T > &items)
add items to the list
Definition: dsrtlist.h:259
virtual OFCondition getClinicalTrialSiteName(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteName (0012,0031)
@ Perimeter
(131191004,SCT,"Perimeter"), included from CID 7470
Definition: cid7469.h:376
@ Coccyx
(64688005,SCT,"Coccyx")
Definition: cid4031.h:82
Item & operator=(const Item ©)
assigment operator
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrdrs8.h:555
virtual OFCondition getPatientWeight(OFString &value, const signed long pos=0) const
get PatientWeight (0010,1030)
virtual OFCondition setClinicalTrialSeriesID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesID (0012,0071)
virtual FGBase * clone() const
Returns a deep copy of this object.
DSRDocument(const E_DocumentType documentType=DT_BasicTextSR)
(default) constructor.
OFCondition getModulatedScanModeType(OFString &value, const signed long pos=0) const
get ModulatedScanModeType (300a,0309)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmDecimalString DeliveryMaximumDose
DeliveryMaximumDose (300a,0023) vr=DS, vm=1, type=3.
Definition: drtdrs.h:481
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition computeColorImageComparionMetrics()
compare two images that are both color images.
const char * getValidVRName() const
get symbolic standard VR name for this object.
virtual OFCondition getUncompressedFrame(DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel, DcmFileCache *cache=NULL)
access single frame without decompressing or loading a complete multi-frame object.
void SetFailOnInvalidQuery(OFBool value)
Set value in member variable.
static const char * presentationStateTypeToShortName(const E_PresentationStateType pstateType)
convert presentation state type to short name.
virtual OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Referenced SOP Class UID.
virtual ~DiImage()
destructor
virtual OFCondition checkSOPClassUID(const OFString &sopClassUID) const
check the specified SOP class UID for validity.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DRTReferencedDoseReferenceSequenceInRTIonBeamsModule & getReferencedDoseReferenceSequence()
get ReferencedDoseReferenceSequence (300c,0050)
Definition: drticps.h:513
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setMaterialID(const OFString &value, const OFBool check=OFTrue)
set MaterialID (300a,00e1)
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
virtual OFCondition getTreatmentStatusComment(OFString &value, const signed long pos=0) const
get TreatmentStatusComment (3008,0202)
DVPSPrintMessageHandler()
default constructor
OFCondition add(const char *key, const char *presentationContextKey, const char *roleSelectionKey, const char *extendedNegotiationKey)
add new entry to list within map.
@ CoefficientOfVariance
(C0681921,UMLS,"Coefficient of Variance")
Definition: cid7464.h:60
const DRTBlockSequenceInRTImageModule & getBlockSequence() const
get BlockSequence (300a,00f4)
Definition: drtes.h:357
virtual OFCondition getReviewTime(OFString &value, const signed long pos=0) const
get ReviewTime (300e,0005)
virtual void resetRules()
Resets rules to their original values.
void clear()
clear all internal member variables
Definition: ctxtrmod.h:13
Item & getCurrentItem()
get current item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTConversionSourceAttributesSequence ConversionSourceAttributesSequence
ConversionSourceAttributesSequence (0020,9172) vr=SQ, vm=1, type=1C.
Definition: drtiontr.h:3204
DSRDocumentTreeNodeObservationDateTimeFilter(const OFString &fromDateTime, const OFString &toDateTime)
constructor.
Item & operator=(const Item ©)
assigment operator
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DiColorCopyTemplate(const DiColorPixel *pixel, const unsigned long fstart, const unsigned long fcount, const unsigned long fsize)
constructor
Definition: dicocpt.h:52
DcmUnsignedShort m_ReferencedSegmentNumber
Referenced Segment Number: (US, 1-n, 1) Represents single value within the single permitted item of t...
Definition: fgseg.h:125
void * owner_
current "owner" (DcmElement instance using this buffer)
Definition: dcwcache.h:115
OFFilename BackupFilename
name of the DICOMDIR backup file
Definition: dcddirif.h:1589
virtual OFCondition setPatientIdentityRemoved(const OFString &value, const OFBool check=OFTrue)
set PatientIdentityRemoved (0012,0062)
virtual OFCondition setPatientComments(const OFString &value, const OFBool check=OFTrue)
set PatientComments (0010,4000)
const Item & getCurrentItem() const
get current item in the sequence
Item(const Item ©)
copy constructor
OFCondition setSourceToCompensatorDistance(const OFString &value, const OFBool check=OFTrue)
set SourceToCompensatorDistance (300a,02e2)
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
virtual OFCondition setDateOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set DateOfLastCalibration (0018,1200)
OFCondition getOutputData(OFVector< Uint8 > &result, const unsigned long frame=0)
render pixel data and return result as a memory buffer.
virtual OFCondition setAlgorithmVersion(const OFString &value, const OFBool checkValue=OFTrue)
Set Algorithm Version.
virtual DcmObject * nextInContainer(const DcmObject *obj)
this method is only used in container classes, that is, DcmItem and DcmSequenceOfItems.
OFList< OFString > m_trustedCertDirs
A list of directories containing trusted certificates (if authentication is enabled)
Definition: tlsscu.h:215
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
OFCondition setPatientAdditionalPosition(const OFString &value, const OFBool check=OFTrue)
set PatientAdditionalPosition (300a,0184)
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
Interface class for 'dcmsr' (DICOM Structured Reporting Documents).
Definition: dsrdoc.h:59
int addPlane(const unsigned int group, const signed int left_pos, const signed int top_pos, const unsigned int columns, const unsigned int rows, const DcmOverlayData &data, const DcmLongString &label, const DcmLongString &description, const EM_Overlay mode)
add plane to list of additional overlay planes
const DRTCompensatorSequence & getCompensatorSequence() const
get CompensatorSequence (300a,00e3)
Definition: drtbs.h:420
virtual OFCondition setSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set SOPClassUID (0008,0016)
virtual OFCondition setStudyInstanceUID(const OFString &value, const OFBool check=OFTrue)
set StudyInstanceUID (0020,000d)
static const size_t XF_validateSchema
read: validate content of XML document against Schema
Definition: dsrtypes.h:391
virtual OFBool isValid() const
check whether the current code is valid.
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition getTargetPrescriptionDose(OFString &value, const signed long pos=0) const
get TargetPrescriptionDose (300a,0026)
virtual ~DiColorOutputPixelTemplate()
destructor
Definition: dicoopxt.h:106
DcmLongText PersonTelecomInformation
PersonTelecomInformation (0040,1104) vr=LT, vm=1, type=3.
Definition: drtporis.h:210
DSRTextTreeNode(const DSRTextTreeNode &node)
copy constructor.
OFString SOPClassUID
reference SOP class UID (VR=UI, type 1)
Definition: dsrcomvl.h:387
OFCondition getIssuerOfPatientID(OFString &value, const signed long pos=0) const
get IssuerOfPatientID (0010,0021)
virtual OFVector< SOPInstanceReferenceMacro * > & getReferencedInstanceItems()
Get content of the Referenced Instance Sequence.
virtual OFCondition addDerivationImageItem(const CodeSequenceMacro &derivationCode, const OFString &derivationDescription, DerivationImageItem *&item)
Convenience function to add an item only having a single derivation code derivation description.
int ParamPosNumber
current position in param position list (numeric value)
Definition: ofcmdln.h:1073
static const char * documentTypeToReadableName(const E_DocumentType documentType)
convert SR document type to readable name.
Item class.
Definition: drtmls.h:36
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Interface class for IconImageSequence (0088,0200)
Definition: drtiis.h:28
OFCondition read(DcmItem &item, const OFBool clearOldData=OFTrue)
Read segment from given item.
virtual ~DRTSourcePatientGroupIdentificationSequence()
destructor
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtdspcs.h:343
const DRTSourceInstanceSequence & getSourceInstanceSequence() const
get SourceInstanceSequence (0042,0013)
Definition: drtiontr.h:1797
size_t getNumberOfItems() const
get number of items in the sequence
DcmUnsignedShort IdentifyingPrivateElements
IdentifyingPrivateElements (0008,0306) vr=US, vm=1-n, type=1.
Definition: drtdias.h:132
virtual OFCondition getQualityControlSubject(OFString &value, const signed long pos=0) const
get QualityControlSubject (0010,0200)
virtual OFCondition setStructureSetDate(const OFString &value, const OFBool check=OFTrue)
set StructureSetDate (3006,0008)
OFString & replace(size_t pos, size_t n, const char *s)
constructs a temporary string from the input and replaces the range [pos, n] in the current string wi...
OFCondition setMaterialID(const OFString &value, const OFBool check=OFTrue)
set MaterialID (300a,00e1)
virtual OFCondition setImageOrientationPatient(const OFString &rowX, const OFString &rowY, const OFString &rowZ, const OFString &colX, const OFString &colY, const OFString &colZ, const OFBool checkValue=OFTrue)
Set all values of Image Orientation Patient at once.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Class representing an "unknown" functional group, e.g. a private one specified by a vendor or one tha...
Definition: fgbase.h:163
void setQuietMode(const OFBool mode=OFTrue)
switch on/off quiet mode
@ DT_ChestCadSR
DICOM IOD: Chest CAD SR.
Definition: dsrtypes.h:517
DcmLongString ServiceEpisodeDescription
ServiceEpisodeDescription (0038,0062) vr=LO, vm=1, type=3.
Definition: drttreat.h:2820
virtual OFCondition setPatientWeight(const OFString &value, const OFBool check=OFTrue)
set PatientWeight (0010,1030)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrpis.h:391
OFCondition gotoNextItem()
goto next item in the sequence
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtcbars.h:350
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getScanSpotPositionMap(Float32 &value, const unsigned long pos=0) const
get ScanSpotPositionMap (300a,0394)
const char * getLUTDescription(const char *lutID)
returns the DESCRIPTION entry for the LUT with the given ID from the configuration file.
DCMTK_DCMDATA_EXPORT unsigned long dcmGuessModalityBytes(const char *sopClassUID)
performs a table lookup and returns a guessed average file size for the given SOP class.
DRTReferencedStudySequence & getReferencedStudySequence()
get ReferencedStudySequence (0008,1110)
Definition: drttreat.h:1599
const DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence() const
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtstrct.h:1512
virtual OFCondition getPatientDeathDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientDeathDateInAlternativeCalendar (0010,0034)
DSRNumericMeasurementValue(const DSRCodedEntryValue &valueQualifier, const OFBool check=OFTrue)
constructor
E_CompletionFlag CompletionFlagEnum
enumerated value: partial, complete
Definition: dsrdoc.h:1299
const DRTReferencedPatientSequence & getReferencedPatientSequence() const
get ReferencedPatientSequence (0008,1120)
Definition: drtionpl.h:1745
void flipData(const T *src[], T *dest[], const int horz, const int vert)
choose algorithm depending on flipping mode
Definition: diflipt.h:111
int writeBMP(FILE *stream, const int bits=0, const unsigned long frame=0)
write pixel data to BMP file (specified by open C stream).
virtual DcmObject * clone() const
clone method
Definition: dcsequen.h:99
virtual ~Item()
destructor
OFCondition getUniversalEntityID(OFString &value, const signed long pos=0) const
get UniversalEntityID (0040,0032)
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getSourceApplicatorWallNominalTransmission(Float64 &value, const unsigned long pos=0) const
get SourceApplicatorWallNominalTransmission (300a,029e)
Item & operator[](const size_t num)
get particular item in the sequence
const DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence() const
get MappingResourceIdentificationSequence (0008,0124)
Definition: drttreat.h:1365
virtual OFCondition getSpecificCharacterSet(OFString &value, const signed long pos=0) const
get SpecificCharacterSet (0008,0005)
virtual OFCondition setInstanceCoercionDateTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCoercionDateTime (0008,0015)
DRTReferencedStudySequence ReferencedStudySequence
ReferencedStudySequence (0008,1110) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4909
virtual OFCondition handle16BitSC(DcmDataset *dataset) const
Checks whether Image Pixel module attributes conform to the specification of a a 16 bit Secondary Cap...
DRTReferencedSeriesSequence & operator=(const DRTReferencedSeriesSequence ©)
assigment operator
OFCondition moveCommonImageDescriptorsToImageGroups()
move common image descriptors from all image entries in this image library to their respective image ...
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const DRTBeamLimitingDeviceSequenceInRTImageModule & getBeamLimitingDeviceSequence() const
get BeamLimitingDeviceSequence (300a,00b6)
Definition: drtes.h:345
void clear()
reset the object to initial state.
const OFString & getIdentifier() const
get context identifier
Definition: dsrctxgr.h:76
OFCondition gotoNextItem()
goto next item in the sequence
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtcss.h:339
OFListIterator(Item *) CurrentItem
currently selected item
Template class to scale images (on pixel data level).
Definition: discalet.h:101
DRTOriginalAttributesSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item & getItem(const size_t num)
get particular item in the sequence
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtpics.h:347
virtual OFCondition setPerformedProcedureStepDescription(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepDescription (0040,0254)
virtual OFBool operator==(const DcmRepresentationParameter &arg) const
compares an object to another DcmRepresentationParameter.
IODMultiFrameFGModule()
Constructor.
OFString & assign(const char *s, const char *e)
constructs a temporary string from the input and assigns it to the current string.
DcmDate instanceCreationDate
Module=SOP_Common, VR=DA, VM=1, Type 3.
Definition: dvpssp.h:1069
DcmIODUtil()
Undefined default constructor (only static functions)
double getMaxLuminanceValue() const
get maximum luminance value "Lmax".
OFBool setTimeZone(const double timeZone)
set the time zone to the specified value.
static void removeAttributeFromSequence(DcmSequenceOfItems &sequence, const DcmTagKey &tagKey)
remove given attribute from the sequence.
OFBool operator==(const DSRSpatialCoordinatesValue &coordinatesValue) const
comparison operator "equal"
OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
DVPSTrimMode getTrim()
gets the current trim mode.
DVPSAnnotationContent * clone()
clone method.
Definition: dvpsab.h:49
DcmIntegerString shutterUpperHorizontalEdge
Module=Display_Shutter, VR=IS, VM=1, Type 1C.
Definition: dcmpstat.h:896
int setDisplayFunction(DiDisplayFunction *display)
set display function
Definition: dcmimage.h:550
virtual OFBool isUniversalMatch(const OFBool normalize=OFTrue, const OFBool enableWildCardMatching=OFTrue)
Determine if this element is universal matching.
OFCondition write(DcmItem &dataset) const
write list of referenced sample positions
@ Gallbladder
(28231008,SCT,"Gallbladder")
Definition: cid4031.h:114
virtual OFCondition finalize(unsigned char *result)
finalizes the MAC and writes it to the given output array, which must be at least getSize() bytes lar...
virtual void clearData()
Clear all data.
OFBool empty() const
Test whether the path is empty.
OFCondition getValue(DSRSpatialCoordinates3DValue &coordinatesValue) const
get copy of spatial coordinates value
DRTWADORetrievalSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTConceptNameCodeSequence ConceptNameCodeSequence
ConceptNameCodeSequence (0040,a043) vr=SQ, vm=1, type=1.
Definition: drtpcxs.h:352
DcmDecimalString RescaleSlope
RescaleSlope (0028,1053) vr=DS, vm=1, type=1C.
Definition: drtimage.h:5367
static OFCondition checkStringValue(const OFString &value, const OFString &charset="")
check whether given string value conforms to the VR "UT" (Unlimited Text)
static OFCondition getSOPInstanceFromFile(const OFFilename &filename, OFString &sopClassUID, OFString &sopInstanceUID, OFString &transferSyntaxUID, const E_FileReadMode readMode=ERM_fileOnly)
Get SOP Class UID, SOP Instance UID and Transfer Syntax UID from a DICOM file.
@ TRT_Point
DICOM Temporal Range Type: POINT.
Definition: dsrtypes.h:711
virtual OFCondition getLastMenstrualDate(OFString &value, const signed long pos=0) const
get LastMenstrualDate (0010,21d0)
DRTStudiesContainingOtherReferencedInstancesSequence StudiesContainingOtherReferencedInstancesSequence
StudiesContainingOtherReferencedInstancesSequence (0008,1200) vr=SQ, vm=1, type=1C.
Definition: drtiontr.h:3215
OFBool isEmpty()
check if item is empty
virtual OFCondition getPatientBirthDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientBirthDateInAlternativeCalendar (0010,0033)
OFVector< CodeSequenceMacro * > m_MeasurementUnitsCodeSequence
MeasurementUnitsCodeSequence.
Definition: iodcontentitemmacro.h:472
OFString Label
label of overlay plane
Definition: diovpln.h:459
E_TransferSyntax getTransferSyntax() const
get transfer syntax of the DICOM dataset
Definition: didocu.h:154
Item & getCurrentItem()
get current item in the sequence
DcmDecimalString ChairHeadFramePositionTolerance
ChairHeadFramePositionTolerance (300a,0153) vr=DS, vm=1, type=3.
Definition: drtitts.h:408
virtual OFCondition setInstanceCreationDate(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationDate (0008,0012)
OFFilename(const OFpath &path)
construct an OFFilename from an OFpath.
const DRTGeneralAccessorySequence & getGeneralAccessorySequence() const
get GeneralAccessorySequence (300a,0420)
Definition: drttsibs.h:556
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setBeamLimitingDeviceAngleTolerance(const OFString &value, const OFBool check=OFTrue)
set BeamLimitingDeviceAngleTolerance (300a,0046)
const DRTCodingSchemeResourcesSequence & getCodingSchemeResourcesSequence() const
get CodingSchemeResourcesSequence (0008,0109)
Definition: drtcsis.h:155
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtpics.h:331
const char * getAbstractSyntax() const
returns the abstract syntax UID
Definition: dccfpcmp.h:71
DcmPixelSequence * pixSeq
the compressed pixel sequence itself
Definition: dcpixel.h:121
OFBool valid() const
check whether the current internal state is valid
E_DocumentType getDocumentType() const
get document type
Definition: dsrdoctr.h:149
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid5001.h:156
const Item & getCurrentItem() const
get current item in the sequence
DcmFloatingPointSingle ScanSpotTimeOffset
ScanSpotTimeOffset (300a,038f) vr=FL, vm=1-n, type=3.
Definition: drticpds.h:862
Item & operator=(const Item ©)
assigment operator
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtcbars.h:370
DiMono1Image(const DiDocument *docu, const EI_Status status)
constructor
@ PT_AdvancedBlending
Advanced Blending Presentation State (ABPS)
Definition: dsrtypes.h:645
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtians.h:327
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
OFCondition getBeamNumber(Sint32 &value, const unsigned long pos=0) const
get BeamNumber (300a,00c0)
DcmQueryRetrieveDatabaseHandle & dbHandle
reference to database handle
Definition: dcmqrcbg.h:115
OFBool isReferenceTarget() const
check whether the current content item is target of a by-reference relationship
Definition: dsrdoctn.h:262
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
virtual OFCondition getPatientSize(Float64 &value, const unsigned long pos=0) const
get PatientSize (0010,1020)
DVPSIPCClient & operator=(const DVPSIPCClient &)
private undefined copy assignment operator
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTAssigningFacilitySequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmSCPConfig()
Constructor, sets configuration's default values.
Interface class to those modules and data attributes are common for many DICOM IODs.
Definition: iodcommn.h:43
DcmTempFileHandler & operator=(const DcmTempFileHandler &arg)
private undefined copy assignment operator
static const size_t HF_renderSectionTitlesInline
external: render section titles inline (default: separate paragraph)
Definition: dsrtypes.h:317
OFCondition getEncryptedContent(Uint8 *&value, unsigned long *count=NULL) const
get EncryptedContent (0400,0520)
OFCondition setTreatmentDeliveryType(const OFString &value, const OFBool check=OFTrue)
set TreatmentDeliveryType (300a,00ce)
OFBool m_readSeriesLevel
If true, patient, study and series data is read from file.
Definition: i2d.h:237
CodeSequenceMacro m_SegmentedPropertyTypeCode
Segmented Property Type Code (SQ,1,1) Baseline CID 7151.
Definition: segtypes.h:220
Item(const Item ©)
copy constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setFloatingPointValue(const Float64 value, const unsigned long pos=0)
set FloatingPointValue (0040,a161)
@ TCE_AES
Advanced Encryption Standard (AES) in Cipher Block Chaining (CBC) mode.
Definition: tlsciphr.h:185
virtual DSRSOPInstanceReferenceList & getPertinentOtherEvidence()
get list of referenced SOP instances (Pertinent Other Evidence).
DcmTime StudyTime
StudyTime (0008,0030) vr=TM, vm=1, type=2.
Definition: drttreat.h:2741
void clear()
reset the object to initial state.
OFBool operator==(const OFCharacterEncoding &rhs) const
check whether two OFCharacterEncoding instances refer to the same encoder.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition setServiceEpisodeDescription(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeDescription (0038,0062)
DcmCodeString ApprovalStatus
ApprovalStatus (300e,0002) vr=CS, vm=1, type=1.
Definition: drtplan.h:3324
OFCondition setReferencedFrameOfReferenceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedFrameOfReferenceUID (3006,0024)
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
offile_off_t fStartPosition
used during reading.
Definition: dcitem.h:1355
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid29.h:232
OFBool isValid() const
check if item is valid, i.e. not the empty default item
void clear()
clear all internal member variables
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual ~DRTMultiplexedAudioChannelsDescriptionCodeSequence()
destructor
virtual OFCondition getDateOfLastCalibration(OFString &value, const signed long pos=0) const
get DateOfLastCalibration (0018,1200)
virtual OFCondition getTableTopEccentricAngle(Float64 &value, const unsigned long pos=0) const
get TableTopEccentricAngle (300a,0125)
OFCondition write(DcmItem &dset)
writes the displayed area selection managed by this object to a DICOM dataset.
OFBool operator<(const DSRGraphicDataItem &item) const
comparison operator
Definition: dsrscogr.h:76
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtvls.h:324
OFCondition write(DcmItem &item)
write elements to sequence item
DcmDecimalString SourceToCompensatorTrayDistance
SourceToCompensatorTrayDistance (300a,00e6) vr=DS, vm=1, type=2.
Definition: drtcos.h:479
OFCondition setTransferTubeLength(const OFString &value, const OFBool check=OFTrue)
set TransferTubeLength (300a,02a4)
virtual OFCondition setSpecificCharacterSet(const OFString &value, const OFBool check=OFTrue)
set SpecificCharacterSet (0008,0005)
virtual OFCondition getROIArea(Sint32 &value, const unsigned long pos=0) const
get ROIArea (60xx,1301)
virtual ~DJDecoderSpectralSelection()
destructor
int joined
true if streams are combined, false otherwise
Definition: ofconsol.h:227
Item(const Item ©)
copy constructor
Item class.
Definition: drtoas.h:37
DcmLongString ClinicalTrialProtocolEthicsCommitteeName
ClinicalTrialProtocolEthicsCommitteeName (0012,0081) vr=LO, vm=1, type=1C.
Definition: drtdose.h:4167
DcmFloatingPointDouble & operator=(const DcmFloatingPointDouble &obj)
assignment operator
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Uint16 getDefaultPrintIllumination()
returns the default illumination for print, from GENERAL/PRINT/DEFAULTILLUMINATION in the config file...
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getLeafJawPositions(OFString &value, const signed long pos=0) const
get LeafJawPositions (300a,011c)
this class describes configuration settings for a remote SCP peer
Definition: dcmqrcnf.h:125
Uint32 getCount() const
gets number of cache entries
Definition: dvcache.h:168
void setPort(const Uint16 port)
Set SCP's TCP/IP listening port.
void erase(iterator it)
removes an entry from this OFVector.
Definition: ofvector.h:216
virtual OFBool isValid() const
check whether the currently stored date and time value is valid.
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
IODGeneralImageModule()
Constructor.
size_t getItemSize() const
get size of one pixel / item in the pixel array
Definition: dicoopxt.h:125
DcmDicomDir(const OFFilename &fileName, const char *fileSetID=NULL)
constructor
Item(const Item ©)
copy constructor
virtual ~Item()
destructor
OFBool isEmpty()
check if sequence is empty
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getPatientSupportType(OFString &value, const signed long pos=0) const
get PatientSupportType (300a,0350)
@ PM_MultiOptional
parameter is optional, more than one value is allowed (# = 0..n), "[option...]"
Definition: ofcmdln.h:101
DcmTLSConnection(const DcmTLSConnection &)
private undefined copy constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtgmcs.h:339
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid10013.h:156
virtual ~Item()
destructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtwrsrs.h:295
DRTROIPhysicalPropertiesSequence ROIPhysicalPropertiesSequence
ROIPhysicalPropertiesSequence (3006,00b0) vr=SQ, vm=1, type=3.
Definition: drtrros.h:291
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition setContentQualification(const OFString &value, const OFBool check=OFTrue)
set ContentQualification (0018,9004)
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtrics.h:368
virtual OFCondition getEffectiveDuration(OFString &value, const signed long pos=0) const
get EffectiveDuration (0018,0072)
DcmLongString OverlayDescription
OverlayDescription (60xx,0022) vr=LO, vm=1, type=3.
Definition: drtdose.h:4504
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const unsigned char m_reserved
Reserved field, should be always sent with value 0 (default)
Definition: dcuserid.h:149
virtual GeneralAnatomyMacro & getAnatomy()
Get anatomy information.
OFString nonSignificantChars
non-significant characters used to determine whether the value is empty
Definition: dcbytstr.h:463
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFCondition setPatientSetupNumber(const OFString &value, const OFBool check=OFTrue)
set PatientSetupNumber (300a,0182)
OFListIterator(Item *) CurrentItem
currently selected item
DcmLongString AuthorizationEquipmentCertificationNumber
AuthorizationEquipmentCertificationNumber (0100,0426) vr=LO, vm=1, type=3.
Definition: drtplan.h:3387
size_t getWindowType() const
returns mode for VOI transformation of monochrome images.
Definition: djcparam.h:195
Item & getCurrentItem()
get current item in the sequence
virtual ~Item()
destructor
OFCondition getBeamLimitingDeviceAngle(Float64 &value, const unsigned long pos=0) const
get BeamLimitingDeviceAngle (300a,0120)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition setRTBeamLimitingDeviceType(const OFString &value, const OFBool check=OFTrue)
set RTBeamLimitingDeviceType (300a,00b8)
virtual OFCondition getClinicalTrialTimePointID(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointID (0012,0050)
static void cleanupAllContextGroups()
cleanup all supported context groups of the "Content Mapping Resource".
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtsdcs.h:335
OFCondition gotoFirstItem()
goto first item in the sequence
OFBool isEmpty()
check if sequence is empty
DcmShortText CodingSchemeName
CodingSchemeName (0008,0115) vr=ST, vm=1, type=3.
Definition: drtcsis.h:219
virtual OFCondition getReviewTime(OFString &value, const signed long pos=0) const
get ReviewTime (300e,0005)
OFVector< IODSeriesAndInstanceReferenceMacro::ReferencedSeriesItem * > & getReferencedSeriesItems()
Return reference to list of Referenced Series items.
virtual void flush()
instructs the consumer to flush its internal content until either the consumer becomes "flushed" or I...
virtual OFCondition get(CodeSequenceMacro &typeCode, CodeSequenceMacro &typeModifierCode, CodeSequenceMacro &unitsCode, Float64 &statisticValue)
Get Track Set statistic information.
OFCondition getScanSpotTuneID(OFString &value, const signed long pos=0) const
get ScanSpotTuneID (300a,0390)
virtual DcmObject * clone() const
clone method
Definition: dcvrda.h:65
OFStack< T > & operator=(const OFStack< T > &x)
assignment operator
Definition: ofstack.h:216
void clear()
clear all internal member variables
Item EmptyItem
empty default item
Definition: drtrbs2.h:323
const DRTDerivationCodeSequence & getDerivationCodeSequence() const
get DerivationCodeSequence (0008,9215)
Definition: drtdose.h:2062
@ EFG_FRAMEVOILUTMETA
"Frame VOI LUT" or "Frame VOI LUT with LUT" Macro (share same starting sequence)
Definition: fgtypes.h:129
const OFString & getSourceCharacterSet() const
get currently selected source DICOM character set(s).
DcmLongString TrayAccessoryCode
TrayAccessoryCode (300a,0355) vr=LO, vm=1, type=3.
Definition: drtcos.h:481
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
Definition: pubtypes.h:51
T * pointer() const
Get the managed object.
Definition: ofmem.h:236
@ VolumetricDiffusionDzzComponent
(110815,DCM,"Volumetric Diffusion Dzz Component"), included from CID 7270
Definition: cid7469.h:114
OFBool isEmpty()
check if sequence is empty
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpbcs.h:324
DcmUnsignedShort HighBit
HighBit (0028,0102) vr=US, vm=1, type=1.
Definition: drtiis.h:419
OFCondition write(DcmItem &item)
write elements to sequence item
DcmPixelData * PixelData
reference to pixel data object
Definition: didocu.h:402
OFCondition addMeasurement(const T_Measurement &conceptName, const MeasurementValue &numericValue, const OFBool checkEmpty=OFTrue, const OFBool checkValue=OFTrue)
add a measurement as defined in 'Measurement' (TID 300 - Row 1).
virtual OFCondition getStationName(OFString &value, const signed long pos=0) const
get StationName (0008,1010)
void notifySentDICOMObject(Uint32 status, const char *txt)
sends SentDICOMObject notification to server.
DcmQuantScaleTable()
constructor
Definition: diqtstab.h:46
void copyElement(DcmItem *dataset, const DcmTagKey &key, DcmDirectoryRecord *record, const OFFilename &sourceFilename, const OFBool optional=OFFalse, const OFBool copyEmpty=OFTrue)
copy element from given dataset to directory record
DRTGeneralAccessorySequence & getGeneralAccessorySequence()
get GeneralAccessorySequence (300a,0420)
Definition: drtibs.h:516
Item & operator=(const Item ©)
assigment operator
OFCondition isJPEGEncodingSupported(const E_JPGMARKER &jpegEncoding) const
Check, whether a given JPEG image marker (SOFn) is supported by this plugin.
DCMTK_OFSTD_EXPORT const OFerror_category & OFsystem_category()
Retrieves a reference to an OFerror_category object used for operating system specific error codes.
DSRTreeNode * Down
pointer to first child node (if any)
Definition: dsrtree.h:164
Item & getItem(const size_t num)
get particular item in the sequence
OFBool isEmpty()
check if item is empty
virtual OFCondition setObservationDateTime(DcmItem &dataset, const DcmTagKey &tagKey, const unsigned long pos=0, const OFBool check=OFTrue)
set observation date/time from dataset.
virtual OFCondition setPerformedProcedureStepID(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepID (0040,0253)
int isOutputValueUnused(const unsigned long value)
check whether given output value is unused
Definition: dcmimage.h:378
OFBool isSignable() const
returns true if a data element with the given tag and VR can be digitally signed, false otherwise
virtual OFCondition getStudyID(OFString &value, const signed long pos=0) const
get StudyID (0020,0010)
double voiCenter
VOI window center for mode 5.
Definition: djcparam.h:387
void ClearMatchingRecords()
This function frees the memory which was occupied by matchingRecords.
const DRTReferencedSeriesSequence & getReferencedSeriesSequence() const
get ReferencedSeriesSequence (0008,1115)
Definition: drtiontr.h:1701
const DRTInstitutionCodeSequence & getInstitutionCodeSequence() const
get InstitutionCodeSequence (0008,0082)
Definition: drtcpis.h:142
DcmLongString RescaleType
RescaleType (0028,1054) vr=LO, vm=1, type=1C.
Definition: drtdose.h:4532
double getAbsMinimum() const
get absolute minimum pixel value.
Definition: dimopx.h:160
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
void lookupSymbolicUID()
this method checks if the UID value passed to this object is a symbolic UID and in this case attempts...
OFCondition setObservationDateTime(const OFString &observationDateTime, const OFBool check=OFTrue)
set observation date/time.
DcmIntegerString NumberOfBlocks
NumberOfBlocks (300a,00f0) vr=IS, vm=1, type=1.
Definition: drttsibs.h:1002
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition setSOPAuthorizationComment(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationComment (0100,0424)
virtual OFBool isRTTreatmentSummaryRecordModulePresent(const OFBool complete=OFFalse)
check whether RTTreatmentSummaryRecordModule (U) is present.
DcmUnsignedShort PregnancyStatus
PregnancyStatus (0010,21c0) vr=US, vm=1, type=3.
Definition: drtimage.h:4942
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
int crfound_
flag indicating whether CR was read during file read
Definition: ofconfig.h:522
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtdspcs.h:353
OFCondition write(DcmItem &item)
write elements to sequence item
DSRXMLCursor getNamedChildNode(const DSRXMLCursor &cursor, const char *name, const OFBool required=OFTrue) const
get a particular named child node of the document.
@ Bevacizumab_89Zr
(126516,DCM,"Bevacizumab ^89^Zr")
Definition: cid4021.h:70
Item(const Item ©)
copy constructor
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtadcs.h:341
void getDataSint8(void *buffer, DiDisplayFunction *disp, const int samples, const unsigned long frame, const int bits, const Uint32 low, const Uint32 high)
get pixel data with specified format for Sint8 input (helper function).
Base class for tree node annotations.
Definition: dsrtnant.h:37
@ _14_Oxygen
(424875009,SCT,"^14^Oxygen")
Definition: cid4020.h:48
OFCondition getTransferTubeNumber(OFString &value, const signed long pos=0) const
get TransferTubeNumber (300a,02a2)
virtual ~DRTBreedRegistryCodeSequence()
destructor
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
virtual OFCondition getDoseUnits(OFString &value, const signed long pos=0) const
get DoseUnits (3004,0002)
virtual OFCondition getSint32Array(Sint32 *&sintVals)
get reference to stored integer data.
XMLCSTR updateName(XMLCSTR lpszName)
change node's name
OFCondition setPrinterOwnerID(const char *value)
sets the (optional) print session owner ID.
DcmLongString patientID
Module=Patient, VR=LO, VM=1, Type 2.
Definition: dcmpstat.h:796
OFList< void * > theList
the list
Definition: lst.h:84
const char * getPrivateCreator() const
returns private creator code, may be NULL
Definition: dcdicent.h:129
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getCalculatedDoseReferenceDoseValue(Float64 &value, const unsigned long pos=0) const
get CalculatedDoseReferenceDoseValue (3008,0076)
DRTReasonForPerformedProcedureCodeSequence ReasonForPerformedProcedureCodeSequence
ReasonForPerformedProcedureCodeSequence (0040,1012) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4913
DPMParametricMapImageModule m_DPMParametricMapImageModule
Parametric Map Image Module.
Definition: dpmparametricmapbase.h:233
flags_type signal_exit(bool drain=true)
Sets EXIT flag and DRAIN flag and sets internal event object into signaled state.
const Item & getCurrentItem() const
get current item in the sequence
OFBool isEmpty()
check if item is empty
const DRTPatientSizeCodeSequence & getPatientSizeCodeSequence() const
get PatientSizeCodeSequence (0010,1021)
Definition: drtimage.h:2800
virtual void resetRules()
Resets rules to their original values.
@ CF_invalid
internal type used to indicate an error
Definition: dsrtypes.h:759
Class implementing a document tree node filter that checks for a given template identification.
Definition: dsrdnflt.h:466
virtual OFCondition read(DcmItem &item)
Read class data from given item.
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getStudyDescription(OFString &value, const signed long pos=0) const
get study description
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtssrcs.h:355
DcmLongString ClinicalTrialProtocolName
ClinicalTrialProtocolName (0012,0021) vr=LO, vm=1, type=2.
Definition: drtimage.h:4860
virtual OFCondition getTime(OFString &value, const signed long pos=0) const
Get Time.
void deleteOverlayData() const
delete buffer for overlay plane data.
Definition: dcmimage.h:1326
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFCondition write(DcmItem &item)
write elements to sequence item
DcmDecimalString DeviceDiameter
DeviceDiameter (0050,0016) vr=DS, vm=1, type=3.
Definition: drtds.h:517
virtual OFCondition setContentDescription(const OFString &value, const OFBool checkValue=OFTrue)
Set Content Description.
virtual OFCondition write(DcmItem &item)=0
Write functional group to given item.
virtual OFCondition checkMeasurementUnit(const DSRCodedEntryValue &measurementUnit) const
check the specified measurement unit for validity.
void clear()
clear all internal member variables
DRTSourceInstanceSequence & getSourceInstanceSequence()
get SourceInstanceSequence (0042,0013)
Definition: drttreat.h:1683
DcmLongString StrainNomenclature
StrainNomenclature (0010,0213) vr=LO, vm=1, type=3.
Definition: drtdose.h:4124
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Get shared type of this functional group (can be both, per-frame and shared)
Definition: fgplanorvol.h:54
const DcmDictEntry * findEntry(const DcmDictEntry &entry) const
looks up the given directory entry in the two dictionaries.
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
OFCondition setTableTopLateralPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopLateralPosition (300a,012a)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DRTFractionStatusSummarySequence & operator=(const DRTFractionStatusSummarySequence ©)
assigment operator
Item EmptyItem
empty default item
Definition: drtfgss.h:385
OFBool isEmpty()
check if item is empty
OFCondition getNumberOfFractionsPlanned(OFString &value, const signed long pos=0) const
get NumberOfFractionsPlanned (300a,0078)
DcmIntegerString NumberOfCompensators
NumberOfCompensators (300a,00e0) vr=IS, vm=1, type=1.
Definition: drtbs.h:761
Item class.
Definition: drtfgs.h:40
virtual ~Item()
destructor
OFCondition getBrachyAccessoryDeviceNominalThickness(OFString &value, const signed long pos=0) const
get BrachyAccessoryDeviceNominalThickness (300a,026a)
OFCondition getDisplayedAreaPresentationPixelSpacing(double &x, double &y)
gets the presentation pixel spacing for the current image and frame if it is known.
OFBool isEmpty()
check if sequence is empty
void initDestination(jpeg_compress_struct *cinfo)
callback for IJG compress destination manager.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrmss7.h:331
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtcncs.h:329
main class for Query/Retrieve Service Class Provider
Definition: dcmqrsrv.h:57
CodeSequenceMacro m_AnatomicRegion
Anatomic Region Sequence (SQ, 1, 1) (Code Sequence Macro within item of Anatomic Region Sequence))
Definition: iodmacro.h:807
OFCondition setBlockDivergence(const OFString &value, const OFBool check=OFTrue)
set BlockDivergence (300a,00fa)
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
Item(const Item ©)
copy constructor
OFCondition getMeasuredDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get MeasuredDoseReferenceNumber (3008,0064)
DcmDecimalString FinalCumulativeMetersetWeight
FinalCumulativeMetersetWeight (300a,010e) vr=DS, vm=1, type=1C.
Definition: drtibs.h:971
void addIntToPayload(Uint32 i)
adds an integer into the message payload.
virtual OFBool operator==(const OFTime &timeVal) const
comparison operator (equal).
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getReferencedCompensatorNumber(OFString &value, const signed long pos=0) const
get ReferencedCompensatorNumber (300c,00d0)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrbos1.h:347
void removeAllButCurrentRepresentations()
removes all but the current representation.
OFCondition getDeliveredPrimaryMeterset(Float64 &value, const unsigned long pos=0) const
get DeliveredPrimaryMeterset (3008,0036)
DRTEncryptedAttributesSequence & getEncryptedAttributesSequence()
get EncryptedAttributesSequence (0400,0500)
Definition: drtionpl.h:1379
DcmUnsignedShort OverlayColumns
OverlayColumns (60xx,0011) vr=US, vm=1, type=1.
Definition: drtdose.h:4492
OFStackLinkBase * next
pointer to next entry in list
Definition: ofstack.h:56
DcmDecimalString SpecifiedSecondaryMeterset
SpecifiedSecondaryMeterset (3008,0033) vr=DS, vm=1, type=3.
Definition: drttsibs.h:1064
OFCondition getXRayTubeCurrentInmA(Float64 &value, const unsigned long pos=0) const
get XRayTubeCurrentInmA (0018,9330)
Item(const Item ©)
copy constructor
virtual OFCondition getTimezoneOffsetFromUTC(OFString &value, const signed long pos=0) const
get TimezoneOffsetFromUTC (0008,0201)
class that manages the life cycle of a temporary file.
Definition: dcistrmf.h:225
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
size_t getNumberOfItems() const
get number of items in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
double JNDMin
minimum JND index value for the given display system
Definition: digsdfn.h:209
void write(void *target) const
copies the compressed RLE byte stream into a target array of at least size() bytes.
Definition: dcrleenc.h:270
virtual OFBool checkForSpecificCharacterSet() const
mode specifying whether the SpecificCharacterSet (0008,0005) element should be checked by convertChar...
Definition: dcdatset.h:395
OFBool hasSourceSeriesForSegmentation() const
check whether the 'Source Series for Segmentation' content item (TID 1411 - Row 12) is present.
Item & getItem(const size_t num)
get particular item in the sequence
static OFCondition putStringValueToDataset(DcmItem &dataset, const DcmTag &tag, const OFString &stringValue, const OFBool allowEmpty=OFTrue)
put string value to dataset
DcmIntegerString SeriesNumber
SeriesNumber (0020,0011) vr=IS, vm=1, type=2.
Definition: drtionpl.h:3085
DcmIntegerString ReferencedReferenceImageNumber
ReferencedReferenceImageNumber (300c,0007) vr=IS, vm=1, type=3.
Definition: drtpvis.h:324
virtual OFCondition setFrameComments(const OFString &value, const OFBool checkValue=OFTrue)
Set Frame Comments.
DRTRecordedSnoutSequence & getRecordedSnoutSequence()
get RecordedSnoutSequence (3008,00f0)
Definition: drttsibs.h:634
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setPolarity(const char *value)
sets the polarity.
OFCondition setControlPointIndex(const OFString &value, const OFBool check=OFTrue)
set ControlPointIndex (300a,0112)
OFCondition setApplicatorID(const OFString &value, const OFBool check=OFTrue)
set ApplicatorID (300a,0108)
const DRTUDISequence & getUDISequence() const
get UDISequence (0018,100a)
Definition: drtionpl.h:1937
OFCondition saveCurrentPStateForReset()
saves the current state of the presentation state object to be used for resetPresentationState().
static DcmTagKey calcPrivateReservationTag(const DcmTagKey &privateKey)
Returns the private reservation tag key for a given private tag.
Uint16 getElement() const
returns element number
Definition: dctagkey.h:295
static const OFString & getMarkupStringFromElement(const DcmElement &delem, OFString &stringValue, const OFBool convertNonASCII=OFFalse)
get string value from element and convert to HTML/XML.
Item(const Item ©)
copy constructor
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtics.h:335
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getConsultingPhysicianName(OFString &value, const signed long pos=0) const
get ConsultingPhysicianName (0008,009c)
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=2.
Definition: drttms0.h:210
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrms.h:379
virtual OFCondition getDVHNormalizationPoint(Float64 &value, const unsigned long pos=0) const
get DVHNormalizationPoint (3004,0040)
DcmCodeString polarity
Module=Image_Box_List, VR=CS, VM=1, Type 2.
Definition: dvpsib.h:343
virtual ~Item()
destructor
jpeg_decompress_struct * cinfo
decompression structure
Definition: djdijg8.h:112
virtual OFCondition getLocalNamespaceEntityID(OFString &value, const signed long pos=0) const
Get Local Namespace Entity ID.
OFCondition setLeafPositionBoundaries(const OFString &value, const OFBool check=OFTrue)
set LeafPositionBoundaries (300a,00be)
virtual OFCondition setInstanceCreationDate(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationDate (0008,0012)
virtual OFCondition setDoseGridScaling(const OFString &value, const OFBool check=OFTrue)
set DoseGridScaling (3004,000e)
OFCondition getPrintBitmapHeight(unsigned long &height)
gets height of print bitmap.
DVPSDisplayedArea_PList displayedAreaSelectionList
Module=Displayed_Area, VR=SQ, Card=1-n, Type 1.
Definition: dcmpstat.h:836
Item & operator=(const Item ©)
assigment operator
DRTPlannedVerificationImageSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
const OFString MappingResource
mapping resource (VR=CS, mandatory)
Definition: dsrctpl.h:218
@ _94m_Technetium
(424079002,SCT,"^94m^Technetium")
Definition: cid4020.h:110
OFList< ItemStruct * > List
list of instances
Definition: dvcache.h:386
void checkPrivateReservations(const OFBool doChecking)
Enables (class default: enabled) or disables checking of private reservations when inserting private ...
virtual OFCondition getTrackingUID(OFString &value, const signed long pos=0)
Get Tracking UID.
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrps.h:132
OFBool isEmpty()
check if item is empty
virtual OFCondition setInstanceCreationDate(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationDate (0008,0012)
static const size_t HF_useCodeDetailsTooltip
external: render code details as a tooltip (not with HTML 3.2)
Definition: dsrtypes.h:293
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtsdcs.h:324
DcmAttributeTag OverrideParameterPointer
OverrideParameterPointer (3008,0062) vr=AT, vm=1, type=1.
Definition: drtos.h:212
virtual OFCondition getTreatmentDate(OFString &value, const signed long pos=0) const
get TreatmentDate (3008,0250)
OFCondition deletePrivateData()
Deletes all private data from file,\ i.e.
OFString FiducialUID
Fiducial UID (VR=UI, VM=1, type 3)
Definition: dsrsc3vl.h:308
@ CubicMillimeter
(mm3,UCUM,"cubic millimeter"), included from CID 7462
Definition: cid7181.h:76
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtecs.h:309
Template class building the base for other transformations.
Definition: ditranst.h:44
virtual OFCondition putUint16Array(const Uint16 *uintVals, const unsigned long numUints)
set element value to given integer array data.
OFString calledApplicationEntityTitle
called AE title
Definition: wlfsim.h:66
@ EWT_window_minmax
compute VOI window using min-max algorithm
Definition: diutils.h:334
DcmUnsignedShort(const DcmTag &tag, const Uint32 len)
constructor.
virtual OFCondition getOFStringArray(OFString &stringVal, OFBool normalize=OFTrue)
get element value as a character string.
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item EmptyItem
empty default item
Definition: drtmris.h:331
virtual OFCondition setRadiationMachineSAD(const OFString &value, const OFBool check=OFTrue)
set RadiationMachineSAD (3002,0022)
const DcmQueryRetrieveOptions & options_
reference to Q/R service options
Definition: dcmqrcbm.h:133
@ EFG_UNDEFINED
Undefined functional group.
Definition: fgtypes.h:111
void clear()
Clear any nested diagnostic information if any.
const DRTReferencedStudySequence & getReferencedStudySequence() const
get ReferencedStudySequence (0008,1110)
Definition: drtplan.h:1838
virtual OFCondition setNameOfPhysiciansReadingStudy(const OFString &value, const OFBool check=OFTrue)
set NameOfPhysiciansReadingStudy (0008,1060)
DRTDeliveredDepthDoseParametersSequence DeliveredDepthDoseParametersSequence
DeliveredDepthDoseParametersSequence (300a,0506) vr=SQ, vm=1, type=3.
Definition: drttsibs.h:982
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmUnlimitedText UniversalEntityID
UniversalEntityID (0040,0032) vr=UT, vm=1, type=1C.
Definition: drtians.h:146
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtiais.h:327
DcmDecimalString PatientWeight
PatientWeight (0010,1030) vr=DS, vm=1, type=3.
Definition: drtiontr.h:2952
virtual ~DPMParametricMapBase()
Virtual Destructor.
~DcmKeyValuePair()
destructor
Definition: dcmsmap.h:59
virtual OFCondition readPixelData(Uint16 &rows, Uint16 &cols, Uint16 &samplesPerPixel, OFString &photoMetrInt, Uint16 &bitsAlloc, Uint16 &bitsStored, Uint16 &highBit, Uint16 &pixelRepr, Uint16 &planConf, Uint16 &pixAspectH, Uint16 &pixAspectV, char *&pixData, Uint32 &length, E_TransferSyntax &ts)=0
Extracts the raw pixel data stream from image file and returns some further information about this pi...
OFCondition getApplicatorID(OFString &value, const signed long pos=0) const
get ApplicatorID (300a,0108)
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches at least a single filter criterion in the list
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Interface class for PurposeOfReferenceCodeSequence (0040,a170)
Definition: drtporcs.h:29
size_t getReferencedNodeID() const
get ID of the referenced node (target content item)
Definition: dsrreftn.h:144
Item & getCurrentItem()
get current item in the sequence
DcmLongString PerformedProcedureStepDescription
PerformedProcedureStepDescription (0040,0254) vr=LO, vm=1, type=3.
Definition: drtiontr.h:3025
virtual void resetRules()
Resets rules to their original values.
void removeFloatingPointRepresentation()
remove floating point representation of the numeric value (if any).
DcmIntegerString ReferencedCompensatorNumber
ReferencedCompensatorNumber (300c,00d0) vr=IS, vm=1, type=1.
Definition: drtrcos.h:155
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition write(DcmItem &dataset, DcmStack *markedItems=NULL)
write content item to dataset.
DRTContourImageSequence ContourImageSequence
ContourImageSequence (3006,0016) vr=SQ, vm=1, type=3.
Definition: drtcs.h:275
DRTPatientSpeciesCodeSequence PatientSpeciesCodeSequence
PatientSpeciesCodeSequence (0010,2202) vr=SQ, vm=1, type=1C.
Definition: drttreat.h:2677
OFCondition getNumberOfControlPoints(Sint32 &value, const unsigned long pos=0) const
get NumberOfControlPoints (300a,0110)
OFString m_fileName
Path to the temporary file that we are managing, empty string if none.
Definition: oftempf.h:116
OFBool isEmpty()
check if sequence is empty
Uint8 * UsedValues
array of used pixel values
Definition: dimoopx.h:143
@ Fluciclatide_F18
(456999006,SCT,"Fluciclatide F^18^")
Definition: cid4021.h:138
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
DcmCodeString printPriority
VR=CS, VM=1.
Definition: dvpsfs.h:153
static unsigned int tobits(unsigned long tb_value, const unsigned long tb_pos=1)
calculate number of bits which are necessary to store the specified value
Definition: diutils.h:413
this class implements a sequence of pixel items, i.e.
Definition: dcpixseq.h:54
void addPRNGseed(void *buf, size_t bufSize)
modifies the PRNG by adding random data from the given buffer to the PRNG state.
OFCondition setBlockDivergence(const OFString &value, const OFBool check=OFTrue)
set BlockDivergence (300a,00fa)
virtual OFCondition setDateOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set DateOfLastCalibration (0018,1200)
OFString m_SOPClassUID
SOP Class UID.
Definition: iodreferences.h:134
OFString CodingSchemeVersion
Coding Scheme Version (VR=SH, type 3)
Definition: dsrcsidl.h:329
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
static OFBool requiresTimezoneModule(const E_DocumentType documentType)
check whether SR document type requires Timezone Module
virtual OFCondition getPatientWeight(Float64 &value, const unsigned long pos=0) const
get PatientWeight (0010,1030)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmExtendedNegotiationItem(const DcmUIDHandler &abstractSyntax, const unsigned char *data, Uint32 length)
constructor.
const void * getData() const
get pointer to output pixel data
Definition: dicoopxt.h:134
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format
void move(size_t numberOfBytes)
this method moves the given number of bytes from buff_ to currentBlock_ and "flushes" currentBlock_ t...
Definition: dcrleenc.h:341
DcmDecimalString TableTopVerticalPosition
TableTopVerticalPosition (300a,0128) vr=DS, vm=1, type=2C.
Definition: drticps.h:837
virtual OFCondition setImagesInAcquisition(const OFString &value, const OFBool check=OFTrue)
set ImagesInAcquisition (0020,1002)
DcmDirectoryRecord * buildSurfaceRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update surface record and copy required values from dataset
OFCondition getNumberOfCompensators(Sint32 &value, const unsigned long pos=0) const
get NumberOfCompensators (300a,00e0)
OFCondition write(DcmItem &item)
write elements to sequence item
CID7464_GeneralRegionOfInterestMeasurementModifiers(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
DRTDerivationCodeSequence DerivationCodeSequence
DerivationCodeSequence (0008,9215) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2958
DcmCodeString SOPInstanceStatus
SOPInstanceStatus (0100,0410) vr=CS, vm=1, type=3.
Definition: drtimage.h:5429
DRTOperatorIdentificationSequence & getOperatorIdentificationSequence()
get OperatorIdentificationSequence (0008,1072)
Definition: drtimage.h:2746
const char * getImageNumber()
returns the Image Number of the currently selected instance.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmIntegerString ReferencedBeamNumber
ReferencedBeamNumber (300c,0006) vr=IS, vm=1, type=1.
Definition: drtrbs4.h:283
void * OriginalData
pointer to original data buffer (where the LUT data is created from)
Definition: diluptab.h:242
DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence()
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtimage.h:2710
DRTPatientSpeciesCodeSequence PatientSpeciesCodeSequence
PatientSpeciesCodeSequence (0010,2202) vr=SQ, vm=1, type=1C.
Definition: drtdose.h:4114
const OFString SOPClassUID
SOP Class UID of the SOP instance to be transferred.
Definition: dstorscu.h:412
OFCondition setCodingSchemeResponsibleOrganization(const OFString &value, const OFBool check=OFTrue)
set the coding scheme responsible organization of the currently selected entry
virtual ~Item()
destructor
DcmDictRangeRestriction getGroupRangeRestriction() const
returns group range restriction
Definition: dcdicent.h:260
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtsptcs.h:347
OFCondition setApplicatorType(const OFString &value, const OFBool check=OFTrue)
set ApplicatorType (300a,0109)
OFCondition parseFromBuffer(unsigned char *readBuffer, unsigned long &bytesRead, unsigned long availData)
Parse sub item from buffer.
@ OralRoute
(26643006,SCT,"Oral route")
Definition: cid11.h:66
@ VT_Container
DICOM Value Type: CONTAINER.
Definition: dsrtypes.h:613
DRTPhysiciansOfRecordIdentificationSequence PhysiciansOfRecordIdentificationSequence
PhysiciansOfRecordIdentificationSequence (0008,1049) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3085
virtual OFCondition setBitsStored(const Uint16 value, const unsigned long pos=0)
set BitsStored (0028,0101)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTDoseReferenceSequence(const DRTDoseReferenceSequence ©)
copy constructor
DRTIonBeamsTreatmentRecordIOD & operator=(const DRTIonBeamsTreatmentRecordIOD ©)
assigment operator
DVPSDecimateCropBehaviour decimateCropBehaviour
requested decimate/crop behaviour used in all image boxes
Definition: dvpssp.h:1084
OFUnorderedSet< T > Union(const OFUnorderedSet< T > &other) const
Determines the union of the two sets this and other, i.e.
Definition: ofuoset.h:331
DcmTLSECFailedToLoadCertificateConst()
Constructor, initializes the OFConditionConst base.
DcmOutputBufferStream stream
the internal buffer stream
Definition: simaccon.h:156
Item EmptyItem
empty default item
Definition: drtcs.h:466
void removeAnchorPoint()
removes any anchor point from the text object.
void getListOfCipherSuitesForOpenSSL(OFString &cslist) const
returns a string in OpenSSL syntax that contains the currently defined list of TLS ciphersuites.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtiseis.h:141
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmPreferVRFromDataDictionary
This flag defines how the element's VR is treated by the parser when reading from a dataset with expl...
MdfJob & operator=(const MdfJob &j)
Assignment operator.
OFIterator()
default constructor.
Definition: oflist.h:201
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getLeafJawPositions(Float64 &value, const unsigned long pos=0) const
get LeafJawPositions (300a,011c)
DcmShortString StudyID
StudyID (0020,0010) vr=SH, vm=1, type=2.
Definition: drtplan.h:3075
virtual OFCondition checkValue(const OFString &vm="", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM.
OFCondition createEmptyValue(const Uint32 length)
create a new, empty value field of given size.
const OFCmdOption * findCmdOption(const OFString &option) const
finds specified option and returns reference to its describing structure
@ AM_belowCurrent
add new node below current one (after last child)
Definition: dsrtypes.h:853
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmUnsignedShort ReferencedSegmentNumber
ReferencedSegmentNumber (0062,000b) vr=US, vm=1-n, type=1C.
Definition: drtrsos.h:187
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtfms.h:315
DRTContrastBolusAdministrationRouteSequence(const DRTContrastBolusAdministrationRouteSequence ©)
copy constructor
void rotateTopDown(T *data[])
rotate image top-down and store result in the same storage area
Definition: dirotat.h:319
OFString & operator+=(const char *s)
constructs a temporary string from the input s and appends it to the current string.
const Item & getCurrentItem() const
get current item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Definition: jpeglib12.h:191
static OFCondition create(DcmSegment *&segment, const OFString &segmentLabel, const CodeSequenceMacro &segmentedPropertyCategory, const CodeSequenceMacro &segmentedPropertyType, const DcmSegTypes::E_SegmentAlgoType algoType, const OFString &algoName="")
Factory method to create a Segment that expects the minimal parameters required.
int noOfHostEntries
number of entries
Definition: dcmqrcnf.h:189
Item class.
Definition: drtpsics.h:37
OFBool isEmpty()
check if sequence is empty
DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence()
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtstrct.h:1626
OFCondition setBorderDensity(const char *value)
sets the (optional) border density.
OFCondition getReferencedPatientSetupNumber(OFString &value, const signed long pos=0) const
get ReferencedPatientSetupNumber (300c,006a)
DcmUnsignedLongOffset(const DcmTag &tag, const Uint32 len)
constructor.
unsigned char * outputBuffer_
this member points to a block of size outputBufferSize_ (unless fail_ is true).
Definition: dcrledec.h:249
DRTPurposeOfReferenceCodeSequence & getPurposeOfReferenceCodeSequence()
get PurposeOfReferenceCodeSequence (0040,a170)
Definition: drtces.h:218
static OFBool isConversionNecessary(const OFString &sourceCharacterSet, const OFString &destinationCharacterSet)
Determine if data in the source character set must be converted to be compatible to the given destina...
void set_section(unsigned int level, const char *key, OFConfigFileNode *anchor)
sets cursor to the entry with keyword "key" at the given level.
@ HeadAndNeck
(774007,SCT,"Head and Neck")
Definition: cid4031.h:120
virtual FGInterface & getFunctionalGroups()
Get access to functional groups.
DcmUniqueIdentifier InstanceCreatorUID
InstanceCreatorUID (0008,0014) vr=UI, vm=1, type=3.
Definition: drtplan.h:3362
virtual SOPInstanceReferenceMacro * getReferencedPerformedProcedureStepSequence()
Get reference to the Referenced Performed Procedure Step Sequence.
@ DT_BasicTextSR
DICOM IOD: Basic Text SR.
Definition: dsrtypes.h:507
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmLongString PersonTelephoneNumbers
PersonTelephoneNumbers (0040,1103) vr=LO, vm=1-n, type=3.
Definition: drtprsis.h:212
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setStructureSetDescription(const OFString &value, const OFBool check=OFTrue)
set StructureSetDescription (3006,0006)
@ _52m_Manganese
(126607,DCM,"^52m^Manganese")
Definition: cid4020.h:70
OFCondition setTextValue(const OFString &value, const OFBool check=OFTrue)
set TextValue (0040,a160)
codec parameter for IJG codecs
Definition: djcparam.h:32
virtual OFBool compareTemplateIdentification(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="") const
compare template identification with given values
DSRContainerTreeNode(const E_RelationshipType relationshipType, const E_ContinuityOfContent continuityOfContent=COC_Separate)
constructor
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtspcs.h:206
DRTWADORSRetrievalSequence WADORSRetrievalSequence
WADORSRetrievalSequence (0040,e025) vr=SQ, vm=1, type=1C.
Definition: drtrpphs.h:236
Item & operator[](const size_t num)
get particular item in the sequence
Item class.
Definition: drtporis.h:38
Uint16 getColumns() const
get number of columns
Definition: diimage.h:162
Abstract interface to plugable image support for the DICOMDIR class.
Definition: dcddirif.h:51
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
void removeImageReference(const char *sopinstanceuid)
remove image reference from this series reference if present.
OFCondition saveStoredPrint(const char *filename, OFBool writeRequestedImageSize, OFBool explicitVR=OFTrue, const char *instanceUID=NULL)
saves the current print job as a Stored Print object.
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtaadcs.h:357
virtual OFCondition setPatientBreedDescription(const OFString &value, const OFBool check=OFTrue)
set PatientBreedDescription (0010,2292)
virtual OFCondition setStrainAdditionalInformation(const OFString &value, const OFBool check=OFTrue)
set StrainAdditionalInformation (0010,0218)
const DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence() const
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtplan.h:1850
DVPSGraphicObject * removeGraphicObject(size_t idx)
returns a pointer to the graphic object with the given index (or NULL if it does not exist) and remov...
static double gammaCorrection(double n)
Perform sRGB gamma correction, transforms R to R'.
virtual OFCondition stream(unsigned char *targetBuffer, unsigned long &lengthWritten) const =0
Stream the package into a byte stream for network transmission.
DiTIFFPlugin()
constructor
virtual OFBool isUniversalMatch(const OFBool normalize=OFTrue, const OFBool enableWildCardMatching=OFTrue)
Determine if this element is universal matching.
OFCondition getNumberOfFractionsDelivered(OFString &value, const signed long pos=0) const
get NumberOfFractionsDelivered (3008,005a)
virtual OFCondition getAdditionalPatientHistory(OFString &value, const signed long pos=0) const
get AdditionalPatientHistory (0010,21b0)
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmAcceptOddAttributeLength
This flag defines the handling of illegal odd-length attributes: If flag is true, odd lengths are res...
OFCondition getNumberOfRangeModulators(Sint32 &value, const unsigned long pos=0) const
get NumberOfRangeModulators (300a,0340)
Interface class for DVHReferencedROISequence (3004,0060)
Definition: drtdvrrs.h:28
OFCondition setFiducialUID(const OFString &fiducialUID, const OFBool check=OFTrue)
set current fiducial UID.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFBool scaleImage(DcmItem *dataset, Uint8 *pixel, const unsigned long count, const unsigned long frame, const unsigned int width, const unsigned int height, const OFBool decompressAll=OFFalse) const =0
scale image (from DICOM dataset) to specified size
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
DRTRTRelatedROISequence RTRelatedROISequence
RTRelatedROISequence (3006,0030) vr=SQ, vm=1, type=3.
Definition: drtrros.h:297
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
OFCondition addMagneticResonanceDescriptors(DSRDocumentSubTree &tree, DcmItem &dataset, const AddImageMode mode, const ConceptNameList &descriptors, const OFBool check)
add image library entry descriptors for MR (TID 1606)
IODMultiFrameFGModule m_IODMultiFrameFGModule
Multi-frame Functional Groups Module.
Definition: dpmparametricmapbase.h:236
E_CompressionColorSpaceConversion getCompressionColorSpaceConversion() const
returns color conversion mode for compression
Definition: djcparam.h:247
DcmPixelData(const DcmPixelData &pixelData)
copy constructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
static const OFString m_ModuleName
This module's name ("ImagePixelBase")
Definition: modimagepixelbase.h:164
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtcncs.h:331
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtporcs.h:331
Interface class for FluenceMapSequence (3002,0040)
Definition: drtfms.h:28
virtual OFCondition setRationalDenominatorValue(const Uint32 value, const unsigned long pos=0, const OFBool checkValue=OFTrue)
Set RationalDenominatorValue.
virtual OFCondition createUint16Array(const Uint32 numWords, Uint16 *&words)
create an empty Uint16 array of given number of words and set it.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setInstanceCreationTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationTime (0008,0013)
SourceImageItem & operator=(const SourceImageItem &rhs)
Assignment operator, deletes old data.
OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write current list of references in XML format
virtual ~DcmSCU()
Virtual destructor.
unsigned char * raw_
pointer to raw data block
Definition: dccfenmp.h:111
OFList< OFString > m_trustedCertFiles
A list of files containing trusted certificates (if authentication is enabled)
Definition: tlsscu.h:218
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the reference to the included template is valid.
void clearData()
Clear old data.
DcmDecimalString TableTopEccentricAxisDistance
TableTopEccentricAxisDistance (300a,0124) vr=DS, vm=1, type=3.
Definition: drtcps.h:693
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setLastMenstrualDate(const OFString &value, const OFBool check=OFTrue)
set LastMenstrualDate (0010,21d0)
DcmLongString ClinicalTrialSiteID
ClinicalTrialSiteID (0012,0030) vr=LO, vm=1, type=2.
Definition: drtiontr.h:2875
DcmLongString ClinicalTrialSeriesDescription
ClinicalTrialSeriesDescription (0012,0072) vr=LO, vm=1, type=3.
Definition: drtdose.h:4322
OFCondition setBitsStored(const Uint16 value, const unsigned long pos=0)
set BitsStored (0028,0101)
DRTPatientSizeCodeSequence & getPatientSizeCodeSequence()
get PatientSizeCodeSequence (0010,1021)
Definition: drtiontr.h:1527
int emptyOutputBuffer(jpeg_compress_struct *cinfo)
callback for IJG compress destination manager.
virtual ~DSRBasicTextSRConstraintChecker()
destructor
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
Get Modality.
virtual OFCondition write(DcmItem &item)
Writes functional group to given item (will write Plane Orientation Sequence to it)
OFBool operator!() const
Test whether this object cannot be used for matching, i.e. whether it is empty.
OFIterator< T > & operator=(const OFIterator< T > &x)
copy assignment operator
Definition: oflist.h:209
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence()
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtplan.h:1328
Item & operator[](const size_t num)
get particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DSRTextTreeNode(const E_RelationshipType relationshipType)
constructor
DRTFrameExtractionSequence FrameExtractionSequence
FrameExtractionSequence (0008,1164) vr=SQ, vm=1, type=1.
Definition: drtimage.h:5467
virtual OFCondition getClinicalTrialSeriesID(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesID (0012,0071)
OFCondition setFlip(OFBool isFlipped)
sets horizontal flip status of the presentation state.
static void dump(OFCondition cond, OFConsole &console=ofConsole)
dumps a given condition code to the console.
OFCondition getOrganAtRiskLimitDose(OFString &value, const signed long pos=0) const
get OrganAtRiskLimitDose (300a,002b)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getTotalBlockTrayFactor(Float64 &value, const unsigned long pos=0) const
get TotalBlockTrayFactor (300a,00f2)
unsigned long getSequence(const DcmTagKey &tag, DcmSequenceOfItems *&seq, DcmItem *item=NULL) const
get sequence of given tag
GlobalDcmDataDictionary & operator=(const GlobalDcmDataDictionary &)
private undefined assignment operator
int vfwprintf(const wchar_t *format, va_list arg)
print formatted wide string into stream, see printf(3)
Definition: offile.h:1045
OFCondition createIconImage(const OFString &filename, const unsigned long frame=0, const unsigned long width=64, const unsigned long height=64)
create an icon image from the given DICOM image and associate it with this image reference.
DSRImageFrameList & operator=(const DSRImageFrameList &lst)
assignment operator
const DRTStrainStockSequence & getStrainStockSequence() const
get StrainStockSequence (0010,0216)
Definition: drtplan.h:1958
DRTReferringPhysicianIdentificationSequence ReferringPhysicianIdentificationSequence
ReferringPhysicianIdentificationSequence (0008,0096) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4182
DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence()
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtdose.h:2212
an item of the displayed area selection sequence in a presentation state.
Definition: dvpsda.h:37
IODSeriesAndInstanceReferenceMacro(OFshared_ptr< DcmItem > data, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL)
Constructor.
size_type allocated_
the size for which values_ was allocated
Definition: ofvector.h:76
OFReadWriteLock()
default constructor
Item(const Item ©)
copy constructor
OFCondition getLateralSpreadingDeviceID(OFString &value, const signed long pos=0) const
get LateralSpreadingDeviceID (300a,0336)
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtdspcs.h:347
OFBool usesPresentationLUT(const char *c)
checks whether the Presentation LUT with the given UID is referenced by this Stored Print object on t...
virtual OFCondition getPatientName(OFString &value, const signed long pos=0) const
get PatientName (0010,0010)
DcmLongString ClinicalTrialProtocolName
ClinicalTrialProtocolName (0012,0021) vr=LO, vm=1, type=2.
Definition: drtiontr.h:2873
DcmFloatingPointSingle anchorPoint
VR=FL, VM=2, Type 1c.
Definition: dvpstx.h:206
DcmUnsignedShort illumination
VR=US, VM=1, Type 2c required if presentation SOP class present.
Definition: dvpsfs.h:164
Definition: jpegint12.h:95
int flip(const int horz, const int vert)
flip current image (horizontally and/or vertically)
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
Item & operator=(const Item ©)
assigment operator
OFCondition getDeviceVolume(Float64 &value, const unsigned long pos=0) const
get DeviceVolume (0050,0018)
void getDataUint32(void *buffer, DiDisplayFunction *disp, const int samples, const unsigned long frame, const int bits, const Uint32 low, const Uint32 high)
get pixel data with specified format for Uint32 input (helper function).
Uint16 * DDLValue
pointer to array of DDL values
Definition: didispfn.h:460
@ _89_Zirconium
(63360001,SCT,"^89^Zirconium")
Definition: cid4020.h:104
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFCondition getROIDisplayColor(Sint32 &value, const unsigned long pos=0) const
get ROIDisplayColor (3006,002a)
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtadcs.h:331
virtual OFCondition setStrainAdditionalInformation(const OFString &value, const OFBool check=OFTrue)
set StrainAdditionalInformation (0010,0218)
DcmPixelData & operator=(const DcmPixelData &obj)
copy assignment operator
a class used to represent overlay data (60xx,3000)
Definition: dcovlay.h:31
DSRImageReferenceValue(const OFString &imageSOPClassUID, const OFString &imageSOPInstanceUID, const OFString &pstateSOPClassUID, const OFString &pstateSOPInstanceUID, const OFBool check=OFTrue)
constructor.
const Item & getCurrentItem() const
get current item in the sequence
DcmIntegerString ReferencedBrachyApplicationSetupNumber
ReferencedBrachyApplicationSetupNumber (300c,000c) vr=IS, vm=1, type=1.
Definition: drtrbas8.h:175
DRTRequestingServiceCodeSequence RequestingServiceCodeSequence
RequestingServiceCodeSequence (0032,1034) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2853
CID5000_Languages(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
OFCondition loadStoredPrint(const char *filename)
loads a Stored Print object (which need not be contained in the database) into memory.
@ EPC_colorByPlane
always create color-by-plane planar configuration
Definition: djutils.h:120
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=3.
Definition: drttms9.h:208
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get particular value as a character string
OFCmdUnsignedInt opt_port
port on which the application is listening
Definition: wlmactmg.h:44
@ ComputedTomography
(CT,DCM,"Computed Tomography")
Definition: cid29.h:54
virtual OFCondition getPrescriptionDescription(OFString &value, const signed long pos=0) const
get PrescriptionDescription (300a,000e)
@ RCoefficient
(113057,DCM,"R-Coefficient"), included from CID 7180
Definition: cid7469.h:192
DRTXDSRetrievalSequence XDSRetrievalSequence
XDSRetrievalSequence (0040,e024) vr=SQ, vm=1, type=1C.
Definition: drtrpphs.h:240
OFCondition getTargetUnderdoseVolumeFraction(OFString &value, const signed long pos=0) const
get TargetUnderdoseVolumeFraction (300a,0028)
OFCondition setNumberOfFractionPatternDigitsPerDay(const OFString &value, const OFBool check=OFTrue)
set NumberOfFractionPatternDigitsPerDay (300a,0079)
DcmDecimalString SourceToBeamLimitingDeviceDistance
SourceToBeamLimitingDeviceDistance (300a,00ba) vr=DS, vm=1, type=3.
Definition: drtblds1.h:191
OFList< DVPSTextObject * > list_
the list maintained by this object
Definition: dvpstxl.h:114
void clear()
clear all internal member variables
virtual OFCondition setCommentsOnThePerformedProcedureStep(const OFString &value, const OFBool check=OFTrue)
set CommentsOnThePerformedProcedureStep (0040,0280)
const char * getSOPInstanceUID(size_t idx)
gets the current SOP Instance UID for the given registered image box.
virtual DSRDocumentTree * clone() const
clone this tree.
DcmPersonName ReferringPhysicianName
ReferringPhysicianName (0008,0090) vr=PN, vm=1, type=2.
Definition: drtionpl.h:2984
Uint16 status() const
return status value
Definition: dcmqrdbs.h:63
OFBool isEmpty()
check if item is empty
virtual OFCondition setStationName(const OFString &value, const OFBool check=OFTrue)
set StationName (0008,1010)
DcmBufferConsumer(void *buf, offile_off_t bufLen)
constructor
@ CS_Latin1
ISO-IR 100: Latin alphabet No. 1.
Definition: dsrtypes.h:795
DSRSubTemplate(const DSRSubTemplate &subTemplate)
copy constructor.
@ SodiumFluoride_F18
(129501009,SCT,"Sodium fluoride F^18^")
Definition: cid4021.h:270
DRTIonPlanIOD & operator=(const DRTIonPlanIOD ©)
assigment operator
Definition: dulstruc.h:210
@ IntramuscularRoute
(78421000,SCT,"Intramuscular route")
Definition: cid11.h:48
OFCondition setOrganAtRiskMaximumDose(const OFString &value, const OFBool check=OFTrue)
set OrganAtRiskMaximumDose (300a,002c)
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
DRTContrastBolusAdministrationRouteSequence & getContrastBolusAdministrationRouteSequence()
get ContrastBolusAdministrationRouteSequence (0018,0014)
Definition: drtimage.h:2458
const char * getImageConfigurationInformation(size_t idx)
gets the (optional) configuration information for the given registered image box.
virtual OFCondition setClinicalTrialCoordinatingCenterName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialCoordinatingCenterName (0012,0060)
OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
CodeWithModifiers(const OFString &modifierType, const OFString &modifierVM="1-n", const DcmTagKey &modifierSeq=DCM_ModifierCodeSequence)
Constructor.
@ ChairOfProtocolCommittee
(128671,DCM,"Chair of Protocol Committee")
Definition: cid7452.h:50
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
virtual OFCondition setContrastBolusStopTime(const OFString &value, const OFBool check=OFTrue)
set ContrastBolusStopTime (0018,1043)
Definition: jpeglib12.h:270
const DSRSpatialCoordinatesValue & getSpatialCoordinates() const
get spatial coordinates.
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtgmcs.h:349
DcmVR & operator=(const DcmVR &arg)
copy assignment operator
Definition: dcvr.h:341
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
void clear()
clear all internal member variables
@ EWM_createNewMeta
write as fileformat and create new meta header (do not retain existing information)
Definition: dctypes.h:164
virtual OFCondition convertCharacterSet(DcmSpecificCharacterSet &converter)
convert all element values that are contained in this item and that are affected by SpecificCharacter...
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtspccs.h:341
DRTPersonIdentificationCodeSequence(const DRTPersonIdentificationCodeSequence ©)
copy constructor
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtscs.h:341
OFCondition getReferencedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
OFCondition getImageReference(const char *&studyUID, const char *&seriesUID, const char *&instanceUID)
returns the image UIDs that are required to look up the referenced image in the database
OFBool optimizeHuffman
perform huffman table optimization for 8 bits/pixel compression?
Definition: djcparam.h:341
OFCondition setTableTopRollAngle(const Float32 value, const unsigned long pos=0)
set TableTopRollAngle (300a,0144)
static DJDecoderBaseline * decbas
pointer to decoder for baseline JPEG
Definition: djdecode.h:80
const char * getImageConfigurationInformation(size_t idx)
gets the (optional) configuration information for the given registered image box.
Definition: dvpssp.h:499
Item(const Item ©)
copy constructor
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule ReferencedDoseReferenceSequence
ReferencedDoseReferenceSequence (300c,0050) vr=SQ, vm=1, type=3.
Definition: drtfgs.h:344
OFCondition setVOILUTFromImage(size_t idx, DVPSObjectApplicability applicability=DVPSB_currentImage)
activates one of the VOI LUTs from the attached image.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFString extendedNegotiationGroup_
symbolic identifier of the extended negotiation list, may be empty
Definition: dccfprmp.h:94
OFBool setDay(const unsigned int day)
set the date value to the specified day.
static void initialize()
initialize this context group explicitly.
OFCondition getDVHMeanDose(Float64 &value, const unsigned long pos=0) const
get DVHMeanDose (3004,0074)
virtual ~DcmTLSConnection()
destructor
T & top()
returns a reference to the top element on the stack.
Definition: ofstack.h:241
DcmTime InstanceCreationTime
Instance Creation Time: (TM, 1, 3)
Definition: dsrdoc.h:1322
CID10033e_CTReconstructionAlgorithm(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
size_t getNumberOfItems() const
get number of items in the sequence
void clear()
clear all internal member variables
Uint16 MoveOriginatorMsgID
message ID of the C-MOVE message that initiated the C-STORE operation (if applicable)
Definition: dstorscu.h:530
OFBool isEmpty()
check if sequence is empty
OFCondition read(DcmItem &dset)
reads a presentation state from a DICOM dataset.
@ EFG_UNASSIGNEDSHAREDCONVERTEDATTRIBUTES
Unassigned Shared Converted Attributes Macro.
Definition: fgtypes.h:166
OFCondition setLUTExplanation(const OFString &value, const OFBool check=OFTrue)
set LUTExplanation (0028,3003)
virtual OFBool operator==(const OFOrderedSet< T > &other) const
Determines if two sets are identical.
Definition: ofoset.h:101
DSRIncludedTemplateNodeCursor()
default constructor
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
DcmUnsignedShort PixelPaddingValue
PixelPaddingValue (0028,0120) vr=US/SS, vm=1, type=1C.
Definition: drtdose.h:4360
DcmThreadSCP()
Constructor.
void clear()
clear all internal member variables
DcmLongString ClinicalTrialProtocolEthicsCommitteeName
ClinicalTrialProtocolEthicsCommitteeName (0012,0081) vr=LO, vm=1, type=1C.
Definition: drtplan.h:3054
DVPSGraphicAnnotation_PList graphicAnnotationList
GraphicAnnotationSequence, Module=Graphic_Annotation.
Definition: dcmpstat.h:932
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
const DRTModalityLUTSequence & getModalityLUTSequence() const
get ModalityLUTSequence (0028,3000)
Definition: drtdose.h:2230
@ ESSC_Image
image objects (subset of patient objects)
Definition: dcuid.h:50
DVPSReferencedSeries_PList()
default constructor
DcmIntegerString ReferencedDoseReferenceNumber
ReferencedDoseReferenceNumber (300c,0051) vr=IS, vm=1, type=3.
Definition: drttsmds.h:162
virtual OFBool isGeneralReferenceModulePresent(const OFBool complete=OFFalse)
check whether GeneralReferenceModule (U) is present.
DcmDecimalString CumulativeMetersetWeight
CumulativeMetersetWeight (300a,0134) vr=DS, vm=1, type=1.
Definition: drtbvcps.h:192
virtual OFCondition getOperatorsName(OFString &value, const signed long pos=0) const
get OperatorsName (0008,1070)
virtual OFCondition getSamplesPerPixel(Uint16 &value, const signed long pos=0) const
Get Samples Per Pixel.
virtual OFCondition setPlanarConfiguration(const Uint16 value, const unsigned long pos=0)
set PlanarConfiguration (0028,0006)
@ PATIENT_STUDY
patient/study only Q/R model
Definition: dcmqridx.h:70
PrintHelper & operator=(PrintHelper &)
Undefined assignment operator.
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrsrs.h:130
DcmShortString MaterialID
MaterialID (300a,00e1) vr=SH, vm=1, type=3.
Definition: drtrros.h:281
OFCondition getBeamLimitingDeviceAngle(OFString &value, const signed long pos=0) const
get BeamLimitingDeviceAngle (300a,0120)
static const OFString m_ModuleName
This module's name ("FloatingPointImagePixelModule")
Definition: modfloatingpointimagepixel.h:133
OFCondition write(DcmItem &item)
write elements to sequence item
int createLUT(const Uint16 *ddl_tab, const double *val_tab, const unsigned long ddl_cnt, const double *gsdf_tab, const double *gsdf_spl, const unsigned int gsdf_cnt, const double jnd_min, const double jnd_max, const double lum_min, const double lum_max, const OFBool inverse=OFFalse, STD_NAMESPACE ostream *stream=NULL, const OFBool printMode=OFTrue)
create lookup table
@ VT_Date
DICOM Value Type: DATE.
Definition: dsrtypes.h:593
virtual ~DSRDocumentTreeNodeObservationUIDFilter()
destructor
OFCondition getUID(OFString &value, const signed long pos=0) const
get UID (0040,a124)
Item EmptyItem
empty default item
Definition: drtfms.h:322
OFCondition readTrackStatistics(DcmItem &source)
Reads Track statistics from item into dedicated structures.
DRTContrastBolusAdministrationRouteSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition setDVHMeanDose(const OFString &value, const OFBool check=OFTrue)
set DVHMeanDose (3004,0074)
virtual ~Item()
destructor
virtual OFCondition getClinicalTrialSponsorName(OFString &value, const signed long pos=0) const
get ClinicalTrialSponsorName (0012,0010)
OFCondition setGraphicLayerRecommendedDisplayValueRGB(size_t idx, Uint16 r, Uint16 g, Uint16 b)
set graphic layer recommended RGB display value for the given graphic layer.
E_ParamValueStatus
status of converting string parameter to value field
Definition: ofcmdln.h:193
Item(const Item ©)
copy constructor
T element_type
T, the type of the object managed by this unique_ptr.
Definition: ofmem.h:296
OFCondition ConnectToFileSystem(const OFString &dfPathv)
Connects to the worklist file system database.
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid4031.h:319
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
virtual OFCondition getAdmittingDiagnosesDescription(OFString &value, const signed long pos=0) const
get AdmittingDiagnosesDescription (0008,1080)
virtual OFCondition checkValue(const OFString &vm="", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
DcmCodeString PatientSupportType
PatientSupportType (300a,0350) vr=CS, vm=1, type=1.
Definition: drttsibs.h:1022
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drticps.h:1013
virtual OFCondition setRelatedGeneralSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set RelatedGeneralSOPClassUID (0008,001a)
DcmPresentationContextMap & operator=(const DcmPresentationContextMap &arg)
Copy assignment operator, creates deep copy.
DSRTree(const DSRTree< T > &tree)
copy constructor.
Definition: dsrtree.h:401
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CodedEntryNotInContextGroup
error: a given coded entry in not contained in the context group
DRTROIElementalCompositionSequence ROIElementalCompositionSequence
ROIElementalCompositionSequence (3006,00b6) vr=SQ, vm=1, type=1C.
Definition: drtrpps.h:152
Item(const Item ©)
copy constructor
DcmOtherByteOtherWord Signature
Signature (0400,0120) vr=OB, vm=1, type=1.
Definition: drtdss.h:245
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtbas.h:345
Uint16 getETag() const
return the element number of the attribute tag for this object
Definition: dcobject.h:392
OFCondition setEndCumulativeMetersetWeight(const OFString &value, const OFBool check=OFTrue)
set EndCumulativeMetersetWeight (300c,0009)
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoMeasurement
error: there is no measurement to add entries to
OFCondition getROIGenerationDescription(OFString &value, const signed long pos=0) const
get ROIGenerationDescription (3006,0038)
virtual OFCondition read(DcmItem &item)
Read Image Data Type Sequence (this functional group) from given item.
Interface class for WADORetrievalSequence (0040,e023)
Definition: drtwrs.h:28
OFCondition setReferencedBlockNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedBlockNumber (300c,00e0)
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_SequDelimitationItemMissing
Missing Sequence Delimitation Item while reading a sequence.
DcmCharString(const DcmTag &tag, const Uint32 len)
constructor.
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
virtual void resetRules()
Resets rules to their original values.
OFCondition setCodingSchemeURLType(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeURLType (0008,010a)
Class that maps Coding Scheme Designators to an external coding system registration,...
Definition: dsrcsidl.h:44
@ MajorAxisIn3DLength
(TDIC,IBSI,"Major Axis in 3D Length"), included from CID 7470
Definition: cid7469.h:386
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtads.h:339
const log4cplus::helpers::Time & getTimestamp() const
The number of milliseconds elapsed from 1/1/1970 until logging event was created.
Definition: logevent.h:175
@ TracerConcentration
(126377,DCM,"Tracer Concentration"), included from CID 4109
Definition: cid7469.h:310
OFCondition write(DcmItem &item)
write elements to sequence item
virtual FGBase * clone() const
Returns a deep copy of this object.
virtual ~Item()
destructor
size_t getNumberOfItems() const
get number of items in the sequence
void clear()
clear all internal member variables
OFCondition getChannelShieldNominalTransmission(OFString &value, const signed long pos=0) const
get ChannelShieldNominalTransmission (300a,02ba)
OFCondition setCompensatorColumns(const OFString &value, const OFBool check=OFTrue)
set CompensatorColumns (300a,00e8)
DCMTK_DCMJPEG_EXPORT const OFConditionConst EJ_IJG12_FrameBufferTooSmall
Buffer for decompressed image (12 bits/sample) too small.
virtual OFCondition setPatientWeight(const OFString &value, const OFBool check=OFTrue)
set PatientWeight (0010,1030)
OFCondition enablePState()
restores the stored presentation state (see disablePresentationState) and deletes the temporary prese...
Types specific to this module.
Definition: trctypes.h:75
virtual OFCondition checkValue(const OFString &uidValue) const
check the specified UID value for validity.
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTRequestAttributesSequence RequestAttributesSequence
RequestAttributesSequence (0040,0275) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2860
virtual ~DJCompressIJG16Bit()
destructor
a class representing the DICOM value representation 'Other Float' (OF)
Definition: dcvrof.h:39
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual ~Item()
destructor
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSCodecUnsupportedValue
error condition constant: The codec was fed with unsupported parameters (e.g. 32 bit per sample)
virtual offile_off_t read(void *buf, offile_off_t buflen)=0
reads as many bytes as possible into the given block.
OFListIterator(OFListIterator_OFString) OptionBlockIterator
current position in option position list (used for option blocks)
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
DcmUnsignedShort BluePaletteColorLookupTableDescriptor
BluePaletteColorLookupTableDescriptor (0028,1103) vr=US/SS, vm=3, type=1C.
Definition: drtiis.h:409
DcmIntegerString NumberOfFractionsPlanned
NumberOfFractionsPlanned (300a,0078) vr=IS, vm=1, type=2.
Definition: drtfgss.h:200
virtual OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
DJCompressIJG16Bit & operator=(const DJCompressIJG16Bit &)
private undefined copy assignment operator
OFCondition gotoNextItem()
goto next item in the sequence
OFBool isEmpty()
check if item is empty
DRTRecordedCompensatorSequence & operator=(const DRTRecordedCompensatorSequence ©)
assigment operator
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtcss.h:327
const DRTOriginalAttributesSequence & getOriginalAttributesSequence() const
get OriginalAttributesSequence (0400,0561)
Definition: drtplan.h:1586
virtual OFCondition getReferringPhysicianName(OFString &value, const signed long pos=0) const
get ReferringPhysicianName (0008,0090)
virtual OFCondition getContentQualification(OFString &value, const signed long pos=0) const
Get Content Qualification.
virtual OFBool containsExtendedCharacters(const OFBool checkAllStrings=OFFalse)
check if this object contains non-ASCII characters at any nesting level.
virtual void disableInfo()
Disable all Info logging requests regardless of logger.
static const OFString & currentDateTime(OFString &dateTimeString)
get current date and time in DICOM 'DT' format.
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtbrcss.h:333
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item(const Item ©)
copy constructor
DiYBR422PixelTemplate(const DiDocument *docu, const DiInputPixel *pixel, EI_Status &status, const int bits, const OFBool rgb)
constructor
Definition: diyf2pxt.h:53
OFBool hasParentNode() const
check whether the current node has a parent
Definition: dsrtncsr.h:420
virtual OFBool isValid() const
check whether the current internal state is valid.
virtual OFCondition write(DcmItem &item)
Write data to given item.
virtual OFCondition getSoftwareVersions(OFString &value, const signed long pos=0) const
get SoftwareVersions (0018,1020)
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtsptcs.h:333
DRTContrastBolusAdministrationRouteSequence ContrastBolusAdministrationRouteSequence
ContrastBolusAdministrationRouteSequence (0018,0014) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5191
OFCondition setPatientOrientation(const OFString &value, const OFBool check=OFTrue)
set PatientOrientation (0020,0020)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrris9.h:308
DRTPatientSpeciesCodeSequence & operator=(const DRTPatientSpeciesCodeSequence ©)
assigment operator
DcmCodeString ApplicatorType
ApplicatorType (300a,0109) vr=CS, vm=1, type=1.
Definition: drtas1.h:195
OFBool performTransaction(DVPSIPCMessage &msg)
perform message transaction with server.
DSRCodeTreeNode(const E_RelationshipType relationshipType)
constructor
@ Prostate
(41216001,SCT,"Prostate")
Definition: cid4031.h:192
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
static OFBool checkForOctalConversion(const OFString &sourceString, const size_t maxLength=0)
check whether conversion to an octal format is required.
OFCondition setRequestedProcedureDescription(const OFString &value, const OFBool check=OFTrue)
set RequestedProcedureDescription (0032,1060)
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFCondition setPresentationCreatorsName(const char *name)
sets the presentation state creator's name.
void Init()
initialize internal data structures and member variables
Item & getItem(const size_t num)
get particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
const DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence() const
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtionpl.h:1421
IODReferences m_ReferencedInstances
Referenced instances, represents content of Referenced Instance Sequence.
Definition: trcmodtractresults.h:167
const T * const_iterator
the type of constant iterators on this object
Definition: ofvector.h:64
virtual DSRDateTimeTreeNode * clone() const
clone this tree node.
OFBool ExtensibleMode
mode indicating whether context group is extensible (default: false)
Definition: dsrctxgr.h:276
@ Maximum3DDiameterOfAMesh
(L0JK,IBSI,"Maximum 3D Diameter of a Mesh"), included from CID 7470
Definition: cid7469.h:384
DcmDecimalString BeamDoseSpecificationPoint
BeamDoseSpecificationPoint (300a,0082) vr=DS, vm=3, type=3.
Definition: drtrbs8.h:277
Item & operator=(const Item ©)
assigment operator
OFCondition getTableTopVerticalPosition(Float64 &value, const unsigned long pos=0) const
get TableTopVerticalPosition (300a,0128)
@ PT_XAXRFGrayscale
XA/XRF Grayscale Softcopy Presentation State (XGSPS)
Definition: dsrtypes.h:639
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Sint16 getLeft(const Sint32 left_pos=0) const
get x-coordinate of overlay plane origin
Definition: diovpln.h:123
@ _52_Manganese
(37225000,SCT,"^52^Manganese")
Definition: cid4020.h:68
Uint32 getTargetPrinterPortraitDisplayFormatColumns(const char *targetID, Uint32 idx)
returns one columns value from the DISPLAYFORMAT entry for the printer with the given target ID from ...
static OFBool fastSelectReadableAssociation(DcmTransportConnection *connections[], int connCount, int timeout)
indicates which of the specified transport connections is ready for reading.
Definition: jpegint12.h:56
This file contains implementations of synchronization primitives using the Win32 API.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence()
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtimage.h:2806
virtual OFCondition encode(Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint16 *image_buffer, Uint8 *&to, Uint32 &length)
single frame compression routine for 16-bit raw pixel data.
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
DcmIntegerString NumberOfPaintings
NumberOfPaintings (300a,039a) vr=IS, vm=1, type=1C.
Definition: drticps.h:797
OFBool validateSOPClassUID(OFString &sopclassuid)
check if the passed SOP Class UID is equal to the one stored in this object.
OFBool getTargetCorrectUIDPadding(const char *targetID)
returns the CORRECTUIDPADDING entry for the storage peer with the given target ID from the configurat...
OFCondition getDoseReferencePointCoordinates(Float64 &value, const unsigned long pos=0) const
get DoseReferencePointCoordinates (300a,0018)
virtual OFCondition getSpatialResolution(Float64 &value, const unsigned long pos=0) const
get SpatialResolution (0018,1050)
virtual OFCondition setContentTime(const OFString &value, const OFBool check=OFTrue)
set ContentTime (0008,0033)
void InitUint16(DiMonoModality *modality)
initialize internal data structures (for Uint16)
int getValue() const
returns the integer value maintained by this object
Definition: diqthitm.h:70
virtual ~FGInterface()
Virtual destructor, frees memory.
OFCondition getDVHMaximumDose(Float64 &value, const unsigned long pos=0) const
get DVHMaximumDose (3004,0072)
const DJCodecParameter * cparam
codec parameters
Definition: djeijg8.h:147
OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read list of references from XML document.
~DcmExtendedNegotiationItem()
destructor
virtual OFCondition check() const
Check whether data in functional group is valid.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
void deselect()
removes the selection of a current signature if present
Item EmptyItem
empty default item
Definition: drtdcs.h:540
DVPSGraphicObject_PList(const DVPSGraphicObject_PList ©)
copy constructor
OFBool isEmpty()
check if sequence is empty
Uint32 messageType
type of message
Definition: dvpsmsg.h:143
static OFCondition parseRoleSelectionItems(DcmAssociationConfiguration &cfg, OFConfigFile &config)
parses the role selection lists in the config file.
OFCondition setROIInterpreter(const OFString &value, const OFBool check=OFTrue)
set ROIInterpreter (3006,00a6)
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getReferencedRangeModulatorNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedRangeModulatorNumber (300c,0104)
virtual OFCondition setInstanceCreatorUID(const OFString &value, const OFBool check=OFTrue)
set InstanceCreatorUID (0008,0014)
OFString htmlImage
current image html page
Definition: dvsighdl.h:182
OFBool isActiveAnnotation()
gets the current setting of the annotation activity annotation flag.
Definition: dviface.h:1391
OFReadWriteLocker & operator=(const OFReadWriteLocker &arg)
unimplemented private assignment operator
virtual OFCondition setPatientName(const OFString &value, const OFBool check=OFTrue)
set patient's name
OFCondition setROINumber(const OFString &value, const OFBool check=OFTrue)
set ROINumber (3006,0022)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Float32 Column
column value (VR=FL)
Definition: dsrscogr.h:93
OFCondition setTreatmentMachineName(const OFString &value, const OFBool check=OFTrue)
set TreatmentMachineName (300a,00b2)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DVPSVOIWindow(const DVPSVOIWindow ©)
copy constructor
virtual OFBool isValid() const
check whether the currently stored date value is valid.
Item & operator=(const Item ©)
assigment operator
Item & operator=(const Item ©)
assigment operator
DRTContextGroupIdentificationSequence(const DRTContextGroupIdentificationSequence ©)
copy constructor
virtual ~Item()
destructor
virtual OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
static const char * DEF_FilenameExtension
default value for the filename extension appended to the generated filenames
Definition: dstorscp.h:296
size_t getNumberOfInstances() const
get number of instance stored in the list of series
OFCondition gotoNextItem()
goto next item in the sequence
const DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence() const
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtdose.h:2602
@ EVR_PixelData
used internally for uncompressed pixel data
Definition: dcvr.h:267
bool acceptOnMatch
Do we return ACCEPT when a match occurs.
Definition: filter.h:196
DcmDecimalString SpatialResolution
SpatialResolution (0018,1050) vr=DS, vm=1, type=3.
Definition: drtplan.h:3241
DcmLongString ClinicalTrialProtocolEthicsCommitteeName
ClinicalTrialProtocolEthicsCommitteeName (0012,0081) vr=LO, vm=1, type=1C.
Definition: drtiontr.h:2883
virtual Uint16 bytesPerSample() const
returns the number of bytes per sample that will be written when decoding.
Definition: djdijg8.h:78
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setMedicalAlerts(const OFString &value, const OFBool check=OFTrue)
set MedicalAlerts (0010,2000)
@ EXS_JPIPReferencedDeflate
JPIP Referenced Deflate.
Definition: dcxfer.h:103
void clear()
clears the hash table of all entries
@ OphthalmicPhotography
(OP,DCM,"Ophthalmic Photography")
Definition: cid29.h:92
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
void setEventHandler(DVPSPrintEventHandler *handler)
registers an event handler object for incoming N-EVENT-REPORTs.
Definition: dvpspr.h:210
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
void clear()
clear all internal member variables
int AdditionalPlanes
status, if true planes are added later with addPlane()
Definition: diovlay.h:465
double getRootMeanSquareError() const
return root mean square error
Definition: dcmicmph.h:128
virtual void flush()=0
instructs the consumer to flush its internal content until either the consumer becomes "flushed" or I...
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtss.h:407
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmShortString Occupation
Occupation (0010,2180) vr=SH, vm=1, type=3.
Definition: drtplan.h:3132
void setUpperElement(Uint16 ue)
converts entry into repeating tag entry by defining an upper limit for tag element
Definition: dcdicent.h:212
@ SFT_PROBABILITY
For fractional segmentations, a value defines probability that pixel belongs to segment.
Definition: segtypes.h:121
OFCondition getOrganAtRiskLimitDose(Float64 &value, const unsigned long pos=0) const
get OrganAtRiskLimitDose (300a,002b)
OFCondition setIsocenterToCompensatorDistances(const Float32 value, const unsigned long pos=0)
set IsocenterToCompensatorDistances (300a,02e6)
virtual OFCondition read(DcmItem &item)=0
Read functional group from given item.
@ CS_invalid
internal type used to indicate an error
Definition: dsrtypes.h:787
virtual OFBool isAllowableMACType(E_MACType macType) const =0
checks whether the given MAC type can be used with this security profile.
OFCondition getRangeShifterDescription(OFString &value, const signed long pos=0) const
get RangeShifterDescription (300a,0322)
virtual OFCondition getClinicalTrialSeriesID(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesID (0012,0071)
DcmLongString ContrastBolusRoute
ContrastBolusRoute (0018,1040) vr=LO, vm=1, type=3.
Definition: drtimage.h:5189
virtual OFCondition getContrastBolusIngredient(OFString &value, const signed long pos=0) const
get ContrastBolusIngredient (0018,1048)
OFCondition createFromImage(DcmItem &dset, DVPSoverlayActivation overlayActivation=DVPSO_copyOverlays, DVPSVOIActivation voiActivation=DVPSV_preferVOILUT, OFBool curveActivation=OFTrue, OFBool shutterActivation=OFTrue, OFBool presentationActivation=OFTrue, DVPSGraphicLayering layering=DVPSG_twoLayers, const char *aetitle=NULL, const char *filesetID=NULL, const char *filesetUID=NULL)
creates a default presentation state for a DICOM image.
OFBool hasChildNodes() const
check whether the current content item has any children
Definition: dsrdoctn.h:278
virtual E_VerificationFlag getVerificationFlag() const
get document verification flag.
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
virtual OFCondition getTreatmentTime(OFString &value, const signed long pos=0) const
get TreatmentTime (3008,0251)
int nChildNode() const
nbr of child node
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the continuity of content flag, is valid
OFCondition addImageReference(const char *sopclassUID, const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability)
add a new image reference.
@ EFG_PIXELINTENSITYRELLUT
Pixel Intensity Relationship LUT.
Definition: fgtypes.h:141
int numberOfEntries() const
returns the number of dictionary entries that were loaded either from file or from a built-in diction...
Definition: dcdict.h:84
OFCondition getBeamDoseSpecificationPoint(OFVector< Float64 > &value) const
get BeamDoseSpecificationPoint (300a,0082)
Item class.
Definition: drtcncs.h:37
DcmShortString EthnicGroup
EthnicGroup (0010,2160) vr=SH, vm=1, type=3.
Definition: drtdose.h:4108
static const OFBool has_infinity
OFTrue for all types T capable of representing the positive infinity as a distinct special value.
Definition: oflimits.h:247
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTDigitalSignaturesSequence DigitalSignaturesSequence
DigitalSignaturesSequence (fffa,fffa) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3192
Definition: dcmqrtis.h:58
unsigned long getInputCount() const
get number of pixels stored in the 'PixelData' element
Definition: dipixel.h:106
DcmTLSECUnknownCiphersuiteConst()
Constructor, initializes the OFConditionConst base.
virtual ~DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule()
destructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition gotoNextItem()
goto next item in the sequence
Interface class for ChannelSequence (300a,0280)
Definition: drtchs.h:30
Class to compute and store the GSDF lookup table.
Definition: digsdlut.h:39
OFCondition ReceiveAndHandleCommands(T_ASC_Association *assoc)
This function takes care of handling the other DICOM application's request.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
void unlockCout()
releases the lock on the cout stream.
Definition: ofconsol.h:94
DcmDecimalString TableTopEccentricAngleTolerance
TableTopEccentricAngleTolerance (300a,004e) vr=DS, vm=1, type=3.
Definition: drttts.h:351
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTChannelSequence & getChannelSequence()
get ChannelSequence (300a,0280)
Definition: drtass.h:191
virtual OFCondition cancelFindRequest(DcmQueryRetrieveDatabaseStatus *status)=0
cancel the ongoing FIND request, stop and reset every running operation associated with this request,...
void clear()
deletes all dictionary entries
OFCondition setGraphicType(const DSRTypes::E_GraphicType graphicType, const OFBool check=OFTrue)
set current graphic type.
Item & operator=(const Item ©)
assigment operator
@ EVR_item
used internally for items
Definition: dcvr.h:237
void addCDACommandlineOptions(OFCommandLine &cmd)
Add CDA specific command line options to the OFCommandLine object passed to the constructor.
virtual OFCondition getPatientDeathDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientDeathDateInAlternativeCalendar (0010,0034)
DcmCodeString graphicAnnotationUnits
VR=CS, VM=1, Type 1.
Definition: dvpsgr.h:129
int compare(const char *s) const
constructs a temporary string from the input and compares it with the current string
DSRNumericMeasurementValue & operator=(const DSRNumericMeasurementValue &numericMeasurement)
assignment operator
@ Fluoromisonidazole_F18
(422598008,SCT,"Fluoromisonidazole F^18^")
Definition: cid4021.h:162
Item EmptyItem
empty default item
Definition: drtpsss.h:315
DRTRequestAttributesSequence & getRequestAttributesSequence()
get RequestAttributesSequence (0040,0275)
Definition: drtplan.h:1856
OFBool refuse_
refuse all incoming associations
Definition: dcmqropt.h:110
consumer class that stores data in a plain file.
Definition: dcostrmf.h:36
OFCondition doPostReadChecks()
perform checks after reading of the dataset is considered complete.
DRTExposureSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual const DSRDocumentTreeNode * getChildNode() const
get pointer to first child node.
OFCondition writeDataset(DcmItem &dataset)
Write current object to given item.
DcmUnlimitedText UniversalEntityID
UniversalEntityID (0040,0032) vr=UT, vm=1, type=1C.
Definition: drtiseis.h:146
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
virtual OFCondition setPatientAge(const OFString &value, const OFBool checkValue=OFTrue)
Set Patient's Age (formatted as defined by VR "AS", see part 5 of the standard)
virtual void SetReturnPatientUidInAccessionNumber(OFBool)
Set value in a member variable in a derived class.
Definition: wlds.h:490
void invalidateReference()
invalidate reference to the target content item.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
static OFBool registered_
flag indicating whether the encoders are already registered.
Definition: djencode.h:85
OFFilename(const OFString &filename, const OFBool convert=OFFalse)
constructor expecting a character string as an OFString instance
DcmDecimalString CumulativeDoseToDoseReference
CumulativeDoseToDoseReference (3008,0052) vr=DS, vm=1, type=1.
Definition: drttscds.h:158
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
DcmShortText ClinicalTrialTimePointDescription
ClinicalTrialTimePointDescription (0012,0051) vr=ST, vm=1, type=3.
Definition: drtplan.h:3153
virtual OFBool isDeviceModulePresent(const OFBool complete=OFFalse)
check whether DeviceModule (U) is present.
~DcmPathProcessor()
Destructor, cleans up memory that was allocated for any search results.
const char * getConfigurationInformation()
gets the (optional) configuration information.
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableUnsigned64bitVeryLongVRGeneration
Global flag to enable/disable the generation of VR=UV, which has been introduced after the first edit...
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual ~DVPSOverlayCurveActivationLayer()
destructor
Definition: dulstruc.h:93
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getPerformedProcedureStepDescription(OFString &value, const signed long pos=0) const
get PerformedProcedureStepDescription (0040,0254)
virtual OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
virtual OFCondition readGeneric(DcmItem &dataset)
Read Parametric Map's generic (not directly pixel-data related) attributes from DICOM dataset.
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n")
check whether given string value conforms to the VR "AT" (Attribute Tag) and to the specified VM.
const Item & operator[](const size_t num) const
get particular item in the sequence
size_t getNumberOfSegments()
Get the Number of Segments.
virtual OFCondition setClinicalTrialSponsorName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSponsorName (0012,0010)
virtual OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
virtual OFCondition getClinicalTrialProtocolName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolName (0012,0021)
const OFStackLinkBase * base_top() const
returns element on top of stack.
Definition: ofstack.h:121
virtual OFCondition getPatientSexNeutered(OFString &value, const signed long pos=0) const
get PatientSexNeutered (0010,2203)
void clear()
clear all internal member variables
DcmUniqueIdentifier seriesInstanceUID
VR=UI, VM=1, Type 1c.
Definition: dvpsrs.h:185
DRTCalculatedDoseReferenceSequence & getCalculatedDoseReferenceSequence()
get CalculatedDoseReferenceSequence (3008,0070)
Definition: drtiontr.h:1203
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drtdose.h:4342
const char * getSmoothingType()
gets the (optional) smoothing type.
EnumType
types of PET radiopharmaceutical
Definition: cid4021.h:42
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtircs.h:397
virtual DJDecoder * createDecoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, OFBool isYBR) const
creates an instance of the compression library to be used for decoding.
virtual OFCondition addDimensionIndex(const DcmTagKey &dimensionIndexPointer, const OFString &dimensionOrganizationUID, const DcmTagKey &functionalGroupPointer, const OFString &dimensionDescriptionLabel="", const OFString &dimensionIndexPrivateCreator="", const OFString &functionalGroupPrivateCreator="")
Convenience method to add Dimension Index.
@ TSP_Profile_None
No security profile, start with an empty list of ciphersuites.
Definition: tlsciphr.h:50
OFCondition setRepositoryUniqueID(const OFString &value, const OFBool check=OFTrue)
set RepositoryUniqueID (0040,e030)
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrtrs2.h:147
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setAdmissionID(const OFString &value, const OFBool check=OFTrue)
set AdmissionID (0038,0010)
WlmDataSource & operator=(const WlmDataSource &Src)
Protected undefined operator=.
void clear()
clear all internal member variables
virtual OFCondition setReferringPhysicianName(const OFString &value, const OFBool check=OFTrue)
set referring physician's name
long getX509Version()
returns the format version of the X.509 certificate.
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
DRTIonControlPointSequence & operator=(const DRTIonControlPointSequence ©)
assigment operator
DRTPrimaryFluenceModeSequence PrimaryFluenceModeSequence
PrimaryFluenceModeSequence (3002,0050) vr=SQ, vm=1, type=3.
Definition: drtbs.h:771
virtual OFCondition getRelatedGeneralSOPClassUID(OFString &value, const signed long pos=0) const
get RelatedGeneralSOPClassUID (0008,001a)
Uint16 m_numberOfFailedSubops
Number of failed sub operations (in Q/R: C-STORE calls).
Definition: scu.h:164
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
OFCondition setIssuerOfPatientID(const OFString &value, const OFBool check=OFTrue)
set IssuerOfPatientID (0010,0021)
int ValidWindow
true, if current VOI-window is valid
Definition: dimoimg.h:1112
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setReferencedToleranceTableNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedToleranceTableNumber (300c,00a0)
virtual ~Item()
destructor
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a particular value as a character string
virtual DcmItem * remove(DcmItem *)
method inherited from base class that is useless in this class
Definition: dcpixseq.h:296
OFCondition read(DcmItem &item)
read elements from sequence item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTIssuerOfAccessionNumberSequence IssuerOfAccessionNumberSequence
IssuerOfAccessionNumberSequence (0008,0051) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2755
DCMTK_DCMNET_EXPORT OFGlobal< OFBool > dcmPeerRequiresExactUIDCopy
Global flag to enable/disable workaround code for some buggy Store SCUs in DIMSE_storeProvider().
DcmTransportLayerStatus setTLSProfile(DcmTLSSecurityProfile profile)
replace the current list of ciphersuites by the list of ciphersuites for the given profile.
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid7469.h:518
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition setLongitudinalTemporalInformationModified(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalInformationModified (0028,0303)
DRTStructureSetIOD & operator=(const DRTStructureSetIOD ©)
assigment operator
virtual OFCondition setClinicalTrialSiteID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteID (0012,0030)
const char * getGL()
get graphic layer name of this layer.
OFCondition detachValueField(OFBool copy=OFFalse)
detach the value field from the DICOM element (i.e., this object).
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item & operator=(const Item ©)
assigment operator
DcmPixelData & getPixelData()
get PixelData (7fe0,0010)
Definition: drtdose.h:1922
DcmDecimalString CumulativeMetersetWeight
CumulativeMetersetWeight (300a,0134) vr=DS, vm=1, type=2.
Definition: drticps.h:771
the representation of a Print Management SCP.
Definition: dvpsprt.h:45
ContentIdentificationMacro(const ContentIdentificationMacro &rhs)
Copy constructor.
virtual ~DRTSourceInstanceSequence()
destructor
Item & getItem(const size_t num)
get particular item in the sequence
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Get shared type of this functional group (can be both, shared and per-frame)
Definition: fgplanor.h:71
DRTInstitutionCodeSequence InstitutionCodeSequence
InstitutionCodeSequence (0008,0082) vr=SQ, vm=1, type=1C.
Definition: drtporis.h:202
OFCondition gotoFirstItem()
goto first item in the sequence
Uint32 getTargetPrinterNumberOfMagnificationTypes(const char *targetID)
returns the number of distinct values (separated by backslash characters) in the MAGNIFICATIONTYPE en...
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition setReferencedBeamNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedBeamNumber (300c,0006)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTIssuerOfAdmissionIDSequence IssuerOfAdmissionIDSequence
IssuerOfAdmissionIDSequence (0038,0014) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3055
virtual void Remove(const T &item)
Removes one item from the set.
Definition: ofuoset.h:170
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getReferencedToleranceTableNumber(OFString &value, const signed long pos=0) const
get ReferencedToleranceTableNumber (300c,00a0)
DcmUnsignedShort overlayBitPosition
VR=US, VM=1, Type=1.
Definition: dvpsov.h:157
void clearerr()
clears the end-of-file and error indicators for the stream
Definition: offile.h:603
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Item & operator=(const Item ©)
assigment operator
virtual OFCondition setPatientDeathDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientDeathDateInAlternativeCalendar (0010,0034)
DcmLongString m_ContentDescription
Content Description: (LO, VM 1, Type 1)
Definition: iodmacro.h:1021
OFGlobal()
unimplemented private default constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtxrs.h:308
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence()
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtiontr.h:1539
virtual OFCondition getInstanceCreatorUID(OFString &value, const signed long pos=0) const
get InstanceCreatorUID (0008,0014)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtspccs.h:349
virtual OFCondition setPerformedProcedureStepStartTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartTime (0040,0245)
size_t size() const
get number of VOI LUTs in this list.
Definition: dvpsvll.h:76
void clearPresentationContexts()
clear list of presentation contexts.
DJLSCodecParameter & operator=(const DJLSCodecParameter &)
private undefined copy assignment operator
OFBool freopen(const char *filename, const char *modes)
opens the file whose name is the string pointed to by path and associates the stream pointed maintain...
Definition: offile.h:445
OFCondition goAndCheckImageLibraryEntry(const DSRCodedEntryValue &modalityCode)
go to the most recently added image library entry and check the value of the associated descriptor 'M...
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrshs6.h:162
void clear()
clear all internal member variables
DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence()
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtstrct.h:1242
static const OFConditionConst & convert(JLS_ERROR error)
This method converts a CharLS error code into a dcmjpls OFCondition.
Definition: djerror.h:43
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
@ SubcutaneousRoute
(34206005,SCT,"Subcutaneous route")
Definition: cid11.h:50
virtual OFCondition getAdmissionID(OFString &value, const signed long pos=0) const
get AdmissionID (0038,0010)
DicomImage(DcmObject *object, const E_TransferSyntax xfer, const unsigned long flags=0, const unsigned long fstart=0, const unsigned long fcount=0)
constructor, use a given DcmObject
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getBeamLimitingDeviceRotationDirection(OFString &value, const signed long pos=0) const
get BeamLimitingDeviceRotationDirection (300a,0121)
void clear()
clear all internal member variables
DRTReferencedImageSequence & getReferencedImageSequence()
get ReferencedImageSequence (0008,1140)
Definition: drtionpl.h:1703
E_TransferSyntax writeTransferSyntax_
transfer syntax for writing
Definition: dcmqropt.h:152
DcmInputStream * getStream()
return input stream
Definition: dcfcache.h:85
const OFString & getValue() const
get string value
Definition: dsrstrvl.h:153
OFCondition setContinuityOfContent(const E_ContinuityOfContent continuityOfContent, const OFBool check=OFTrue)
set continuity of content flag.
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual void setName(const log4cplus::tstring &name)
Set the name of this appender.
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrsts.h:142
DcmUIDHandler & operator=(const DcmUIDHandler &arg)
copy assignment operator
EP_Representation
internal representation of pixel data
Definition: diutils.h:205
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition getClinicalTrialSeriesDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesDescription (0012,0072)
DJCompressIJG8Bit(const DJCompressIJG8Bit &)
private undefined copy constructor
DcmTag & operator=(const DcmTag &tag)
copy assignment operator
DSRImageSegmentList()
default constructor
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
each object of this class manages one entry of the global DICOM data dictionary.
Definition: dcdicent.h:59
TID1411_Measurements & getVolumetricROIMeasurements() const
get volumetric ROI measurements of this report as defined by TID 1411 (Volumetric ROI Measurements),...
Definition: tid1500.h:205
OFCondition getRangeShifterID(OFString &value, const signed long pos=0) const
get RangeShifterID (300a,0318)
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const_iterator end() const
Return const iterator pointing behind last frame (not sorted after stack position)
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFCondition setClinicalTrialProtocolID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolID (0012,0020)
Item & getItem(const size_t num)
get particular item in the sequence
DRTGeneticModificationsCodeSequence GeneticModificationsCodeSequence
GeneticModificationsCodeSequence (0010,0229) vr=SQ, vm=1, type=3.
Definition: drtgms.h:145
virtual OFCondition setStrainAdditionalInformation(const OFString &value, const OFBool check=OFTrue)
set StrainAdditionalInformation (0010,0218)
OFCondition removeItem()
remove the current item from the list of referenced SOP instances.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFBool getForceSingleFragmentPerFrame() const
returns flag indicating whether one fragment per frame should be enforced while decoding
Definition: djcparam.h:321
virtual OFCondition createFloat64Array(const Uint32 numDoubles, Float64 *&doubleVals)
create an empty Float64 array of given number of double values and set it.
OFString(size_t rep, char c)
Constructs a string object with the character c repeated rep times.
virtual OFBool Contains(const T &item) const =0
Determines if a certain item is contained in the set.
TrcTractographyResultsModule m_TractographyResultsModule
Tractography Results Module.
Definition: trctractographyresults.h:277
virtual OFCondition setClinicalTrialSiteID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteID (0012,0030)
DVPSPresentationSizeMode getDisplayedAreaPresentationSizeMode()
gets the presentation size mode for the current image and frame.
OFBool equal(unsigned long tID)
checks if the given thread ID matches the thread ID of the thread referenced by this object.
const OFString & getCodingSchemeRegistry(OFString &stringValue) const
get the coding scheme registry of the currently selected item
DcmDecimalString MeasuredLateralDimension
MeasuredLateralDimension (0010,1024) vr=DS, vm=1, type=3.
Definition: drttreat.h:2792
const DRTTreatmentSessionIonBeamSequence & getTreatmentSessionIonBeamSequence() const
get TreatmentSessionIonBeamSequence (3008,0021)
Definition: drtiontr.h:1869
void getDataSint16(void *buffer, DiDisplayFunction *disp, const int samples, const unsigned long frame, const int bits, const Uint32 low, const Uint32 high)
get pixel data with specified format for Sint16 input (helper function).
OFTime(const unsigned int hour, const unsigned int minute, const double second, const double timeZone=0)
constructor with init values
static Logger getInstance(const log4cplus::tstring &name, spi::LoggerFactory &factory)
Like getInstance() except that the type of logger instantiated depends on the type returned by the {}...
E_CompressionColorSpaceConversion compressionCSConversion
color conversion mode for compression
Definition: djcparam.h:332
unsigned int Bits
number of bits
Definition: dimomod.h:256
OFBool isEmpty()
check if sequence is empty
static OFBool rangeMatchingDate(const void *queryData, const size_t querySize, const void *candidateData, const size_t candidateSize)
Match the query date or date range and the candidate date.
OFCondition findAndGetSint16Array(const DcmTagKey &tagKey, const Sint16 *&value, unsigned long *count=NULL, const OFBool searchIntoSub=OFFalse)
find element and get value as an array of signed 16-bit integers.
XMLAttribute * updateAttribute(XMLCSTR lpszNewValue, XMLCSTR lpszNewName, XMLCSTR lpszOldName)
set lpszNewName=NULL if you don't want to change the name of the attribute if the attribute to update...
OFBool operator>(const DSRGraphicDataItem &item) const
comparison operator
Definition: dsrscogr.h:85
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=3.
Definition: drttms9.h:204
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n")
check whether given string value conforms to the VR "AS" (Age String) and to the specified VM.
@ RT_hasAcqContext
DICOM Relationship Type: HAS ACQ CONTEXT.
Definition: dsrtypes.h:565
virtual ~DRTReferencedPatientSequence()
destructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmIntegerString ReferencedWedgeNumber
ReferencedWedgeNumber (300c,00c0) vr=IS, vm=1, type=1.
Definition: drtiwps.h:151
DcmIntegerString ParameterItemIndex
ParameterItemIndex (3008,0063) vr=IS, vm=1, type=1.
Definition: drtcpas.h:167
size_t getNumberOfItems() const
get number of items in the sequence
DRTContributingEquipmentSequence ContributingEquipmentSequence
ContributingEquipmentSequence (0018,a001) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3177
@ Sonologist
(121092,DCM,"Sonologist")
Definition: cid7452.h:88
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrbls.h:350
DcmTime StructureSetTime
StructureSetTime (3006,0009) vr=TM, vm=1, type=2.
Definition: drtdose.h:4617
const int flags_
Flags that this test has.
Definition: oftest.h:136
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTLateralSpreadingDeviceSequence LateralSpreadingDeviceSequence
LateralSpreadingDeviceSequence (300a,0332) vr=SQ, vm=1, type=1C.
Definition: drtibs.h:997
Metafunction to determine if two types are identical.
Definition: oftraits.h:391
DVPSVOIWindow_PList * clone()
clone method.
Definition: dvpsvwl.h:51
double Start
reference/start time
Definition: oftimer.h:77
DcmTime PatientBirthTime
PatientBirthTime (0010,0032) vr=TM, vm=1, type=3.
Definition: drtimage.h:4805
const char * c_str() const
returns a pointer to the initial element of an array of length size()+1 whose first size() elements e...
Definition: ofstring.h:393
OFBool usesExtendedLengthEncoding() const
returns true if VR uses an extended length encoding for explicit transfer syntaxes
@ AcromioclavicularJoint
(85856004,SCT,"Acromioclavicular joint")
Definition: cid4031.h:48
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
DRTIssuerOfServiceEpisodeIDSequence IssuerOfServiceEpisodeIDSequence
IssuerOfServiceEpisodeIDSequence (0038,0064) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2818
const DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence() const
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtstrct.h:1728
DicomDirInterface(const DicomDirInterface &obj)
private undefined copy constructor
virtual OFCondition getSeriesDate(OFString &value, const signed long pos=0) const
get series date
const DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence() const
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtionpl.h:1433
virtual ~DcmQueryRetrieveIndexDatabaseHandleFactory()
destructor
unsigned short getTargetPort(const char *targetID)
returns the PORT entry for the communication partner with the given target ID from the configuration ...
Item & operator=(const Item ©)
assigment operator
OFCondition getBlockData(OFString &value, const signed long pos=0) const
get BlockData (300a,0106)
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=2.
Definition: drtimage.h:5037
Definition: property.h:43
DSRTreeNodeCursor< T > & operator=(const DSRTreeNodeCursor< T > &cursor)
assignment operator
Definition: dsrtncsr.h:368
@ Flutemetamol_F18
(456997008,SCT,"Flutemetamol F^18^")
Definition: cid4021.h:172
const Item & operator[](const size_t num) const
get particular item in the sequence
Item(const Item ©)
copy constructor
OFCondition getGLRecommendedDisplayValueGray(Uint16 &gray)
gets the recommended grayscale display value.
@ VT_Composite
DICOM Value Type: COMPOSITE.
Definition: dsrtypes.h:607
size_t getNumberOfItems() const
get number of items in the sequence
DcmShortString StationName
StationName (0008,1010) vr=SH, vm=1, type=3.
Definition: drttreat.h:2896
double AbsMaximum
absolute maximum pixel value
Definition: dimomod.h:263
virtual OFCondition getVolumeBasedCalculationTechnique(OFString &value, const signed long pos=0)
Get Volume Based Calculation Technique.
static OFFilename & combineDirAndFilename(OFFilename &result, const OFFilename &dirName, const OFFilename &fileName, const OFBool allowEmptyDirName=OFFalse)
combine the given directory and file name.
const Item & operator[](const size_t num) const
get particular item in the sequence
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtrscs.h:211
virtual OFCondition getTreatmentTime(OFString &value, const signed long pos=0) const
get TreatmentTime (3008,0251)
DcmTime TimeOfLastCalibration
TimeOfLastCalibration (0018,1201) vr=TM, vm=1-n, type=3.
Definition: drtplan.h:3245
virtual OFCondition setIrradiationEventUID(const OFString &value, const OFBool check=OFTrue)
set IrradiationEventUID (0008,3010)
virtual OFCondition setPatientSize(const OFString &value, const OFBool checkValue=OFTrue)
Set Patient's Size (in meters)
OFBool operator==(const DSRCodedEntryValue &codedEntryValue) const
comparison operator "equal".
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getReferencedFrameNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFrameNumber (0008,1160)
Metafunction to determine if a type is an integer.
Definition: oftraits.h:420
@ _68_Germanium
(53315004,SCT,"^68^Germanium")
Definition: cid4020.h:86
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFList< DcmSCUPresContext > m_presContexts
List of presentation contexts that should be negotiated.
Definition: scu.h:1017
void overlay(DiOverlay *overlays[2], DiDisplayFunction *disp, const Uint16 columns, const Uint16 rows, const unsigned long frame)
apply the currently active overlay planes to the output data
Definition: dimoopxt.h:1144
@ DcmLargestDimensionType_default
determine dimension by comparing the range in RGB space (default)
Definition: diqttype.h:58
virtual OFCondition getLaterality(LATERALITY &value)
Get Laterality.
E_ParamValueStatus getParamAndCheckMinMax(const int pos, OFCmdSignedInt &value, const OFCmdSignedInt low, const OFCmdSignedInt high)
gets value of specified parameter as signed integer and checks for given boundaries
virtual OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
get series instance UID
OFCondition setNumberOfBrachyApplicationSetups(const OFString &value, const OFBool check=OFTrue)
set NumberOfBrachyApplicationSetups (300a,00a0)
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtcbars.h:354
virtual OFCondition getDerivationDescription(OFString &value, const signed long pos=0) const
get DerivationDescription (0008,2111)
OFCondition setIconSize(const unsigned int size)
set preferred size of the icon images.
virtual OFCondition setContentIdentification(const ContentIdentificationMacro &contentIdentification, const OFBool checkValue=OFTrue)
Set content identification info for this segmentation object.
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 element to a stream.
void clear()
reset the object to initial state.
int setIlluminationValue(const double value)
set illumination value.
DCMTK_LOG4CPLUS_EXPORT log4cplus::tstring toLower(const log4cplus::tstring &s)
Returns s in lower case.
OFCondition getPrivateGroupReference(Uint16 &value, const unsigned long pos=0) const
get PrivateGroupReference (0008,0301)
Item EmptyItem
empty default item
Definition: drtfds.h:395
virtual OFCondition getStudyDescription(OFString &value, const signed long pos=0) const
get StudyDescription (0008,1030)
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence()
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtplan.h:1664
void replaceString(DVPSObjectType objtype, const char *str)
replaces the current HTML page for the given object type by the new string.
DcmDate patientBirthDate
Module=Patient, VR=DA, VM=1, Type 2.
Definition: dvpssp.h:959
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode
class representing a DICOM Sequence of Items (SQ).
Definition: dcsequen.h:44
Class for XML documents.
Definition: dsrxmld.h:57
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtcss.h:335
void finishRow()
finishes error diffusion for one image row.
Definition: diqtfs.h:154
static OFCondition convertToSecondaryCapture(DcmItem *dataset)
helper function that converts a dataset containing a DICOM image into a valid (standard extended) Sec...
virtual OFCondition setROIMean(const OFString &value, const OFBool check=OFTrue)
set ROIMean (60xx,1302)
void clearIndexCache()
clears index cache (includes pstate cache)
Interface class for BrachyAccessoryDeviceSequence (300a,0260)
Definition: drtbads.h:28
void switchVerticalCorners()
swaps the vertical (Y) components of TLHC and BRHC
void clear()
clear all internal member variables
OFCondition instanceReviewed(int idx)
clear the "is new" flag for the instance with the given index
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const DRTDerivationCodeSequence & getDerivationCodeSequence() const
get DerivationCodeSequence (0008,9215)
Definition: drtssrs.h:169
OFCondition read(DcmItem &item)
read elements from sequence item
DcmUniqueIdentifier EncryptedContentTransferSyntaxUID
EncryptedContentTransferSyntaxUID (0400,0510) vr=UI, vm=1, type=1.
Definition: drteas.h:132
OFCondition getBlockData(OFString &value, const signed long pos=0) const
get BlockData (300a,0106)
virtual OFCondition setStudyDescription(const OFString &value, const OFBool check=OFTrue)
set StudyDescription (0008,1030)
ContentQualification
Enum for attribute Content Qualification.
Definition: dpmtypes.h:63
DSRTreeNodeAnnotation(const OFString &text=OFString())
(default) constructor
Definition: dsrtnant.h:45
OFCondition addQualitativeEvaluation(const DSRCodedEntryValue &conceptName, const OFString &stringValue, const OFBool check=OFTrue)
add a qualitative evaluation related to the subject of the measurement group in text form (TID 1411 -...
DRTStrainSourceRegistryCodeSequence StrainSourceRegistryCodeSequence
StrainSourceRegistryCodeSequence (0010,0215) vr=SQ, vm=1, type=1.
Definition: drtsss.h:147
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrcps.h:141
virtual OFCondition getPatientSize(Float64 &value, const unsigned long pos=0) const
get PatientSize (0010,1020)
OFListIterator(Item *) CurrentItem
currently selected item
IODEnhGeneralEquipmentModule m_EnhancedGeneralEquipmentModule
IODEnhancedEquipmentModule.
Definition: segdoc.h:581
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getPatientSupportRotationDirection(OFString &value, const signed long pos=0) const
get PatientSupportRotationDirection (300a,0123)
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
DcmQuantComponent red
red color component of this pixel
Definition: diqtpix.h:155
@ FOM_Normal
normal find
Definition: ofcmdln.h:213
static double labf(double n)
CIE L*a*b* f function (used to convert XYZ to L*a*b*)
OFCondition setCumulativeDoseReferenceCoefficient(const OFString &value, const OFBool check=OFTrue)
set CumulativeDoseReferenceCoefficient (300a,010c)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmDecimalString NominalPriorDose
NominalPriorDose (300a,001a) vr=DS, vm=1, type=3.
Definition: drtdrs.h:497
Configuration class for the Softcopy Presentation State viewer.
Definition: dvpscf.h:41
virtual OFBool operator!=(const OFDate &dateVal) const
comparison operator (unequal)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtdias.h:311
EJ_Mode modeofOperation
enum for mode of operation (baseline, sequential, progressive etc.)
Definition: djeijg16.h:153
const struct sockaddr_in * getSockaddr_in_const() const
access socket address storage object as const struct sockaddr_in (IPv4 address)
Definition: ofsockad.h:87
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Item & operator=(const Item ©)
assigment operator
DcmIntegerString ReferencedDoseReferenceNumber
ReferencedDoseReferenceNumber (300c,0051) vr=IS, vm=1, type=1C.
Definition: drtmdrs.h:217
OFCondition setContent(const char *instanceuid, const char *retrieveaetitle, const char *refstudyuid, const char *refseriesuid, const char *refsopclassuid, const char *refsopinstanceuid, const char *requestedimagesize, const char *patientid, const char *presentationlutreference)
sets the content of this image box object.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
@ UNIQUE_KEY
unique key
Definition: dcmqridx.h:54
virtual OFCondition getBurnedInAnnotation(OFString &value, const signed long pos=0)
Get Burned-In Annotation.
const E_DeviceType DeviceType
output device type (monitor, camera, printer or scanner)
Definition: didispfn.h:440
DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence()
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtplan.h:1916
DcmLongString PatientDeathDateInAlternativeCalendar
PatientDeathDateInAlternativeCalendar (0010,0034) vr=LO, vm=1, type=3.
Definition: drtionpl.h:2894
void stepUp()
implements increment operator on hash dictionary
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition getTimezoneOffsetFromUTC(OFString &value, const signed long pos=0) const
get TimezoneOffsetFromUTC (0008,0201)
const DRTPatientSizeCodeSequence & getPatientSizeCodeSequence() const
get PatientSizeCodeSequence (0010,1021)
Definition: drtdose.h:2290
virtual DcmObject * clone() const
clone method
Definition: dcvrtm.h:66
OFdirectory_iterator & FindNextWorklistFile(OFdirectory_iterator &it)
Increment the given directory iterator until it refers to a worklist file (or past-the-end).
OFCondition gotoNextItem()
goto next item in the sequence
DcmLongString PatientSpeciesDescription
PatientSpeciesDescription (0010,2201) vr=LO, vm=1, type=1C.
Definition: drtplan.h:2999
OFBool m_keepAPPn
If true, APPn markers (except JFIF!) are also copied to the output file.
Definition: i2djpgs.h:346
virtual OFBool isValid() const
check whether the content item is valid.
size_t getNumberOfItems() const
get number of items in the sequence
virtual ~DRTIonWedgeSequence()
destructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition getRTBeamLimitingDeviceType(OFString &value, const signed long pos=0) const
get RTBeamLimitingDeviceType (300a,00b8)
DRTReferencedPerformedProcedureStepSequence ReferencedPerformedProcedureStepSequence
ReferencedPerformedProcedureStepSequence (0008,1111) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4295
virtual OFCondition decode(const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *pixSeq, DcmPolymorphOBOW &uncompressedPixelData, const DcmCodecParameter *cp, const DcmStack &objStack) const
decompresses the given pixel sequence and stores the result in the given uncompressedPixelData elemen...
Item class.
Definition: drtmss.h:36
OFCondition deleteInstance(const char *studyUID, const char *seriesUID, const char *instanceUID)
deletes the given instance from the database.
DcmShortString SnoutID
SnoutID (300a,030f) vr=SH, vm=1, type=1.
Definition: drtrsns.h:132
OFListIterator(Item *) CurrentItem
currently selected item
DRTRTReferencedSeriesSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmUniqueIdentifier IrradiationEventUID
IrradiationEventUID (0008,3010) vr=UI, vm=1-n, type=3.
Definition: drtdose.h:4406
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setPatientAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientAlternativeCalendar (0010,0035)
virtual void putback(offile_off_t num)
resets the stream to the position by the given number of bytes.
virtual OFCondition finalize(unsigned char *result)=0
finalizes the MAC and writes it to the given output array, which must be at least getSize() bytes lar...
void clear()
clear all internal member variables
DcmCodeString UniversalEntityIDType
UniversalEntityIDType (0040,0033) vr=CS, vm=1, type=1C.
Definition: drtafs.h:148
virtual OFCondition setSamplesPerPixel(const Uint16 value, const OFBool checkValue=OFTrue)
Set Samples per Pixel.
const unsigned long CIF_UsePartialAccessToPixelData
use partial access to pixel data, i.e.
Definition: diutils.h:94
const char * getVoiTransformationExplanation() const
get description of active VOI transformation
Definition: dcmimage.h:807
DSRTreeNode * getDown() const
get pointer to first child node
Definition: dsrtree.h:104
OFCondition setEnhancedEncodingMode(const OFString &contextIdentifier, const OFString &mappingResource, const OFString &contextGroupVersion, const OFString &contextUID="", const OFString &localVersion="", const OFString &extensionCreatorUID="", const OFBool check=OFTrue)
specify the "Enhanced Encoding Mode" for this code.
OFCondition getUniqueDeviceIdentifier(OFString &value, const signed long pos=0) const
get UniqueDeviceIdentifier (0018,1009)
virtual OFCondition setCodeMeaning(const OFString &value, const OFBool checkValue=OFTrue)
Set Code Meaning.
Class representing the General Equipment Module:
Definition: modequipment.h:42
OFString ContextUID
Context UID (VR=UI, type 2)
Definition: dsrcodvl.h:726
virtual OFCondition setClinicalTrialTimePointDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointDescription (0012,0051)
DcmPersonName OperatorsName
OperatorsName (0008,1070) vr=PN, vm=1-n, type=2.
Definition: drtimage.h:4994
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
Interface class for SourceSequence (300a,0210)
Definition: drtss.h:28
virtual OFCondition setTableTopVerticalPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopVerticalPosition (300a,0128)
virtual size_t numThreads(const OFBool onlyBusy)
Get number of currently active connections.
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
virtual ~Item()
destructor
virtual ~Item()
destructor
DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence()
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtdose.h:2656
DcmUniqueIdentifier m_TrackingUID
Tracking UID (UI, 1, 1C)
Definition: segment.h:332
virtual OFCondition setClinicalTrialProtocolName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolName (0012,0021)
CID10033_CTReconstructionAlgorithm(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
OFCondition getToleranceTableLabel(OFString &value, const signed long pos=0) const
get ToleranceTableLabel (300a,0043)
OFCondition setHighDoseTechniqueType(const OFString &value, const OFBool check=OFTrue)
set HighDoseTechniqueType (300a,00c7)
virtual void inventMissing()
Set missing values by inventing "default values".
DcmShortText m_DerivationDescription
Derivation Description: (ST, 1, 3)
Definition: fgderimg.h:292
OFCondition getBrachyApplicationSetupDoseSpecificationPoint(Float64 &value, const unsigned long pos=0) const
get BrachyApplicationSetupDoseSpecificationPoint (300a,00a2)
DcmIntegerString MeasuredDoseReferenceNumber
MeasuredDoseReferenceNumber (3008,0064) vr=IS, vm=1, type=1C.
Definition: drtmdrs.h:211
DRTApplicatorSequenceInRTIonBeamsModule ApplicatorSequence
ApplicatorSequence (300a,0107) vr=SQ, vm=1, type=3.
Definition: drtibs.h:957
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item(const Item ©)
copy constructor
unsigned long getValue(const DcmTagKey &tag, const char *&returnVal, DcmItem *item=NULL) const
get value of given tag (const char *)
This class is a combination of OFDate and OFTime.
Definition: ofdatime.h:40
virtual OFCondition setStudyID(const OFString &value, const OFBool check=OFTrue)
set study ID
void clear()
clear all internal member variables
Item & operator=(const Item ©)
assigment operator
OFCondition getCompensatorPosition(OFString &value, const signed long pos=0) const
get CompensatorPosition (300a,00ea)
const char * getPrinterFilmSessionLabel()
gets the (optional) printer film session label.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item & getCurrentItem()
get current item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence()
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtdose.h:2332
void setGLRecommendedDisplayValueRGB(Uint16 r, Uint16 g, Uint16 b)
set graphic layer recommended RGB display value of this layer.
Class that holds a set of IODReference instances (or its sub classes) and offers helper functionality...
Definition: iodreferences.h:284
virtual ContentIdentificationMacro & getContentIdentification()
Get Content Identification Macro.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setPersonAddress(const OFString &value, const OFBool check=OFTrue)
set PersonAddress (0040,1102)
OFBool isEmpty()
check if item is empty
DcmLongString ClinicalTrialCoordinatingCenterName
ClinicalTrialCoordinatingCenterName (0012,0060) vr=LO, vm=1, type=2.
Definition: drttreat.h:2881
OFCondition modifyOrInsertFromFile(OFString tag_path, const OFString &filename, const OFBool only_modify, const OFBool update_metaheader=OFTrue, const OFBool ignore_missing_tags=OFFalse, const OFBool no_reservation_checks=OFFalse)
Modifies/Inserts a path with a specific value read from file.
virtual OFCondition getContentTime(OFString &value, const signed long pos=0)
Get Content Time (from Tractography Results Module)
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
virtual OFCondition getRecommendedDisplayFrameRate(OFString &value, const signed long pos=0) const
get RecommendedDisplayFrameRate (0008,2144)
time_t sec() const
Returns seconds value.
Definition: timehelp.h:74
virtual size_t goDown()
goto first child node (one level down)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition setLastMenstrualDate(const OFString &value, const OFBool check=OFTrue)
set LastMenstrualDate (0010,21d0)
Item class.
Definition: drtass.h:39
void handleClient()
confirms an association negotiated with negotiateAssociation() and handles all DIMSE communication fo...
virtual IODMultiFrameFGModule & getIODMultiFrameFGModule()
Get Multi-frame Functional Groups Module.
virtual ssize_t read(void *buf, size_t nbyte)
attempts to read nbyte bytes from the transport connection and writes them into the given buffer.
@ VT_Text
DICOM Value Type: TEXT.
Definition: dsrtypes.h:585
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
@ IE_UNDEFINED
Undefined Information Entity (i.e. no value set)
Definition: iodtypes.h:88
@ SFT_UNKNOWN
Unknown (e.g. not initialized)
Definition: segtypes.h:119
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition findAndGetUint64(const DcmTagKey &tagKey, Uint64 &value, const unsigned long pos=0, const OFBool searchIntoSub=OFFalse)
find element and get value as an unsigned 64-bit integer.
OFCondition setHomeCommunityID(const OFString &value, const OFBool check=OFTrue)
set HomeCommunityID (0040,e031)
int timeout
timeout for receive
Definition: dvpsprt.h:275
DRTLateralSpreadingDeviceSequence & getLateralSpreadingDeviceSequence()
get LateralSpreadingDeviceSequence (300a,0332)
Definition: drtibs.h:588
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTDerivationCodeSequence DerivationCodeSequence
DerivationCodeSequence (0008,9215) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3341
static OFCondition parseTagFromPath(OFString &path, DcmTag &tag)
Function that parses a tag from the beginning of a path string.
OFBool enableInventMode(const OFBool newMode=OFTrue)
enable/disable the "invent missing values" mode.
virtual ~DRTReferencedDoseReferenceSequenceInRTIonBeamsModule()
destructor
DRTContrastBolusAgentSequence(const DRTContrastBolusAgentSequence ©)
copy constructor
void getStatusString(const E_ValueStatus status, OFString &statusStr)
returns status of getValue() as a C++ string
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtmls.h:155
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmUnsignedShort LargestImagePixelValue
LargestImagePixelValue (0028,0107) vr=US/SS, vm=1, type=3.
Definition: drtdose.h:4454
E_EncodingType opt_oenctype
*assign default values for file encoding and padding
Definition: dcencdoc.h:246
@ PeakValueWithinROI
(126031,DCM,"Peak Value Within ROI")
Definition: cid7464.h:58
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition gotoFirstItem()
goto first item in the sequence
DcmAssociationConfiguration(const DcmAssociationConfiguration &arg)
Copy constructor, performs deep copy.
OFBool operator==(const DSRGraphicDataItem &item) const
comparison operator
Definition: dsrscogr.h:58
Item & operator=(const Item ©)
assigment operator
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
virtual OFCondition getPerformedProcedureStepID(OFString &value, const signed long pos=0) const
get PerformedProcedureStepID (0040,0253)
virtual OFCondition selectValue(const DSRCodedEntryValue &codedEntryValue, const OFBool check=OFTrue, const OFBool definedContextGroup=OFFalse)
select a given coded entry as the current value
Item & operator=(const Item ©)
assigment operator
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTOtherPatientIDsSequence & getOtherPatientIDsSequence()
get OtherPatientIDsSequence (0010,1002)
Definition: drttreat.h:1395
const DRTProcedureCodeSequence & getProcedureCodeSequence() const
get ProcedureCodeSequence (0008,1032)
Definition: drtionpl.h:1673
static OFCondition togglePlanarConfiguration8(Uint8 *pixelData, const size_t numValues, const Uint16 samplesPerPixel, const Uint16 oldPlanarConfig)
toggles Planar Configuration of 8-bit pixel data from "by pixel" to "by plane" and vice versa.
DcmAgeString(const DcmTag &tag, const Uint32 len=0)
constructor.
const OFString & getDestinationCharacterSet() const
get currently selected destination DICOM character set.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition setTimeOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set TimeOfLastCalibration (0018,1201)
virtual FunctionalGroups::const_iterator end() const
Const iterator pointing behind last functional group in the set.
virtual unsigned int getSegmentNumber()
Get Segment Number.
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
virtual OFCondition getXRayImageReceptorAngle(OFString &value, const signed long pos=0) const
get XRayImageReceptorAngle (3002,000e)
virtual OFCondition getOperatorsName(OFString &value, const signed long pos=0) const
get OperatorsName (0008,1070)
virtual void * getDataPtr()
get pointer to output pixel data
Definition: dimoopxt.h:176
@ EXS_JPEGProcess6_8
JPEG Spectral Selection, Non-Hierarchical (lossy, 8/12 bit)
Definition: dcxfer.h:55
virtual OFBool canWriteXfer(const E_TransferSyntax newXfer, const E_TransferSyntax oldXfer)
tests if it is possible to write a specific representation Only existing representations are consider...
OFCondition applyPathWithValue(DcmDataset *dataset, const OFString &overrideKey)
Helper function that applies a specified "override key" in path syntax to the given dataset.
virtual ~DiYBRPart422Image()
destructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtsis.h:205
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtrscs.h:351
const Item & operator[](const size_t num) const
get particular item in the sequence
const DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence() const
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtplan.h:1646
static OFString recordTypeToName(const E_DirRecType recordType)
get string associated with the given directory record entry type.
SiBaseRSAProfile()
default constructor
Definition: sibrsapr.h:40
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTPersonIdentificationCodeSequence & getPersonIdentificationCodeSequence()
get PersonIdentificationCodeSequence (0040,1101)
Definition: drtrpis.h:148
unsigned long Flags
configuration flags
Definition: didocu.h:412
virtual OFCondition insertSub(DcmDirectoryRecord *dirRec, unsigned long where=DCM_EndOfListIndex, OFBool before=OFFalse)
insert a child directory record
OFBool cipher3DESsupported() const
checks if the 3DES ciphersuite TLS_RSA_WITH_3DES_EDE_CBC_SHA is supported by the underlying OpenSSL l...
void clear()
clear all internal member variables
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
OFCondition read(DcmItem &item)
read elements from sequence item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Interface class for TID 1411 in module dcmsr/cmr.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getCompensatorTransmissionData(Float64 &value, const unsigned long pos=0) const
get CompensatorTransmissionData (300a,00eb)
DRTCalculatedDoseReferenceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
unsigned long addToHashTable(DicomImage &image, unsigned long newmaxval, unsigned long maxcolors)
adds all pixels of all frames of the given image (which must be a color image) to the hash table.
OFCondition NegotiateAssociation(T_ASC_Association *assoc)
This function negotiates a presentation context which will be used by this application and the other ...
EnumType
types of device participating roles
Definition: cid7445.h:42
@ MillimolesPerKgWetWeight
(mmol/kg{WetWeight},UCUM,"millimoles per kg wet weight")
Definition: cid7181.h:168
OFCondition getToleranceTableNumber(Sint32 &value, const unsigned long pos=0) const
get ToleranceTableNumber (300a,0042)
OFCondition setNumberOfScanSpotPositions(const OFString &value, const OFBool check=OFTrue)
set NumberOfScanSpotPositions (300a,0392)
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual ~IODGeneralEquipmentModule()
Destructor.
void setInterlaceType(DiPNGInterlace inter)
set interlace type for PNG creation
virtual ~DcmUnsigned64bitVeryLong()
destructor
OFCondition setObservationNumber(const OFString &value, const OFBool check=OFTrue)
set ObservationNumber (3006,0082)
@ DCV_ignoreCertificate
do not check peer certificate
Definition: tlslayer.h:77
@ RelativeRegionalBloodVolume
(126398,DCM,"Relative Regional Blood Volume"), included from CID 4108
Definition: cid7469.h:272
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition read(DcmItem &dataset)
read object from dataset
const DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence() const
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtdose.h:2218
virtual OFCondition putSint16(const Sint16 val, const unsigned long pos=0)
insert into the element value a copy of the given Sint16 value.
Item & operator[](const size_t num)
get particular item in the sequence
DRTDeidentificationActionSequence & getDeidentificationActionSequence()
get DeidentificationActionSequence (0008,0305)
Definition: drtpdecs.h:129
OFBool isEmpty()
check if item is empty
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtas1.h:187
E_DatasetStorageMode getDatasetStorageMode() const
get the mode specifying whether and how to store the received datasets
OFCondition getNumberOfLeafJawPairs(OFString &value, const signed long pos=0) const
get NumberOfLeafJawPairs (300a,00bc)
virtual OFCondition getSOPClassUID(OFString &value, const signed long pos=0) const
get SOPClassUID (0008,0016)
int pt
for lossless compression, defines point transform
Definition: djeijg8.h:156
virtual ~DiMonoImage()
destructor
OFCondition gotoNextItem()
goto next item in the sequence
representation parameter for JPEG-LS
Definition: djrparam.h:32
DcmEVR currentVR
the current VR of value field, which can change over time
Definition: dcvrpobw.h:243
OFCondition getLateralSpreadingDeviceDescription(OFString &value, const signed long pos=0) const
get LateralSpreadingDeviceDescription (300a,033a)
const DRTStrainCodeSequence & getStrainCodeSequence() const
get StrainCodeSequence (0010,0219)
Definition: drtstrct.h:1776
virtual OFCondition setClinicalTrialSiteID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteID (0012,0030)
@ EPI_YBR_Full_422
YCbCr full 4:2:2.
Definition: diutils.h:137
@ DN30_89Zr
(126747,DCM,"DN30 ^89^Zr")
Definition: cid4021.h:114
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmCodeString PrivateDataElementValueRepresentation
PrivateDataElementValueRepresentation (0008,030a) vr=CS, vm=1, type=1.
Definition: drtpdeds.h:242
OFCondition saveHardcopyGrayscaleImage(const char *filename, const void *pixelData, unsigned long width, unsigned long height, double aspectRatio=1.0, OFBool explicitVR=OFTrue, const char *instanceUID=NULL)
saves a monochrome bitmap as a DICOM Hardcopy Grayscale image.
OFCondition addGraphicLayer(const char *gLayer, const char *gLayerDescription=NULL)
creates a new graphic layer with the given name and optional description.
Class for checking the relationship content constraints of the Patient Radiation Dose SR IOD.
Definition: dsrprdcc.h:43
OFCondition getROIDisplayColor(OFString &value, const signed long pos=0) const
get ROIDisplayColor (3006,002a)
DRTProcedureCodeSequence & operator=(const DRTProcedureCodeSequence ©)
assigment operator
@ DCM_DicomString
string has DICOM representation (even length)
Definition: dcbytstr.h:344
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
OFBool isEmpty()
check if sequence is empty
int showOverlay(const unsigned int plane, const unsigned int idx=0)
activate specified overlay plane
Definition: dcmimage.h:1059
DcmSignedLong(const DcmTag &tag)
constructor.
virtual OFBool isValid() const
check whether the content item is valid.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setStrainDescription(const OFString &value, const OFBool check=OFTrue)
set StrainDescription (0010,0212)
DiColorOutputPixelTemplate(void *buffer, const DiPixel *pixel, const unsigned long count, const unsigned long frame, const unsigned long, const int planar)
constructor
Definition: dicoopxt.h:89
virtual OFCondition setPixelPaddingValue(const Uint16 value, const unsigned long pos=0)
set PixelPaddingValue (0028,0120)
DcmLongString SeriesDescription
SeriesDescription (0008,103e) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2936
OFCondition moveOverlay(size_t old_layer, size_t idx, size_t new_layer)
moves the overlay activation with the given index on the given layer to a different layer.
virtual void resetRules()
Resets rules to their original values.
virtual OFCondition getManufacturer(OFString &value, const signed long pos=0) const
Get Manufacturer.
IODSegmentationSeriesModule m_SegmentationSeries
Segmentation Series Module.
Definition: segdoc.h:578
const Item & getItem(const size_t num) const
get particular item in the sequence
const DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence() const
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtstrct.h:1224
double LastRecordedDate
timestamp for last update of this study. Format: output of time(2) converted to double.
Definition: dcmqridx.h:283
size_t getItemSize() const
get size of one pixel / item in the pixel array
Definition: dimoopxt.h:158
virtual OFCondition renderHTML(STD_NAMESPACE ostream &stream, const size_t flags=0, const char *styleSheet=NULL)
render current SR document in HTML/XHTML format.
virtual ~DJDecoderBaseline()
destructor
void convert(const T1 *pixel, DiLookupTable *palette[3], const unsigned long planeSize, const int bits)
convert input pixel data to intermediate representation
Definition: diargpxt.h:82
virtual DcmEVR ident() const
get element type identifier
OFCondition getNumberOfBlocks(Sint32 &value, const unsigned long pos=0) const
get NumberOfBlocks (300a,00f0)
DVPresentationState(DiDisplayFunction **dispFunction=NULL, unsigned long minPrintBitmapX=0, unsigned long minPrintBitmapY=0, unsigned long maxPrintBitmapX=0, unsigned long maxPrintBitmapY=0, unsigned long maxPreviewImageX=0, unsigned long maxPreviewImageY=0)
default constructor
DcmUnlimitedCharacters & operator=(const DcmUnlimitedCharacters &obj)
copy assignment operator
OFCondition insertEmptyElement(const DcmTag &tag, const OFBool replaceOld=OFTrue)
create a new element (with no value) and insert it into the dataset/item.
static const size_t XF_alwaysWriteItemIdentifier
write: always write item identifier "id", not only when item is referenced
Definition: dsrtypes.h:370
This is the central class in the log4cplus package.
Definition: logger.h:76
virtual OFCondition selectValue(const OFString &selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its associated enumerated value as the current value
virtual ~Item()
destructor
DRTOperatorIdentificationSequence & operator=(const DRTOperatorIdentificationSequence ©)
assigment operator
Item(const Item ©)
copy constructor
void clear()
clear all internal member variables
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_ValueSetConstraintViolated
error: a value violates the value set constraint of a particular template row
DRTBeamLimitingDeviceToleranceSequence & getBeamLimitingDeviceToleranceSequence()
get BeamLimitingDeviceToleranceSequence (300a,0048)
Definition: drttts.h:240
OFCondition getPersonTelephoneNumbers(OFString &value, const signed long pos=0) const
get PersonTelephoneNumbers (0040,1103)
virtual OFCondition getBrachyTreatmentType(OFString &value, const signed long pos=0) const
get BrachyTreatmentType (300a,0202)
const char * getImageRequestedSize(size_t idx)
gets the requested size for the given registered image box.
Definition: dvpssp.h:472
@ DCMSCU_STORAGE_DISK
Try to store the objects to disk.
Definition: scu.h:63
T & value()
return value of key-value pair
Definition: dcmsmap.h:82
DSRNumericMeasurementValue * getNumericValuePtr()
get pointer to numeric value.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFListIterator(Item *) CurrentItem
currently selected item
int nText() const
nbr of text field
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setTableTopLongitudinalPositionTolerance(const OFString &value, const OFBool check=OFTrue)
set TableTopLongitudinalPositionTolerance (300a,0052)
DRTPrimaryFluenceModeSequence & getPrimaryFluenceModeSequence()
get PrimaryFluenceModeSequence (3002,0050)
Definition: drtes.h:375
DcmUniqueIdentifier StudyInstanceUID
StudyInstanceUID (0020,000d) vr=UI, vm=1, type=1.
Definition: drtdose.h:4174
IODMultiFrameFGModule(OFshared_ptr< DcmItem > data, OFshared_ptr< IODRules > rules)
Constructor.
void Init()
initialize internal data structures and member variables
virtual const T * getPreviousNode() const
get pointer to previous node.
Definition: dsrtncsr.h:482
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtgpis.h:360
int privateCreatorMatch(const DcmDictEntry &arg) const
checks if the private creator code of this object matches the one of the given object.
Definition: dcdicent.h:152
virtual OFCondition addMeasurement(const CodeSequenceMacro &measurementCode, const CodeSequenceMacro &measurementUnitCodes, TrcMeasurement *&measurement)
Add measurement for this Track Set.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool ok
internal state, OFTrue when valid.
Definition: ofgrp.h:102
OFBool isEmpty()
check if item is empty
Item & getItem(const size_t num)
get particular item in the sequence
Uint16 getPrintIllumination()
gets the current illumination setting used with the print Presentation LUT SOP Class.
virtual offile_off_t avail()
returns the minimum number of bytes that can be read with the next call to read().
DcmTagKey upperKey
upper limit of repeating group and element (lower limit is inherited from DcmTagKey)
Definition: dcdicent.h:370
const Item & getCurrentItem() const
get current item in the sequence
OFCondition setContourData(const OFString &value, const OFBool check=OFTrue)
set ContourData (3006,0050)
const DRTBrachyAccessoryDeviceSequence & getBrachyAccessoryDeviceSequence() const
get BrachyAccessoryDeviceSequence (300a,0260)
Definition: drtass.h:185
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Get potential shared type of this group, always returns DcmFGTypes::EFGS_BOTH.
Definition: fgimagedatatype.h:53
DcmPolymorphOBOW(const DcmPolymorphOBOW &old)
copy constructor
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrws.h:207
DcmSigned64bitVeryLong(const DcmTag &tag)
constructor.
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtibs.h:981
virtual void clear()
clear all member variables.
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
const DRTIonRangeCompensatorSequence & getIonRangeCompensatorSequence() const
get IonRangeCompensatorSequence (300a,02ea)
Definition: drtibs.h:570
OFCondition setSourceToCompensatorTrayDistance(const OFString &value, const OFBool check=OFTrue)
set SourceToCompensatorTrayDistance (300a,00e6)
virtual OFCondition setContentCreatorName(const OFString &value, const OFBool checkValue=OFTrue)
Set Content Creator Name.
Uint32 getFirstEntry(const Uint32=0) const
get index of first LUT entry.
Definition: dibaslut.h:91
const DcmInputStreamFactory * getInputStream() const
returns a pointer to the input stream, if available, NULL otherwise.
Definition: dcelem.h:820
const OFString & getTestName() const
Definition: oftest.h:95
virtual OFCondition checkRealWorldValueMapping(const DSRCompositeReferenceValue &referenceValue) const
check the given reference to a real world value mapping object for validity.
OFBool hasQualitativeEvaluations(const OFBool checkChildren=OFFalse) const
check whether there is an 'Qualitative Evaluations' content item (TID 1500 - Row 12) in this measurem...
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtspgis.h:142
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
void clear()
clear all internal member variables
virtual void callAppenders(const InternalLoggingEvent &event)
Call the appenders in the hierrachy starting at this.
virtual DSRDocumentSubTree * cloneSubTree(const size_t stopAfterNodeID=0) const
clone a subtree, i.e. a fragment of this tree.
OFCondition setSourceStrengthReferenceTime(const OFString &value, const OFBool check=OFTrue)
set SourceStrengthReferenceTime (300a,022e)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Item & getCurrentItem()
get current item in the sequence
virtual ~DRTReferencedInstanceSequence()
destructor
DRTEncryptedAttributesSequence EncryptedAttributesSequence
EncryptedAttributesSequence (0400,0500) vr=SQ, vm=1, type=1C.
Definition: drtplan.h:3393
virtual OFCondition setQueryRetrieveView(const OFString &value, const OFBool check=OFTrue)
set QueryRetrieveView (0008,0053)
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
DcmUnlimitedText UniversalEntityID
UniversalEntityID (0040,0032) vr=UT, vm=1, type=1C.
Definition: drtiais.h:146
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition setImageConfigurationInformation(size_t idx, const char *value)
sets the (optional) configuration information for the given registered image box.
Definition: dvpssp.h:454
OFCondition checkIOD(const char *filename)
checks the contents of a DICOM file and displays an evaluation report on the screen.
OFCondition addNewTSList(const OFString &tsListName, const OFList< OFString > &ts)
Add given list of transfers syntaxes under given name to SCP's association configuration.
OFBool setTimeInHours(const double hours, const double timeZone=0, const OFBool normalize=OFTrue)
set the time to the specified number of hours
OFBool addOption(const char *longOpt, const char *shortOpt, const int valueCount, const char *valueDescr, const char *optDescr, const int flags=0)
adds an item to the list of valid options (full version)
size_t getNumberOfItems() const
get number of items contained in the list
Definition: dsrtlist.h:166
virtual ~DSRDocumentTreeNodeFilter()
destructor
DRTRecordedLateralSpreadingDeviceSequence(const DRTRecordedLateralSpreadingDeviceSequence ©)
copy constructor
Item & getItem(const size_t num)
get particular item in the sequence
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtecs.h:340
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition setQueryRetrieveView(const OFString &value, const OFBool check=OFTrue)
set QueryRetrieveView (0008,0053)
virtual OFCondition checkValue(const OFString &vm="", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM.
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a particular value as a character string
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setApprovalStatus(const OFString &value, const OFBool check=OFTrue)
set ApprovalStatus (300e,0002)
static const char * documentTypeToDocumentTitle(const E_DocumentType documentType, OFString &documentTitle)
convert SR document type to document title.
DcmOtherByteOtherWord LUTData
LUTData (0028,3006) vr=US/OW, vm=1-n, type=1.
Definition: drtvls.h:144
const DRTReferencedPatientSequence & getReferencedPatientSequence() const
get ReferencedPatientSequence (0008,1120)
Definition: drtiontr.h:1665
void Init()
initialize internal data structures and member variables
const Item & getItem(const size_t num) const
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeApprovalNumber(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
DRTReferencedImageSequence & getReferencedImageSequence()
get ReferencedImageSequence (0008,1140)
Definition: drtiontr.h:1623
DcmTime TimeOfLastCalibration
TimeOfLastCalibration (0018,1201) vr=TM, vm=1-n, type=3.
Definition: drtimage.h:5061
OFCondition attachImage(DcmDataset *dataset, OFBool transferOwnership)
attaches an image to the presentation state.
virtual unsigned int getType() const
Returns the 'type' of InternalLoggingEvent.
OFCondition setRTPlanRelationship(const OFString &value, const OFBool check=OFTrue)
set RTPlanRelationship (300a,0055)
OFCondition setSourceToBeamLimitingDeviceDistance(const OFString &value, const OFBool check=OFTrue)
set SourceToBeamLimitingDeviceDistance (300a,00ba)
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtaadcs.h:353
T_ASC_Association * origAssoc
pointer to association on which the C-GET-RQ was received
Definition: dcmqrcbg.h:124
virtual OFVector< AlternateContentDescriptionItem * > & getAlternateContentDescription()
Get Alternate Content Description items.
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drtces.h:349
DcmDecimalString RadiationMachineSAD
RadiationMachineSAD (3002,0022) vr=DS, vm=1, type=2.
Definition: drtimage.h:5304
OFCondition getConcatenationFrameOffsetNumber(Uint32 &value, const unsigned int pos)
Get Concatenation Frame Offset Number.
signed int getPolynomialOrder() const
get order of the polynomial curve fitting algorithm.
Definition: didispfn.h:347
DcmAttributeFilter()
construct a DcmAttributeFilter object that accepts any DcmItem.
@ VolumeOfBoundingThreeDimensionalRegion
(121219,DCM,"Volume of bounding three dimensional region"), included from CID 7472
Definition: cid7469.h:412
@ _76_Bromine
(79523006,SCT,"^76^Bromine")
Definition: cid4020.h:96
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtdss.h:226
virtual ~DJCompressIJG12Bit()
destructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTStrainStockSequence & getStrainStockSequence()
get StrainStockSequence (0010,0216)
Definition: drttreat.h:1719
DcmIntegerString centerOfCircularShutter
Module=Display_Shutter, VR=IS, VM=2, Type 1C.
Definition: dcmpstat.h:900
OFBool ReadFromDICOMDIRMode
flag indicating whether to read from DICOMDIR files
Definition: dstorscu.h:526
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtsins.h:142
DRTIssuerOfPatientIDQualifiersSequence IssuerOfPatientIDQualifiersSequence
IssuerOfPatientIDQualifiersSequence (0010,0024) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2733
Definition: jpeglib12.h:285
OFCondition setWedgeNumber(const OFString &value, const OFBool check=OFTrue)
set WedgeNumber (300a,00d2)
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setTotalCompensatorTrayFactor(const OFString &value, const OFBool check=OFTrue)
set TotalCompensatorTrayFactor (300a,00e2)
virtual OFCondition setPregnancyStatus(const Uint16 value, const unsigned long pos=0)
set PregnancyStatus (0010,21c0)
virtual OFCondition getGantryID(OFString &value, const signed long pos=0) const
get GantryID (0018,1008)
DcmUnsignedShort voiLUTData
Module=VOI_LUT, VR=xs, VM=1-n, Type 1c.
Definition: dvpssv.h:211
DVPSStoredPrint_PList * clone()
clone method.
Definition: dvpsspl.h:55
virtual OFString getName() const
Get name of module.
unsigned long add(const DcmQuantPixel &colorP)
adds the given pixel to the list.
Definition: diqthitl.h:78
Item class.
Definition: drtrdrs1.h:37
DRTReferencedDoseReferenceSequenceInRTIonBeamsModule ReferencedDoseReferenceSequence
ReferencedDoseReferenceSequence (300c,0050) vr=SQ, vm=1, type=3.
Definition: drticps.h:809
size_t getNumberOfItems() const
get number of items in the sequence
DRTOperatorIdentificationSequence OperatorIdentificationSequence
OperatorIdentificationSequence (0008,1072) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3097
virtual DcmObject * clone() const
clone method
Definition: dcvruc.h:65
DcmPixelSequence(const DcmTag &tag)
constructor.
void deleteClear(XMLCSTR lpszValue)
Delete the clear tag "lpszValue" inside the current XMLNode (direct "pointer-to-pointer" comparison i...
OFCondition getControlPointIndex(Sint32 &value, const unsigned long pos=0) const
get ControlPointIndex (300a,0112)
const char * getUserCodeMeaning(const char *userID, OFString &value)
returns the code meaning of the user code for the given user if present.
OFBool getRespondWithCalledAETitle() const
Returns whether SCP uses the called AE title from SCU requests to respond to connection requests inst...
DiBaseLUT(const Uint32 count=0, const Uint16 bits=0)
constructor
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
size_t countNodes() const
count number of nodes in the tree.
Definition: dsrtree.h:597
OFCondition gotoFirstItem()
goto first item in the sequence
Item & operator=(const Item ©)
assigment operator
DRTOtherPatientIDsSequence & getOtherPatientIDsSequence()
get OtherPatientIDsSequence (0010,1002)
Definition: drtiontr.h:1491
DcmStackNode & operator=(const DcmStackNode &)
private undefined copy assignment operator
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition getInstanceCreatorUID(OFString &value, const signed long pos=0) const
get InstanceCreatorUID (0008,0014)
virtual OFCondition getClinicalTrialSiteID(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteID (0012,0030)
size_t getNumberOfImages()
gets the number of images currently registered in this object.
Definition: dvpssp.h:359
Base class for images.
Definition: diimage.h:69
virtual OFBool isLeaf() const
check if this element is a leaf node in a dataset tree.
Definition: dcelem.h:138
DcmCodeString BeamLimitingDeviceRotationDirection
BeamLimitingDeviceRotationDirection (300a,0121) vr=CS, vm=1, type=1C.
Definition: drticpds.h:808
OFCondition getExposureTime(OFString &value, const signed long pos=0) const
get ExposureTime (0018,1150)
virtual OFCondition setPatientWeight(const OFString &value, const OFBool check=OFTrue)
set PatientWeight (0010,1030)
virtual OFCondition setAuthorizationEquipmentCertificationNumber(const OFString &value, const OFBool check=OFTrue)
set AuthorizationEquipmentCertificationNumber (0100,0426)
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Returns shared type of this group (can be shared or per-frame)
Definition: fgframeanatomy.h:70
OFIterator(const OFIterator< T > &x)
copy constructor
Definition: oflist.h:205
const DRTOriginalAttributesSequence & getOriginalAttributesSequence() const
get OriginalAttributesSequence (0400,0561)
Definition: drtstrct.h:1428
DcmDateTime SOPAuthorizationDateTime
SOPAuthorizationDateTime (0100,0420) vr=DT, vm=1, type=3.
Definition: drtiontr.h:3184
DcmUnlimitedCharacters PrivateDataElementKeyword
PrivateDataElementKeyword (0008,030d) vr=UC, vm=1, type=1.
Definition: drtpdeds.h:234
DcmFloatingPointSingle ScanSpotMetersetsDelivered
ScanSpotMetersetsDelivered (3008,0047) vr=FL, vm=1-n, type=1C.
Definition: drticpds.h:854
const char * getCurrentPresentationLUTExplanation()
gets a description of the current presentation LUT.
Definition: dcmpstat.h:264
static OFCondition write(DcmItem &source, IODRules &rules, DcmItem &destination, const OFString &componentName)
Static helper function that writes attributes from given item into destination item,...
OFList< DcmPrivateTagCacheEntry * > list_
the list
Definition: dcpcache.h:112
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrpps.h:332
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual ~Item()
destructor
virtual OFCondition getOccupation(OFString &value, const signed long pos=0) const
get Occupation (0010,2180)
virtual OFCondition getRTImagePosition(OFVector< Float64 > &value) const
get RTImagePosition (3002,0012)
OFCondition startModify(DcmElement *elem, const OFString &value)
modifies element to a specific value
void clear()
clear all internal member variables
OFCondition getBlockType(OFString &value, const signed long pos=0) const
get BlockType (300a,00f8)
virtual OFCondition setPatientState(const OFString &value, const OFBool check=OFTrue)
set PatientState (0038,0500)
virtual OFCondition setFractionNumber(const OFString &value, const OFBool check=OFTrue)
set FractionNumber (3002,0029)
virtual OFBool isValid()
check whether the current internal state is valid
OFBool bitPreserving_
bit preserving mode for incoming storage requests.
Definition: dcmqropt.h:64
@ EXS_JPEG2000Multicomponent
JPEG 2000 part 2 multi-component extensions (lossless or lossy)
Definition: dcxfer.h:99
OFCondition setPersonTelecomInformation(const OFString &value, const OFBool check=OFTrue)
set PersonTelecomInformation (0040,1104)
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtds.h:505
DcmLongString presentationDescription
Module=Presentation_State, VR=LO, VM=1, Type 2.
Definition: dcmpstat.h:853
virtual IODGeneralSeriesModule & getIODGeneralSeriesModule()
Get General Series Module.
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
void orderedInsert(OFConfigFileNode *parent, OFConfigFileNode *&newnode)
helper method that is called by insert() in ordered mode to insert a new node at a given tree level (...
@ Rectum
(34402009,SCT,"Rectum")
Definition: cid4031.h:194
DcmLongString ClinicalTrialSubjectReadingID
ClinicalTrialSubjectReadingID (0012,0042) vr=LO, vm=1, type=1C.
Definition: drtionpl.h:2969
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
DicomImage * createScaledImage(const double xfactor, const double yfactor=0, const int interpolate=0, const int aspect=0) const
create scaled copy of current image object (given by scaling factors).
OFCondition getCumulativeMetersetWeight(OFString &value, const signed long pos=0) const
get CumulativeMetersetWeight (300a,0134)
virtual OFCondition putUint32(const Uint32 uintVal, const unsigned long pos=0)
set particular element value to given integer
DCMTK_OFSTD_EXPORT const unsigned short EC_CODE_CannotCloseEncoding
status code constant: error, cannot close character encoding
int cmd_argc
number of arguments in commandline, needed for multiprocess mode on WIN32
Definition: wlmactmg.h:67
OFCondition getRecommendedDisplayCIELabValue(Uint16 &value, const unsigned long pos=0) const
get RecommendedDisplayCIELabValue (0062,000d)
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition setTransferTubeNumber(const OFString &value, const OFBool check=OFTrue)
set TransferTubeNumber (300a,02a2)
DcmWriteCache()
default constructor. Construction is cheap (no allocation of memory block).
Definition: dcwcache.h:48
void clear()
clear the internal state.
virtual OFBool isLeaf() const
check if this element is a leaf node in a dataset tree.
Definition: dcitem.h:157
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcgis.h:155
virtual ssize_t read(void *buf, size_t nbyte)=0
attempts to read nbyte bytes from the transport connection and writes them into the given buffer.
DRTConceptCodeSequence & getConceptCodeSequence()
get ConceptCodeSequence (0040,a168)
Definition: drtcims.h:200
virtual ~DRTRangeModulatorSettingsSequenceInRTIonBeamsModule()
destructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
Uint16 m_maxWorkers
Maximum number of workers that can exist at a time.
Definition: scppool.h:241
Uint16 getUpperGroup() const
returns upper limit for tag group
Definition: dcdicent.h:218
Item & getCurrentItem()
get current item in the sequence
OFCondition getDeviceDiameterUnits(OFString &value, const signed long pos=0) const
get DeviceDiameterUnits (0050,0017)
OFCondition getSourceToApplicatorMountingPositionDistance(Float32 &value, const unsigned long pos=0) const
get SourceToApplicatorMountingPositionDistance (300a,0436)
double getValueforDDL(const Uint16 ddl) const
get the luminance/OD value for a given DDL.
long * nextrerr
red error vector for next row. Points to an array of (columns + 2) entries.
Definition: diqtfs.h:192
virtual void setCheckOnWrite(const OFBool doCheck)
If enabled, functional group structure is checked before actual writing is performed in the write() m...
const char * getKeyword(unsigned int level) const
return keyword as C string.
Definition: ofconfig.h:221
DcmUniqueIdentifier DigitalSignatureUID
DigitalSignatureUID (0400,0100) vr=UI, vm=1, type=1.
Definition: drtdss.h:241
virtual OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
const DcmUIDHandler & getAbstractSyntax() const
returns a const reference to the abstract syntax UID maintained by this object
Definition: dccfrsmp.h:73
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtads.h:353
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmLongString MedicalAlerts
MedicalAlerts (0010,2000) vr=LO, vm=1-n, type=3.
Definition: drtiontr.h:2962
@ EMO_Replace
replace mode
Definition: diutils.h:254
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_InvalidRealWorldValueMappingObject
error: the given DICOM object is not a real world value mapping object
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtdspcs.h:536
void init(void *owner, Uint32 fieldLength, Uint32 bytesTransferred, E_ByteOrder byteOrder)
initialize the buffer maintained by this class.
static const OFString & dicomToReadablePersonName(const OFString &dicomPersonName, OFString &readablePersonName)
convert DICOM person name to readable format.
Interface class for SourceInstanceSequence (0042,0013)
Definition: drtsins.h:29
void cleanup()
cleans up cinfo structure, called from destructor and error handlers
virtual OFCondition getSOPInstanceUID(OFString &value, const signed long pos=0) const
Get SOP Instance UID.
OFString m_SeriesInstanceUID
Series Instance UID.
Definition: iodreferences.h:131
DSRUIDRefTreeNode(const E_RelationshipType relationshipType)
constructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item & getItem(const size_t num)
get particular item in the sequence
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
@ RO5323441_89Zr
(126755,DCM,"RO5323441 ^89^Zr")
Definition: cid4021.h:252
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const DRTSetupDeviceSequence & getSetupDeviceSequence() const
get SetupDeviceSequence (300a,01b4)
Definition: drtpss.h:237
void printMissingAttributeWarning(const DSRXMLCursor &cursor, const char *name) const
print warning message for missing attribute
OFCondition setChannelShieldNumber(const OFString &value, const OFBool check=OFTrue)
set ChannelShieldNumber (300a,02b2)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drttts.h:338
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtfsss.h:347
double getPresentationPixelAspectRatio()
gets the presentation pixel aspect ratio for this displayed area selection.
virtual ~Item()
destructor
virtual OFCondition setOtherPatientNames(const OFString &value, const OFBool check=OFTrue)
set OtherPatientNames (0010,1001)
@ EJM_baseline
JPEG baseline.
Definition: djutils.h:61
FGFactory(const FGFactory &)
Private undefined copy constructor (singleton implementation)
OFDateTime(const OFDate &dateVal, const OFTime &timeVal)
copy constructor
virtual DSRTreeNode * clone() const
clone this tree node.
Definition: dsrtree.h:80
OFCondition getTemplateNumber(Sint32 &value, const unsigned long pos=0) const
get TemplateNumber (300a,0240)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getClinicalTrialCoordinatingCenterName(OFString &value, const signed long pos=0) const
get ClinicalTrialCoordinatingCenterName (0012,0060)
DRTPatientSizeCodeSequence(const DRTPatientSizeCodeSequence ©)
copy constructor
OFCondition getChannelShieldNominalThickness(OFString &value, const signed long pos=0) const
get ChannelShieldNominalThickness (300a,02b8)
DcmPrivateTagCacheEntry(const DcmPrivateTagCacheEntry &)
private undefined copy constructor
virtual ~DcmOverlayData()
destructor
Definition: dcovlay.h:54
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpsics.h:536
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
int getPlanarConfiguration() const
get planar configuration of the original pixel data
Definition: dicopx.h:86
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
@ ACCEPT
The log event must be logged immediately without consulting with the remaining filters,...
Definition: filter.h:58
TID1204_LanguageOfContentItemAndDescendants()
default constructor
OFCondition setScanMode(const OFString &value, const OFBool check=OFTrue)
set ScanMode (300a,0308)
DRTStrainCodeSequence & getStrainCodeSequence()
get StrainCodeSequence (0010,0219)
Definition: drtiontr.h:1815
void rotateLeft(const T *src[], T *dest[])
rotate source image left and store result in destination image
Definition: dirotat.h:139
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a particular value as a character string.
Item & operator=(const Item ©)
assigment operator
DRTUDISequence & getUDISequence()
get UDISequence (0018,100a)
Definition: drttreat.h:1767
const DRTEncryptedAttributesSequence & getEncryptedAttributesSequence() const
get EncryptedAttributesSequence (0400,0500)
Definition: drtimage.h:2560
OFCondition getBeamDose(Float64 &value, const unsigned long pos=0) const
get BeamDose (300a,0084)
virtual ~FGPlanePositionVolume()
Virtual destructor, frees memory.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
int calculateMinMax()
calculate minimum and maximum luminance/OD values
OFBool has_extension() const
Test whether the path contains a filename extension.
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtpsss.h:132
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DiDocument(DcmObject *object, const E_TransferSyntax xfer, const unsigned long flags=0, const unsigned long fstart=0, const unsigned long fcount=0)
constructor, use a given DcmObject
DcmFloatingPointDouble ExposureTimeInms
ExposureTimeInms (0018,9328) vr=FD, vm=1, type=3.
Definition: drtes.h:530
const DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence() const
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtstrct.h:1812
DcmShortString AccessionNumber
AccessionNumber (0008,0050) vr=SH, vm=1, type=2.
Definition: drtplan.h:3077
OFCondition restoreFile(const char *filename)
Restore given file from file.bak to original (without .bak)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTReferencedDoseSequence & getReferencedDoseSequence()
get ReferencedDoseSequence (300c,0080)
Definition: drtfgs.h:244
IODGeneralStudyModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
static OFCondition initialize(DcmAssociationConfiguration &cfg, const char *filename)
reads the given configuration file and feeds the information contained therein into the association c...
OFBool operator!=(const DSRTreeNodeAnnotation &annotation) const
comparison operator.
Definition: dsrtnant.h:80
OFCondition gotoNextItem()
goto next item in the sequence
Item & operator=(const Item ©)
assigment operator
DcmShortString ScanSpotTuneID
ScanSpotTuneID (300a,0390) vr=SH, vm=1, type=1C.
Definition: drticps.h:817
virtual OFCondition getLossyImageCompressionRatio(OFString &value, const signed long pos=0) const
get LossyImageCompressionRatio (0028,2112)
Uint32 getMaxReceivePDULength() const
Returns maximum PDU length configured to be received by SCU.
ContentIdentificationMacro()
Constructor.
const char * getPrivateCreator() const
returns the private creator name
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrws.h:393
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtrics.h:350
OFListIterator(Item *) CurrentItem
currently selected item
Template class to handle YCbCr Full 4:2:2 pixel data.
Definition: diyf2pxt.h:41
OFString & assign(size_t rep, char c)
constructs a temporary string from the input and assigns it to the current string.
DRTGeneticModificationsSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
virtual OFCondition read(DcmItem &dataset)
read object from dataset
virtual OFCondition setSpatialTransformOfDose(const OFString &value, const OFBool check=OFTrue)
set SpatialTransformOfDose (3004,0005)
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
E_DecompressionMode getDecompressionMode() const
get mode that specifies whether or not compressed datasets are decompressed if needed,...
unsigned long FrameCount
number of frames to be processed
Definition: didocu.h:409
size_t find_first_of(const char *s, size_t pos=0) const
determines the first location, loc, between pos and the end of the current string,...
const OFString CodingSchemeDesignator
Coding Scheme Designator (VR=SH, type 1C)
Definition: dsrcodvl.h:100
const DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence() const
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtstrct.h:1320
virtual OFCondition setPerformedProcedureStepStartDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartDate (0040,0244)
virtual OFCondition read(DcmItem &dataset)
Read data into this class.
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
const char * getValue(unsigned int level) const
return value as C string Precondition is that section_valid(level) return true.
Definition: ofconfig.h:230
const OFString CodingSchemeVersion
Coding Scheme Version (VR=SH, type 1C)
Definition: dsrcodvl.h:102
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool isEmpty()
check if item is empty
const Item & getCurrentItem() const
get current item in the sequence
size_t countChildProcesses() const
returns the number of child processes in the table
Definition: dcmqrptb.h:66
virtual OFCondition setConceptName(const DSRCodedEntryValue &conceptName, const OFBool check=OFTrue)
set the concept name
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getVOILUTFunction(OFString &value, const signed long pos=0) const
get VOILUTFunction (0028,1056)
OFCondition loadPrivateKey(const char *filename, int filetype)
loads a private key from file.
OFCondition setTargetPrescriptionDose(const OFString &value, const OFBool check=OFTrue)
set TargetPrescriptionDose (300a,0026)
Item EmptyItem
empty default item
Definition: drtrdros.h:345
OFCondition setApplicatorDescription(const OFString &value, const OFBool check=OFTrue)
set ApplicatorDescription (300a,010a)
virtual OFCondition getSOPAuthorizationDateTime(OFString &value, const signed long pos=0) const
get SOPAuthorizationDateTime (0100,0420)
OFCondition getImageReference(size_t idx, OFString &seriesUID, OFString &sopclassUID, OFString &instanceUID, OFString &frames, OFString &aetitle, OFString &filesetID, OFString &filesetUID)
gets an image reference with the given index.
virtual OFCondition setRecommendedDisplayCIELabValue(const Uint16 L, const Uint16 a, const Uint16 b, const OFBool checkValue=OFTrue)
Set Recommended Display CIELab Value.
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
DRTDigitalSignaturesSequence & getDigitalSignaturesSequence()
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtiontr.h:1311
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
OFCondition setDate(const OFString &value, const OFBool check=OFTrue)
set Date (0040,a121)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DiMono2Image(const DiDocument *docu, const EI_Status status)
constructor
Definition: syncimpl.h:108
DSRByReferenceTreeNode(const E_RelationshipType relationshipType, const size_t referencedNodeID, const E_ValueType targetValueType)
constructor.
OFCondition setRadiationAtomicNumber(const OFString &value, const OFBool check=OFTrue)
set RadiationAtomicNumber (300a,0304)
DRTReferencedSeriesSequence & getReferencedSeriesSequence()
get ReferencedSeriesSequence (0008,1115)
Definition: drtionpl.h:1775
OFCondition read(DcmItem &item)
read elements from sequence item
Item & getItem(const size_t num)
get particular item in the sequence
@ AP_USBandFlashJPEG
General Purpose USB and Flash Memory Interchange with JPEG (STD-GEN-USB/MMC/CF/SD-JPEG)
Definition: dcddirif.h:143
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
DRTRTDoseROISequence(const DRTRTDoseROISequence ©)
copy constructor
@ ATSM_Cu62
(126702,DCM,"ATSM Cu^62^")
Definition: cid4021.h:64
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrrtps5.h:308
OFCondition setSnoutPosition(const Float32 value, const unsigned long pos=0)
set SnoutPosition (300a,030d)
OFBool disableGetSupport_
enable/disable C-GET support
Definition: dcmqropt.h:70
virtual const DiPixel * getInterData() const =0
get access to intermediate pixel data representation (abstract)
virtual OFCondition putSint64Array(const Sint64 *sintVals, const unsigned long numSints)
set element value to given integer array data
virtual OFCondition getClinicalTrialSeriesID(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesID (0012,0071)
DcmTime ContentTime
ContentTime (0008,0033) vr=TM, vm=1, type=3.
Definition: drtdose.h:4559
OFCondition setTableTopLongitudinalSetupDisplacement(const OFString &value, const OFBool check=OFTrue)
set TableTopLongitudinalSetupDisplacement (300a,01d4)
Interface class for MeasuredDoseReferenceSequence (3008,0010)
Definition: drtmdrs.h:28
virtual OFCondition getPatientBreedDescription(OFString &value, const signed long pos=0) const
get PatientBreedDescription (0010,2292)
OFCondition moveCurve(size_t old_layer, size_t idx, size_t new_layer)
moves the curve activation with the given index on the given layer to a different layer.
virtual OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get device serial number
OFCondition gotoNextItem()
goto next item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getBitsAllocated(Uint16 &value, const signed long pos=0) const
Get Bits Allocated.
virtual const char * errorString(DcmTransportLayerStatus code)
returns an error string for a given error code.
virtual void clear()
clear all member variables.
Interface class for TID 1419 in module dcmsr/cmr.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
virtual OFCondition setPerformedProcedureStepStartTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartTime (0040,0245)
virtual OFCondition getClinicalTrialSeriesDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesDescription (0012,0072)
OFCondition createReportFile(const OFString &filename) const
create a text file with a detailed report on the transfer of DICOM SOP instances.
DRTToleranceTableSequence & operator=(const DRTToleranceTableSequence ©)
assigment operator
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const Item & getCurrentItem() const
get current item in the sequence
@ HM_deleteAfterSend
delete the dataset after it has been sent
Definition: dstorscu.h:86
DcmDecimalString NominalBeamEnergy
NominalBeamEnergy (300a,0114) vr=DS, vm=1, type=1C.
Definition: drticps.h:795
const DRTReferencedSeriesSequence & getReferencedSeriesSequence() const
get ReferencedSeriesSequence (0008,1115)
Definition: drtscris.h:113
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrbas2.h:299
void clear()
clear all internal member variables
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
get Modality (0008,0060)
OFCondition sendDIMSEMessage(const T_ASC_PresentationContextID presID, T_DIMSE_Message *msg, DcmDataset *dataObject, DcmDataset **commandSet=NULL)
Sends a DIMSE command and possibly also a dataset from a data object via network to another DICOM app...
OFshared_ptr< Implementation > TheImplementation
shared pointer to internal implementation (interface to character encoding library)
Definition: ofchrenc.h:416
OFCondition writeTracks(OFCondition &result, DcmItem &destination)
Write Tracks to given item.
DRTReferencedPatientPhotoSequence ReferencedPatientPhotoSequence
ReferencedPatientPhotoSequence (0010,1100) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4799
OFCondition getBitsAllocated(Uint16 &value, const signed long pos=0)
Get Bits Allocated.
Definition: modimagepixelvariant.h:184
DcmCharString(const DcmCharString &old)
copy constructor
static OFCondition create(const CodeSequenceMacro &measurementCode, const CodeSequenceMacro &measurementUnitCodes, TrcMeasurement *&measurement)
Create TrcMeasurement from minimal data.
OFCondition getBeamDeliveryDurationLimit(Float64 &value, const unsigned long pos=0) const
get BeamDeliveryDurationLimit (300a,00c5)
DcmIntegerString SourceNumber
SourceNumber (300a,0212) vr=IS, vm=1, type=1.
Definition: drtss.h:432
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
static void registerCodecs(JLS_UIDCreation uidcreation=EJLSUC_default, JLS_PlanarConfiguration planarconfig=EJLSPC_restore, OFBool ignoreOffsetTable=OFFalse, OFBool forceSingleFragmentPerFrame=OFFalse)
registers decoder for all supported JPEG-LS processes.
DcmDirectoryRecord * buildPaletteRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update palette record and copy required values from dataset
OFCondition setBeamDosePointEquivalentDepth(const Float32 value, const unsigned long pos=0)
set BeamDosePointEquivalentDepth (300a,0089)
OFCondition setBrachyApplicationSetupDoseSpecificationPoint(const OFString &value, const OFBool check=OFTrue)
set BrachyApplicationSetupDoseSpecificationPoint (300a,00a2)
OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
static void rgb2Lab(double &L, double &a, double &b, double R, double G, double B)
Convert sRGB color representation to CIELab representation.
virtual ~DRTRecordedLateralSpreadingDeviceSequence()
destructor
OFCondition gotoNextItem()
goto next item in the sequence
DRTReferencedBrachyApplicationSetupSequenceInRTDoseModule ReferencedBrachyApplicationSetupSequence
ReferencedBrachyApplicationSetupSequence (300c,000a) vr=SQ, vm=1, type=1C.
Definition: drtrfgs.h:153
virtual OFCondition setTemporalPositionIndex(const Uint32 &value, const OFBool checkValue=OFTrue)
Set Temporal Position Index.
a class representing the DICOM value representation 'Integer String' (IS)
Definition: dcvris.h:38
static const size_t HF_renderPatientTitle
external: use patient information as document title (default: document type)
Definition: dsrtypes.h:305
void clear()
clear additional information
@ LipidAndLactate
(113095,DCM,"Lipid and Lactate"), included from CID 4033
Definition: cid7469.h:58
OFCondition gotoNextItem()
goto next item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition getSeriesNumber(Sint32 &value, const unsigned long pos=0) const
get SeriesNumber (0020,0011)
OFVector< CodeSequenceMacro * > m_TransducerBeamSteering
Item of Transducer Beam Steering Code Sequence.
Definition: modenhusimage.h:587
T_DIMSE_Priority priority
priority of move request
Definition: dcmqrcbm.h:163
OFCondition gotoNextItem()
goto next item in the sequence
OFBool isEmpty()
check if item is empty
XMLAttribute * updateAttribute(XMLCSTR lpszNewValue, XMLCSTR lpszNewName=NULL, int i=0)
if the attribute to update is missing, a new one will be added
OFBool isEmpty() const
check whether the list is empty
Definition: dsrtlist.h:158
DcmShortString ScheduledProcedureStepID
ScheduledProcedureStepID (0040,0009) vr=SH, vm=1, type=1C.
Definition: drtras.h:285
OFCondition getBlockName(OFString &value, const signed long pos=0) const
get BlockName (300a,00fe)
virtual OFCondition setClinicalTrialSiteName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteName (0012,0031)
virtual ~DiCMYKImage()
destructor
Metafunction to determine if a type is an array.
Definition: oftraits.h:400
virtual OFCondition setProcessingFunction(const OFString &value, const OFBool checkValue=OFTrue)
Set Processing Funcion.
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_MacIDsExhausted
no more MAC ID numbers available
virtual OFCondition setPerformedProcedureStepEndTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndTime (0040,0251)
virtual OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
void dropAssociation()
destroys the association managed by this object.
DcmDecimalString rescaleIntercept
Module=Modality_LUT, VR=DS, VM=1, Type 1c.
Definition: dcmpstat.h:966
@ Calcaneus
(80144004,SCT,"Calcaneus")
Definition: cid4031.h:68
const DRTReferencedPatientSequence & getReferencedPatientSequence() const
get ReferencedPatientSequence (0008,1120)
Definition: drtimage.h:2944
OFCondition setTargetPrescriptionDose(const OFString &value, const OFBool check=OFTrue)
set TargetPrescriptionDose (300a,0026)
DcmLongString TreatmentProtocols
TreatmentProtocols (300a,0009) vr=LO, vm=1-n, type=3.
Definition: drtplan.h:3265
virtual ~DcmIODImage()
Virtual Destructor.
Definition: iodimage.h:107
virtual DSRDocumentSubTree * cloneTree() const
clone the internally stored subtree of this template.
DcmIntegerString ReferencedRangeShifterNumber
ReferencedRangeShifterNumber (300c,0100) vr=IS, vm=1, type=1.
Definition: drtrshs7.h:139
Interface class for ControlPointSequence (300a,0111) in RTBeamsModule.
Definition: drtcps.h:32
void clear()
clear all internal member variables
DcmLongString PatientState
PatientState (0038,0500) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2892
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags=0)
write current SR document tree in XML format
static int scanValue(const OFString &vr, const char *const value, const size_t size)
scan string value for conformance with given value representation (VR)
OFCondition read(DcmItem &item)
read elements from sequence item
double signalToNoiseRatio
result of image comparison: signal to noise ratio (SNR)
Definition: dcmicmph.h:282
OFBool isLossy() const
check whether transfer syntax uses a lossy compression
Definition: dcxfer.h:261
void inventMissingAttributes(DcmDirectoryRecord *parent, const OFBool recurse=OFTrue)
invent missing type 1 attributes for all child records (from patient level)
virtual ~DRTStrainSourceRegistryCodeSequence()
destructor
OFCondition getDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get DoseReferenceNumber (300a,0012)
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition setClinicalTrialProtocolID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolID (0012,0020)
unsigned long getQueryRetrieveMaxPDU()
returns the MAXPDU entry for the Q/R server from the section GENERAL/QUERY_RETRIEVE in the config fil...
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFCondition getRangeModulatorGatingStopValue(Float32 &value, const unsigned long pos=0) const
get RangeModulatorGatingStopValue (300a,0384)
OFBool isEmpty()
check if item is empty
const DRTOtherPatientIDsSequence & getOtherPatientIDsSequence() const
get OtherPatientIDsSequence (0010,1002)
Definition: drtstrct.h:1440
virtual OFCondition getClinicalTrialSubjectID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectID (0012,0040)
virtual OFCondition setSliceThickness(const OFString &value, const OFBool check=OFTrue)
set SliceThickness (0018,0050)
OFCondition write(DcmItem &dset, OFBool writeRequestedImageSize, OFBool limitImages, OFBool updateDecimateCrop, OFBool ignoreEmptyImages)
writes the Stored Print object to a DICOM dataset.
void removeFrameReference(unsigned long frame, unsigned long numberOfFrames)
update the reference such that the given frame is not referenced any more.
@ MK6240_F18
(C4506764,UMLS,"MK-6240 F^18^")
Definition: cid4021.h:202
DRTReferencedDoseReferenceSequenceInRTIonBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTPurposeOfReferenceCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition setClinicalTrialSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesDescription (0012,0072)
virtual OFCondition getStationName(OFString &value, const signed long pos=0) const
get StationName (0008,1010)
DVPSOverlayCurveActivationLayer_PList activationLayerList
Overlay/Curve Activation Layer(s), Module=Overlay_Activation/Curve_Activation.
Definition: dcmpstat.h:926
const OFString SOPInstanceUID
SOP Instance UID of the SOP instance to be transferred.
Definition: dstorscu.h:414
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrcos.h:151
const DRTUDISequence & getUDISequence() const
get UDISequence (0018,100a)
Definition: drtimage.h:3124
const DRTFrameExtractionSequence & getFrameExtractionSequence() const
get FrameExtractionSequence (0008,1164)
Definition: drtdose.h:2098
Abstract base class for User Identity Negotiation user items.
Definition: dcuserid.h:61
DRTRecordedWedgeSequence(const DRTRecordedWedgeSequence ©)
copy constructor
OFCondition getPreviewImageWidth(unsigned long &width)
gets current width of the preview image.
@ EPC_default
automatically determine whether color-by-plane is required from the SOP Class UID and decompressed ph...
Definition: djutils.h:114
DcmLongString PatientState
PatientState (0038,0500) vr=LO, vm=1, type=3.
Definition: drttreat.h:2806
virtual void SetDbUserPassword(const OFString &)
Set value in a member variable in a derived class.
Definition: wlds.h:440
OFCondition setCompositeReference(const DSRCompositeReferenceValue &referenceValue, const OFBool check=OFTrue)
set composite reference.
Item & getCurrentItem()
get current item in the sequence
Item & operator=(const Item ©)
assigment operator
DcmRLECodecDecoder()
default constructor
OFStatus theStatus
condition status enum
Definition: ofcond.h:74
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid244.h:113
DRTSourceImageSequence & getSourceImageSequence()
get SourceImageSequence (0008,2112)
Definition: drtplan.h:1892
virtual OFCondition setIssuerOfPatientID(const OFString &value, const OFBool check=OFTrue)
set IssuerOfPatientID (0010,0021)
virtual OFCondition getSeriesTime(OFString &value, const signed long pos=0) const
get SeriesTime (0008,0031)
Internal structure defining the list items.
Definition: dvcache.h:690
OFCondition setTableTopVerticalPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopVerticalPosition (300a,0128)
OFCondition spoolPrintJob(OFBool deletePrintedImages=OFTrue)
start spooling of print job with current settings.
virtual OFCondition setTimeDistributionProtocol(const OFString &value, const OFBool checkValue=OFTrue)
Set Time Distribution Protocol.
virtual OFCondition setObservationDateTime(const DcmElement &delem, const unsigned long pos=0, const OFBool check=OFTrue)
set observation date/time from element
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setPatientBreedDescription(const OFString &value, const OFBool check=OFTrue)
set PatientBreedDescription (0010,2292)
virtual IODEnhGeneralEquipmentModule & getIODEnhGeneralEquipmentModule()
Get Enhanced General Equipment Module.
OFCondition setHL7InstanceIdentifier(const OFString &value, const OFBool check=OFTrue)
set HL7InstanceIdentifier (0040,e001)
Item & operator=(const Item ©)
assigment operator
log4cplus::tstring name
The name of this logger.
Definition: logimpl.h:174
virtual ~DSRGraphicData3DList()
destructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrfgs.h:334
OFCondition getLeafPositionBoundaries(Float64 &value, const unsigned long pos=0) const
get LeafPositionBoundaries (300a,00be)
int cancelAfterNResponses_
if non-negative, a C-FIND-CANCEL will be issued after the given number of incoming C-FIND-RSP message...
Definition: dfindscu.h:178
virtual DcmFGTypes::E_FGType getType() const
Return the type of this functional group.
DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence()
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drttreat.h:1143
OFCondition addOverlayToPresentationState(DcmItem &overlayIOD, Uint16 groupInItem, Uint16 newGroup=0)
adds a new overlay bitmap to the presentation state.
A struct for creating an unknown ciphersuite error condition.
Definition: tlscond.h:39
const DRTOriginalAttributesSequence & getOriginalAttributesSequence() const
get OriginalAttributesSequence (0400,0561)
Definition: drttreat.h:1389
~DcmAttributeFilter()
free all resources used by this object.
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
@ ContrastAgentAngioMRSignalIntensity
(110801,DCM,"Contrast Agent Angio MR Signal Intensity"), included from CID 7180
Definition: cid7469.h:90
virtual OFVector< CodeSequenceMacro * > & getSegmentedPropertyTypeModifier()
Get Reference to Segmented Property Type Modifier Codes.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setConcatenationFrameOffsetNumber(const Uint32 value)
Set Concatenation Frame Offset Number.
unsigned int convertToGroupNumber(const unsigned int plane) const
convert five plane number to corresponding group number
Definition: diovlay.h:425
size_t getNumberOfItems() const
get number of items in the sequence
Item(const Item ©)
copy constructor
DcmTime InstanceCreationTime
InstanceCreationTime (0008,0013) vr=TM, vm=1, type=3.
Definition: drtionpl.h:3262
virtual OFCondition getHighBit(Uint16 &value, const unsigned long pos=0) const
get HighBit (0028,0102)
OFString ourAETitle
our current title
Definition: dcmqrcbm.h:166
virtual void clear()
clear all member variables.
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
DcmDateTime ContributionDateTime
ContributionDateTime (0018,a002) vr=DT, vm=1, type=3.
Definition: drtces.h:333
virtual OFCondition encode(const Uint16 *pixelData, const Uint32 length, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const =0
compresses the given uncompressed DICOM image and stores the result in the given pixSeq element.
@ CU36_89Zr
(126515,DCM,"cU36 ^89^Zr")
Definition: cid4021.h:98
DcmLongString DoseComment
DoseComment (3004,0006) vr=LO, vm=1, type=3.
Definition: drtdose.h:4572
OFCondition getRangeModulatorType(OFString &value, const signed long pos=0) const
get RangeModulatorType (300a,0348)
const Item & getCurrentItem() const
get current item in the sequence
virtual ~DiJPEGPlugin()
destructor
DcmOutputFileStream(FILE *file)
constructor
virtual void clearData()
Clears all data.
Item & operator=(const Item ©)
assigment operator
const DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence() const
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtstrct.h:1368
IODFoRModule m_FrameOfReference
Frame of Reference Module.
Definition: iodcommn.h:258
Item & getCurrentItem()
get current item in the sequence
unsigned long getSpoolerSleep()
returns the sleep delay for the print spooler in seconds, as configured in section GENERAL/PRINT/SLEE...
DcmDecimalString SourceToBeamLimitingDeviceDistance
SourceToBeamLimitingDeviceDistance (300a,00ba) vr=DS, vm=1, type=3.
Definition: drtblds5.h:220
virtual OFCondition setPerformedProcedureStepDescription(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepDescription (0040,0254)
DRTSegmentedPropertyCategoryCodeSequence & operator=(const DRTSegmentedPropertyCategoryCodeSequence ©)
assigment operator
static OFBool safeSelectReadableAssociation(DcmTransportConnection *connections[], int connCount, int timeout)
indicates which of the specified transport connections is ready for reading.
OFCommandLine * cmd
helper class for commandline parsing
Definition: mdfconen.h:154
OFString & assign(const OFString &str)
Assigns input string str to the current string object.
virtual void addTrustedCertFile(const OFString &str)
Add file with trusted certificate (used if authentication is enabled)
Item & operator[](const size_t num)
get particular item in the sequence
int peerNamesCount
number of peer names in list
Definition: dcmqrtis.h:261
OFCondition addImageSOPClasses(DcmSequenceOfItems &seq, size_t numItems=0)
adds all image SOP classes referenced in the image box list to the given sequence.
static void writeSingleItem(OFCondition &result, const DcmTagKey &seqKey, Container &source, DcmItem &destination, const OFString &type, const OFString &module)
Writes given container into a DICOM item of a specific sequence.
Definition: iodutil.h:727
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
virtual OFCondition setPresentationLUTShape(const OFString &value, const OFBool check=OFTrue)
set PresentationLUTShape (2050,0020)
DRTConceptNameCodeSequence & getConceptNameCodeSequence()
get ConceptNameCodeSequence (0040,a043)
Definition: drtqds.h:212
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtporcs.h:205
virtual OFCondition getPatientSexNeutered(OFString &value, const signed long pos=0) const
get PatientSexNeutered (0010,2203)
OFBool operator==(const DcmPresentationContextItem &arg) const
comparison operator.
Definition: dccfpcmp.h:89
virtual OFCondition getImagePositionPatient(Float64 &coordinateX, Float64 &coordinateY, Float64 &coordinateZ)
Retrieve all values of Image Orientation Patient at the same time.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTMappingResourceIdentificationSequence MappingResourceIdentificationSequence
MappingResourceIdentificationSequence (0008,0124) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3276
void clear()
clear all internal member variables
OFCondition getReferencedBeamNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedBeamNumber (300c,0006)
virtual ~Item()
destructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtdirs.h:295
Item class.
Definition: drtcsis.h:37
static OFCondition getTimeZoneFromString(const char *dicomTimeZone, const size_t dicomTimeZoneSize, double &timeZone)
get the specified DICOM time zone in number of hours format DICOM standard states that if the "Timezo...
OFCondition getBeamDoseSpecificationPoint(Float64 &value, const unsigned long pos=0) const
get BeamDoseSpecificationPoint (300a,0082)
virtual OFCondition getTimeOfLastCalibration(OFString &value, const signed long pos=0) const
get TimeOfLastCalibration (0018,1201)
Uint16 nextMessageID()
Returns next available message ID free to be used by SCU.
@ EVR_UNKNOWN
used internally for elements with unknown VR (encoded with 4-byte length field in explicit VR)
Definition: dcvr.h:261
void clear()
clear all internal member variables
DRTBreedRegistrationSequence & getBreedRegistrationSequence()
get BreedRegistrationSequence (0010,2294)
Definition: drtplan.h:1304
OFCondition setPresentationDescription(const char *descr)
sets the presentation state description.
IODFloatingPointImagePixelModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
unsigned long getValue(const DcmTagKey &tag, double &returnVal, const unsigned long pos=0, DcmItem *item=NULL) const
get value of given tag (double)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmIntegerString ChannelShieldNumber
ChannelShieldNumber (300a,02b2) vr=IS, vm=1, type=1.
Definition: drtcshs.h:236
virtual int getMinMaxWindow(const int idx, double ¢er, double &width)=0
get automatically computed min-max window (abstract)
int fileNo()
returns the low-level file descriptor associated with the stream.
Definition: offile.h:646
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setMaterialID(const OFString &value, const OFBool check=OFTrue)
set MaterialID (300a,00e1)
static const int MinBits
constant defining minimum value for number of bits for LUT input (here: 8)
Definition: didispfn.h:470
virtual ~DRTApplicatorSequenceInRTIonBeamsModule()
destructor
virtual OFCondition getClinicalTrialCoordinatingCenterName(OFString &value, const signed long pos=0) const
get ClinicalTrialCoordinatingCenterName (0012,0060)
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrrtps3.h:146
OFCondition setControlPointIndex(const OFString &value, const OFBool check=OFTrue)
set ControlPointIndex (300a,0112)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence() const
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtdose.h:2026
OFBool isDataComplete() const
Perform simple check whether all equipment data is filled in.
Definition: modenhequipment.h:75
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition getInstanceCoercionDateTime(OFString &value, const signed long pos=0) const
get InstanceCoercionDateTime (0008,0015)
OFCondition getImageReference(size_t idx, const char *&studyUID, const char *&seriesUID, const char *&instanceUID)
returns the image UIDs that are required to look up the referenced image in the database
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTReferencedPatientPhotoSequence(const DRTReferencedPatientPhotoSequence ©)
copy constructor
OFCondition setApplicationSetupName(const OFString &value, const OFBool check=OFTrue)
set ApplicationSetupName (300a,0236)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence()
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtplan.h:1316
OFCondition setBlockTrayID(const OFString &value, const OFBool check=OFTrue)
set BlockTrayID (300a,00f5)
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getCompensatorRelativeStoppingPowerRatio(Float32 &value, const unsigned long pos=0) const
get CompensatorRelativeStoppingPowerRatio (300a,02e7)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFBool isRTBeamsModulePresent(const OFBool complete=OFFalse)
check whether RTBeamsModule (C) is present.
E_StringMode getStringMode() const
get current representation of the string value
Definition: dcbytstr.h:365
OFConsoleApplication * app
helper class for console applications
Definition: mdfconen.h:151
DRTPrivateDataElementDefinitionSequence PrivateDataElementDefinitionSequence
PrivateDataElementDefinitionSequence (0008,0310) vr=SQ, vm=1, type=3.
Definition: drtpdecs.h:194
DcmUnsignedShort PixelPaddingValue
PixelPaddingValue (0028,0120) vr=US/SS, vm=1, type=1C.
Definition: drtiontr.h:3069
OFCondition operator()(const char *ciphersuiteName) const
Create a specialized unknown ciphersuite error condition that refers to the name of the unknown ciphe...
Item EmptyItem
empty default item
Definition: drtssrcs.h:540
OFCondition write(DcmItem &item)
write elements to sequence item
DcmIntegerString NumberOfFractionPatternDigitsPerDay
NumberOfFractionPatternDigitsPerDay (300a,0079) vr=IS, vm=1, type=3.
Definition: drtfgs.h:336
OFCondition getApplicatorDescription(OFString &value, const signed long pos=0) const
get ApplicatorDescription (300a,010a)
DcmLongString ClinicalTrialSponsorName
ClinicalTrialSponsorName (0012,0010) vr=LO, vm=1, type=1.
Definition: drtiontr.h:2869
virtual OFCondition importHierarchy(const OFString &filename, const OFBool readPatient, const OFBool readStudy, const OFBool readFoR=OFFalse, const OFBool readSeries=OFFalse, const OFBool takeOverCharset=OFTrue)
CAUTION: Parameter order (readFoR and readSeries) changed compared to the old import() function.
Item & operator=(const Item ©)
assigment operator
Item & getCurrentItem()
get current item in the sequence
void printSCPBasicGrayscaleImageBoxSet(DVInterface &cfg, const char *cfgname, T_DIMSE_Message &rq, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, OFBool presentationLUTnegotiated)
performs a Print SCP Basic Grayscale Image Box N-SET operation.
virtual OFCondition getTrackSetNumber(Uint16 &value, const unsigned long pos=0) const
Get Track Set Number (should be 1-n)
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
const DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence() const
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtstrct.h:1200
Uint32 getCount() const
gets number of cache entries
Definition: dvcache.h:757
unsigned long Frames
maximum number of frames
Definition: diovlay.h:462
@ Fellow
(121088,DCM,"Fellow")
Definition: cid7452.h:76
DcmIntegerString ReferencedFrameNumber
ReferencedFrameNumber (0008,1160) vr=IS, vm=1-n, type=1C.
Definition: drtrims.h:182
DRTRTROIObservationsSequence & getRTROIObservationsSequence()
get RTROIObservationsSequence (3006,0080)
Definition: drtstrct.h:1566
DcmQuantComponent operator[](unsigned int idx) const
array look-up operation.
Definition: diqtstab.h:64
virtual ~DcmDateTime()
destructor
OFCondition addFindingSite(const DSRCodedEntryValue &site, const CID244e_Laterality &laterality=CID244e_Laterality(), const DSRCodedEntryValue &siteModifier=DSRCodedEntryValue(), const OFBool check=OFTrue)
add a 'Finding Site' content item (TID 1501 - Row 6, 7 and 8).
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
unsigned long getCount() const
get number of pixel per frame
Definition: dicoopx.h:121
int skeletonCount
the number of skeleton entries
Definition: dcdict.h:201
size_t getNumberOfItems() const
get number of items in the sequence
DcmPresentationState()
default constructor
const OFString & getAETitle() const
Returns SCP's own AE title.
jpeg_decompress_struct * cinfo
decompression structure
Definition: djdijg16.h:112
Uint32 getFragmentSize() const
returns maximum fragment size (in kbytes) for compression, 0 for unlimited.
Definition: djcparam.h:146
void CleanChildren()
This function takes care of removing items referring to (terminated) subprocess from the table which ...
@ Citrate
(59351004,SCT,"Citrate"), included from CID 4033
Definition: cid7469.h:46
virtual OFCondition setEquipmentInfo(const IODGeneralEquipmentModule::EquipmentInfo &equipmentInfo, const OFBool checkValue=OFTrue)
Set equipment info for this segmentation object.
DcmCodeString DVHVolumeUnits
DVHVolumeUnits (3004,0054) vr=CS, vm=1, type=1.
Definition: drtdvhs.h:321
OFCondition setSurfaceEntryPoint(const OFString &value, const OFBool check=OFTrue)
set SurfaceEntryPoint (300a,012e)
const char * getTargetPrinterMaxDensity(const char *targetID, Uint32 idx, OFString &value)
returns one value from the MAXDENSITY entry for the printer with the given target ID from the configu...
const DRTPurposeOfReferenceCodeSequence & getPurposeOfReferenceCodeSequence() const
get PurposeOfReferenceCodeSequence (0040,a170)
Definition: drtsins.h:120
OFCondition setShieldingDeviceDescription(const OFString &value, const OFBool check=OFTrue)
set ShieldingDeviceDescription (300a,01a6)
OFCondition setPersonTelecomInformation(const OFString &value, const OFBool check=OFTrue)
set PersonTelecomInformation (0040,1104)
virtual OFCondition getTreatmentDate(OFString &value, const signed long pos=0) const
get TreatmentDate (3008,0250)
OFBool getAcceptWrongPaletteTags() const
Returns flag indicating if incorrect palette attribute tags should be accepted.
Definition: djcparam.h:279
DiGSDFunction(const double val_min, const double val_max, const unsigned long count=256, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0)
constructor, compute luminance/OD values automatically within the specified range.
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
Definition: jdhuff12.h:83
DcmDecimalString OrganAtRiskFullVolumeDose
OrganAtRiskFullVolumeDose (300a,002a) vr=DS, vm=1, type=3.
Definition: drtrdrs8.h:360
Item & operator[](const size_t num)
get particular item in the sequence
virtual ~DRTBeamLimitingDeviceSequenceInRTIonBeamsModule()
destructor
double MaxValue
maximum luminance/OD value
Definition: didispfn.h:467
DcmCodeString WedgeType
WedgeType (300a,00d3) vr=CS, vm=1, type=2.
Definition: drtrws.h:217
Item EmptyItem
empty default item
Definition: drtpss.h:532
virtual ~DcmSignedLong()
destructor
static size_t decodeBase64(const OFString &data, unsigned char *&result)
decode "Base64" encoded string.
OFListIterator(OFString) ArgumentIterator
current position in argument list
void clear()
clear all internal member variables
const DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence() const
get RequestingServiceCodeSequence (0032,1034)
Definition: drtiontr.h:1761
OFBool hasRepresentation(const E_TransferSyntax repType, const DcmRepresentationParameter *repParam=NULL)
returns if a specific conforming representation exists.
@ _44_Scandium
(126600,DCM,"^44^Scandium")
Definition: cid4020.h:60
DRTUDISequence UDISequence
UDISequence (0018,100a) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3156
DcmDate SeriesDate
SeriesDate (0008,0021) vr=DA, vm=1, type=3.
Definition: drtionpl.h:3087
const char * getModalityLutExplanation() const
get description of performed modality LUT transformation
Definition: dcmimage.h:845
virtual void forcedLog(LogLevel ll, const log4cplus::tstring &message, const char *file=NULL, int line=-1)
This method creates a new logging event and logs the event without further checks.
static const DSRSpatialCoordinates3DValue EmptySpatialCoordinates3D
empty spatial coordinates 3D value.
Definition: dsrcitem.h:612
virtual OFCondition decode(const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *pixSeq, DcmPolymorphOBOW &uncompressedPixelData, const DcmCodecParameter *cp, const DcmStack &objStack) const
decompresses the given pixel sequence and stores the result in the given uncompressedPixelData elemen...
E_ByteOrder getByteOrder() const
return byte order for this transfer syntax
Definition: dcxfer.h:206
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmIgnoreParsingErrors
This flag indicates, whether parsing errors during reading should be ignored, i.e....
OFString substr(size_t pos=0, size_t n=OFString_npos) const
returns a copy the substring consisting of at most n characters starting at position pos of the curre...
OFCondition getNumberOfCompensators(OFString &value, const signed long pos=0) const
get NumberOfCompensators (300a,00e0)
OFCondition getReferencedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
virtual ~FGPlanePosPatient()
Destructor, frees memory.
OFList< T > & operator=(const OFList< T > &arg)
copy assignment operator
Definition: oflist.h:515
virtual OFCondition getClinicalTrialSiteID(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteID (0012,0030)
DcmCodeString magnificationType
Module=Film_Box_Module, VR=CS, VM=1, Type 2.
Definition: dvpssp.h:1016
const char * getPrinterFilmDestination()
gets the (optional) printer film destination.
DRTBeamLimitingDeviceToleranceSequence & getBeamLimitingDeviceToleranceSequence()
get BeamLimitingDeviceToleranceSequence (300a,0048)
Definition: drtitts.h:282
DcmQuantHistogramItem(const DcmQuantPixel &colorP, int val)
constructor
Definition: diqthitm.h:45
@ EVR_dicomDir
used internally for DICOMDIR objects
Definition: dcvr.h:249
OFCondition getSourceNumber(OFString &value, const signed long pos=0) const
get SourceNumber (300a,0212)
DcmShortText SetupTechniqueDescription
SetupTechniqueDescription (300a,01b2) vr=ST, vm=1, type=3.
Definition: drtpss.h:341
unsigned getConversionFlags() const
get flags controlling converter behavior, e.g. specifying how illegal character sequences should be h...
A struct for creating a failed to write random seed file error condition.
Definition: tlscond.h:117
DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item & getCurrentItem()
get current item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
static E_PresentationStateType sopClassUIDToPresentationStateType(const OFString &sopClassUID)
convert SOP class UID to presentation state type
OFBool isEmpty()
check if sequence is empty
virtual OFBool operator!=(const OFUnorderedSet< T > &other) const
Determines if two sets are not identical.
Definition: ofuoset.h:130
const DRTGeneralAccessorySequence & getGeneralAccessorySequence() const
get GeneralAccessorySequence (300a,0420)
Definition: drtibs.h:522
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbrs.h:309
DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule TreatmentMachineSequence
TreatmentMachineSequence (300a,0206) vr=SQ, vm=1, type=1.
Definition: drtiontr.h:3093
virtual OFCondition getDeidentificationMethod(OFString &value, const signed long pos=0) const
get DeidentificationMethod (0012,0063)
T_ASC_PresentationContextID origPresId
presentation context id of request
Definition: dcmqrcbg.h:130
Item & getCurrentItem()
get current item in the sequence
static OFCondition parseExtendedNegotiationItems(DcmAssociationConfiguration &cfg, OFConfigFile &config)
parses the extended negotiation lists in the config file.
@ VT_Time
DICOM Value Type: TIME.
Definition: dsrtypes.h:595
virtual OFCondition setObservationUID(const OFString &observationUID, const OFBool check=OFTrue)
set observation unique identifier
OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
static OFCondition readSubSequence(DcmItem &source, const DcmTagKey &seqKey, Container &destination, IODRule *rule)
Reads DICOM sequence into container by creating a dedicated container element for each DICOM item.
Definition: iodutil.h:514
DcmFloatingPointSingle ScanningSpotSize
ScanningSpotSize (300a,0398) vr=FL, vm=2, type=3.
Definition: drticps.h:819
DRTDigitalSignaturePurposeCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
E_DecompressionMode
dataset decompression modes
Definition: dstorscu.h:66
EnumType
types of abstract multi-dimensional image model component units
Definition: cid7181.h:42
const DRTReferencedStudySequence & getReferencedStudySequence() const
get ReferencedStudySequence (0008,1110)
Definition: drtras.h:183
virtual OFCondition setClinicalTrialTimePointDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointDescription (0012,0051)
EP_Polarity getPolarity() const
get polarity.
Definition: diimage.h:224
int rotateImage(signed int degree) const
rotate current image (by steps of 90 degrees)
virtual OFCondition selectValue(const DSRCodedEntryValue &codedEntryValue, const OFBool check=OFTrue, const OFBool definedContextGroup=OFFalse)
select a given coded entry as the current value
DRTSetupDeviceSequence & getSetupDeviceSequence()
get SetupDeviceSequence (300a,01b4)
Definition: drtpss.h:231
OFCondition getWedgeAngle(Sint32 &value, const unsigned long pos=0) const
get WedgeAngle (300a,00d5)
virtual OFBool isImagePlaneModulePresent(const OFBool complete=OFFalse)
check whether ImagePlaneModule (C) is present.
static OFBool checkTemplateIdentification(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID)
check the specified template identification values for validity.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition setContrastBolusIngredientConcentration(const OFString &value, const OFBool check=OFTrue)
set ContrastBolusIngredientConcentration (0018,1049)
int Init(const DiDocument *docu, DiInputPixel *pixel)
initialize internal data structures and values
int setNoDisplayFunction()
set no display function.
Class for ARGB images.
Definition: diargimg.h:46
@ RGBRComponent
(110834,DCM,"RGB R Component"), included from CID 7180
Definition: cid7469.h:204
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setPatientSpeciesDescription(const OFString &value, const OFBool check=OFTrue)
set PatientSpeciesDescription (0010,2201)
DcmSignedShort PixelIntensityRelationshipSign
PixelIntensityRelationshipSign (0028,1041) vr=SS, vm=1, type=1C.
Definition: drtimage.h:5273
void printRequiredAttributeMessage(const DcmTagKey &key, const OFFilename &filename=OFFilename(), const OFBool emptyMsg=OFFalse)
print an error message that a required attribute is missing/empty.
void clear()
Sets the error code to value 0 (success) and the category to OFsystem_category().
Item(const Item ©)
copy constructor
OFCondition read(DcmItem &dset)
reads the Graphic Layer Sequence from a DICOM dataset.
Uint32 Length
the length of this attribute as read from stream, may be undefined length
Definition: dcobject.h:801
virtual OFCondition getTrackSetLabel(OFString &value, const signed long pos=0) const
Get Track Set Label.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrbs2.h:319
Interface class for RangeModulatorSettingsSequence (300a,0380) in RTIonBeamsSessionRecordModule.
Definition: drtrmss7.h:28
DSRDocumentTreeNodeCursor & operator=(const DSRDocumentTreeNodeCursor &cursor)
assignment operator
OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
XMLCSTR updateName_WOSD(XMLSTR lpszName)
change node's name
DcmShortText HL7InstanceIdentifier
HL7InstanceIdentifier (0040,e001) vr=ST, vm=1, type=1C.
Definition: drtrsos.h:179
virtual OFCondition setPerformedProcedureStepDescription(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepDescription (0040,0254)
DRTDeidentificationMethodCodeSequence DeidentificationMethodCodeSequence
DeidentificationMethodCodeSequence (0012,0064) vr=SQ, vm=1, type=1C.
Definition: drtionpl.h:2948
Class comprising several global functions and constants.
Definition: diutils.h:388
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
virtual OFCondition setInstanceCreationTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationTime (0008,0013)
DCMTK_DCMDATA_EXPORT OFBool dcmIsaStorageSOPClassUID(const char *uid, const E_StorageSOPClassType type=ESSC_Patient)
returns true if the uid is one of the Storage SOP Classes.
static OFCondition mapAcquisitionType(const OFString &definedTerm, DSRCodedEntryValue &codedEntryValue, const OFBool enhancedEncodingMode=OFFalse)
map a defined term for Acquisition Type (0018,9302) to the associated coded entry
void clear()
clear all internal member variables
const DRTBeamLimitingDeviceLeafPairsSequence & getBeamLimitingDeviceLeafPairsSequence() const
get BeamLimitingDeviceLeafPairsSequence (3008,00a0)
Definition: drttsibs.h:532
Item & operator[](const size_t num)
get particular item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drttms0.h:391
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtpsics.h:345
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getRadiationMachineSAD(OFString &value, const signed long pos=0) const
get RadiationMachineSAD (3002,0022)
const char * getPatientBirthTime()
returns the Patient Birth Time of the currently selected study.
IODMultiframeDimensionModule()
Constructor.
void setValue(int v)
assigns a new integer value to this object
Definition: diqthitm.h:78
OFCondition getDoseUnits(OFString &value, const signed long pos=0) const
get DoseUnits (3004,0002)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getCompensatorPosition(Float64 &value, const unsigned long pos=0) const
get CompensatorPosition (300a,00ea)
DIC_US nWarning
number of completed sub-operations that causes warnings
Definition: dcmqrcbg.h:161
OFrvalue< OFpath > filename() const
Return the filename contained in the path (if any) or an empty path.
DRTApplicatorSequenceInRTImageModule ApplicatorSequence
ApplicatorSequence (300a,0107) vr=SQ, vm=1, type=3.
Definition: drtes.h:518
OFMutex m_criticalSection
Mutex that guards the list of busy and idle workers.
Definition: scppool.h:230
OFString getPeerIP() const
Returns IP address of connected SCU.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtads.h:324
virtual OFCondition setTreatmentTime(const OFString &value, const OFBool check=OFTrue)
set TreatmentTime (3008,0251)
OFBool addImageSupport(DicomDirImagePlugin *plugin)
add pluggable image support.
virtual DcmTransportLayerStatus serverSideHandshake()
performs server side handshake on established socket.
DcmBaseSCPPool()
Constructor.
@ MinorAxisIn3DLength
(P9VJ,IBSI,"Minor Axis in 3D Length"), included from CID 7470
Definition: cid7469.h:388
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
const Uint16 * StartPtr
pointer to starting element of current frame
Definition: diovpln.h:490
DcmUnlimitedCharacters GeneticModificationsDescription
GeneticModificationsDescription (0010,0222) vr=UC, vm=1, type=1.
Definition: drtgms.h:147
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFOrderedSet< T > Difference(const OFOrderedSet< T > &other) const
Determines the difference this - other, i.e.
Definition: ofoset.h:445
virtual OFCondition changeDocumentType(const E_DocumentType documentType)
change the type of the current document.
virtual OFCondition getPerformedProcedureStepID(OFString &value, const signed long pos=0) const
get PerformedProcedureStepID (0040,0253)
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_RepresentationNotAvailable
error: the requested representation is not available
Uint16 Columns
number of columns (in pixel)
Definition: diimage.h:631
void setLengthField(Uint32 val)
set the current value of the Length field
Definition: dcobject.h:759
virtual ~DRTRequestedProcedureCodeSequence()
destructor
virtual OFCondition setStudyInstanceUID(const OFString &value, const OFBool check=OFTrue)
set StudyInstanceUID (0020,000d)
OFCondition getItems(OFVector< T > &items) const
get copy of all items (as a vector)
Definition: dsrtlist.h:218
static const DSRCodedEntryValue EmptyCodedEntry
empty coded entry value.
Definition: dsrcitem.h:606
static OFBool rangeMatchingTemplate(OFCondition(*parse)(const char *, const size_t, T &), const void *queryData, const size_t querySize, const void *candidateData, const size_t candidateSize)
Helper template function for generically implementing range matching.
DRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModule(const DRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModule ©)
copy constructor
OFCondition loadStoredPrint(const char *studyUID, const char *seriesUID, const char *instanceUID, OFBool changeStatus=OFFalse)
loads a Stored Print object which is contained in the database into memory.
IODEnhancedUSSeriesModule()
Constructor.
T * Object()
Returns the current element.
Definition: ofsetit.h:89
virtual ~OFSetIterator()
Destructor.
Definition: ofsetit.h:63
virtual size_t countChildNodes(const OFBool searchIntoSub=OFTrue) const
count number of children of the current node.
Definition: dsrtncsr.h:400
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
DcmDecimalString ImageOrientationPatient
ImageOrientationPatient (0020,0037) vr=DS, vm=6, type=1.
Definition: drtdose.h:4415
Item & operator=(const Item ©)
assigment operator
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getSpatialResolution(OFString &value, const signed long pos=0) const
get SpatialResolution (0018,1050)
DcmShortString ShieldingDevicePosition
ShieldingDevicePosition (300a,01a8) vr=SH, vm=1, type=3.
Definition: drtshds.h:178
virtual OFCondition setClinicalTrialSeriesID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesID (0012,0071)
OFBool canChooseRepresentation(const E_TransferSyntax repType, const DcmRepresentationParameter *repParam)
test if it is possible to choose the representation in the parameters
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtmss.h:155
virtual OFBool isEmpty() const
check whether the current numeric measurement value is empty.
OFCondition gotoFirstItem()
goto first item in the sequence
DcmTagKey()
default constructor
Definition: dctagkey.h:235
Metafunction to determine if a type refers to function.
Definition: oftraits.h:411
const DSRCodedEntryValue & getMeasurementUnit() const
get measurement unit
Definition: dsrnumvl.h:243
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool isEmpty()
check if item is empty
OFCondition setTableTopLongitudinalPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopLongitudinalPosition (300a,0129)
DRTBrachyReferencedDoseReferenceSequence(const DRTBrachyReferencedDoseReferenceSequence ©)
copy constructor
DcmShortString EthnicGroup
EthnicGroup (0010,2160) vr=SH, vm=1, type=3.
Definition: drtionpl.h:2912
virtual OFCondition getSamplesPerPixel(Uint16 &value, const unsigned long pos=0) const
get SamplesPerPixel (0028,0002)
@ RT_unknown
internal type used to indicate an unknown relationship type (defined term)
Definition: dsrtypes.h:557
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
OFCondition read(DcmItem &item)
read elements from sequence item
const char * getAnnotationLayer()
get annotation layer name.
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmUseExplLengthPixDataForEncTS
This flag influences the behaviour when reading Pixel Data elements.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getSourceApplicatorNumber(OFString &value, const signed long pos=0) const
get SourceApplicatorNumber (300a,0290)
virtual Uint16 checkEVENTREPORTRequest(T_DIMSE_N_EventReportRQ &request, DcmDataset *reqDataset)
Check given N-EVENT-REPORT request and dataset for validity.
const DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence() const
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtimage.h:2392
void addItem(const OFString &uid, const DVIFhierarchyStatus status=DVIF_objectIsNew)
adds a new item to the cache list.
Definition: dvcache.h:616
static const OFString & dicomToReadableDateTime(const OFString &dicomDateTime, OFString &readableDateTime)
convert DICOM date time string to readable format.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition getReferringPhysicianName(OFString &value, const signed long pos=0) const
get ReferringPhysicianName (0008,0090)
OFCondition getGeneticModificationsDescription(OFString &value, const signed long pos=0) const
get GeneticModificationsDescription (0010,0222)
Definition: dcmqridx.h:199
static const char * completionFlagToEnumeratedValue(const E_CompletionFlag completionFlag)
convert completion flag to DICOM enumerated value
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CodingSchemeNotFound
error: the specified coding scheme designator could not be found
OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
Item & getItem(const size_t num)
get particular item in the sequence
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtpbcs.h:211
DcmPersonName PhysiciansOfRecord
PhysiciansOfRecord (0008,1048) vr=PN, vm=1-n, type=3.
Definition: drtstrct.h:2845
EquipmentInfo(const OFString &manufacturer, const OFString &manufacturerModelName, const OFString &deviceSerialNumber, const OFString &softwareVersions)
Convenience Constructor setting all values.
Definition: modenhequipment.h:62
virtual OFCondition read(DcmItem &item)
Read functional group from item, must contain the US Image Description Sequence.
DcmUniqueIdentifier(const DcmUniqueIdentifier &old)
copy constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrsts.h:328
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Struct that represents a marker in a JPEG file, i.e.
Definition: i2djpgs.h:64
DSRReferencedSamplePositionList & operator=(const DSRReferencedSamplePositionList &lst)
assignment operator
void clear()
clear all internal member variables
DcmDecimalString MeasuredLateralDimension
MeasuredLateralDimension (0010,1024) vr=DS, vm=1, type=3.
Definition: drtimage.h:4932
DcmIntegerString CompensatorRows
CompensatorRows (300a,00e7) vr=IS, vm=1, type=1.
Definition: drtircs.h:424
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
unsigned int getOverlayCount(const unsigned int idx=0) const
get number of overlay planes
Definition: dcmimage.h:1185
virtual void clear()
clear all member variables.
DcmUnsignedShort RecommendedDisplayCIELabValue
RecommendedDisplayCIELabValue (0062,000d) vr=US, vm=3, type=3.
Definition: drtrcs.h:191
virtual OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
virtual OFCondition clearSub()
revert the list of child directory records to default constructed (empty) state
void clear()
clear all internal member variables
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getRepeatFractionCycleLength(OFString &value, const signed long pos=0) const
get RepeatFractionCycleLength (300a,007a)
OFCondition getContourNumber(OFString &value, const signed long pos=0) const
get ContourNumber (3006,0048)
OFCondition setTrayAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set TrayAccessoryCode (300a,0355)
virtual void updateImagePixelModuleAttributes(DcmItem &dataset)
update Image Pixel Module attributes in the given dataset.
OFBool gotoFirstOption()
sets first command line option as the current one.
virtual OFCondition setRecommendedDisplayCIELabValue(const Uint16 L, const Uint16 a, const Uint16 b)
Set Recommended Display CIELab Value.
OFCondition checkPurposeOfReference(const DSRCodedEntryValue &purposeOfReference) const
check the specified purpose of reference code for validity.
OFCondition getFloatingPointValue(Float64 &value, const unsigned long pos=0) const
get FloatingPointValue (0040,a161)
DcmShortText TreatmentStatusComment
TreatmentStatusComment (3008,0202) vr=ST, vm=1, type=3.
Definition: drttreat.h:2937
DRTReferencedPatientSequence ReferencedPatientSequence
ReferencedPatientSequence (0008,1120) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2904
const DRTFrameExtractionSequence & getFrameExtractionSequence() const
get FrameExtractionSequence (0008,1164)
Definition: drtimage.h:2596
@ PRU
([PRU],UCUM,"P.R.U."), included from CID 3502
Definition: cid7181.h:48
void printHeader(const OFBool hostInfo=OFFalse, const OFBool stdError=OFFalse)
print header of console application (consisting of identifier, name and description)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
@ EXS_JPEG2000
JPEG 2000 (lossless or lossy)
Definition: dcxfer.h:95
virtual ~FGDerivationImage()
Virtual destructor, frees memory.
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_UnknownRelationshipType
error: an unknown relationship type is used
Interface class for ReferencedBeamSequence (300c,0004) in RTGeneralTreatmentRecordModule.
Definition: drtrbs4.h:28
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition setTableTopLongitudinalPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopLongitudinalPosition (300a,0129)
OFBool isEmpty()
check if sequence is empty
const DRTDoseReferenceSequence & getDoseReferenceSequence() const
get DoseReferenceSequence (300a,0010)
Definition: drtionpl.h:1373
OFCondition getValueType(OFString &value, const signed long pos=0) const
get ValueType (0040,a040)
virtual void updateTreeForOutput()
update the tree for subsequent output, e.g. for being printed or added to an SR document.
@ CMAbU36_89Zr
(126746,DCM,"cMAb U36 ^89^Zr")
Definition: cid4021.h:96
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrss.h:127
virtual OFCondition setWindowCenterWidthExplanation(const OFString &value, const OFBool check=OFTrue)
set WindowCenterWidthExplanation (0028,1055)
virtual E_TransferSyntax supportedTransferSyntax() const =0
returns the transfer syntax that this particular codec is able to encode
Item & operator[](const size_t num)
get particular item in the sequence
static OFCondition read(DcmItem &source, IODRules &rules, DcmItem &destination, const OFString &componentName)
Static helper function that reads attributes from given item into destination item,...
OFCondition setMeasuredDoseType(const OFString &value, const OFBool check=OFTrue)
set MeasuredDoseType (3008,0014)
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
Class for tree nodes.
Definition: dsrtree.h:50
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
int writePluginFormat(const DiPluginFormat *plugin, FILE *stream, const unsigned long frame=0)
write pixel data to pluggable image format file (specified by open C stream).
DSRIncludedTemplateNodeCursor & operator=(const DSRIncludedTemplateNodeCursor &cursor)
assignment operator
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual DIC_US handleEvent(T_DIMSE_N_EventReportRQ &eventMessage, DcmDataset *eventInformation, DcmDataset *statusDetail)=0
handles an N-EVENT-REPORT-RQ message.
OFBool convertToSC
flag indicating whether image should be converted to Secondary Capture upon compression
Definition: dcrlecp.h:125
OFCondition getTableTopVerticalPosition(Float64 &value, const unsigned long pos=0) const
get TableTopVerticalPosition (300a,0128)
virtual int processNextFrames(const unsigned long fcount)
process next couple of frames
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition write(DcmItem &dataset)
write object to dataset
double PixelHeight
height of each pixel according to 'PixelSpacing/AspectRatio'
Definition: diimage.h:635
~DcmQuantColorTable()
destructor
virtual OFCondition extractFrames(Uint8 *pixData, const size_t numFrames, const size_t bitsPerFrame, OFVector< DcmIODTypes::Frame * > &results)
Extracts Frame structures from the given pixel data element.
virtual OFCondition getInstanceCreationDate(OFString &value, const signed long pos=0) const
get instance creation date
Item & getCurrentItem()
get current item in the sequence
Item(const Item ©)
copy constructor
DcmApplicationEntity RetrieveAETitle
RetrieveAETitle (0008,0054) vr=AE, vm=1-n, type=1.
Definition: drtdirs.h:116
DcmUnsignedShort OverlayBitsAllocated
OverlayBitsAllocated (60xx,0100) vr=US, vm=1, type=1.
Definition: drtdose.h:4498
virtual Uint16 bytesPerSample() const
returns the number of bytes per sample that will be written when decoding.
Definition: djdijg12.h:78
virtual OFCondition setRows(const Uint16 value, const OFBool checkValue=OFTrue)
Set Rows.
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Item EmptyItem
empty default item
Definition: drtbrcss.h:540
DcmUniqueIdentifier instanceCreatorUID
Module=SOP_Common, VR=UI, VM=1, Type 3.
Definition: dcmpstat.h:876
UserIdentityNegotiationSubItem(const UserIdentityNegotiationSubItem &src)
Copy constructor.
Definition: dcuserid.h:74
virtual OFBool isRTPatientSetupModulePresent(const OFBool complete=OFFalse)
check whether RTPatientSetupModule (U) is present.
DVPSImageBoxContent & operator=(const DVPSImageBoxContent &)
private undefined assignment operator
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbads.h:435
DIC_US nCompleted
number of completed sub-operations
Definition: dcmqrcbm.h:178
DVPSAssociationNegotiationResult negotiateAssociation(T_ASC_Network &net)
performs association negotiation for the Print SCP.
CodeSequenceMacro(const OFString &codeValue, const OFString &codingSchemeDesignator, const OFString &codeMeaning, const OFString &codingSchemeVersion="", IODComponent *parent=NULL)
Convenience constructor to set initial values.
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
bool threadCached
Indicates whether or not the Threadname has been retrieved.
Definition: logevent.h:219
virtual IODEnhGeneralEquipmentModule & getEquipment()
Get reference to Equipment information.
@ SignalToNoise
(113060,DCM,"Signal to noise"), included from CID 7180
Definition: cid7469.h:342
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtpsics.h:339
OFCondition invert()
inverts presentation LUT or presentation state LUT shape.
DcmPersonName m_ContentCreatorName
Content Creator's Name: (LO, VM 1, Type 2)
Definition: iodmacro.h:1203
virtual unsigned long getVM()
get value multiplicity
OFCondition getReferencedCompensatorNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedCompensatorNumber (300c,00d0)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_VerificationFailed_UnsupportedMACAlgorithm
signature verification failed because the MAC algorithm is not supported
void clear()
clear all internal member variables
DiImage(const DiDocument *docu, const EI_Status status)
constructor
const DiPixel * getInterData() const
get pointer to intermediate pixel data representation
Definition: dicoimg.h:230
OFCondition setDoseUnits(const OFString &value, const OFBool check=OFTrue)
set DoseUnits (3004,0002)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition printSCUsetBasicAnnotationBox(DVPSPrintMessageHandler &printHandler, size_t idx)
Transmits a DICOM annotation to the printer (Basic Annotation Box N-SET).
OFCondition setMagnificationType(const char *value)
sets the (optional) magnification type.
virtual OFCondition setUniversalEntityID(const OFString &value, const OFBool checkValue=OFTrue)
Set Universal Entity ID.
OFBool isEmpty()
check if item is empty
void clear()
clear all internal member variables
OFCondition getReferencedRangeModulatorNumber(OFString &value, const signed long pos=0) const
get ReferencedRangeModulatorNumber (300c,0104)
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1.
Definition: drtcgis.h:164
DVIFhierarchyStatus Status
review status for the series
Definition: dvcache.h:707
DcmDirectoryRecord * buildPlanRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update plan record and copy required values from dataset
Item EmptyItem
empty default item
Definition: drtsis.h:403
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual ~DJDecoderP14SV1()
destructor
virtual ~IODImageReference()
Destructor.
Definition: iodreferences.h:215
virtual DcmObject * clone() const
clone method
Definition: dcvris.h:68
DcmDirectoryRecord * buildImplantGroupRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update implant group record and copy required values from dataset
OFCondition setNumberOfControlPoints(const OFString &value, const OFBool check=OFTrue)
set NumberOfControlPoints (300a,0110)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTContourSequence(const DRTContourSequence ©)
copy constructor
OFCondition getSourceToCompensatorDistance(OFString &value, const signed long pos=0) const
get SourceToCompensatorDistance (300a,02e2)
Class to register color support to dcmimgle library.
Definition: diregist.h:41
virtual OFCondition putFloat32(const Float32 floatVal, const unsigned long pos=0)
set particular element value to given float
OFString MappingResource
mapping resource (VR=CS, mandatory in ContentTemplateSequence)
Definition: dsrdoctn.h:767
Item & operator=(const Item ©)
assigment operator
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbrcss.h:324
DcmUnlimitedText StrainAdditionalInformation
StrainAdditionalInformation (0010,0218) vr=UT, vm=1, type=3.
Definition: drtdose.h:4128
virtual OFVector< DerivationImageItem * > & getDerivationImageItems()
Get reference to derivation image items.
DcmOther64bitVeryLong & operator=(const DcmOther64bitVeryLong &obj)
assignment operator
Item EmptyItem
empty default item
Definition: drtgms.h:332
OFCondition setToleranceTableNumber(const OFString &value, const OFBool check=OFTrue)
set ToleranceTableNumber (300a,0042)
OFCondition setRadiationMassNumber(const OFString &value, const OFBool check=OFTrue)
set RadiationMassNumber (300a,0302)
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
E_JPEGEncapsulated encapsulated
transfer syntax encapsulated or native
Definition: dcxfer.h:328
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtags.h:155
DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence()
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtstrct.h:1578
virtual OFCondition setConsultingPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ConsultingPhysicianName (0008,009c)
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
DcmLongString PatientDeathDateInAlternativeCalendar
PatientDeathDateInAlternativeCalendar (0010,0034) vr=LO, vm=1, type=3.
Definition: drtdose.h:4090
OFCondition gotoNextItem()
goto next item in the sequence
DVPSCurve * getCurve(size_t idx)
get curve by index
DSRTimeTreeNode(const E_RelationshipType relationshipType, const OFString &timeValue, const OFBool check=OFTrue)
constructor
void flip(const T *pixel, const int horz, const int vert)
choose flipping algorithm depending on given parameters
Definition: dimoflt.h:92
OFCondition setDoseUnits(const OFString &value, const OFBool check=OFTrue)
set DoseUnits (3004,0002)
virtual OFCondition getSpatialResolution(Float64 &value, const unsigned long pos=0) const
get SpatialResolution (0018,1050)
DcmQuantComponent getRed() const
returns the red component
Definition: diqtpix.h:98
void setPrivateCreator(const char *privCreator)
assigns a private creator code and deletes a possibly cached attribute name since the attribute name ...
Metafunction to remove the volatile modifier from a type.
Definition: oftraits.h:447
E_ValueStatus getValueAndCheckMin(OFCmdUnsignedInt &value, const OFCmdUnsignedInt low, const OFExplicitBool incl=OFTrue)
returns next argument as an unsigned integer value and checks for given boundary
DRTIonControlPointDeliverySequence IonControlPointDeliverySequence
IonControlPointDeliverySequence (3008,0041) vr=SQ, vm=1, type=1.
Definition: drttsibs.h:998
DcmIntegerString TemplateNumber
TemplateNumber (300a,0240) vr=IS, vm=1, type=3.
Definition: drtass.h:292
DcmDecimalString BlockThickness
BlockThickness (300a,0100) vr=DS, vm=1, type=2C.
Definition: drtbl2.h:360
virtual OFCondition setRTPlanDate(const OFString &value, const OFBool check=OFTrue)
set RTPlanDate (300a,0006)
OFBool useModalityRescale
if true, a modality rescale slope/intercept is set
Definition: dcmpstat.h:954
T & operator*() const
Access the object owned by *this.
Definition: ofmem.h:404
DSRBasicCodedEntry(const OFString &codeValue, const OFString &codingSchemeDesignator, const OFString &codingSchemeVersion, const OFString &codeMeaning, const DSRTypes::E_CodeValueType codeValueType=DSRTypes::CVT_Short)
constructor.
virtual OFCondition selectValue(const OFString &selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its associated defined term as the current value
DcmCodeString LongitudinalTemporalInformationModified
LongitudinalTemporalInformationModified (0028,0303) vr=CS, vm=1, type=3.
Definition: drtionpl.h:3303
DcmDecimalString FrameTimeVector
FrameTimeVector (0018,1065) vr=DS, vm=1-n, type=1C.
Definition: drtimage.h:5216
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
DVPSOverlayCurveActivationLayer * clone()
clone method.
Definition: dvpsal.h:52
DcmCodecParameter()
default constructor
Definition: dccodec.h:46
OFCondition setTableTopLateralPositionTolerance(const OFString &value, const OFBool check=OFTrue)
set TableTopLateralPositionTolerance (300a,0053)
virtual ~DimensionOrganizationItem()
Destructor.
static const char * characterSetToXMLName(const E_CharacterSet characterSet)
convert character set to XML name.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition dropNetwork()
destroy network struct.
virtual OFBool isComplete() const
check whether the current code is complete, i.e. whether the three (two for URN code value) mandatory...
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getIsocenterToLateralSpreadingDeviceDistance(Float32 &value, const unsigned long pos=0) const
get IsocenterToLateralSpreadingDeviceDistance (300a,0374)
OFCondition getNominalBeamEnergy(Float64 &value, const unsigned long pos=0) const
get NominalBeamEnergy (300a,0114)
OFCondition setCalculatedDoseReferenceDoseValue(const OFString &value, const OFBool check=OFTrue)
set CalculatedDoseReferenceDoseValue (3008,0076)
DcmUnsignedShort PregnancyStatus
PregnancyStatus (0010,21c0) vr=US, vm=1, type=3.
Definition: drtstrct.h:2888
virtual OFCondition setLongitudinalTemporalInformationModified(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalInformationModified (0028,0303)
const char * getPrinterName()
gets the name of the current printer.
OFCondition adjustOverlays(DcmItem *dataset, DicomImage &image) const
for all overlay groups create (60xx,3000) Overlay Data.
OFCondition renderHTMLChildNodes(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render child nodes in HTML/XHTML format
@ SquareCentimeterPerMilliliter
(cm2/ml,UCUM,"Centimeter**2/milliliter"), included from CID 84
Definition: cid7181.h:100
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setLongitudinalTemporalOffsetFromEvent(const Float64 value, const unsigned long pos=0)
set LongitudinalTemporalOffsetFromEvent (0012,0052)
LogLevel
these are the log levels that you can feed to isEnabledFor()
Definition: oflog.h:53
virtual OFBool canChangeCoding(const E_TransferSyntax oldRepType, const E_TransferSyntax newRepType) const =0
checks if this codec is able to convert from the given current transfer syntax to the given new trans...
DcmLongString CompletionFlagDescription
Completion Flag Description: (LO, 1, 3)
Definition: dsrdoc.h:1425
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrds.h:308
OFCondition getPersonTelecomInformation(OFString &value, const signed long pos=0) const
get PersonTelecomInformation (0040,1104)
DcmCodeString PatientSupportRotationDirection
PatientSupportRotationDirection (300a,0123) vr=CS, vm=1, type=1C.
Definition: drticps.h:803
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
DRTMACParametersSequence MACParametersSequence
MACParametersSequence (4ffe,0001) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3389
virtual OFCondition getLongitudinalTemporalOffsetFromEvent(Float64 &value, const unsigned long pos=0) const
get LongitudinalTemporalOffsetFromEvent (0012,0052)
OFBool checkSOPClass(const char *uid)
checks whether all images referenced in this series use the passed SOP class UID.
DcmTransferSyntaxMap xferSyntaxes_
map of transfer syntax lists
Definition: dcasccfg.h:241
virtual size_t gotoNamedNode(const DSRCodedEntryValue &conceptName, const OFBool startFromRoot=OFTrue, const OFBool searchIntoSub=OFTrue)
set internal cursor to a named node.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmShortString EthnicGroup
EthnicGroup (0010,2160) vr=SH, vm=1, type=3.
Definition: drttreat.h:2671
virtual OFCondition getPatientBodyMassIndex(Float64 &value, const unsigned long pos=0) const
get PatientBodyMassIndex (0010,1022)
virtual OFCondition getTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get template identifier and mapping resource.
OFCondition setLanguage(const CID5000_Languages &language, const CID5001_Countries &country=CID5001_Countries(), const OFBool check=OFTrue)
set language, either by adding one content item (language only) or two content items (language and co...
const Item & getItem(const size_t num) const
get particular item in the sequence
TrcTrackSet()
Protected constructor, use create() method to create a new Track Set.
virtual OFCondition stamp(const unsigned char *inputData, unsigned long inputDataSize)=0
takes a block of raw data and requests a time stamp for this raw data.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrshs7.h:318
DcmLongString ClinicalTrialSponsorName
ClinicalTrialSponsorName (0012,0010) vr=LO, vm=1, type=1.
Definition: drtdose.h:4153
virtual ~DSRXRayRadiationDoseSRConstraintChecker()
destructor
void setText(const OFString &text)
set annotation text, i.e. the internally stored character string
Definition: dsrtnant.h:113
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual ~Item()
destructor
DRTFractionGroupSummarySequence FractionGroupSummarySequence
FractionGroupSummarySequence (3008,0220) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2943
virtual OFCondition getPatientBirthDate(OFString &value, const signed long pos=0) const
get PatientBirthDate (0010,0030)
virtual OFCondition check() const
Check whether this functional group contains valid data.
virtual ~DcmOther64bitVeryLong()
destructor
OFGlobal(const OFGlobal< T > &arg)
unimplemented private copy constructor
WlmDataSourceStatusType StartFindRequest(const DcmDataset &findRequestIdentifiers)
Based on the search mask which was passed, this function determines all the records in the worklist d...
OFCondition gotoFirstItem()
goto first item in the sequence
DVPSReferencedSeries * clone()
clone method.
Definition: dvpsrs.h:50
DcmUnlimitedText TextValue
TextValue (0040,a160) vr=UT, vm=1, type=1C.
Definition: drtqds.h:361
Item & getCurrentItem()
get current item in the sequence
DRTGeneticModificationsSequence & getGeneticModificationsSequence()
get GeneticModificationsSequence (0010,0221)
Definition: drtdose.h:2104
DRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition setAttachedContours(const OFString &value, const OFBool check=OFTrue)
set AttachedContours (3006,0049)
OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
Item & operator=(const Item ©)
assigment operator
DRTDVHReferencedROISequence(const DRTDVHReferencedROISequence ©)
copy constructor
DcmLongString Allergies
Allergies (0010,2110) vr=LO, vm=1-n, type=3.
Definition: drtionpl.h:3039
DiCIELABLUT(const unsigned long count, const Uint16 max, const Uint16 *ddl_tab, const double *val_tab, const unsigned long ddl_cnt, const double val_min, const double val_max, const double lum_min, const double lum_max, const double amb, const OFBool inverse=OFFalse, STD_NAMESPACE ostream *stream=NULL, const OFBool printMode=OFTrue)
constructor
DRTReferencedBolusSequenceInRTIonBeamsSessionRecordModule & operator=(const DRTReferencedBolusSequenceInRTIonBeamsSessionRecordModule ©)
assigment operator
DcmUnsignedShort OverlayBitPosition
OverlayBitPosition (60xx,0102) vr=US, vm=1, type=1.
Definition: drtdose.h:4500
virtual OFCondition setPerformedProcedureStepEndDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndDate (0040,0250)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTReferencedBeamSequenceInRTFractionSchemeModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item & getItem(const size_t num)
get particular item in the sequence
size_t getGraphicLayerIndex(const char *name)
gets the index of the graphic layer with the given unique name.
virtual void clearData()
Clear old values.
OFVector< spi::InternalLoggingEvent > queue_storage_type
Queue storage type.
Definition: queue.h:55
void clear()
clear all internal member variables
virtual OFCondition getSeriesDescription(OFString &value, const signed long pos=0) const
get SeriesDescription (0008,103e)
OFCondition add(const char *key, const char *transferSyntaxUID)
add new entry to list within map.
@ AP_UltrasoundIDMF
Ultrasound Single & Multi-Frame for Image Display (STD-US-ID-MF-xxxx)
Definition: dcddirif.h:167
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getSourceApplicatorStepSize(OFString &value, const signed long pos=0) const
get SourceApplicatorStepSize (300a,02a0)
OFCondition activateOverlayInImage(size_t layer, size_t idx)
activates the given overlay from the attached image on the given graphic layer.
OFdirectory_iterator & operator=(const OFdirectory_iterator &rhs)
Assign a different OFdirectory_iterator to this one.
OFCondition gotoNextItem()
goto next item in the sequence
DRTReasonForPerformedProcedureCodeSequence ReasonForPerformedProcedureCodeSequence
ReasonForPerformedProcedureCodeSequence (0040,1012) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2773
virtual OFCondition getPatientIdentityRemoved(OFString &value, const signed long pos=0) const
get PatientIdentityRemoved (0012,0062)
const DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence() const
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtimage.h:2428
virtual ~DcmFileProducer()
destructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual ~Item()
destructor
DVPSPresentationLUT * getPresentationLUT()
gets the "global" presentation LUT which overrides the settings for the image boxes.
virtual OFCondition workerListen(T_ASC_Association *const assoc)
Perform SCP's duties on an already accepted (TCP/IP) connection.
Definition: scppool.h:325
DcmShortString m_StackID
Stack ID (SH, 1, 1C)
Definition: fgfracon.h:366
virtual FGBase * remove(const DcmFGTypes::E_FGType fgType)
Remove functional group specified by its type.
const OFString SOPClassUID
SOP Class UID (VR=UI, type 1)
Definition: dsrrefin.h:210
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
const DRTRecordedRangeShifterSequence & getRecordedRangeShifterSequence() const
get RecordedRangeShifterSequence (3008,00f2)
Definition: drttsibs.h:628
OFCondition setROIDisplayColor(const OFString &value, const OFBool check=OFTrue)
set ROIDisplayColor (3006,002a)
DRTConsentForClinicalTrialUseSequence & operator=(const DRTConsentForClinicalTrialUseSequence ©)
assigment operator
virtual OFCondition getLossyImageCompressionMethod(OFString &value, const signed long pos=0) const
Get Lossy Image Compression Method.
void Init()
initialize further member variables
OFCondition checkCTandMRAttributes(DcmItem *dataset, const OFString &sopClass, const OFFilename &filename)
check attributes for compliance with CT and MR application profile
AlternateContentDescriptionItem()
Constructor.
OFCondition getNumberOfBlocks(OFString &value, const signed long pos=0) const
get NumberOfBlocks (300a,00f0)
DcmShortString PerformedProcedureStepID
PerformedProcedureStepID (0040,0253) vr=SH, vm=1, type=3.
Definition: drtionpl.h:3103
static OFCondition putUint16Value(DcmItem *item, DcmTagKey tag, Uint16 value)
helper function that inserts a new element into a DICOM dataset.
OFCondition receiveDIMSEDataset(T_ASC_PresentationContextID *presID, DcmDataset **dataObject)
Receives one dataset (of instance data) via network from another DICOM application.
@ EVR_AS
age string
Definition: dcvr.h:126
OFBool iconImageMode() const
get current status of the "create icon images" mode.
Definition: dcddirif.h:393
Item class.
Definition: drtpcs.h:37
virtual OFCondition getGantryID(OFString &value, const signed long pos=0) const
get GantryID (0018,1008)
OFBool isServerActive()
checks whether the message server has been found active upon creation of this object.
Definition: dvpsmsg.h:234
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
DRTReferencedVerificationImageSequence & operator=(const DRTReferencedVerificationImageSequence ©)
assigment operator
DcmDecimalString GridFrameOffsetVector
GridFrameOffsetVector (3004,000c) vr=DS, vm=2-n, type=1C.
Definition: drtdose.h:4582
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition write(const E_TransferSyntax oxfer=DICOMDIR_DEFAULT_TRANSFERSYNTAX, const E_EncodingType enctype=EET_UndefinedLength, const E_GrpLenEncoding glenc=EGL_withoutGL)
writes DICOMDIR to file
@ PVS_Normal
normal, no errors
Definition: ofcmdln.h:195
@ DGM_StoreToFile
receive dataset in memory, perform some conversions and store it to file
Definition: dstorscp.h:89
DiImage * createMono(const double dummy1, const double dummy2, const double dummy3) const
create monochrome copy of the current image.
E_ContinuityOfContent
SR continuity of content flag.
Definition: dsrtypes.h:729
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition setPixelPaddingValue(const Uint16 value, const unsigned long pos=0)
set PixelPaddingValue (0028,0120)
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtccs.h:347
virtual OFCondition getTimezoneOffsetFromUTC(OFString &value, const signed long pos=0) const
get TimezoneOffsetFromUTC (0008,0201)
static OFCondition decompress(DcmDataset &dset)
Decompress the given dataset if required.
OFVector(const_iterator from, const_iterator to)
construct an OFVector from a range of iterators.
Definition: ofvector.h:118
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
virtual OFCondition read(DcmInputStream &inStream, const E_TransferSyntax xfer=EXS_Unknown, 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...
int m_fileHandle
File handle for our file, -1 if we don't have any file.
Definition: oftempf.h:119
OFBool isEmpty()
check if item is empty
~DSRReferencedInstanceList()
destructor
Item class.
Definition: drtrpps.h:37
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
virtual void resetRules()
Resets rules to their original values.
OFCondition getPatientSetupLabel(OFString &value, const signed long pos=0) const
get PatientSetupLabel (300a,0183)
@ COMP_YES
YES (lossy image compression used)
Definition: dpmtypes.h:80
const Item & getItem(const size_t num) const
get particular item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
void deleteText(XMLCSTR lpszValue)
Delete the text content "lpszValue" inside the current XMLNode (direct "pointer-to-pointer" compariso...
virtual ~Item()
destructor
virtual ~DRTReferencedCalculatedDoseReferenceSequence()
destructor
void recalcVR()
set the current VR, which is always OB if the currently selected pixel representation is compressed,...
Definition: dcpixel.h:244
DcmDirectoryRecord * buildWaveformRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update waveform record and copy required values from dataset
virtual OFCondition setTrackSetLabel(const OFString &value, const OFBool checkValue=OFTrue)
Set Track Set Label.
@ MilliliterPerMinutePerGram
(ml/min/g,UCUM,"Milliliter/minute/gram"), included from CID 84
Definition: cid7181.h:110
OFCondition getROIVolume(Float64 &value, const unsigned long pos=0) const
get ROIVolume (3006,002c)
DcmDecimalString SourceIsotopeHalfLife
SourceIsotopeHalfLife (300a,0228) vr=DS, vm=1, type=1.
Definition: drtss.h:424
virtual ~TrcTractographyResults()
Destructor, frees memory.
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
Interface class for ProtocolContextSequence (0040,0440)
Definition: drtpcxs.h:33
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModule & getLateralSpreadingDeviceSettingsSequence()
get LateralSpreadingDeviceSettingsSequence (300a,0370)
Definition: drticpds.h:499
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence() const
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtplan.h:1478
OFCondition setReferencedRangeModulatorNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedRangeModulatorNumber (300c,0104)
virtual OFCondition setTimeOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set TimeOfLastCalibration (0018,1201)
DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence()
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtdose.h:2176
OFCondition getReferencedRangeShifterNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedRangeShifterNumber (300c,0100)
Item & getCurrentItem()
get current item in the sequence
DcmTime TreatmentControlPointTime
TreatmentControlPointTime (3008,0025) vr=TM, vm=1, type=1.
Definition: drticpds.h:888
virtual OFCondition getPatientBodyMassIndex(OFString &value, const signed long pos=0) const
get PatientBodyMassIndex (0010,1022)
This implements a search predicate for findItem which looks for some object attribute via the equalit...
Definition: drmsrch.h:65
virtual DcmEVR ident(void) const
get element type identifier
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtfgs.h:527
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
IODImagePixelBase * operator()(IODImagePixelBase &base)
Returns the base class pointer of all pixel modules.
Definition: modimagepixelvariant.h:48
unsigned int getCRC32() const
returns the current CRC as unsigned int
Definition: ofcrc32.h:61
Item & operator[](const size_t num)
get particular item in the sequence
DRTDeidentificationMethodCodeSequence DeidentificationMethodCodeSequence
DeidentificationMethodCodeSequence (0012,0064) vr=SQ, vm=1, type=1C.
Definition: drtimage.h:4847
@ _60_Copper
(425364008,SCT,"^60^Copper")
Definition: cid4020.h:72
OFCondition setCode(const OFString &codeValue, const OFString &codingSchemeDesignator, const OFString &codeMeaning, const DSRTypes::E_CodeValueType codeValueType=DSRTypes::CVT_auto, const OFExplicitBool check=OFTrue)
set code.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmUnlimitedCharacters StrainDescription
StrainDescription (0010,0212) vr=UC, vm=1, type=3.
Definition: drtiontr.h:2838
DRTImageIOD()
default constructor
OFBool inventMode() const
get current status of the "invent missing values" mode.
Definition: dcddirif.h:366
size_t fread(void *ptr, size_t size, size_t n)
reads n elements of data, each size bytes long, from the stream, storing them at the location given b...
Definition: offile.h:540
DRTPurposeOfReferenceCodeSequence & getPurposeOfReferenceCodeSequence()
get PurposeOfReferenceCodeSequence (0040,a170)
Definition: drtsis.h:149
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModule & getRangeModulatorSettingsSequence()
get RangeModulatorSettingsSequence (300a,0380)
Definition: drticpds.h:523
virtual void resetRules()
Resets rules to their original values.
OFBool isKnownAbstractSyntax(const char *key, const DcmUIDHandler &abstractSyntax) const
checks if the given abstract syntax is contained in the list identified by the given key.
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtccs.h:355
DcmLongText PatientComments
PatientComments (0010,4000) vr=LT, vm=1, type=3.
Definition: drtdose.h:4110
Interface class for UDISequence (0018,100a)
Definition: drtudis.h:28
unsigned long renderedImageHeight
contains the height of the attached image after pixel data have been rendered (w/o clipping).
Definition: dvpstat.h:1222
OFCondition setImageReference(const DSRImageReferenceValue &referenceValue, const OFBool check=OFTrue)
set image reference.
const Item & getCurrentItem() const
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtporis.h:391
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getUint64(Uint64 &uintVal, const unsigned long pos=0)
get particular integer value
const DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence() const
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtiontr.h:1233
OFCondition addComputedTomographyDescriptors(DSRDocumentSubTree &tree, DcmItem &dataset, const AddImageMode mode, const ConceptNameList &descriptors, const OFBool check)
add image library entry descriptors for CT (TID 1605)
Item & operator[](const size_t num)
get particular item in the sequence
virtual void resetConfiguration()
Reset all values contained in this hierarchy instance to their default.
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
void addGraphicObject(DVPSGraphicObject *graphic)
adds the given graphic object to the list of graphic objects managed by this object.
DcmDecimalString SourceToBeamLimitingDeviceDistance
SourceToBeamLimitingDeviceDistance (300a,00ba) vr=DS, vm=1, type=3.
Definition: drtblds6.h:220
static OFBool haveReferencedUIDItem(DcmSequenceOfItems &seq, const char *uid)
static helper method that checks whether the given sequence contains an item with a ReferencedSOPClas...
OFListIterator(ItemStruct *) Iterator
internal cursor to current (selected) list item
int setNoVoiTransformation()
unset all VOI transformations (windows and LUTs).
DcmCodeString SpecificCharacterSet
SpecificCharacterSet (0008,0005) vr=CS, vm=1-n, type=1C.
Definition: drtplan.h:3354
virtual OFCondition getClinicalTrialSponsorName(OFString &value, const signed long pos=0) const
get ClinicalTrialSponsorName (0012,0010)
OFBool m_doAttribChecking
if enabled, some simple attribute checking is performed default: enabled (OFTrue)
Definition: i2doutpl.h:206
OFBool ValidReference
flag indicating whether the reference is valid or not (i.e.
Definition: dsrreftn.h:300
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
const DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence() const
get RequestingServiceCodeSequence (0032,1034)
Definition: drtstrct.h:1716
E_SubSampling sampleFactors
subsampling mode for color image compression
Definition: djcparam.h:356
void deleteIconImage()
delete the currently stored icon image, i.e. free the associated memory and "forget" the internal ref...
CID7469_GenericIntensityAndSizeMeasurements(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
virtual OFCondition setStudyDescription(const OFString &value, const OFBool check=OFTrue)
set StudyDescription (0008,1030)
static int Function(const T1 *x, const T2 *y, const unsigned int n, T3_ *y2, const T3_ yp1=1.0e30, const T3_ ypn=1.0e30)
calculate spline function for given points.
Definition: displint.h:67
virtual ~Item()
destructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModule & operator=(const DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModule ©)
assigment operator
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
AddImageMode
add mode for image entries
Definition: tid1600.h:83
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getSourceApplicatorID(OFString &value, const signed long pos=0) const
get SourceApplicatorID (300a,0291)
DcmDateTime SOPAuthorizationDateTime
SOPAuthorizationDateTime (0100,0420) vr=DT, vm=1, type=3.
Definition: drtdose.h:4671
OFBool getOptimizeHuffmanCoding() const
returns huffman table optimization flag for 8 bits/pixel compression
Definition: djcparam.h:122
OFBool operator==(const DSRListOfItems< T > &lst) const
comparison operator "equal"
Definition: dsrtlist.h:104
DcmCodeString FractionGroupType
FractionGroupType (3008,0224) vr=CS, vm=1, type=2.
Definition: drtfgss.h:194
DcmLongString ClinicalTrialSubjectID
ClinicalTrialSubjectID (0012,0040) vr=LO, vm=1, type=1C.
Definition: drtplan.h:3050
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setCompensatorType(const OFString &value, const OFBool check=OFTrue)
set CompensatorType (300a,00ee)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtas1.h:373
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setVOILUT(DcmUnsignedShort &lutDescriptor, DcmUnsignedShort &lutData, DcmLongString &lutExplanation, DVPSObjectApplicability applicability=DVPSB_currentImage)
stores a VOI lookup table in the presentation state.
DcmLongString ClinicalTrialProtocolID
ClinicalTrialProtocolID (0012,0020) vr=LO, vm=1, type=1C.
Definition: drtcctus.h:144
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtads.h:533
OFVector< IODReference * > m_References
Set of references managed by this class.
Definition: iodreferences.h:360
DiMono2Image(const DiDocument *docu, const EI_Status status, const double slope, const double intercept)
constructor, modality (linear)
virtual DiImage * createScale(const signed long left_pos, const signed long top_pos, const unsigned long clip_width, const unsigned long clip_height, const unsigned long scale_width, const unsigned long scale_height, const int interpolate, const int aspect, const Uint16 pvalue) const =0
create scaled copy of specified (clipping) area of the current image object (abstract).
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
DRTOriginalAttributesSequence OriginalAttributesSequence
OriginalAttributesSequence (0400,0561) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3196
virtual OFCondition read(DcmItem &)
hide DRTImageIOD::read().
Definition: drmimage.h:242
void place(const signed int left_pos, const signed int top_pos)
move overlay plane to a new place
Class representing the "Frame VOI LUT" Functional Group Macro.
Definition: fgframevoilut.h:32
virtual ~DSRTCoordTreeNode()
destructor
@ CalculationFailure
(114008,DCM,"Calculation failure")
Definition: cid42.h:60
void addItem(const T &item)
add item to the list
Definition: dsrtlist.h:242
DRTConceptNameCodeSequence & getConceptNameCodeSequence()
get ConceptNameCodeSequence (0040,a043)
Definition: drtcims.h:212
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
virtual offile_off_t write(const void *buf, offile_off_t buflen)=0
processes as many bytes as possible from the given input block.
OFSet()
Default constructor.
Definition: ofset.h:50
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
DcmIntegerString ReferencedFractionGroupNumber
ReferencedFractionGroupNumber (300c,0022) vr=IS, vm=1, type=1.
Definition: drtrfgs.h:155
Interface class for RTROIObservationsSequence (3006,0080)
Definition: drtrros.h:33
UserIdentityNegotiationSubItemAC(const UserIdentityNegotiationSubItemAC &rhs)
Copy constructor, does a deep copy of a class instance.
helpers::SharedObjectPtr< Appender > SharedAppenderPtr
This is a pointer to an Appender.
Definition: appender.h:254
virtual OFBool isValid() const
check whether the content item is valid.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmTransportConnection & operator=(const DcmTransportConnection &)
private undefined assignment operator
virtual void RemoveByIndex(unsigned int idx)
Removes one item from the set.
Definition: ofoset.h:264
Item & getCurrentItem()
get current item in the sequence
DRTOperatorIdentificationSequence(const DRTOperatorIdentificationSequence ©)
copy constructor
DcmDecimalString PatientWeight
PatientWeight (0010,1030) vr=DS, vm=1, type=3.
Definition: drtimage.h:4926
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtaadcs.h:331
Sint16 Left
x-coordinate of overlay plane's origin
Definition: diovpln.h:432
const OFString & getRetrieveAETitle(OFString &stringValue) const
get the retrieve application entity title of the currently selected entry (optional).
@ TopicalRoute
(6064005,SCT,"Topical route")
Definition: cid11.h:64
Uint16 getRND16()
return a random Uint16 value
DcmIntegerString ReferencedBeamNumber
ReferencedBeamNumber (300c,0006) vr=IS, vm=1, type=1.
Definition: drtrbs8.h:283
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
DRTRequestingServiceCodeSequence RequestingServiceCodeSequence
RequestingServiceCodeSequence (0032,1034) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3091
virtual OFCondition setClinicalTrialSponsorName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSponsorName (0012,0010)
virtual OFCondition getPlanIntent(OFString &value, const signed long pos=0) const
get PlanIntent (300a,000a)
DcmTime ContrastBolusStartTime
ContrastBolusStartTime (0018,1042) vr=TM, vm=1, type=3.
Definition: drtimage.h:5195
OFBool isaString() const
check if this element is a string type, based on the VR.
Definition: dcobject.h:301
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
Class for content item SCOORD3D.
Definition: dsrsc3tn.h:42
OFCondition gotoNextItem()
goto next item in the sequence
const char * getPresentationCreatorsName()
returns the creator's name for the presentation state.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getOccupation(OFString &value, const signed long pos=0) const
get Occupation (0010,2180)
DSRIncludedTemplateTreeNode(const DSRIncludedTemplateTreeNode &node)
copy constructor.
Item & operator[](const size_t num)
get particular item in the sequence
int getQuality() const
returns the compression quality factor
Definition: djrploss.h:67
void remove(const T &value)
removes all elements from the list referred by an iterator i where *i == value
Definition: oflist.h:500
OFCondition setDVHNumberOfBins(const OFString &value, const OFBool check=OFTrue)
set DVHNumberOfBins (3004,0056)
DcmFloatingPointSingle boundingBoxBRHC
VR=FL, VM=2, Type 1c.
Definition: dvpstx.h:202
DVPSReferencedImage & operator=(const DVPSReferencedImage &source)
undefined private assignment operator
virtual OFCondition write(DcmItem &item)
Writes the content of this class into Frame Content Sequence (newly cerated) into given item.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool opt_readSeriesInfo
*pre-existing series
Definition: dcencdoc.h:254
void closeNestedAppenders() const
Close all attached appenders implementing the AppenderAttachable interface.
OFCondition getReferencedROINumber(OFString &value, const signed long pos=0) const
get ReferencedROINumber (3006,0084)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtdss.h:421
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setClinicalTrialSponsorName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSponsorName (0012,0010)
double getRowColumnRatio() const
get pixel's rows/column ratio
Definition: diimage.h:189
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
TID300_Measurement & getMeasurement() const
get current measurement value of this measurement group as defined by TID 300 (Measurement),...
Definition: tid1501.h:131
OFCondition setBolusID(const OFString &value, const OFBool check=OFTrue)
set BolusID (300a,00dc)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtads.h:333
virtual int compare(const IODComponent &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
static OFBool addStatusDetail(DcmDataset **statusDetail, const DcmElement *elem)
Add given element to existing status detail object or create new one.
OFCondition getReferencedBlockNumber(OFString &value, const signed long pos=0) const
get ReferencedBlockNumber (300c,00e0)
size_t getNumberOfItems() const
get number of items in the sequence
const Item & getCurrentItem() const
get current item in the sequence
DcmIntegerString ExposureTime
ExposureTime (0018,1150) vr=IS, vm=1, type=3.
Definition: drtimage.h:5354
ConcatenationInfo m_ConcatenationInfo
Concatenation Information.
Definition: modmultiframefg.h:286
A non-POD version of "struct passwd" for thread- and memory-safe data access.
Definition: ofpwd.h:63
@ CS_Hebrew
ISO-IR 138: Hebrew.
Definition: dsrtypes.h:809
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTProcedureCodeSequence & getProcedureCodeSequence()
get ProcedureCodeSequence (0008,1032)
Definition: drtiontr.h:1599
virtual OFCondition check(DcmItem &item, const OFBool quiet=OFFalse)
Check whether the given item fulfills the requirements of this rule, i.e. the related attribute is ch...
virtual OFString getName() const
Get name of macro.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getBeamMeterset(Float64 &value, const unsigned long pos=0) const
get BeamMeterset (300a,0086)
DRTIssuerOfAccessionNumberSequence IssuerOfAccessionNumberSequence
IssuerOfAccessionNumberSequence (0008,0051) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4895
const OFdirectory_entry & reference
OFdirectory_iterator's '*' operator will give you a const reference to an OFdirectory_entry.
Definition: offilsys.h:443
DRTReferencedVerificationImageSequence & getReferencedVerificationImageSequence()
get ReferencedVerificationImageSequence (300c,0040)
Definition: drttsibs.h:694
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
get SeriesInstanceUID (0020,000e)
DcmPersonName PersonName
PersonName (0040,a123) vr=PN, vm=1, type=1C.
Definition: drtqds.h:353
virtual void clearData()
Clear all data.
OFBool changeVR
this flag is used during write operations in Implicit VR Little Endian and notes that the VR has temp...
Definition: dcvrpobw.h:240
virtual ~DRTDigitalSignaturesSequence()
destructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setLongitudinalTemporalOffsetFromEvent(const Float64 value, const unsigned long pos=0)
set LongitudinalTemporalOffsetFromEvent (0012,0052)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrdrs1.h:332
OFListIterator(Item *) CurrentItem
currently selected item
IODGeneralStudyModule()
Constructor.
OFBool operator==(const OFSetIterator< T > &other) const
Determines if two iterators are identical.
Definition: ofsetit.h:121
Class for checking the relationship content constraints of the Colon CAD SR IOD.
Definition: dsrcolcc.h:42
E_ValueStatus getValueAndCheckMinMax(OFCmdSignedInt &value, const OFCmdSignedInt low, const OFCmdSignedInt high)
returns next argument as a signed integer value and checks for given boundaries
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
@ DcmRepresentativeColorType_centerOfBox
choose center of the box, ignoring any structure within the boxes
Definition: diqttype.h:77
CodeSequenceMacro m_MeasurementUnitsCode
Measurement Units Code Sequence.
Definition: fgrealworldvaluemapping.h:414
virtual OFCondition write(DcmItem &itemOfDerivationImageSequence)
Write Derivation Image Sequence Item describing derivation from a set of images.
virtual OFCondition addCodedEntry(const DSRCodedEntryValue &codedEntryValue)
add a coded entry to this context group as an extension, i.e. as a non-standard code.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtscris.h:128
void removeRationalRepresentation()
remove rational representation of the numeric value (if any).
const Item & getItem(const size_t num) const
get particular item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtds.h:724
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
virtual OFCondition expandIncludedTemplates(DSRDocumentSubTree *tree) const
expand all "included template" content items in a given (sub)tree.
virtual OFCondition createNewSeriesInStudy(const OFString &studyUID, const OFBool check=OFTrue)
create a new series within a given study.
OFString CodingSchemeDesignator
Coding Scheme Designator (VR=SH, type 1C)
Definition: dsrcodvl.h:713
const DRTRangeShifterSequence & getRangeShifterSequence() const
get RangeShifterSequence (300a,0314)
Definition: drtibs.h:618
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getPatientAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientAlternativeCalendar (0010,0035)
signed long renderedImageBottom
contains the bottom hand corner of the attached image after pixel data have been rendered.
Definition: dvpstat.h:1233
const unsigned char m_itemType
Item type of this user item.
Definition: dcuserid.h:146
virtual OFCondition getSpacingBetweenSlices(Float64 &value, const signed long pos=0)
Get Spacing Between Slices.
FunctionalGroups m_shared
Shared functional groups.
Definition: fginterface.h:306
OFBool DescriptionAndCodeSequenceAttributesAreIncomplete(DcmTagKey descriptionTagKey, DcmTagKey codeSequenceTagKey, DcmItem *dset)
This method ensures that either code or description is set to a non-empty value, and at the same time...
OFCondition read(DcmItem &item)
read elements from sequence item
void notifyRequestedEncryptedDICOMConnection(Uint32 status, const char *txt)
sends RequestedEncryptedDICOMConnection notification to server.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmShortString MaterialID
MaterialID (300a,00e1) vr=SH, vm=1, type=2C.
Definition: drtcos.h:475
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpsics.h:533
virtual OFCondition readPatientData(DcmItem &dataset)
read PatientData from dataset
DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence()
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtdose.h:1936
Definition: dulstruc.h:266
friend DCMTK_DCMDATA_EXPORT STD_NAMESPACE ostream & operator<<(STD_NAMESPACE ostream &s, const DcmTagKey &k)
stream output operator for tag keys
DcmObject * append(DcmObject *obj)
insert object at end of list
OFCondition fillElementsAndReadSOP(const char *referencedFileID, const OFFilename &sourceFileName, DcmFileFormat *fileFormat=NULL)
Load all necessary info for this directory record.
Item & operator[](const size_t num)
get particular item in the sequence
DcmIntegerString DVHNumberOfBins
DVHNumberOfBins (3004,0056) vr=IS, vm=1, type=1.
Definition: drtdvhs.h:315
const DRTPatientSizeCodeSequence & getPatientSizeCodeSequence() const
get PatientSizeCodeSequence (0010,1021)
Definition: drtplan.h:1634
OFCondition getReferencedDoseReferenceUID(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceUID (300a,0083)
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
DRTIssuerOfAdmissionIDSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
void updateSignatureValidationOverview()
updates the overview HTML page.
Definition: jpegint12.h:144
@ CS_ChineseGB18030
GB18030: Chinese.
Definition: dsrtypes.h:821
@ TRT_Multisegment
DICOM Temporal Range Type: MULTISEGMENT.
Definition: dsrtypes.h:717
Class implementing a list of document tree node filters that are combined with OR (disjunction)
Definition: dsrdnflt.h:141
OFCondition getToleranceTableNumber(OFString &value, const signed long pos=0) const
get ToleranceTableNumber (300a,0042)
OFBool tls13_enabled
indicator whether TLS 1.3 is enabled or disabled for the current profile
Definition: tlsciphr.h:420
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const =0
check whether specified content relationship is allowed for this IOD (abstract)
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtecs.h:338
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Interface class for RTPlanIOD.
Definition: drtplan.h:92
representation of an association used for DICOM Basic Grayscale Print.
Definition: dvpspr.h:61
virtual OFCondition setSOPInstanceUID(const OFString &value, const OFBool checkValue=OFTrue)
Set SOP Instance UID.
DcmFileFormat * dfile
will hold file to modify
Definition: mdfdsman.h:239
DRTRequestingServiceCodeSequence RequestingServiceCodeSequence
RequestingServiceCodeSequence (0032,1034) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4204
OFCondition getSpatialCoordinates3D(DSRSpatialCoordinates3DValue &coordinatesValue) const
get copy of spatial coordinates 3D.
CID4031e_CommonAnatomicRegions(const OFString &selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setReferencedWedgeNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedWedgeNumber (300c,00c0)
DRTAdmittingDiagnosesCodeSequence AdmittingDiagnosesCodeSequence
AdmittingDiagnosesCodeSequence (0008,1084) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2946
size_t offset_
contains the number of bytes already written the the memory block pointed to by currentBlock_.
Definition: dcrleenc.h:386
virtual OFCondition getPresentationLUTShape(OFString &value, const signed long pos=0) const
get PresentationLUTShape (2050,0020)
Mutex mutex
Mutex protecting queue and flags.
Definition: queue.h:134
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
Item & operator=(const Item ©)
assigment operator
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setOverlayLabel(const OFString &value, const OFBool check=OFTrue)
set OverlayLabel (60xx,1500)
OFerror_category serves as the base class for specific error category types, such as OFsystem_categor...
Definition: oferror.h:82
virtual OFCondition setIssuerOfPatientID(const OFString &value, const OFBool check=OFTrue)
set issuer of patient ID
DRTPatientBreedCodeSequence PatientBreedCodeSequence
PatientBreedCodeSequence (0010,2293) vr=SQ, vm=1, type=2C.
Definition: drtiontr.h:2834
DcmDateTime InstanceCoercionDateTime
InstanceCoercionDateTime (0008,0015) vr=DT, vm=1, type=3.
Definition: drtdose.h:4648
OFCondition getLateralSpreadingDeviceWaterEquivalentThickness(Float32 &value, const unsigned long pos=0) const
get LateralSpreadingDeviceWaterEquivalentThickness (300a,033c)
DcmIntegerString SourceApplicatorNumber
SourceApplicatorNumber (300a,0290) vr=IS, vm=1, type=3.
Definition: drtchs.h:665
OFCondition setRows(const Uint16 value, const unsigned long pos=0)
set Rows (0028,0010)
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
void clear()
clear all internal member variables
DcmIntegerString StartTrim
StartTrim (0008,2142) vr=IS, vm=1, type=3.
Definition: drtimage.h:5218
virtual void emitMessage(int msg_level) const
callback function used to report warning messages and the like.
void deleteAttribute(XMLAttribute *anAttribute)
Delete the attribute with the name "anAttribute->lpszName" (the "strcmp" function is used to find the...
virtual OFCondition getWindowCenter(OFString &value, const signed long pos=0) const
get WindowCenter (0028,1050)
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableOther64bitVeryLongVRGeneration
Global flag to enable/disable the generation of VR=OV, which has been introduced after the first edit...
@ ShortAxis
(103340004,SCT,"Short Axis"), included from CID 7470
Definition: cid7469.h:366
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
Item class.
Definition: drtmacds.h:37
Struct representing a single frame.
Definition: iodtypes.h:74
OFCondition setGeneralAccessoryDescription(const OFString &value, const OFBool check=OFTrue)
set GeneralAccessoryDescription (300a,0422)
virtual OFCondition setStartCumulativeMetersetWeight(const OFString &value, const OFBool check=OFTrue)
set StartCumulativeMetersetWeight (300c,0008)
DRTStrainCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual int processNextFrames(const unsigned long fcount)
process next couple of frames
virtual ~OFConsole()
destructor.
Definition: ofconsol.h:78
Item EmptyItem
empty default item
Definition: drtpsics.h:540
static const int busy
this constant is returned by the trywait() method if the semaphore is already locked.
Definition: ofthread.h:310
Item class.
Definition: drtssrcs.h:37
OFCondition setAlternateBeamDose(const OFString &value, const OFBool check=OFTrue)
set AlternateBeamDose (300a,0091)
OFCondition writeSequenceItem(DcmItem &item, const DcmTagKey &tagKey) const
write code to sequence item
@ ST_BINARY
Binary segmentation with 1 bit depth denoting whether a pixel belongs to a segmentation or not.
Definition: segtypes.h:93
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFCondition getParameterValueNumber(Uint16 &value, const unsigned long pos=0) const
get ParameterValueNumber (3008,0067)
DRTStrainStockSequence & getStrainStockSequence()
get StrainStockSequence (0010,0216)
Definition: drtimage.h:3094
Item(const Item ©)
copy constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
OFCondition getTableTopPitchRotationDirection(OFString &value, const signed long pos=0) const
get TableTopPitchRotationDirection (300a,0142)
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFBool getCreateOffsetTable() const
returns create offset table flag
Definition: djcparam.h:122
Item & getItem(const size_t num)
get particular item in the sequence
const LogLevel OFF_LOG_LEVEL
The OFF_LOG_LEVEL LogLevel is used during configuration to turn off logging.
Definition: loglevel.h:54
ContentIdentificationMacro m_ContentIdentification
Content Identification for this Tractography Results object.
Definition: trcmodtractresults.h:161
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpss.h:528
OFCondition read(DcmItem &item)
read elements from sequence item
const DRTMACParametersSequence & getMACParametersSequence() const
get MACParametersSequence (4ffe,0001)
Definition: drtdose.h:2206
static OFerror_code getLastNetworkErrorCode()
Retrieve the last network specific error code that was emitted in the calling thread.
const size_t Ident
unique identifier (created automatically)
Definition: dsrtree.h:173
DSRPositionCounter(const size_t flags=0)
(default) constructor
DRTReferencedImageSequence & getReferencedImageSequence()
get ReferencedImageSequence (0008,1140)
Definition: drtplan.h:1736
OFCondition writeHardcopyImageAttributes(DcmItem &dset)
writes the patient module attributes and a source image sequence for a grayscale hardcopy image.
OFCondition saveStructuredReport()
saves the current structured report in the same directory in which the database index file resides.
static void rgb2Xyz(double &X, double &Y, double &Z, double R, double G, double B)
Convert sRGB color representation to CIE XYZ representation.
DcmQuantPixelBox & operator[](size_t idx)
looks up an array element
Definition: diqtpbox.h:85
Definition of standard types used throughout the toolkit.
OFCondition setLateralSpreadingDeviceNumber(const OFString &value, const OFBool check=OFTrue)
set LateralSpreadingDeviceNumber (300a,0334)
const Item & getItem(const size_t num) const
get particular item in the sequence
Uint16 Height
visible height
Definition: diovpln.h:434
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
Extend this class for implementing your own strategies for printing log statements.
Definition: appender.h:114
static const size_t XF_writeTemplateIdentification
write: write template identification information (TID and mapping resource)
Definition: dsrtypes.h:367
OFBool operator==(const DcmQuantPixel &src) const
comparison operator for equality
Definition: diqtpix.h:68
DRTIonBlockSequence(const DRTIonBlockSequence ©)
copy constructor
OFCondition setPatientPosition(const OFString &value, const OFBool check=OFTrue)
set PatientPosition (0018,5100)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
unsigned long printerNumberOfCopies
printer number of copies
Definition: dviface.h:1803
OFCondition getTreatmentTerminationStatus(OFString &value, const signed long pos=0) const
get TreatmentTerminationStatus (3008,002a)
OFCondition getReferencedSegmentNumber(Uint16 &value, const unsigned long pos=0) const
get ReferencedSegmentNumber (0062,000b)
virtual unsigned long getNumberOfValues()=0
get number of values stored in this object
log4cplus::tstring const & getProperty(const log4cplus::tstring &key) const
Searches for the property with the specified key in this property list.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setPrivateDataElementDescription(const OFString &value, const OFBool check=OFTrue)
set PrivateDataElementDescription (0008,030e)
Item EmptyItem
empty default item
Definition: drtibs.h:1248
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
virtual OFBool matches(const DcmElement &candidate, const OFBool enableWildCardMatching=OFTrue) const
perform attribute matching.
Item & getCurrentItem()
get current item in the sequence
OFCondition getDVHData(OFVector< Float64 > &value) const
get DVHData (3004,0058)
OFCondition deleteSpooledImages()
deletes as many images as fit on the current page according to the image display format settings.
static OFBool fileExists(const OFFilename &fileName)
check whether the given file exists.
DiFlipTemplate(const int planes, const Uint16 columns, const Uint16 rows, const Uint32 frames)
constructor.
Definition: diflipt.h:90
virtual void compactElements(const Uint32 maxLength)
iterate over all elements and remove those element values from memory which exceed a given length and...
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setHL7InstanceIdentifier(const OFString &value, const OFBool check=OFTrue)
set HL7InstanceIdentifier (0040,e001)
DRTAssigningFacilitySequence(const DRTAssigningFacilitySequence ©)
copy constructor
virtual OFCondition getLongitudinalTemporalInformationModified(OFString &value, const signed long pos=0) const
get LongitudinalTemporalInformationModified (0028,0303)
DcmIntegerString PixelAspectRatio
PixelAspectRatio (0028,0034) vr=IS, vm=2, type=1C.
Definition: drtimage.h:5154
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item EmptyItem
empty default item
Definition: drtdimcs.h:540
DSRDocumentTreeNodeHasConceptNameFilter(const OFBool hasConceptName=OFTrue)
constructor
@ BloodOxygenationLevel
(110819,DCM,"Blood Oxygenation Level"), included from CID 7180
Definition: cid7469.h:154
OFCondition getCompensatorPixelSpacing(OFString &value, const signed long pos=0) const
get CompensatorPixelSpacing (300a,00e9)
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setAllergies(const OFString &value, const OFBool check=OFTrue)
set Allergies (0010,2110)
int setInversePresentationLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set inverse LUT for presentation transformation.
Definition: dcmimage.h:972
OFBool isTagInDictionary(const DcmTagKey &search_key)
Returns true, if given tag key can be found in dictionary.
@ CreatineAndCholine
(113094,DCM,"Creatine and Choline"), included from CID 4033
Definition: cid7469.h:52
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFUnorderedSet(const OFUnorderedSet< T > &src)
Copy constructor.
Definition: ofuoset.h:61
void clear()
clear all internal member variables
DRTReferencedRTPlanSequence ReferencedRTPlanSequence
ReferencedRTPlanSequence (300c,0002) vr=SQ, vm=1, type=1C.
Definition: drtdose.h:4578
Item & getCurrentItem()
get current item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence() const
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtiontr.h:1413
const DRTIonBeamSequence & getIonBeamSequence() const
get IonBeamSequence (300a,03a2)
Definition: drtionpl.h:1445
Uint32 randb
internal state of the PRNG
Definition: ofrand.h:89
static OFBool hasDefaultEncoding()
determine whether the underlying implementations defines a default encoding.
OFCondition setWedgeType(const OFString &value, const OFBool check=OFTrue)
set WedgeType (300a,00d3)
size_t getNumberOfItems() const
get number of items in the sequence
DcmPersonName referringPhysicianName
Module=General_Study, VR=PN, VM=1, Type 2.
Definition: dcmpstat.h:811
OFBool gotoItemPos(size_t idx, OFLIST_TYPENAME OFListConstIterator(T) &iterator) const
goto specified item position
Definition: dsrtlist.h:319
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool isEmpty()
check if sequence is empty
virtual int compare(const IODComponent &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
@ DT_ExtensibleSR
DICOM IOD: Extensible SR (not yet implemented)
Definition: dsrtypes.h:535
virtual OFCondition getTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource, OFString &mappingResourceUID) const
get template identifier, mapping resource and optional mapping resource UID from the root node of thi...
DRTToleranceTableSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual ~Item()
destructor
DRTApplicatorGeometrySequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition setTimezoneOffsetFromUTC(const OFString &value, const OFBool check=OFTrue)
set TimezoneOffsetFromUTC (0008,0201)
E_CompressionColorSpaceConversion
describes how color space conversion should be handled during the conversion of an uncompressed DICOM...
Definition: djutils.h:128
OFList< JPEGFileMapEntry * > m_jpegFileMap
JPEG file map.
Definition: i2djpgs.h:326
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
DcmFloatingPointDouble LongitudinalTemporalOffsetFromEvent
LongitudinalTemporalOffsetFromEvent (0012,0052) vr=FD, vm=1, type=3.
Definition: drtplan.h:3155
static OFCondition updateDerivationDescription(DcmItem *dataset, double ratio)
create Derivation Description.
GlobalDcmDataDictionary()
constructor.
@ AIC
(126223,DCM,"AIC"), included from CID 7180
Definition: cid7469.h:200
static const OFString & currentDate(OFString &dateString)
get current date in DICOM 'DA' format.
virtual ~Item()
destructor
Item class.
Definition: drtpvis.h:36
DcmLongString PatientBirthDateInAlternativeCalendar
PatientBirthDateInAlternativeCalendar (0010,0033) vr=LO, vm=1, type=3.
Definition: drtplan.h:2975
virtual OFCondition decode(const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *pixSeq, DcmPolymorphOBOW &uncompressedPixelData, const DcmCodecParameter *cp, const DcmStack &objStack) const =0
decompresses the given pixel sequence and stores the result in the given uncompressedPixelData elemen...
virtual OFBool operator==(const OFDate &dateVal) const
comparison operator (equal)
Appends log events to a file.
Definition: fileap.h:107
OFCondition getNominalBeamEnergy(Float64 &value, const unsigned long pos=0) const
get NominalBeamEnergy (300a,0114)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence()
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtstrct.h:1254
const_iterator begin() const
get an iterator for the first element in this object.
Definition: ofvector.h:176
int lock()
locks the mutex object.
virtual OFCondition getStrainAdditionalInformation(OFString &value, const signed long pos=0) const
get StrainAdditionalInformation (0010,0218)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmShortString EthnicGroup
EthnicGroup (0010,2160) vr=SH, vm=1, type=3.
Definition: drtimage.h:4811
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtshds.h:359
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFBool isRTFractionSchemeModulePresent(const OFBool complete=OFFalse)
check whether RTFractionSchemeModule (U) is present.
OFCondition createRQ(const char *sopclassUID, OFString &sopinstanceUID, DcmDataset *attributeListIn, Uint16 &status, DcmDataset *&attributeListOut)
sends an N-CREATE-RQ message and receives response.
OFCondition generateUIDs(DcmDataset *dset)
Generates and inserts missing UIDs, ie UIDs not taken over from –dataset-from –study from and –series...
size_t gotoNode(const OFString &reference, const OFBool startFromRoot=OFTrue)
set internal cursor to specified node
Definition: dsrtree.h:644
DRTBeamLimitingDeviceSequenceInRTImageModule BeamLimitingDeviceSequence
BeamLimitingDeviceSequence (300a,00b6) vr=SQ, vm=1, type=3.
Definition: drtes.h:522
virtual OFCondition getCommentsOnThePerformedProcedureStep(OFString &value, const signed long pos=0) const
get CommentsOnThePerformedProcedureStep (0040,0280)
DcmByteString(const DcmByteString &old)
copy constructor
virtual void addAppender(SharedAppenderPtr newAppender)=0
Add an appender.
OFCondition getNumberOfRangeShifters(OFString &value, const signed long pos=0) const
get NumberOfRangeShifters (300a,0312)
int findStudyIdx(StudyDescRecord *study, const char *uid)
returns index of specified study within study description record
virtual OFBool hasVerifyingObservers() const
check whether there are one or more verifying observers.
OFCondition setImageSmoothingType(size_t idx, const char *value)
sets the (optional) smoothing type for the given registered image box.
Definition: dvpssp.h:442
virtual DcmCodecParameter * clone() const =0
this methods creates a copy of type DcmCodecParameter * it must be overwritten in every subclass.
bool acceptOnMatch
Do we return ACCEPT when a match occurs.
Definition: filter.h:279
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtsdcs.h:355
void setSeriesFrom(const OFString &file)
Set file from which patient/study/series data should be imported from.
Item & getItem(const size_t num)
get particular item in the sequence
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrbos1.h:165
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setXRayImageReceptorAngle(const OFString &value, const OFBool check=OFTrue)
set XRayImageReceptorAngle (3002,000e)
OFCondition streamedLength(unsigned long &length) const
Computes total length of item if streamed into buffer.
T_DIMSE_BlockingMode opt_blockMode
blocking mode for DIMSE operations
Definition: wlmactmg.h:73
DRTIssuerOfAdmissionIDSequence IssuerOfAdmissionIDSequence
IssuerOfAdmissionIDSequence (0038,0014) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4954
Uint16 getImageBoxPosition()
gets the current image box position, 0 if none is set.
size_t numberOfImageReferences()
gets the number of image references in all series managed by this list.
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
virtual unsigned long getVM()
get value multiplicity
OFBool operator!() const
Checks if *this does not manage an object, i.e.
Definition: ofmem.h:132
DCMTK_OFSTD_EXPORT const unsigned short EC_CODE_CannotOpenEncoding
status code constant: error, cannot open character encoding
OFCondition getBeamName(OFString &value, const signed long pos=0) const
get BeamName (300a,00c2)
DcmLongString ClinicalTrialSiteID
ClinicalTrialSiteID (0012,0030) vr=LO, vm=1, type=2.
Definition: drtionpl.h:2963
#define DcmQuantHashSize
size of color hash table. Don't touch this.
Definition: diqttype.h:35
OFCondition setNumberOfBoli(const OFString &value, const OFBool check=OFTrue)
set NumberOfBoli (300a,00ed)
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=2.
Definition: drtstrct.h:2976
DSRTreeNodeCursor()
default constructor
Definition: dsrtncsr.h:325
virtual OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get manufacturer
Item & operator=(const Item ©)
assigment operator
Item(const Item ©)
copy constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
DRTDerivationCodeSequence & getDerivationCodeSequence()
get DerivationCodeSequence (0008,9215)
Definition: drttreat.h:1215
virtual void updateTreeForOutput()
update the tree for subsequent output, e.g. for being printed or added to an SR document.
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=2.
Definition: drttms0.h:208
virtual ~Item()
destructor
virtual T * getAndRemoveRootNode()
get pointer to root node and "forget" the internal reference to this node.
Definition: dsrtree.h:892
@ IAUC90
(126322,DCM,"IAUC90"), included from CID 4109
Definition: cid7469.h:286
virtual ~Item()
destructor
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition read(DcmItem &dset)
reads a presentation state from a DICOM dataset.
OFCondition read(DcmItem &dataset, const size_t flags)
read list of referenced segment numbers
virtual OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
DcmLongString ClinicalTrialCoordinatingCenterName
ClinicalTrialCoordinatingCenterName (0012,0060) vr=LO, vm=1, type=2.
Definition: drtdose.h:4318
singleton that keeps list of registered codecs for dcmdata.
Definition: dccodec.h:293
static E_GraphicType enumeratedValueToGraphicType(const OFString &enumeratedValue)
convert DICOM enumerated value to graphic type
DRTDVHSequence & getDVHSequence()
get DVHSequence (3004,0050)
Definition: drtdose.h:2032
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtfds.h:391
void detachImage()
detaches and frees the image (incl.
static void initialize()
initialize this context group explicitly.
@ IntracardiacRoute
(372460008,SCT,"Intracardiac route")
Definition: cid11.h:82
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrsss.h:311
DcmCodecList & operator=(const DcmCodecList &)
private undefined copy assignment operator
virtual void clearData()
Clears all data.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtiais.h:141
Item & operator[](const size_t num)
get particular item in the sequence
DJLSCodecParameter(const DJLSCodecParameter &arg)
copy constructor
OFCondition setScanSpotTuneID(const OFString &value, const OFBool check=OFTrue)
set ScanSpotTuneID (300a,0390)
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmProfileMap & operator=(const DcmProfileMap &arg)
copy constructor, creates deep copy
DiColorFlipTemplate(const DiColorPixel *pixel, const Uint16 columns, const Uint16 rows, const Uint32 frames, const int horz, const int vert)
constructor
Definition: dicoflt.h:56
OFCondition gotoNextItem()
goto next item in the sequence
~UserIdentityNegotiationSubItemRQ()
Destructor, nothing to clean up.
virtual OFCondition setSoftTissueThermalIndex(const OFString &value, const OFBool checkValue=OFTrue)
Set Soft Tissue Thermal Index.
The class DcmPixelData stores different pixel representations identified by a type (the transfer synt...
Definition: dcpixel.h:147
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getBlockName(OFString &value, const signed long pos=0) const
get BlockName (300a,00fe)
interleaveMode
Constants describing the interleave mode which the encoder will use.
Definition: djcparam.h:38
virtual OFBool isValidSynchronizationTrigger(const OFString &value)
Check whether given string is a valid value for attribute Synchronization Trigger.
Item EmptyItem
empty default item
Definition: drtmss.h:347
OFBool isEmpty()
check if sequence is empty
unsigned long Count
number of pixels
Definition: dipixel.h:115
Item EmptyItem
empty default item
Definition: drtspccs.h:540
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtads.h:345
void bicubicPixel(const T *src[], T *dest[])
bicubic interpolation method (only for magnification)
Definition: discalet.h:1057
SiRSA(SiRSA &arg)
private undefined copy constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setGeneralAccessoryNumber(const OFString &value, const OFBool check=OFTrue)
set GeneralAccessoryNumber (300a,0424)
static const OFString m_ModuleName
This module's name (MultiframeDimensionModule)
Definition: modmultiframedimension.h:377
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTIonToleranceTableSequence IonToleranceTableSequence
IonToleranceTableSequence (300a,03a0) vr=SQ, vm=1, type=1.
Definition: drtionpl.h:3208
signed int Order
order of the polynomial curve fitting algorithm
Definition: didispfn.h:447
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
DcmDecimalString ROIVolume
ROIVolume (3006,002c) vr=DS, vm=1, type=3.
Definition: drtssrs.h:241
DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence()
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtimage.h:3070
virtual OFString getName() const
Get name of component.
DRTReferencedControlPointSequence(const DRTReferencedControlPointSequence ©)
copy constructor
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition setPatientBirthDate(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDate (0010,0030)
virtual DcmSCPConfig & getConfig()
Return handle to the SCP configuration that is used to configure how to handle incoming associations.
DRTEncryptedAttributesSequence & getEncryptedAttributesSequence()
get EncryptedAttributesSequence (0400,0500)
Definition: drtiontr.h:1323
virtual OFCondition setObservationUID(const OFString &observationUID, const OFBool check=OFTrue)
set observation unique identifier
DcmCodeString RTBeamLimitingDeviceType
RTBeamLimitingDeviceType (300a,00b8) vr=CS, vm=1, type=1.
Definition: drtblds5.h:218
Uint32 getTargetPrinterPortraitDisplayFormatRows(const char *targetID, Uint32 idx)
returns one row value from the DISPLAYFORMAT entry for the printer with the given target ID from the ...
OFBool getMOVEOriginatorInfo(OFString &aeTitle, Uint16 &messageID) const
get C-MOVE originator information (if set)
A template class for bit manipulations.
Definition: ofbmanip.h:43
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmDecimalString OrganAtRiskMaximumDose
OrganAtRiskMaximumDose (300a,002c) vr=DS, vm=1, type=3.
Definition: drtdrs.h:503
Uint32 getConnectionTimeout() const
Returns connection timeout.
OFCommandLine(const OFCommandLine &obj)
private undefined copy constructor
OFCondition getNumberOfScanSpotPositions(Sint32 &value, const unsigned long pos=0) const
get NumberOfScanSpotPositions (300a,0392)
DRTFixationDeviceSequence & operator=(const DRTFixationDeviceSequence ©)
assigment operator
OFBool isEmpty()
check if sequence is empty
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtras.h:468
void stealFile(OFBool dontCloseHandle=OFFalse)
steals the created temporary file from this class.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrdrs1.h:335
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setHighBit(const Uint16 value, const OFBool checkValue=OFTrue)
Set High Bit.
IODImagePixelModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
offile_off_t filled_
number of bytes filled in buffer
Definition: dcostrmb.h:117
virtual ~DSRDocumentTreeNodeHasChildrenFilter()
destructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual ~DRTGeneticModificationsCodeSequence()
destructor
OFCondition setLeafJawPositions(const OFString &value, const OFBool check=OFTrue)
set LeafJawPositions (300a,011c)
OFCondition saveStoredPrint(OFBool writeRequestedImageSize)
saves the current print job as a Stored Print object in the same directory in which the database inde...
virtual OFCondition getPatientSpeciesDescription(OFString &value, const signed long pos=0) const
get PatientSpeciesDescription (0010,2201)
virtual OFCondition getContentLabel(OFString &value, const signed long pos=0) const
Get Content Label.
DcmPersonName ConsultingPhysicianName
ConsultingPhysicianName (0008,009c) vr=PN, vm=1-n, type=3.
Definition: drtstrct.h:2833
E_RelationshipType getRelationshipTypeFromNode(const DSRXMLCursor &cursor) const
get relationship type from particular node.
OFCondition setIsocenterToLateralSpreadingDeviceDistance(const Float32 value, const unsigned long pos=0)
set IsocenterToLateralSpreadingDeviceDistance (300a,0374)
virtual OFCondition setPatientSexNeutered(const OFString &value, const OFBool check=OFTrue)
set PatientSexNeutered (0010,2203)
virtual OFBool isValid()
check whether the current internal state is valid
virtual OFCondition setStructureSetDate(const OFString &value, const OFBool check=OFTrue)
set StructureSetDate (3006,0008)
virtual OFCondition setClinicalTrialSubjectID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectID (0012,0040)
OFCondition write(DcmItem &item)
write elements to sequence item
const DRTModifiedAttributesSequence & getModifiedAttributesSequence() const
get ModifiedAttributesSequence (0400,0550)
Definition: drtoas.h:134
DcmDateTime DateTime
DateTime (0040,a120) vr=DT, vm=1, type=1C.
Definition: drtqds.h:343
DcmDecimalString ChairHeadFramePosition
ChairHeadFramePosition (300a,0151) vr=DS, vm=1, type=3.
Definition: drticpds.h:810
OFCondition setBlockData(const OFString &value, const OFBool check=OFTrue)
set BlockData (300a,0106)
@ REQUIRED_KEY
required key
Definition: dcmqridx.h:56
const char * getEmtpyImageDensity()
gets the (optional) empty image density.
virtual ~DiColorImage()
destructor
virtual OFCondition setPatientComments(const OFString &value, const OFBool check=OFTrue)
set PatientComments (0010,4000)
IODReferences()
Default constructor.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmFloatingPointSingle HeadFixationAngle
HeadFixationAngle (300a,0148) vr=FL, vm=1, type=3.
Definition: drticps.h:783
DcmUniqueIdentifier OriginalSpecializedSOPClassUID
OriginalSpecializedSOPClassUID (0008,001b) vr=UI, vm=1, type=3.
Definition: drtiontr.h:3167
const T & back() const
get a reference to the last element of this vector.
Definition: ofvector.h:294
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
DRTAdmittingDiagnosesCodeSequence(const DRTAdmittingDiagnosesCodeSequence ©)
copy constructor
DRTSourceInstanceSequence & getSourceInstanceSequence()
get SourceInstanceSequence (0042,0013)
Definition: drtionpl.h:1871
DVPSReferencedSeries()
default constructor
OFerror_code is a platform abstracting wrapper for platform specific error codes.
Definition: oferror.h:170
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTPlanIOD & operator=(const DRTPlanIOD ©)
assigment operator
virtual OFCondition setTimeOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set TimeOfLastCalibration (0018,1201)
DcmUnsignedLong m_DimensionIndexValues
Dimension Index Values (UL, 1-n, 1C)
Definition: fgfracon.h:360
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFBool readFromFile(const OFString &filename, const OFVector< Uint16 > segmentNumbers)
Initialize reference from given file.
time_t setTime(tm *t)
Sets this Time using the mktime function.
Item & getItem(const size_t num)
get particular item in the sequence
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_NonExtensibleContextGroup
error: cannot add coded entry to non-extensible context group
const OFString & getSOPClassUID() const
get SOP class UID
Definition: dsrcomvl.h:184
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
DRTDeidentificationMethodCodeSequence DeidentificationMethodCodeSequence
DeidentificationMethodCodeSequence (0012,0064) vr=SQ, vm=1, type=1C.
Definition: drttreat.h:2707
virtual OFVector< CodeSequenceMacro * > & getTransducerBeamSteering()
Get Transducer Beam Steering.
static DcmTLSCipherEncryption getCipherSuiteEncryption(size_t idx)
returns the encryption algorithm used by the ciphersuite with the given index
OFCondition getReferencedFrameNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFrameNumber (0008,1160)
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
void flipHorzVert(const T *src[], T *dest[])
flip source image horizontally and vertically and store result in destination image
Definition: diflipt.h:206
RootLogger(Hierarchy &h, LogLevel ll)
The root logger names itself as "root".
DcmQueryRetrieveDatabaseStatus(Uint16 s=0)
default constructor
DcmItem * getRootItem()
get root dataset/item (top-level) that contains this object.
const DJCodecParameter * cparam
codec parameters
Definition: djeijg16.h:144
this class encapsulates the decompression routines of the IJG JPEG library configured for 16 bits/sam...
Definition: djdijg16.h:39
@ SellaTurcica
(42575006,SCT,"Sella turcica")
Definition: cid4031.h:204
size_t getNumberOfItems() const
get number of items in the sequence
void clear()
clear all internal member variables
OFCondition getFixationLightAzimuthalAngle(Float32 &value, const unsigned long pos=0) const
get FixationLightAzimuthalAngle (300a,0356)
OFCondition getCumulativeDoseReferenceCoefficient(OFString &value, const signed long pos=0) const
get CumulativeDoseReferenceCoefficient (300a,010c)
DcmShortText CommentsOnThePerformedProcedureStep
CommentsOnThePerformedProcedureStep (0040,0280) vr=ST, vm=1, type=3.
Definition: drtstrct.h:2962
~DcmQueryRetrieveDatabaseStatus()
destructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
OFCondition getNumericValue(DSRNumericMeasurementValue &numericValue) const
get copy of numeric value.
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeApprovalNumber(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
void removeImageReference(DVPSReferencedSeries_PList &allReferences, const char *instanceUID, unsigned long frame, unsigned long numberOfFrames, DVPSObjectApplicability applicability)
removes a reference to an image or frame.
const char * getRoleSelectionKey() const
returns the role selection key
int writeFrameToDataset(DcmItem &dataset, const unsigned long frame=0, const int bits=0, const int planar=0)
render pixel data of given frame and write image related attributes to DICOM dataset.
static const char * characterSetToHTMLName(const E_CharacterSet characterSet)
convert character set to HTML name.
const DRTRecordedWedgeSequence & getRecordedWedgeSequence() const
get RecordedWedgeSequence (3008,00b0)
Definition: drttsibs.h:652
Item(const Item ©)
copy constructor
OFBool isEmpty()
check if item is empty
int processId
Process ID.
Definition: scp.h:54
void scale(DcmQuantComponent r, DcmQuantComponent g, DcmQuantComponent b, const DcmQuantScaleTable &table)
assigns new R, G and B values to this pixel using the given scale table in which all three values are...
Definition: diqtpix.h:142
DcmTagKey m_CodeModifierSeq
The sequence tag key that contains the modifier codes.
Definition: iodmacro.h:328
OFBool hasAttribute(const DSRXMLCursor &cursor, const char *name) const
check whether particular node has a specific attribute
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrsis.h:176
DRTMeasurementUnitsCodeSequence & getMeasurementUnitsCodeSequence()
get MeasurementUnitsCodeSequence (0040,08ea)
Definition: drtpcxs.h:237
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtds.h:309
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool operator==(const OFConditionConst &arg) const
comparison operator.
Definition: ofcond.h:84
a class implementing the hash function SHA256
Definition: sisha256.h:41
OFBool isEmpty()
check if item is empty
virtual OFCondition set(const CodeSequenceMacro &typeCode, const CodeSequenceMacro &typeModifierCode, const CodeSequenceMacro &unitsCode, const Float32 *statisticValues, const size_t numValues)
Set Track statistic.
virtual OFCondition writeSegmentAlgorithmType(DcmItem &item)
Write Segment Algorithm Type to given item.
Item & getCurrentItem()
get current item in the sequence
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtrscs.h:337
const DRTSegmentedPropertyTypeModifierCodeSequence & getSegmentedPropertyTypeModifierCodeSequence() const
get SegmentedPropertyTypeModifierCodeSequence (0062,0011)
Definition: drtrics.h:224
Template class to handle CMYK pixel data.
Definition: dicmypxt.h:41
DSRListOfItems()
default constructor
Definition: dsrtlist.h:59
OFCondition getRealWorldValueLastValueMapped(Uint16 &value, const unsigned long pos=0) const
get RealWorldValueLastValueMapped (0040,9211)
Item class.
Definition: drtrbos6.h:36
DcmPresentationContextItem(const DcmUIDHandler &abstractSyntax, const OFString &xferSyntaxGroup)
constructor
static OFCondition insertStringIfMissing(DcmItem *dataset, const DcmTagKey &tag, const char *val)
helper function that inserts a string attribute with a given value into a dataset if missing in the d...
OFBool isEmpty()
check if sequence is empty
OFCondition setValue(const DSRNumericMeasurementValue &numericMeasurement, const OFBool check=OFTrue)
set numeric measurement value.
DcmFloatingPointSingle TableTopPitchAngleTolerance
TableTopPitchAngleTolerance (300a,004f) vr=FL, vm=1, type=3.
Definition: drttts.h:357
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const DcmQueryRetrieveOptions & options_
SCP configuration options.
Definition: dcmqrsrv.h:168
@ LowerLeg
(30021000,SCT,"Lower leg")
Definition: cid4031.h:144
DcmIntegerString WedgeNumber
WedgeNumber (300a,00d2) vr=IS, vm=1, type=1.
Definition: drtrws.h:213
OFCondition getDeliveryWarningDose(OFString &value, const signed long pos=0) const
get DeliveryWarningDose (300a,0022)
virtual OFCondition getNormalizationPoint(Float64 &value, const unsigned long pos=0) const
get NormalizationPoint (3004,0008)
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_InvalidContentItem
error: the content item is invalid, e.g. the concept name or the stored value
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
OFCondition init(const OFString &modality, const OFString &seriesNumber, const OFString &instanceNumber, const IODEnhGeneralEquipmentModule::EquipmentInfo &equipmentInfo, const ContentIdentificationMacro &contentIdentification, const OFString &imageFlavor, const OFString &derivedPixelContrast, const DPMTypes::ContentQualification &contentQualification)
Initialize new Parametric Map object except directly pixel-related data.
OFCondition m_status
Status for this class, if EC_Normal then we are managing a temporary file.
Definition: oftempf.h:113
The internal representation of logging events.
Definition: logevent.h:53
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getPatientComments(OFString &value, const signed long pos=0) const
get PatientComments (0010,4000)
DcmUnsigned64bitVeryLong & operator=(const DcmUnsigned64bitVeryLong &obj)
assignment operator
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Implementation of DCMR Context Group: CID 7452 - Organizational Roles.
Definition: cid7452.h:35
OFCondition getReferencedBeamNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedBeamNumber (300c,0006)
DcmCodeString BeamLimitingDeviceRotationDirection
BeamLimitingDeviceRotationDirection (300a,0121) vr=CS, vm=1, type=1C.
Definition: drticps.h:765
OFCondition read(DcmItem &item)
read elements from sequence item
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtcss.h:341
OFCondition getMaterialID(OFString &value, const signed long pos=0) const
get MaterialID (300a,00e1)
Item EmptyItem
empty default item
Definition: drtrscs.h:540
DRTFractionGroupSummarySequence & operator=(const DRTFractionGroupSummarySequence ©)
assigment operator
virtual ~DVPSTextObject()
destructor
Definition: deftrait.h:18
virtual OFCondition getPatientSex(OFString &value, const signed long pos=0) const
get PatientSex (0010,0040)
DcmCodeString PrimaryDosimeterUnit
PrimaryDosimeterUnit (300a,00b3) vr=CS, vm=1, type=2.
Definition: drtimage.h:5302
DSRSpatialCoordinatesValue & operator=(const DSRSpatialCoordinatesValue &coordinatesValue)
assignment operator
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrbs4.h:266
DRTGroupOfPatientsIdentificationSequence GroupOfPatientsIdentificationSequence
GroupOfPatientsIdentificationSequence (0010,0027) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3035
OFCondition putAndInsertString(const DcmTag &tag, const char *value, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
@ SUVlbm
(126402,DCM,"SUVlbm"), included from CID 7180
Definition: cid7469.h:316
DVPSTextObject * addTextObject(const char *layer, const char *sopclassUID, const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability, DVPSTextObject *text=NULL)
creates a new text object on the given layer.
GeneralAnatomyMacro(const OFString &type)
Constructor.
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
Item & operator=(const Item ©)
assigment operator
size_t getNumberOfVOIWindowsInImage()
gets the number of VOI Windows available in the attached image.
DiColorImage(const DiDocument *docu, const EI_Status status, const int spp, const OFBool rgb=OFTrue)
constructor
DcmObject(const DcmObject &obj)
copy constructor
OFCondition setRetrieveURL(const OFString &value, const OFBool check=OFTrue)
set RetrieveURL (0008,1190)
void clear()
clear all internal member variables
OFCondition getBlockNumberOfPoints(Sint32 &value, const unsigned long pos=0) const
get BlockNumberOfPoints (300a,0104)
Item & getCurrentItem()
get current item in the sequence
void getOptionString(OFString &optionStr) const
returns description of all options as a C++ string (multiple text lines).
@ Sv
(Sv,UCUM,"Sv"), included from CID 10071
Definition: cid7181.h:128
OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmCodeString PatientIdentityRemoved
PatientIdentityRemoved (0012,0062) vr=CS, vm=1, type=3.
Definition: drtimage.h:4843
OFCondition getReferenceImageNumber(OFString &value, const signed long pos=0) const
get ReferenceImageNumber (300a,00c8)
virtual size_t gotoChild()
goto first child node (one level down)
Definition: dsrtncsr.h:617
OFCondition setNumericValue(const OFString &numericValue, const OFBool check=OFTrue)
set numeric value.
DcmUnsignedShort OverlayRows
OverlayRows (60xx,0010) vr=US, vm=1, type=1.
Definition: drtdose.h:4490
unsigned long getColors() const
returns the number of colors in the color table
Definition: diqtctab.h:57
virtual ~DRTReferencedSpatialRegistrationSequence()
destructor
Item & operator[](const size_t num)
get particular item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcs.h:266
DicomImage * createDicomImage(unsigned long fstart=0, unsigned long fcount=0) const
create copy of current image object.
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtpscs.h:339
virtual OFBool networkDataAvailable(int timeout)
checks if data is available to be read on the transport connection.
virtual OFCondition createUint8Array(const Uint32 numBytes, Uint8 *&bytes)
create an empty Uint8 array of given number of bytes and set it.
virtual OFCondition setSpecificCharacterSet(const OFString &value, const OFBool check=OFTrue)
set specific character set.
@ SlowDiffusionCoefficient
(113291,DCM,"Slow Diffusion Coefficient"), included from CID 7272
Definition: cid7469.h:128
Item & getCurrentItem()
get current item in the sequence
void clear()
clear all internal member variables
DRTDVHReferencedROISequence DVHReferencedROISequence
DVHReferencedROISequence (3004,0060) vr=SQ, vm=1, type=1.
Definition: drtdvhs.h:317
DRTPhysiciansReadingStudyIdentificationSequence PhysiciansReadingStudyIdentificationSequence
PhysiciansReadingStudyIdentificationSequence (0008,1062) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2918
DcmCodeString m_VolumetricProperties
Volumetric Properties (CS 1, VM 1, Required Type 1)
Definition: fgusimagedescription.h:176
DcmCodeString DoseReferenceType
DoseReferenceType (300a,0020) vr=CS, vm=1, type=1.
Definition: drtdrs.h:493
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
OFCondition setUniversalEntityIDType(const OFString &value, const OFBool check=OFTrue)
set UniversalEntityIDType (0040,0033)
virtual OFCondition setSeriesDate(const OFString &value, const OFBool check=OFTrue)
set SeriesDate (0008,0021)
OFCondition getBrachyAccessoryDeviceNominalThickness(Float64 &value, const unsigned long pos=0) const
get BrachyAccessoryDeviceNominalThickness (300a,026a)
DcmLongString ClinicalTrialProtocolName
ClinicalTrialProtocolName (0012,0021) vr=LO, vm=1, type=2.
Definition: drtdose.h:4157
Item class.
Definition: drtrcdrs.h:36
virtual OFCondition getDimensionDescriptionLabel(OFString &value, const signed long pos=0) const
Get Dimension Description Label.
OFRandom rnd
Pseudo random number generator.
Definition: ofuuid.h:132
Item class.
Definition: drtrmss7.h:36
OFCondition gotoFirstItem()
goto first item in the sequence
const DRTShieldingDeviceSequence & getShieldingDeviceSequence() const
get ShieldingDeviceSequence (300a,01a0)
Definition: drtpss.h:249
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtmss.h:343
DcmUnsignedShort Rows
Rows (0028,0010) vr=US, vm=1, type=1.
Definition: drtiis.h:439
void addReference()
add a reference.
Definition: diobjcou.h:50
OFBool enableRejectionOfIncompleteWlFiles
indicates if wl-files which are lacking return type 1 attributes or information in such attributes sh...
Definition: wldsfs.h:47
const OFString & getNumericValue() const
get numeric value
Definition: dsrnumvl.h:235
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmUniqueIdentifier FrameOfReferenceUID
FrameOfReferenceUID (0020,0052) vr=UI, vm=1, type=1.
Definition: drtdose.h:4327
DcmPersonName PersonName
PersonName (0040,a123) vr=PN, vm=1, type=1C.
Definition: drtcims.h:353
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTOriginalAttributesSequence & getOriginalAttributesSequence()
get OriginalAttributesSequence (0400,0561)
Definition: drtiontr.h:1479
DcmUnlimitedCharacters StrainDescription
StrainDescription (0010,0212) vr=UC, vm=1, type=3.
Definition: drtdose.h:4122
OFCondition gotoNextItem()
goto next item in the sequence
static const size_t XF_encodeBase64
encode binary data as Base64 (MIME).
Definition: dctypes.h:214
@ French_FR
(fr-FR,RFC5646,"French (FR)")
Definition: cid5000.h:58
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
OFCondition getCompensatorPixelSpacing(OFString &value, const signed long pos=0) const
get CompensatorPixelSpacing (300a,00e9)
const DRTUDISequence & getUDISequence() const
get UDISequence (0018,100a)
Definition: drtiontr.h:1905
const DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence() const
get RequestingServiceCodeSequence (0032,1034)
Definition: drtdose.h:2590
@ TCM_AEAD
Authenticated Encryption with Associated Data (AEAD)
Definition: tlsciphr.h:215
OFBool hasMeasurementGroup(const OFBool checkChildren=OFFalse) const
check whether the 'Measurement Group' content item (TID 1501 - Row 1) is present.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmFloatingPointSingle IsocenterToBlockTrayDistance
IsocenterToBlockTrayDistance (300a,00f7) vr=FL, vm=1, type=1.
Definition: drtibls.h:362
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtdcs.h:211
OFCondition getCodingSchemeExternalID(OFString &value, const signed long pos=0) const
get CodingSchemeExternalID (0008,0114)
OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
virtual OFCondition setRTPlanDescription(const OFString &value, const OFBool check=OFTrue)
set RTPlanDescription (300a,0004)
DcmDecimalString PatientWeight
PatientWeight (0010,1030) vr=DS, vm=1, type=3.
Definition: drtdose.h:4223
static OFBool getPresentationContextInfo(const T_ASC_Association *assoc, const Uint8 presID, DcmPresentationContextInfo &presInfo)
Helper function to return presentation context information by given presentation context ID.
OFBool operator==(const DSRCompositeReferenceValue &referenceValue) const
comparison operator "equal"
DRTRangeModulatorSequence & operator=(const DRTRangeModulatorSequence ©)
assigment operator
OFCondition getMaterialID(OFString &value, const signed long pos=0) const
get MaterialID (300a,00e1)
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
OFString & insert(size_t pos, size_t rep, char c)
constructs a temporary string from the input and inserts it into the current string.
void setPrivateKeyPasswd(const char *thePasswd)
sets the password string to be used when loading an encrypted private key file.
OFCondition getFixationLightAzimuthalAngleTolerance(OFString &value, const signed long pos=0) const
get FixationLightAzimuthalAngleTolerance (300a,0154)
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtcis.h:169
DRTIssuerOfAccessionNumberSequence IssuerOfAccessionNumberSequence
IssuerOfAccessionNumberSequence (0008,0051) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4192
virtual OFCondition handleCGETResponse(const T_ASC_PresentationContextID presID, RetrieveResponse *response, OFBool &continueCGETSession)
Function handling a single C-GET Response.
DcmShortString(const DcmShortString &old)
copy constructor
virtual OFCondition initialize()
initializes the MAC algorithm.
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setMetersetRate(const Float32 value, const unsigned long pos=0)
set MetersetRate (300a,035a)
DVPSDisplayedArea * getDisplayedAreaSelection()
attempts to find the displayed area selection for the current image and frame.
TID300_Measurement()
default constructor
static double min2(double a, double b)
Get the minimum of two numbers.
virtual ~DcmConsumer()
destructor
Definition: dcostrma.h:39
static void milliSleep(unsigned int millisecs)
makes the current process sleep until the given number of milliseconds have elapsed or a signal which...
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition getDeidentificationMethod(OFString &value, const signed long pos=0) const
get DeidentificationMethod (0012,0063)
Base class for color images.
Definition: dicoimg.h:47
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
Item & getCurrentItem()
get current item in the sequence
DiMonoPixelTemplate(const DiPixel *pixel, DiMonoModality *modality)
constructor
Definition: dimopxt.h:326
DRTReferencedReferenceImageSequenceInRTIonBeamsModule(const DRTReferencedReferenceImageSequenceInRTIonBeamsModule ©)
copy constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
DcmFloatingPointSingle SourceToApplicatorMountingPositionDistance
SourceToApplicatorMountingPositionDistance (300a,0436) vr=FL, vm=1, type=3.
Definition: drtas5.h:197
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual void notifyConnectionTimeout()
Overwrite this function to be notified about a connection timeout in non-blocking mode (see setConnec...
int addOverlay(const unsigned int group, const signed int left_pos, const signed int top_pos, const unsigned int width, const unsigned int height, const DcmOverlayData &data, const DcmLongString &label, const DcmLongString &description, const EM_Overlay mode=EMO_Default)
add specified plane to group of additional overlay planes.
Definition: dcmimage.h:999
DcmLongString StrainSource
StrainSource (0010,0217) vr=LO, vm=1, type=1.
Definition: drtsss.h:145
OFCondition getSourceDescription(OFString &value, const signed long pos=0) const
get SourceDescription (300a,021c)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrps.h:127
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmLongString overlayLabel
VR=LO, VM=1, Type=3.
Definition: dvpsov.h:163
DcmUniqueIdentifier SOPInstanceUID
SOPInstanceUID (0008,0018) vr=UI, vm=1, type=1.
Definition: drtstrct.h:3074
int PortNumber
remote peer port number
Definition: dcmqrcnf.h:133
virtual ~DVPSImageBoxContent_PList()
destructor
OFCondition setPrinterFilmDestination(const char *value)
sets the (optional) printer film destination.
DcmLongString rescaleType
Module=Modality_LUT, VR=LO, VM=1, Type 1c.
Definition: dcmpstat.h:970
int handleToReadLockFile
handle to the read lock file
Definition: wldsfs.h:49
static OFCondition create(const ContentIdentificationMacro &contentIdentification, const OFString &contentDate, const OFString &contentTime, const IODEnhGeneralEquipmentModule::EquipmentInfo &equipment, const IODReferences &imageReferences, TrcTractographyResults *&result)
Create new Tractography Results object.
virtual DSRContentItem & getCurrentContentItem()
get reference to current content item.
Item & getCurrentItem()
get current item in the sequence
this class contains a collection of static helper methods.
Definition: dvpshlp.h:36
static const double D65_WHITEPOINT_Y
D65 standard lightpoint Y component for conversion from CIEXYZ to CIELab.
Definition: cielabutil.h:47
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
virtual OFCondition setPerformedProcedureStepDescription(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepDescription (0040,0254)
this class implements a loadable DICOM Data Dictionary
Definition: dcdict.h:56
OFString dfPath
path to database files
Definition: wlfsim.h:62
OFCondition setCodingSchemeName(const OFString &value, const OFBool check=OFTrue)
set the coding scheme name of the currently selected entry
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getReferencedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
DRTReferencedBolusSequenceInRTIonBeamsModule(const DRTReferencedBolusSequenceInRTIonBeamsModule ©)
copy constructor
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
int nElement() const
nbr of different contents for current node
OFCondition getReferencedROINumber(OFString &value, const signed long pos=0) const
get ReferencedROINumber (3006,0084)
DRTBeamLimitingDeviceToleranceSequence & operator=(const DRTBeamLimitingDeviceToleranceSequence ©)
assigment operator
DcmLongString AdmissionID
AdmissionID (0038,0010) vr=LO, vm=1, type=3.
Definition: drtiontr.h:2978
OFFilenameCreator fnamecreator
helper object for file name creation
Definition: dcmqrdbi.h:413
virtual OFCondition DisconnectFromDataSource()=0
Disconnects from the data source.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual ~DRTBlockSequenceInRTImageModule()
destructor
DcmUnsignedShort PixelPaddingValue
PixelPaddingValue (0028,0120) vr=US/SS, vm=1, type=1C.
Definition: drtimage.h:5063
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setImageConfigurationInformation(size_t idx, const char *value)
sets the (optional) configuration information for the given registered image box.
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrrtps4.h:132
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition setSetupReferenceDescription(const OFString &value, const OFBool check=OFTrue)
set SetupReferenceDescription (300a,01d0)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrros.h:278
OFCondition getBeamDoseMeaning(OFString &value, const signed long pos=0) const
get BeamDoseMeaning (300a,008b)
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtads.h:357
DcmDate SeriesDate
SeriesDate (0008,0021) vr=DA, vm=1, type=3.
Definition: drttreat.h:2846
@ YBR_RCTYComponent
(110846,DCM,"YBR RCT Y Component"), included from CID 7180
Definition: cid7469.h:228
DRTReferencedRTPlanSequenceInRTImageModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTReferencedStudySequence & getReferencedStudySequence()
get ReferencedStudySequence (0008,1110)
Definition: drtras.h:177
DcmPersonName ReviewerName
ReviewerName (300e,0008) vr=PN, vm=1, type=2C.
Definition: drtplan.h:3330
virtual ~RWVMItem()
Virtual destructor, frees memory.
SiRIPEMD160 & operator=(SiRIPEMD160 &arg)
private undefined copy assignment operator
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrsns.h:127
DcmDecimalString ChannelInnerLength
ChannelInnerLength (300a,0272) vr=DS, vm=1, type=2C.
Definition: drtchs.h:633
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcdrs.h:364
DcmCodeString RTBeamLimitingDeviceType
RTBeamLimitingDeviceType (300a,00b8) vr=CS, vm=1, type=1.
Definition: drtbldps.h:145
Uint32 getNumberOfInstances()
returns the number of instances (IODs) within the currently selected series.
virtual OFCondition setBitsAllocated(const Uint16 value, const OFBool checkValue=OFTrue)
Set Bits Allocated.
OFBool operator()(DcmFileFormat &dcmfile) const
convenience function to enable using DcmAttributeFilter as a functor.
@ RT_hasObsContext
DICOM Relationship Type: HAS OBS CONTEXT.
Definition: dsrtypes.h:563
OFCondition getActiveSourceDiameter(OFString &value, const signed long pos=0) const
get ActiveSourceDiameter (300a,0218)
const DRTOperatorIdentificationSequence & getOperatorIdentificationSequence() const
get OperatorIdentificationSequence (0008,1072)
Definition: drtos.h:155
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getParameterItemIndex(OFString &value, const signed long pos=0) const
get ParameterItemIndex (3008,0063)
factory class which creates transport layer connections.
Definition: dcmlayer.h:76
virtual ~DcmUniqueIdentifier()
destructor
bool mdcCached
Indicates whether or not the MDC has been retrieved.
Definition: logevent.h:224
OFList< DSRCodedEntryValue > CodeList
type used for storing and managing coded entries
Definition: dsrctxgr.h:262
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtwps.h:134
DcmShortString ShieldingDeviceLabel
ShieldingDeviceLabel (300a,01a4) vr=SH, vm=1, type=2.
Definition: drtshds.h:176
Item class.
Definition: drtrrshs.h:36
Item & getItem(const size_t num)
get particular item in the sequence
const char * getDestination()
gets the the application entity title of the print SCP.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcshs.h:419
DRTHL7StructuredDocumentReferenceSequence HL7StructuredDocumentReferenceSequence
HL7StructuredDocumentReferenceSequence (0040,a390) vr=SQ, vm=1, type=1C.
Definition: drtiontr.h:3198
OFString printerFilmDestination
printer film destination identifier, may be empty.
Definition: dviface.h:1795
~DiOverlayPlane()
destructor
OFString cda_mediaTypes
CDA specific variables.
Definition: dcencdoc.h:265
Item(const Item ©)
copy constructor
virtual OFCondition setOverlayOrigin(const Sint16 value, const unsigned long pos=0)
set OverlayOrigin (60xx,0050)
virtual OFCondition generateDirAndFilename(OFString &filename, OFString &directoryName, OFString &sopClassUID, OFString &sopInstanceUID, DcmDataset *dataset=NULL)
generate a directory and file name for a DICOM dataset that has been received.
const DRTRTReferencedStudySequence & getRTReferencedStudySequence() const
get RTReferencedStudySequence (3006,0012)
Definition: drtrfors.h:113
const DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence() const
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtdose.h:2614
OFCondition read(DcmItem &dataset, const DcmTagKey &tagKey, const size_t flags)
read string value from dataset.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmLongString RangeModulatorDescription
RangeModulatorDescription (300a,034a) vr=LO, vm=1, type=3.
Definition: drtrms.h:197
virtual OFCondition getIssuerOfPatientID(OFString &value, const signed long pos=0) const
get IssuerOfPatientID (0010,0021)
OFCondition getBeamName(OFString &value, const signed long pos=0) const
get BeamName (300a,00c2)
DRTToleranceTableSequence & getToleranceTableSequence()
get ToleranceTableSequence (300a,0040)
Definition: drtplan.h:1976
OFCondition write(DcmItem &dset)
writes the overlays managed by this object to a DICOM dataset.
virtual OFCondition setAcquisitionNumber(const OFString &value, const OFBool checkValue=OFTrue)
Set Acquisition Number.
Item & operator=(const Item ©)
assigment operator
OFBool isEmpty()
check if sequence is empty
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setObservationDateTime(const OFString &value, const OFBool check=OFTrue)
set ObservationDateTime (0040,a032)
DCMTK_DCMRT_EXPORT const OFConditionConst RT_EC_InvalidObject
error: the object is invalid, see isValid() method in IOD class
const char * getPatientName()
returns the Patient Name of the currently selected study.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual ~DSRDocument()
destructor
OFCondition addModalitySpecificDescriptors(DSRDocumentSubTree &tree, DcmItem &dataset, const OFString &modality, const AddImageMode mode, const ConceptNameList &descriptors, const OFBool check)
add image library entry descriptors (TID 1603 to 1607) to given document subtree depending on the giv...
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtspccs.h:335
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
virtual OFCondition setLocalNamespaceEntityID(const OFString &value, const OFBool checkValue=OFTrue)
Set Local Namespace Entity ID.
This class is used to layout strings sent to an {}.
Definition: layout.h:74
DRTDerivationCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DVPSReferencedImage_PList()
default constructor
void flushOutputBuffer()
writes the content of the output ring buffer to the next filter stage until the output ring buffer be...
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getNumericValue(OFVector< Float64 > &value) const
get NumericValue (0040,a30a)
DRTRequestAttributesSequence & getRequestAttributesSequence()
get RequestAttributesSequence (0040,0275)
Definition: drtstrct.h:1698
void setACSETimeout(const Uint32 acseTimeout)
Set the timeout used during ACSE messaging protocol.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpscs.h:324
DRTMACParametersSequence & getMACParametersSequence()
get MACParametersSequence (4ffe,0001)
Definition: drtplan.h:1544
the list of graphic objects contained in a presentation state (internal use only).
Definition: dvpsgrl.h:39
virtual ~ReferencedSeriesItem()
Destructor.
DiMonoModality(const int bits)
constructor, no modality transform
FunctionalGroups::const_iterator const_iterator
Const iterator type for iterating over functional groups.
Definition: fginterface.h:56
OFCondition getOFDate(OFDate &dateValue, const unsigned long pos=0, const OFBool supportOldFormat=OFTrue)
get the current element value in OFDate format.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTConsultingPhysicianIdentificationSequence ConsultingPhysicianIdentificationSequence
ConsultingPhysicianIdentificationSequence (0008,009d) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4889
virtual OFBool canChangeCoding(const E_TransferSyntax oldRepType, const E_TransferSyntax newRepType) const
checks if this codec is able to convert from the given current transfer syntax to the given new trans...
DcmQuantComponent getGreen() const
returns the green component
Definition: diqtpix.h:106
const Item & operator[](const size_t num) const
get particular item in the sequence
codec class for JPEG-LS lossy and lossless TS decoding
Definition: djcodecd.h:333
DSRXMLCursor & gotoNext()
set cursor to next XML node (same level).
virtual OFCondition setConversionType(const OFString &value, const OFBool check=OFTrue)
set ConversionType (0008,0064)
DcmShortString StudyID
Study ID: (SH, 1, 2)
Definition: dsrdoc.h:1345
virtual OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
short getFamily() const
get current protocol family.
Definition: ofsockad.h:102
DcmCodeString VOILUTFunction
VOILUTFunction (0028,1056) vr=CS, vm=1, type=3.
Definition: drtimage.h:5382
size_t getNodeID() const
get current node ID.
Definition: dsrtncsr.h:765
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmCodeString TableTopRollRotationDirection
TableTopRollRotationDirection (300a,0146) vr=CS, vm=1, type=2C.
Definition: drticpds.h:882
Item & operator=(const Item ©)
assigment operator
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtas5.h:376
DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence()
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtdose.h:2608
virtual OFBool isUniversalMatch(const OFBool normalize=OFTrue, const OFBool enableWildCardMatching=OFTrue)
Determine if this element is universal matching.
Implements platform independent alignment, if possible similar to C++11's alignof / alignas functiona...
DcmDecimalString RescaleIntercept
RescaleIntercept (0028,1052) vr=DS, vm=1, type=1C.
Definition: drtimage.h:5365
const DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence() const
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtdose.h:1978
void generate()
Generate a new UUID.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_NoStacksFound
No stacks specified (but expected)
CodeSequenceMacro m_Type
Single item from Concept Name Code Sequence.
Definition: trcstatistic.h:109
virtual void clear()
clear all member variables.
virtual OFCondition getPatientName(OFString &value, const signed long pos=0) const
get patient's name
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFBool isEmpty()
check if sequence is empty
const DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence() const
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drttreat.h:1737
const char * getSOPClassUID()
returns the (currently hard-coded) SOP Class UID of the Presentation State.
virtual OFCondition decode(Uint8 *compressedFrameBuffer, Uint32 compressedFrameBufferSize, Uint8 *uncompressedFrameBuffer, Uint32 uncompressedFrameBufferSize, OFBool isSigned)=0
suspended decompression routine.
void flipVert(T *data[])
flip image vertically and store result in the same storage area
Definition: diflipt.h:269
DcmDecimalString AlternateBeamDose
AlternateBeamDose (300a,0091) vr=DS, vm=1, type=3.
Definition: drtrbs4.h:269
virtual ~Item()
destructor
OFBool getRefuseAssociation() const
Returns whether SCP should refuse any association request no matter what the SCU proposes.
SiSHA512(SiSHA512 &arg)
private undefined copy constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool isValid() const
check if item is valid, i.e. not the empty default item
@ RECIST10
(126080,DCM,"RECIST 1.0")
Definition: cid6147.h:46
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtmucs.h:357
Item EmptyItem
empty default item
Definition: drtdss.h:428
DcmConsumer * current_
pointer to first node in filter chain
Definition: dcostrma.h:194
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
virtual OFCondition getPatientName(OFString &value, const signed long pos=0) const
Get Patient's Name.
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
Item class.
Definition: drtprsis.h:38
const Item & getCurrentItem() const
get current item in the sequence
virtual OFBool isRTToleranceTablesModulePresent(const OFBool complete=OFFalse)
check whether RTToleranceTablesModule (U) is present.
OFCondition DB_IdxInitLoop(int *idx)
seek to beginning of image records in index file
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid7021.h:113
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
DcmIntegerString NumberOfBlocks
NumberOfBlocks (300a,00f0) vr=IS, vm=1, type=1.
Definition: drtibs.h:1005
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
virtual OFBool containsUnknownVR() const
returns true if the object contains an element with Unknown VR at any nesting level
DcmPersonName OtherPatientNames
OtherPatientNames (0010,1001) vr=PN, vm=1-n, type=3.
Definition: drtiontr.h:2822
DSRXMLCursor & gotoChild()
set cursor to first XML child node (next lower level).
@ Panitumumab_89Zr
(126736,DCM,"Panitumumab ^89^Zr")
Definition: cid4021.h:226
DRTIssuerOfPatientIDQualifiersSequence IssuerOfPatientIDQualifiersSequence
IssuerOfPatientIDQualifiersSequence (0010,0024) vr=SQ, vm=1, type=3.
Definition: drtspgis.h:147
OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
DcmCodeString ContentQualification
ContentQualification (0018,9004) vr=CS, vm=1, type=3.
Definition: drtimage.h:5453
IODImagePixelBase()
Constructor.
DRTDeliveredDepthDoseParametersSequence & getDeliveredDepthDoseParametersSequence()
get DeliveredDepthDoseParametersSequence (300a,0506)
Definition: drttsibs.h:538
int fsetpos(offile_fpos_t *pos)
alternate interface equivalent to fseek (with whence set to SEEK_SET), setting the current value of t...
Definition: offile.h:886
virtual const char * name() const =0
Obtains the name of the category, for example "generic".
OFCondition getCompensatorPosition(OFVector< Float64 > &value) const
get CompensatorPosition (300a,00ea)
DcmUnsignedShort PregnancyStatus
PregnancyStatus (0010,21c0) vr=US, vm=1, type=3.
Definition: drtplan.h:3126
DcmCodeString PatientSexNeutered
PatientSexNeutered (0010,2203) vr=CS, vm=1, type=2C.
Definition: drtdose.h:4259
virtual OFCondition addSourceImageItem(const OFString &file, const CodeSequenceMacro &purposeOfReference, SourceImageItem *&resultSourceImageItem)
Convenience function to add item representing reference to an object.
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool isEmpty()
check if sequence is empty
OFCondition getTableTopLongitudinalPosition(OFString &value, const signed long pos=0) const
get TableTopLongitudinalPosition (300a,0129)
DcmUniqueIdentifier SeriesInstanceUID
SeriesInstanceUID (0020,000e) vr=UI, vm=1, type=1.
Definition: drtimage.h:4982
Item(const Item ©)
copy constructor
DcmShortString PerformedProcedureStepID
PerformedProcedureStepID (0040,0253) vr=SH, vm=1, type=3.
Definition: drtplan.h:3186
virtual OFCondition getInstanceNumber(Sint32 &value, const unsigned long pos=0) const
get InstanceNumber (0020,0013)
OFCondition saveHardcopyGrayscaleImage(const void *pixelData, unsigned long width, unsigned long height, double aspectRatio=1.0)
saves a monochrome bitmap as a DICOM Hardcopy Grayscale image in the same directory in which the data...
const OFString MappingResourceUID
mapping resource UID (VR=UI, optional)
Definition: dsrctpl.h:220
virtual ~DRTGroupOfPatientsIdentificationSequence()
destructor
FGUnknown(const FGUnknown &rhs)
Copy constructor, performs a deep copy of the given object.
size_t outputBufferSize_
size of output buffer, in bytes
Definition: dcrledec.h:243
OFBool isEmpty()
check if sequence is empty
virtual ~Item()
destructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setPhotometricInterpretation(const OFString &value, const OFBool checkValue=OFTrue)
Set Photometric Interpretation.
const OFString SeriesUID
Series Instance UID (VR=UI, VM=1, type 1)
Definition: dsrsoprf.h:437
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setScanSpotReorderingAllowed(const OFString &value, const OFBool check=OFTrue)
set ScanSpotReorderingAllowed (300a,0395)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
unsigned long numOfSuperiorSequences
number of elements in above array
Definition: wlds.h:84
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
const DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence() const
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtdose.h:1942
virtual OFCondition writeSequence(DcmItem &dataset) const
write measured value sequence and numeric value qualifier code sequence to dataset.
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
virtual OFCondition updateAttributeList(DcmItem &item, DcmAttributeTag &tagList)
updates the given list of attribute tags according to the requirements of the current security profil...
size_t getNumberOfItems() const
get number of items in the sequence
virtual DcmEVR ident(void) const
get type identifier
Definition: dcpxitem.h:82
OFListLinkBase * node
list node referenced by the iterator
Definition: oflist.h:175
a class representing X.509 public key certificates.
Definition: sicert.h:43
DcmShortText ClinicalTrialTimePointDescription
ClinicalTrialTimePointDescription (0012,0051) vr=ST, vm=1, type=3.
Definition: drtionpl.h:3070
DcmQueryRetrieveDatabaseHandle & dbHandle
reference to database handle
Definition: dcmqrcbm.h:130
size_t getNumberOfGraphicObjects(const char *layer, const char *instanceUID, unsigned long frame)
returns the number of graphic objects for the given graphic layer.
@ EFV_Sigmoid
function SIGMOID
Definition: diutils.h:279
virtual ~DRTSeriesDescriptionCodeSequence()
destructor
void clear()
clear all internal member variables
OFCondition getCompensatorID(OFString &value, const signed long pos=0) const
get CompensatorID (300a,00e5)
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setStudyInstanceUID(const OFString &value, const OFBool check=OFTrue)
set StudyInstanceUID (0020,000d)
Interface class for TreatmentSessionIonBeamSequence (3008,0021) in RTIonBeamsSessionRecordModule.
Definition: drttsibs.h:44
void imageBoxNSet(T_DIMSE_Message &rq, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset)
implements the N-SET operation for the Basic Grayscale Image Box SOP Class.
virtual OFVector< CodeSequenceMacro * > & getEntireConceptNameCodeSequence()
Get a reference to the entire ConceptNameCodeSequence, including items exceeding the value multiplici...
DRTReferencedBolusSequenceInRTBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCommandLine()
constructor
const OFString InstanceUID
SOP Instance UID (VR=UI, type 1)
Definition: dsrrefin.h:212
void setLogLevel(LogLevel ll)
Set the LogLevel of this Logger.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTReferencedPatientSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool isEmpty()
check if item is empty
OFCondition getApplicationSetupManufacturer(OFString &value, const signed long pos=0) const
get ApplicationSetupManufacturer (300a,0238)
@ MultiparametricMRI
(126020,DCM,"Multiparametric MRI")
Definition: cid100.h:48
@ SAT_AUTOMATIC
Calculated segment.
Definition: segtypes.h:106
const char * getQueryRetrieveAETitle()
returns the AETitle with which the Q/R server should identify itself.
virtual const char * getDefinedTerm() const
returns the DICOM identifier for this MAC algorithm
virtual OFCondition getSeriesDate(OFString &value, const signed long pos=0) const
get SeriesDate (0008,0021)
virtual OFCondition writeBinaryFrames(DcmItem &dataset)
Write binary frames to given item.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFBool isRTBrachyApplicationSetupsModulePresent(const OFBool complete=OFFalse)
check whether RTBrachyApplicationSetupsModule (C) is present.
OFBool overlayInImageIsROI(size_t idx)
checks whether the given overlay in the attached image is a ROI (region of interest) overlay.
an overlay contained in a presentation state (internal use only).
Definition: dvpsov.h:39
OFCondition sendDIMSEMessage(const T_ASC_PresentationContextID presID, T_DIMSE_Message *message, DcmDataset *dataObject, DcmDataset *statusDetail=NULL, DcmDataset **commandSet=NULL)
Send a DIMSE command and possibly also a dataset from a data object via network to another DICOM appl...
Interface class for IonRangeCompensatorSequence (300a,02ea)
Definition: drtircs.h:28
OFCondition getModulatedScanModeType(OFString &value, const signed long pos=0) const
get ModulatedScanModeType (300a,0309)
const char * getDisplayPresentationLUTID()
if the Presentation State contains an active Presentation LUT that was set with selectDisplayPresenta...
virtual void clearData()
Clears all data.
OFCondition gotoFirstItem()
goto first item in the sequence
Item & getCurrentItem()
get current item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setAuthorizationEquipmentCertificationNumber(const OFString &value, const OFBool check=OFTrue)
set AuthorizationEquipmentCertificationNumber (0100,0426)
virtual OFCondition setBurnedInAnnotation(const OFString &value, const OFBool check=OFTrue)
set BurnedInAnnotation (0028,0301)
Uint32 getTargetPrinterNumberOfFilmDestinations(const char *targetID)
returns the number of distinct values (separated by backslash characters) in the FILMDESTINATION entr...
size_t gotoNode(const DSRTreeNodeAnnotation &annotation, const OFBool startFromRoot=OFTrue)
set internal cursor to specified node
Definition: dsrtree.h:660
OFCondition setPETImageRadiopharmaceuticalStartDateTime(const OFString &dateTime, const OFBool check=OFTrue)
set the value of the descriptor 'Radiopharmaceutical Start Date Time' (TID 1607 - Row 4) for the curr...
DcmDecimalString CalculatedDoseReferenceDoseValue
CalculatedDoseReferenceDoseValue (3008,0076) vr=DS, vm=1, type=1.
Definition: drtrcdrs.h:165
DRTDICOMRetrievalSequence & operator=(const DRTDICOMRetrievalSequence ©)
assigment operator
DRTApplicationSetupSequence & operator=(const DRTApplicationSetupSequence ©)
assigment operator
OFCondition setReferencedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceNumber (300c,0051)
This class implements server sockets.
Definition: socket.h:108
@ SUVibw
(126404,DCM,"SUVibw"), included from CID 7180
Definition: cid7469.h:324
MD5_CTX * ctx
OpenSSL MD5 context.
Definition: simd5.h:94
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool isEmpty()
check if sequence is empty
Interface class for ReferencedSOPSequence (0008,1199)
Definition: drtrsos.h:28
virtual OFCondition setDimensionOrganizationType(const OFString &value, const OFBool checkValue=OFTrue)
Set Dimension Organization Type.
@ English_GB
(en-GB,RFC5646,"English (GB)")
Definition: cid5000.h:48
@ Carfentanil_C11
(129511002,SCT,"Carfentanil C^11^")
Definition: cid4021.h:84
DRTRecordedWedgeSequence RecordedWedgeSequence
RecordedWedgeSequence (3008,00b0) vr=SQ, vm=1, type=1C.
Definition: drttsibs.h:1044
const Item & operator[](const size_t num) const
get particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFBool isTransparentConnection()=0
returns OFTrue if this connection is a transparent TCP connection, OFFalse if the connection is a sec...
DRTReferencedPatientSequence ReferencedPatientSequence
ReferencedPatientSequence (0008,1120) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2663
DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence()
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtstrct.h:1482
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setGantryID(const OFString &value, const OFBool check=OFTrue)
set GantryID (0018,1008)
virtual OFCondition readPerFrameFG(DcmItem &dataset)
Read Per-Frame Functional Group Sequence from given item.
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setNumberOfBlockSlabItems(const OFString &value, const OFBool check=OFTrue)
set NumberOfBlockSlabItems (300a,0440)
DcmLongString ClinicalTrialTimePointID
ClinicalTrialTimePointID (0012,0050) vr=LO, vm=1, type=2.
Definition: drtplan.h:3151
OFCondition getCompensatorDivergence(OFString &value, const signed long pos=0) const
get CompensatorDivergence (300a,02e0)
virtual OFCondition setResponsiblePerson(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePerson (0010,2297)
XMLNode addChild(XMLNode nodeToAdd, XMLElementPosition pos=-1)
If the "nodeToAdd" has some parents, it will be detached from it's parents before being attached to t...
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
type definitions and constants for the dcmjpeg module
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Item & operator=(const Item ©)
assigment operator
OFCondition gotoFirstItem()
goto first item in the sequence
A helper class to 'tag' objects as rvalues to help DCMTK's move emulation employed on pre C++11 compi...
Definition: ofutil.h:157
virtual DcmObject * clone() const
clone method
Definition: dcvrur.h:87
static const size_t RF_showCurrentlyProcessedItem
show the currently processed content item (e.g. "1.2.3")
Definition: dsrtypes.h:272
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setPatientSexNeutered(const OFString &value, const OFBool check=OFTrue)
set PatientSexNeutered (0010,2203)
virtual ~DcmCodecParameter()
destructor
Definition: dccodec.h:52
Item(const Item ©)
copy constructor
OFCondition getCompensatorThicknessData(Float64 &value, const unsigned long pos=0) const
get CompensatorThicknessData (300a,00ec)
DcmUnsignedShort illumination
Module=Film_Box_Module, VR=US, VM=1, Type 2c required if presentation SOP class present.
Definition: dvpssp.h:1032
Definition: dulstruc.h:180
const DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence() const
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtionpl.h:1505
const char * getMaxDensity()
gets the (optional) max density.
DcmVR valueRepresentation
value representation
Definition: dcdicent.h:373
const DRTContributingEquipmentSequence & getContributingEquipmentSequence() const
get ContributingEquipmentSequence (0018,a001)
Definition: drtdose.h:2014
virtual DcmDirectoryRecord * removeSub(const unsigned long num)
remove child directory record.
Use this class to quickly configure the package.
Definition: configrt.h:317
DRTIonBlockSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition setSourceApplicatorName(const OFString &value, const OFBool check=OFTrue)
set SourceApplicatorName (300a,0294)
OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
log4cplus::tstring(* LogLevelToStringMethod_1_0)(LogLevel)
This function type is for log4cplus 1.0.x callbacks.
Definition: loglevel.h:108
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setBlockType(const OFString &value, const OFBool check=OFTrue)
set BlockType (300a,00f8)
OFCondition setPrinterNumberOfCopies(unsigned long value)
sets the (optional) print number of copies.
OFCmdUnsignedInt opt_sleepDuringFind
indicates how long the application shall sleep during a find
Definition: wlcefs.h:66
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
E_TransferState
object state during transfer (read/write) operations
Definition: dctypes.h:132
OFCondition setContourOffsetVector(const OFString &value, const OFBool check=OFTrue)
set ContourOffsetVector (3006,0045)
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeApprovalNumber(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
virtual void deleteOutputData()=0
delete internally handled output memory buffer (abstract)
virtual OFCondition getDeidentificationMethod(OFString &value, const signed long pos=0) const
get DeidentificationMethod (0012,0063)
void setGTag(Uint16 gtag)
assign group tag (but not element tag) of the attribute tag for this object.
Definition: dcobject.h:403
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DVPSDisplayedArea * findDisplayedArea(const char *instanceUID, unsigned long frame)
checks if an displayed area selection exists for the given image and frame.
virtual OFCondition determineDecompressedColorModel(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, OFString &decompressedColorModel) const
determine color model of the decompressed image
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
Item(const Item ©)
copy constructor
virtual OFCondition setStationName(const OFString &value, const OFBool check=OFTrue)
set StationName (0008,1010)
OFString filmBoxInstanceUID
the current film box instance
Definition: dvpssp.h:1090
const OFOrderedSet< T > & assign(const OFOrderedSet< T > &src)
This function is a workaround for avoiding a compiler warning on Solaris 2.5.1 using compiler SC 2....
Definition: ofoset.h:86
virtual OFCondition selectValue(const DSRCodedEntryValue &codedEntryValue, const OFBool check=OFTrue, const OFBool definedContextGroup=OFFalse)
select a given coded entry as the current value
OFCondition getTableTopLongitudinalPosition(Float64 &value, const unsigned long pos=0) const
get TableTopLongitudinalPosition (300a,0129)
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtajcs.h:341
virtual OFCondition getReviewerName(OFString &value, const signed long pos=0) const
get ReviewerName (300e,0008)
virtual offile_off_t skip(offile_off_t skiplen)=0
skips over the given number of bytes (or less)
static DSRTypes::E_CodeValueType determineCodeValueType(const OFString &codeValue)
try to determine the type of the given code value.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item(const Item ©)
copy constructor
DRTConsentForClinicalTrialUseSequence ConsentForClinicalTrialUseSequence
ConsentForClinicalTrialUseSequence (0012,0083) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4975
virtual OFCondition write(DcmItem &item)
Write functional group to given item, i.e. write Parametric Map Frame Type Sequence.
DRTEncryptedAttributesSequence & getEncryptedAttributesSequence()
get EncryptedAttributesSequence (0400,0500)
Definition: drtstrct.h:1290
virtual OFCondition getImageComments(OFString &value, const signed long pos=0) const
get ImageComments (0020,4000)
interleaveMode getJplsInterleaveMode() const
returns the interleave mode which the encoder should use
Definition: djcparam.h:203
type definitions, constants and helper functions for the dcmimgle/dcmimage module
void clear()
clear all internal member variables
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtccs.h:205
OFCondition setRetrieveAETitle(const OFString &value, const OFBool check=OFTrue)
set RetrieveAETitle (0008,0054)
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
const Item & operator[](const size_t num) const
get particular item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpcs.h:536
virtual OFCondition setInstanceNumber(const OFString &value, const OFBool check=OFTrue)
set InstanceNumber (0020,0013)
virtual OFCondition setInstanceCreationTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationTime (0008,0013)
DRTReferencedDoseSequence ReferencedDoseSequence
ReferencedDoseSequence (300c,0080) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3192
virtual ~DSRRadiopharmaceuticalRadiationDoseSRConstraintChecker()
destructor
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtsptcs.h:357
DcmPathNode & operator=(const DcmPathNode &arg)
Private undefined assignment operator.
OFCondition setRecommendedDisplayCIELabValue(const Uint16 value, const unsigned long pos=0)
set RecommendedDisplayCIELabValue (0062,000d)
Item EmptyItem
empty default item
Definition: drtmdrs.h:400
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
virtual OFCondition getRTImageSID(Float64 &value, const unsigned long pos=0) const
get RTImageSID (3002,0026)
DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence()
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtdose.h:2596
virtual OFBool good() const
returns the status of the producer.
E_ParseStatus parseCommandFile(const char *argValue, OFList< OFString > &argList)
check whether 'argValue' points to command file and parse content if so
virtual OFCondition getStrainAdditionalInformation(OFString &value, const signed long pos=0) const
get StrainAdditionalInformation (0010,0218)
void loadFile(FILE *infile)
load configuration file
DRTReferencedFrameOfReferenceSequence & getReferencedFrameOfReferenceSequence()
get ReferencedFrameOfReferenceSequence (3006,0010)
Definition: drtstrct.h:1590
@ ESSC_All
all types (patient and non-patient objects)
Definition: dcuid.h:52
DSRTreeNodeCursor< T > & operator=(T *node)
assignment operator.
Definition: dsrtncsr.h:376
virtual OFCondition getSmokingStatus(OFString &value, const signed long pos=0) const
get SmokingStatus (0010,21a0)
DJEncoderP14SV1()
default constructor
OFBool valueLoaded() const
check if value of this element is loaded into main memory
Definition: dcelem.h:143
OFBool setHour(const unsigned int hour)
set the time value to the specified hour.
DcmLongString m_SegmentAlgorithmName
Segment Algorithm Name: (LO, 1, 1C)
Definition: segment.h:314
DcmUniversalResourceIdentifierOrLocator RetrieveURI
RetrieveURI (0040,e010) vr=UR, vm=1, type=1.
Definition: drtwrs.h:116
DRTOverrideSequence(const DRTOverrideSequence ©)
copy constructor
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2984
OFCondition getCurrentSignatureUID(OFString &str)
returns the Digital Signature UID of the current signature.
OFCondition setNumberOfLeafJawPairs(const OFString &value, const OFBool check=OFTrue)
set NumberOfLeafJawPairs (300a,00bc)
representation parameter for lossless JPEG
Definition: djrplol.h:32
DiDocument * Document
points to document object
Definition: dcmimage.h:1901
OFCondition checkImageCharacteristics() const
check if reference and test image have the same resolution, number of frames and color model (color o...
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition getStudyTime(OFString &value, const signed long pos=0) const
get StudyTime (0008,0030)
IODMultiframeDimensionModule m_IODMultiframeDimensionModule
Multi-frame Dimension Module.
Definition: dpmparametricmapbase.h:239
Uint16 getETag() const
returns tag element
Definition: dctag.h:127
virtual size_t gotoMatchingNode(const DSRDocumentTreeNodeFilter &filter, const OFBool searchIntoSub=OFTrue)
set internal cursor to a matching node (starting from current position).
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setPatientBirthTime(const OFString &value, const OFBool check=OFTrue)
set PatientBirthTime (0010,0032)
DcmTLSSecurityProfile opt_tlsProfile
DICOM TLS Security Profile selected.
Definition: tlsopt.h:164
DcmTransportLayerStatus addRequiredCipherSuite(const char *name)
add ciphersuite by name, print error if unsupported
static size_t lookupCiphersuite(const char *tlsCipherSuiteName)
looks up the index of the given ciphersuite by name
OFCondition getMeasuredDoseValue(Float64 &value, const unsigned long pos=0) const
get MeasuredDoseValue (3008,0016)
Item & operator=(const Item ©)
assigment operator
IODEnhGeneralEquipmentModule m_IODEnhGeneralEquipmentModule
Enhanced General Equipment Module.
Definition: dpmparametricmapbase.h:230
virtual OFCondition setRespiratoryCyclePosition(const OFString &value, const OFBool checkValue=OFTrue)
Set Respiratory Cycle Position.
DcmOtherLong(const DcmOtherLong &old)
copy constructor
virtual DSRByReferenceTreeNode * clone() const
clone this tree node.
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
const DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence() const
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtiontr.h:1401
double getBoundingBoxBRHC_y()
gets the bounding box BRHC y value.
@ CS_Japanese
ISO-IR 13/87: Japanese (Katakana/Romaji/Kanji)
Definition: dsrtypes.h:815
Item & operator[](const size_t num)
get particular item in the sequence
DRTRecordedBlockSequence(const DRTRecordedBlockSequence ©)
copy constructor
TTCC layout format consists of time, thread, Logger and nested diagnostic context information,...
Definition: layout.h:161
DRTBreedRegistryCodeSequence & operator=(const DRTBreedRegistryCodeSequence ©)
assigment operator
OFBool currentImageFlip
a flag describing whether currentImage has been flipped
Definition: dvpstat.h:1263
void setGLOrder(Sint32 glOrder)
set graphic layer order of this layer.
DcmShortText ClinicalTrialTimePointDescription
ClinicalTrialTimePointDescription (0012,0051) vr=ST, vm=1, type=3.
Definition: drtstrct.h:2915
~DiColorFlipTemplate()
destructor
Definition: dicoflt.h:77
I2DOutputPlugSC()
Constructor, initializes member variables with standard values.
DRTProcedureCodeSequence & getProcedureCodeSequence()
get ProcedureCodeSequence (0008,1032)
Definition: drtimage.h:2866
OFCondition checkCurrentValue() const
check the currently stored reference value for validity.
virtual OFCondition getLossyImageCompression(OFString &value, const signed long pos=0) const
get LossyImageCompression (0028,2110)
const DRTContributingEquipmentSequence & getContributingEquipmentSequence() const
get ContributingEquipmentSequence (0018,a001)
Definition: drtiontr.h:1269
T value_
the value
Definition: dcmsmap.h:112
static E_CompletionFlag enumeratedValueToCompletionFlag(const OFString &enumeratedValue)
convert DICOM enumerated value to completion flag
DcmCodeString ScanMode
ScanMode (300a,0308) vr=CS, vm=1, type=1.
Definition: drtibs.h:1051
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setDerivationDescription(const OFString &value, const OFBool check=OFTrue)
set DerivationDescription (0008,2111)
OFCondition gotoNextItem()
goto next item in the sequence
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtadcs.h:351
virtual OFCondition renderHTML(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item in HTML/XHTML format.
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getChannelNumber(Sint32 &value, const unsigned long pos=0) const
get ChannelNumber (300a,0282)
virtual ~DcmCodecList()
destructor
@ CG250Fab2_89Zr
(126517,DCM,"cG250-F(ab')(2) ^89^Zr")
Definition: cid4021.h:88
virtual OFCondition setNameOfPhysiciansReadingStudy(const OFString &value, const OFBool check=OFTrue)
set NameOfPhysiciansReadingStudy (0008,1060)
void Init()
initialize internal data structures and member variables
OFCondition writeContentSequence(DcmItem &dataset, DcmStack *markedItems) const
write content sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule ReferencedTreatmentRecordSequence
ReferencedTreatmentRecordSequence (3008,0030) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2930
virtual ~DJDecoderProgressive()
destructor
DiYBRPixelTemplate(const DiDocument *docu, const DiInputPixel *pixel, EI_Status &status, const unsigned long planeSize, const int bits, const OFBool rgb)
constructor
Definition: diybrpxt.h:54
const OFString CodingSchemeDesignator
Coding Scheme Designator (VR=SH, type 1)
Definition: dsrcsidl.h:319
Item EmptyItem
empty default item
Definition: drtporcs.h:540
DcmDecimalString SourceToCompensatorDistance
SourceToCompensatorDistance (300a,02e2) vr=DS, vm=1-n, type=1C.
Definition: drtcos.h:477
DRTReferencedVerificationImageSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item & operator=(const Item ©)
assigment operator
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
virtual ~DiGSDFunction()
destructor
@ EXS_JPEGProcess21_23
JPEG Spectral Selection, Hierarchical (lossy, 8/12 bit), arithmetic coding.
Definition: dcxfer.h:73
virtual OFCondition setClinicalTrialSiteName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteName (0012,0031)
virtual OFCondition setLastMenstrualDate(const OFString &value, const OFBool check=OFTrue)
set LastMenstrualDate (0010,21d0)
DSRUIDRefTreeNode(const E_RelationshipType relationshipType, const OFString &uidValue, const OFBool check=OFTrue)
constructor.
Interface class for ContentItemModifierSequence (0040,0441)
Definition: drtcims.h:32
DRTReferencedDoseSequence ReferencedDoseSequence
ReferencedDoseSequence (300c,0080) vr=SQ, vm=1, type=3.
Definition: drtbs.h:779
OFCondition getRationalNumeratorValue(Sint32 &value, const unsigned long pos=0) const
get RationalNumeratorValue (0040,a162)
OFFilenameCreator()
default constructor
virtual void clear()
clear all member variables.
OFListIterator(Item *) CurrentItem
currently selected item
DVPSPresentationSizeMode getPresentationSizeMode()
gets the presentation size mode for this displayed area selection.
virtual OFCondition verify(const OFBool autocorrect=OFFalse)=0
check the currently stored element value
iterator find(const K &key)
looks up the given key in this map
Definition: ofmap.h:130
OFCondition getNumberOfRangeModulators(Sint32 &value, const unsigned long pos=0) const
get NumberOfRangeModulators (300a,0340)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFListIterator(Item *) CurrentItem
currently selected item
DVPSImageBoxContent * duplicateImageBox(const char *uid)
looks up the image box with the given SOP instance UID in this list and returns a pointer to a new ob...
OFBool isEmpty()
check if item is empty
virtual OFCondition getIrradiationEventUID(OFString &value, const signed long pos=0)
Get Irridation Event UID.
unsigned int getIntSecond() const
get the integral part of the currently stored second value
virtual const DSRDocumentTree & getTree()
get read-only access to internally stored document tree.
OFListIterator(Item *) CurrentItem
currently selected item
@ RespiratoryWaveform
(RESP,DCM,"Respiratory Waveform")
Definition: cid29.h:110
virtual OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
virtual OFCondition getRealWorldValueFirstValueMapped(Sint32 &value, const unsigned long pos=0) const
Get Real World Value First Value Mapped.
size_t size() const
returns the number of elements saved in this map
Definition: ofmap.h:168
@ Flumazenil_F18
(422975006,SCT,"Flumazenil F^18^")
Definition: cid4021.h:144
@ DM_losslessOnly
decompress lossless only
Definition: dstorscu.h:70
OFMap< Uint32, FunctionalGroups * > PerFrameGroups
Type representing per-frame functional groups, i.e. a number of functional groups assigned to each fr...
Definition: fginterface.h:50
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
unsigned int getMinute() const
get the currently stored minute value
DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence()
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtionpl.h:1883
DRTDerivationCodeSequence & getDerivationCodeSequence()
get DerivationCodeSequence (0008,9215)
Definition: drtimage.h:2518
DRTOverrideSequence OverrideSequence
OverrideSequence (3008,0060) vr=SQ, vm=1, type=3.
Definition: drticpds.h:842
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtdcs.h:324
const Item & getItem(const size_t num) const
get particular item in the sequence
const char * opt_privateKeyFile
filename of private key file we use to authenticate ourselves
Definition: tlsopt.h:147
Item(const Item ©)
copy constructor
const DRTPersonIdentificationCodeSequence & getPersonIdentificationCodeSequence() const
get PersonIdentificationCodeSequence (0040,1101)
Definition: drtcpis.h:154
void notifyConnectionClosed(Uint32 status)
sends ConnectionClosed notification to server.
const DSRCompositeReferenceValue & getValue() const
get reference to composite reference value
Definition: dsrcomvl.h:207
virtual OFCondition getPixelSpacing(Float64 &value, const unsigned long pos=0)
Get Pixel Spacing.
Class for string values.
Definition: dsrstrvl.h:39
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item EmptyItem
empty default item
Definition: drtsns.h:315
virtual OFCondition getPatientOrientation(OFString &value, const signed long pos=0) const
get PatientOrientation (0020,0020)
output stream that writes into a plain file
Definition: dcostrmf.h:113
int contains(const char *name) const
checks if this entry contains the given name
Definition: dcdicent.h:321
DRTRecordedSnoutSequence(const DRTRecordedSnoutSequence ©)
copy constructor
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
OFCondition checkDatasetForReading(DcmItem &dataset)
check the given dataset before reading.
void requestConnection()
request connection to server, store in 'connection' if successful.
virtual ~DcmBaseSCPPool()
Virtual destructor, frees internal memory.
CID11_RouteOfAdministration(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
virtual ~DiYBR422PixelTemplate()
destructor
Definition: diyf2pxt.h:74
virtual OFBool networkDataAvailable(int timeout)=0
checks if data is available to be read on the transport connection.
DRTXDSRetrievalSequence & operator=(const DRTXDSRetrievalSequence ©)
assigment operator
virtual ~DRTReferringPhysicianIdentificationSequence()
destructor
DcmFloatingPointSingle SourceToGeneralAccessoryDistance
SourceToGeneralAccessoryDistance (300a,0425) vr=FL, vm=1, type=3.
Definition: drtgas.h:203
OFCondition getLeafJawPositions(Float64 &value, const unsigned long pos=0) const
get LeafJawPositions (300a,011c)
DcmIntegerString presentationPixelAspectRatio
VR=IS, VM=2, Type 1c (required if presentationPixelSpacing is absent)
Definition: dvpsda.h:262
const char * DefinedTerm
defined term according to the DICOM standard
Definition: diutils.h:150
unsigned int ArrayEntries
number of array entries (allocated memory)
Definition: diovdat.h:71
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtscs.h:335
Item EmptyItem
empty default item
Definition: drtrris9.h:315
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtdspcs.h:341
DVPSOverlay * getOverlay(size_t idx)
gets the overlay object with the given index.
Sint32 getTargetTimeout(const char *targetID)
returns the TIMEOUT entry for the communication partner with the given target ID from the configurati...
static OFBool checkRangeQuery(OFBool(*check)(const char *, const size_t), const void *queryData, const size_t querySize)
Helper function for generically implementing check functions operating on ranges.
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrris6.h:153
OFCondition getROIGenerationAlgorithm(OFString &value, const signed long pos=0) const
get ROIGenerationAlgorithm (3006,0036)
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtspccs.h:205
OFCondition getRTPlanRelationship(OFString &value, const signed long pos=0) const
get RTPlanRelationship (300a,0055)
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
DRTUDISequence & getUDISequence()
get UDISequence (0018,100a)
Definition: drtiontr.h:1899
const char * getTargetDiffieHellmanParameters(const char *targetID)
returns the DIFFIEHELLMANPARAMETERS entry for the storage peer with the given target ID from the conf...
virtual OFCondition setRecognizableVisibleFeatures(const OFString &value, const OFBool checkValue=OFTrue)
Set Recognizable Visual Features.
@ EKT_DH
DH key.
Definition: sitypes.h:80
virtual ~SiPrivateKey()
destructor
void clear()
clear all internal member variables
DcmShortString SourceModelID
SourceModelID (300a,021b) vr=SH, vm=1, type=3.
Definition: drtss.h:430
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const DRTPatientBreedCodeSequence & getPatientBreedCodeSequence() const
get PatientBreedCodeSequence (0010,2293)
Definition: drtionpl.h:1577
virtual ~Item()
destructor
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
OFCondition gotoFirstItem()
goto first item in the sequence
virtual void setBuffer(const void *buf, offile_off_t buflen)
adds the content of the given buffer to the input stream.
virtual DSRSubTemplate * clone() const
clone this template.
DcmLongText AdditionalPatientHistory
AdditionalPatientHistory (0010,21b0) vr=LT, vm=1, type=3.
Definition: drttreat.h:2810
virtual OFCondition setClinicalTrialProtocolName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolName (0012,0021)
DcmCodeString LossyImageCompressionMethod
LossyImageCompressionMethod (0028,2114) vr=CS, vm=1-n, type=3.
Definition: drtdose.h:4400
virtual IODMultiframeDimensionModule & getIODMultiframeDimensionModule()
Get Multi-frame Dimension Module.
E_DatasetStorageMode DatasetStorage
mode specifying how to store the received datasets (also allows for skipping the storage)
Definition: dstorscp.h:318
static const OFString & convertToXMLString(const OFString &sourceString, OFString &markupString)
convert character string to XML mnenonic string.
OFString inputFormat() const
Returns format of input image.
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n", const OFString &charset="")
check whether given string value conforms to the VR "SH" (Short String) and to the specified VM.
An interface class for simplified creation of a DICOMDIR.
Definition: dcddirif.h:108
@ Bilateral
(51440002,SCT,"Bilateral")
Definition: cid244.h:48
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getPixelAspectRatio(Sint32 &value, const unsigned long pos=0) const
get PixelAspectRatio (0028,0034)
representation parameter for RLE.
Definition: dcrlerp.h:33
DcmLongString PositionReferenceIndicator
PositionReferenceIndicator (0020,1040) vr=LO, vm=1, type=2.
Definition: drtstrct.h:3009
EI_Status
image status code
Definition: diutils.h:224
virtual OFCondition check() const
Check whether functional group contains valid data.
OFCondition setApplicationSetupManufacturer(const OFString &value, const OFBool check=OFTrue)
set ApplicationSetupManufacturer (300a,0238)
virtual OFCondition getResponsiblePerson(OFString &value, const signed long pos=0) const
get ResponsiblePerson (0010,2297)
T_ASC_UserIdentityNegotiationMode
Mode of User Identity Negotiation.
Definition: dcuserid.h:44
Class to manage CIELAB LUTs (for calibration)
Definition: diciefn.h:40
virtual OFBool compareTemplateIdentication(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="") const
compare template identification with given values
static OFString jpegMarkerToString(const E_JPGMARKER &marker)
Returns a string representation of a JPEG marker code.
virtual FilterResult decide(const InternalLoggingEvent &event) const
Always returns the DENY regardless of the InternalLoggingEvent parameter.
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
virtual ~DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModule()
destructor
DcmIntegerString NumberOfLeafJawPairs
NumberOfLeafJawPairs (300a,00bc) vr=IS, vm=1, type=1.
Definition: drtblds1.h:187
virtual OFBool isApprovalModulePresent(const OFBool complete=OFFalse)
check whether ApprovalModule (U) is present.
DRTContextGroupIdentificationSequence ContextGroupIdentificationSequence
ContextGroupIdentificationSequence (0008,0123) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4658
OFCondition addImageGroup()
add an image group to the image library.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtprsis.h:197
DRTRTDoseROISequence RTDoseROISequence
RTDoseROISequence (3004,0010) vr=SQ, vm=1, type=1.
Definition: drtdose.h:4633
DRTFractionGroupSequence::Item & getFractionGroup(Sint32 fractionGroupNumber)
find a fraction group by its fraction group number.
void nextCol(long &col) const
increases or decreases the column number depending on the direction flag.
Definition: diqtfs.h:172
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition getSourceToBeamLimitingDeviceDistance(Float64 &value, const unsigned long pos=0) const
get SourceToBeamLimitingDeviceDistance (300a,00ba)
OFBool emptyPageWarning()
checks whether any of the image boxes has an image box position assigned.
Definition: dvpssp.h:910
virtual OFCondition getClinicalTrialSiteID(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteID (0012,0030)
virtual OFCondition getServiceEpisodeID(OFString &value, const signed long pos=0) const
get ServiceEpisodeID (0038,0060)
virtual OFCondition setPatientAge(const OFString &value, const OFBool check=OFTrue)
set PatientAge (0010,1010)
OFCondition moveGraphicObject(size_t old_layer, size_t idx, size_t new_layer, DVPSObjectApplicability applicability=DVPSB_allImages)
moves the graphic object with the given index on the given layer to a different layer.
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmLongString CodingSchemeRegistry
CodingSchemeRegistry (0008,0112) vr=LO, vm=1, type=1C.
Definition: drtcsis.h:221
OFCondition setPatientSupportAngle(const OFString &value, const OFBool check=OFTrue)
set PatientSupportAngle (300a,0122)
OFCondition lockDatabase()
creates a database handle if none exists yet (this method may be called multiple times without interf...
@ ValueUnknown
(114010,DCM,"Value unknown")
Definition: cid42.h:64
Item & operator[](const size_t num)
get particular item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmIntegerString ReferencedWedgeNumber
ReferencedWedgeNumber (300c,00c0) vr=IS, vm=1, type=1.
Definition: drtwps.h:137
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtiwps.h:331
const DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence() const
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtstrct.h:1248
E_StorageSOPClassType
type of Storage SOP Class
Definition: dcuid.h:44
static OFBool copyFile(const OFFilename &sourceFilename, const OFFilename &destFilename)
copy an existing file to a new file
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtds.h:513
Uint16 getSecField(char *&resultBuf, Uint16 &resultLen) const
Returns content of secondary field.
OFString specificCharacterSet
potentially specified specific character set (in search mask)
Definition: wlds.h:80
OFCondition setNumberOfRangeModulators(const OFString &value, const OFBool check=OFTrue)
set NumberOfRangeModulators (300a,0340)
size_t getNumberOfItems() const
get number of items in the sequence
const char * getReferencedPresentationLUTInstanceUID()
gets the (optional) referenced Presentation LUT Instance UID.
Implementation of DCMR Context Group: CID 6147 - Response Criteria.
Definition: cid6147.h:35
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
OFCondition getPresentationPixelMagnificationRatio(double &magnification)
gets the presentation pixel magnification ratio for this displayed area if present.
DCMTK_DCMNET_EXPORT OFGlobal< size_t > dcmAssociatePDUSizeLimit
Maximum size (in bytes) of incoming A-ASSOCIATE-RQ or A-ASSOCIATE-AC PDUs that we are willing to acce...
virtual OFBool isValid() const
check whether the content item is valid.
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
OFCondition setValue(const CID42_NumericValueQualifier &valueQualifier, const OFBool check=OFTrue)
set empty numeric value and measurement unit with a numeric value qualifier.
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setGantryPitchRotationDirection(const OFString &value, const OFBool check=OFTrue)
set GantryPitchRotationDirection (300a,014c)
Interface class for ReferencedSpatialRegistrationSequence (0070,0404)
Definition: drtrsrs.h:28
virtual DcmEVR ident() const
return identifier for this class.
Definition: dcpixel.h:322
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool operator==(const DcmUIDHandler &arg) const
equal operator
Definition: dccfuidh.h:70
virtual OFCondition setAlgorithmName(const OFString &value, const OFBool checkValue=OFTrue)
Set Algorithm Name.
@ TCM_SHA256
Secure Hash Algorithm SHA-2 in 256 bit mode.
Definition: tlsciphr.h:209
OFBool valid() const
check whether cursor is valid.
Definition: dsrxmlc.h:120
@ Margetuximab_89Zr
(126740,DCM,"Margetuximab ^89^Zr")
Definition: cid4021.h:194
DcmIntegerString InstanceNumber
Instance Number: (IS, 1, 1)
Definition: dsrdoc.h:1419
const DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence() const
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtras.h:159
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition setClinicalTrialSubjectReadingID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectReadingID (0012,0042)
DRTPrivateDataElementCharacteristicsSequence PrivateDataElementCharacteristicsSequence
PrivateDataElementCharacteristicsSequence (0008,0300) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3129
OFCondition deleteImage(size_t idx)
deletes one of the registered images.
OFBool overlayInPresentationStateIsROI(size_t idx)
checks whether the given overlay in the presentation state is a ROI (region of interest) overlay.
OFCondition gotoNextItem()
goto next item in the sequence
DVPSOverlayCurveActivationLayer_PList()
default constructor
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtrrpcs.h:355
DRTGeneticModificationsCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFListIterator(Item *) CurrentItem
currently selected item
Item & operator=(const Item ©)
assigment operator
virtual OFCondition getLUTLabel(OFString &value, const signed long pos=0) const
Get LUT Label.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrss.h:311
Class representing the Common Instance Reference Module:
Definition: modcommoninstanceref.h:50
void expandPixel(const T *src[], T *dest[])
free scaling method with interpolation (only for magnification)
Definition: discalet.h:690
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition initialize()
initializes the MAC algorithm.
const DRTApplicatorSequenceInRTIonBeamsSessionRecordModule & getApplicatorSequence() const
get ApplicatorSequence (300a,0107)
Definition: drttsibs.h:520
OFCondition getPersonTelecomInformation(OFString &value, const signed long pos=0) const
get PersonTelecomInformation (0040,1104)
OFCondition read(DcmItem &dset)
reads a list of softcopy VOI LUTs (SoftcopyVOILUTSequence) from a DICOM dataset.
virtual OFCondition getRepresentativeFrameNumber(Uint16 &value, const unsigned int pos=0)
Get Representative Frame Number.
searchPropertyEqual< IOD, Item, type, arg2, argument2 > searchType
Typedef for simplifying usage of searchPropertyEqual.
Definition: drmsrch.h:106
DiColorPixelTemplate(const DiDocument *docu, const DiInputPixel *pixel, const Uint16 samples, EI_Status &status, const Uint16 sample_rate=0)
constructor
Definition: dicopxt.h:112
DRTBreedRegistrationSequence & getBreedRegistrationSequence()
get BreedRegistrationSequence (0010,2294)
Definition: drtionpl.h:1247
virtual OFCondition setRTImagePlane(const OFString &value, const OFBool check=OFTrue)
set RTImagePlane (3002,000c)
virtual OFCondition setLossyImageCompression(const OFString &value, const OFBool checkValue=OFTrue)
Set Lossy Image Compression.
const DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence() const
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtspgis.h:120
OFListIterator(Item *) CurrentItem
currently selected item
static const size_t PF_printInvalidCodes
print code triple for invalid codes (instead of the text "invalid code")
Definition: dsrtypes.h:441
const Item & getCurrentItem() const
get current item in the sequence
OFCondition setSetupTechnique(const OFString &value, const OFBool check=OFTrue)
set SetupTechnique (300a,01b0)
OFCondition setPatientID(const OFString &value, const OFBool check=OFTrue)
set PatientID (0010,0020)
OFMap()
default constructor
Definition: ofmap.h:72
void clear()
clear all internal member variables
DIC_NODENAME origHostName
hostname of requestor
Definition: dcmqrcbg.h:139
DJDecompressIJG8Bit(const DJCodecParameter &cp, OFBool isYBR)
constructor
virtual void resetRules()
Resets rules to their original values.
void clear()
clear all internal member variables
DcmIntegerString TransferTubeNumber
TransferTubeNumber (300a,02a2) vr=IS, vm=1, type=2.
Definition: drtchs.h:681
static OFvariant< OFCondition, DPMParametricMapIOD * > loadDataset(DcmDataset &dataset)
Load Parametric Map object from dataset object.
Decoder class for JPEG Lossless Selection Value 1 (8/12/16-bit)
Definition: djdecsv1.h:32
virtual ~DiYBRImage()
destructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrlsds.h:148
const char * getSeriesDate()
returns the Series Date of the currently selected series.
int pt
point transform value
Definition: djrplol.h:87
Class to compute and store the CIELAB lookup table.
Definition: dicielut.h:39
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition getHighBit(Uint16 &value, const signed long pos=0) const
Get High Bit.
Uint32 offset_
offset within buffer to first byte
Definition: dcwcache.h:118
OFCondition getGeneralAccessoryNumber(OFString &value, const signed long pos=0) const
get GeneralAccessoryNumber (300a,0424)
static void doConfigure(Hierarchy &h=Logger::getDefaultHierarchy(), bool logToStdErr=false)
This method eliminates the need to create a temporary BasicConfigurator object to configure log4cplus...
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmDecimalString TableTopEccentricAxisDistance
TableTopEccentricAxisDistance (300a,0124) vr=DS, vm=1, type=3.
Definition: drtimage.h:5336
Class for content item NUM.
Definition: dsrnumtn.h:42
Interface class for PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtprsis.h:30
virtual OFCondition setSharedConfig(const DcmSharedSCPConfig &config)
Set the DcmSharedSCPConfig object to use for configuring this DcmSCP object.
virtual DcmEVR ident() const =0
return identifier for this class.
E_PaddingEncoding padenc_option
padding output
Definition: mdfconen.h:187
OFCondition getPixelData(const void *&pixelData, unsigned long &width, unsigned long &height)
applies presentation state to attached image and returns image bitmap.
OFCondition gotoNextItem()
goto next item in the sequence
DcmCodeString BlockType
BlockType (300a,00f8) vr=CS, vm=1, type=1.
Definition: drtbl2.h:366
DcmQuantColorTable(const DcmQuantColorTable &src)
private undefined copy constructor
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getContrastFlowRate(Float64 &value, const unsigned long pos=0) const
get ContrastFlowRate (0018,1046)
DVPSGraphicObject * getGraphicObject(size_t idx)
returns a pointer to the graphic object with the given index or NULL if it does not exist.
DcmSCPConfig m_cfg
SCP configuration to be used by pool and all workers.
Definition: scppool.h:237
DcmLongString ClinicalTrialCoordinatingCenterName
ClinicalTrialCoordinatingCenterName (0012,0060) vr=LO, vm=1, type=2.
Definition: drtstrct.h:2967
virtual OFCondition setStrainNomenclature(const OFString &value, const OFBool check=OFTrue)
set StrainNomenclature (0010,0213)
DVPSStoredPrint * pPrint
pointer to the current print handler object
Definition: dviface.h:1596
virtual OFCondition getColumns(Uint16 &value, const signed long pos=0)
Get Columns.
bool closed
Is this appender closed?
Definition: appender.h:250
OFCondition getSourceEncapsulationNominalTransmission(OFString &value, const signed long pos=0) const
get SourceEncapsulationNominalTransmission (300a,0224)
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
virtual OFCondition getAdditionalPatientHistory(OFString &value, const signed long pos=0) const
get AdditionalPatientHistory (0010,21b0)
virtual OFCondition getPositionReferenceIndicator(OFString &value, const signed long pos=0) const
get PositionReferenceIndicator (0020,1040)
virtual OFCondition setSpacingBetweenSlices(const OFString &value, const OFBool checkValue=OFTrue)
Set Spacing between Slices.
virtual OFCondition writeSequence(DcmItem &dataset, const DcmTagKey &tagKey) const
write referenced SOP sequence to dataset.
virtual void clear()
clear internal member variables.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmQueryRetrieveGetContext(const DcmQueryRetrieveGetContext &other)
private undefined copy constructor
static OFBool isDocumentTypeSupported(const E_DocumentType documentType)
check whether specified SR document type is supported by this library
OFCondition readXMLSeriesData(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read XML "series" data
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
static XMLNode emptyNode()
return XMLNode::emptyXMLNode;
DRTRequestAttributesSequence & operator=(const DRTRequestAttributesSequence ©)
assigment operator
const Item & getItem(const size_t num) const
get particular item in the sequence
Uint16 getDefaultPrintReflection()
returns the default reflection for print, from GENERAL/PRINT/DEFAULTREFLECTION in the config file.
DcmTagKey m_seqStartTag
The tag that uniquely identifies this functional group.
Definition: fgbase.h:257
virtual OFCondition getStudyTime(OFString &value, const signed long pos=0) const
get StudyTime (0008,0030)
DcmFloatingPointSingle GantryPitchAngle
GantryPitchAngle (300a,014a) vr=FL, vm=1, type=3.
Definition: drtcps.h:667
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getContrastBolusStopTime(OFString &value, const signed long pos=0) const
get ContrastBolusStopTime (0018,1043)
virtual OFCondition setNumberOfFramesInOverlay(const OFString &value, const OFBool check=OFTrue)
set NumberOfFramesInOverlay (60xx,0015)
virtual ~DcmFindSCU()
destructor. Destroys network structure if not done already.
virtual ~IODReferences()
Destructor, frees memory.
This file contains implementations of reader-writer locking primitive using other primitives,...
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
DcmShortText ShieldingDeviceDescription
ShieldingDeviceDescription (300a,01a6) vr=ST, vm=1, type=3.
Definition: drtshds.h:174
DcmIntegerString CompensatorColumns
CompensatorColumns (300a,00e8) vr=IS, vm=1, type=1.
Definition: drtircs.h:404
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DVPSGraphicAnnotation_PList()
default constructor
OFCondition getReferencedLateralSpreadingDeviceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedLateralSpreadingDeviceNumber (300c,0102)
const DRTConceptNameCodeSequence & getConceptNameCodeSequence() const
get ConceptNameCodeSequence (0040,a043)
Definition: drtcims.h:218
virtual OFCondition getClinicalTrialProtocolID(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolID (0012,0020)
DcmLongText ImageComments
ImageComments (0020,4000) vr=LT, vm=1, type=3.
Definition: drtdose.h:4388
OFBool setMinute(const unsigned int minute)
set the time value to the specified minute.
static const size_t XF_templateIdentifierAsAttribute
write: encode template identifier as attribute instead of element text
Definition: dsrtypes.h:382
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
OFCondition getCompensatorNumber(OFString &value, const signed long pos=0) const
get CompensatorNumber (300a,00e4)
DcmLongString PositionReferenceIndicator
PositionReferenceIndicator (0020,1040) vr=LO, vm=1, type=2.
Definition: drtplan.h:3216
OFCondition modifyOrInsertPath(OFString tag_path, const OFString &value, const OFBool only_modify, const OFBool update_metaheader=OFTrue, const OFBool ignore_missing_tags=OFFalse, const OFBool no_reservation_checks=OFFalse)
Modifies/Inserts a path (with a specific value if desired).
OFCondition getObservationNumber(OFString &value, const signed long pos=0) const
get ObservationNumber (3006,0082)
OFCondition setFilesetDescriptor(const char *filename, const char *charset=DEFAULT_DESCRIPTOR_CHARSET)
set the file-set descriptor file ID and character set.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtqds.h:334
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
const char * getSeriesOperatorsName()
returns the Series Operators Name of the currently selected series.
virtual OFString isValid(DcmDataset &dataset) const
Do some completeness / validity checks.
static OFCondition findTagFromName(const char *name, DcmTag &value)
convert the given string to a DICOM tag value
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmCodeString ColorSpace
ColorSpace (0028,2002) vr=CS, vm=1, type=3.
Definition: drtimage.h:5174
virtual DSRCodeTreeNode * clone() const
clone this tree node.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setOverlayBitsAllocated(const Uint16 value, const unsigned long pos=0)
set OverlayBitsAllocated (60xx,0100)
void deleteInputData()
delete internally handled object for the input pixel data conversion
OFCondition write(DcmItem &item)
write elements to sequence item
Item(const Item ©)
copy constructor
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition getPerformedProcedureStepStartDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartDate (0040,0244)
DRTGroupOfPatientsIdentificationSequence GroupOfPatientsIdentificationSequence
GroupOfPatientsIdentificationSequence (0010,0027) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4148
Uint16 group
tag group number
Definition: dctagkey.h:215
static const OFBool traps
OFTrue for all arithmetic types T that have at least one value that, if used as an argument to an ari...
Definition: oflimits.h:673
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
get Modality (0008,0060)
@ AM_afterCurrent
add new node after current one (sibling)
Definition: dsrtypes.h:849
DRTModifiedAttributesSequence & getModifiedAttributesSequence()
get ModifiedAttributesSequence (0400,0550)
Definition: drtoas.h:128
DRTBeamLimitingDeviceToleranceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DSRCompositeReferenceValue PresentationState
composite reference value (UIDs) to presentation state object (optional)
Definition: dsrimgvl.h:499
OFCondition setObservationUID(const OFString &observationUID, const OFBool check=OFTrue)
set observation unique identifier.
OFCondition write(DcmItem &item)
write elements to sequence item
const DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence() const
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drttreat.h:1485
OFString m_peer
Peer host (IP or host name)
Definition: scu.h:1035
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setPixelAspectRatio(const OFString &value, const OFBool check=OFTrue)
set PixelAspectRatio (0028,0034)
Item & getCurrentItem()
get current item in the sequence
GlobalDcmDataDictionary(const GlobalDcmDataDictionary &)
private undefined copy constructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
static ContentQualification str2Cq(const OFString &cq)
Convert OFString version of Content Qualification attribute value to enum value.
OFListIterator(Item *) CurrentItem
currently selected item
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtrics.h:342
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtics.h:211
virtual OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
DcmIntegerString ImagesInAcquisition
ImagesInAcquisition (0020,1002) vr=IS, vm=1, type=3.
Definition: drtdose.h:4386
size_t getNumberOfItems() const
get number of items in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition setAdmissionID(const OFString &value, const OFBool check=OFTrue)
set AdmissionID (0038,0010)
virtual OFCondition getContrastFlowRate(OFString &value, const signed long pos=0) const
get ContrastFlowRate (0018,1046)
const char * getReportDescription(const char *reportID)
returns the DESCRIPTION entry for the SR "template" with the given ID from the configuration file.
OFString printJobIdentifier
a unique string generated for each instance of this class.
Definition: dviface.h:1630
virtual OFCondition putUint16(const Uint16 val, const unsigned long pos=0)
insert into the element value a copy of the given Uint16 value.
Item class.
Definition: drtads.h:37
virtual OFCondition getBitsAllocated(Uint16 &value, const unsigned long pos=0) const
get BitsAllocated (0028,0100)
Item & getItem(const size_t num)
get particular item in the sequence
DerivationImageItem(const DerivationImageItem &rhs)
Copy constructor, deletes old data.
DcmShortText ROIDescription
ROIDescription (3006,0028) vr=ST, vm=1, type=3.
Definition: drtssrs.h:231
DRTWADORetrievalSequence WADORetrievalSequence
WADORetrievalSequence (0040,e023) vr=SQ, vm=1, type=1C.
Definition: drtrpphs.h:238
DcmIntegerString ReferencedStopControlPointIndex
ReferencedStopControlPointIndex (300c,00f6) vr=IS, vm=1, type=1.
Definition: drtrcps.h:146
virtual OFCondition setStudyTime(const OFString &value, const OFBool check=OFTrue)
set StudyTime (0008,0030)
virtual OFCondition setPatientDeathDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientDeathDateInAlternativeCalendar (0010,0034)
static OFBool safeSubtract(T minuend, T subtrahend, T &difference)
check whether subtraction is safe (i.e. no underflow occurs) and if so, perform it (i....
Definition: ofstd.h:908
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition getSOPInstanceStatus(OFString &value, const signed long pos=0) const
get SOPInstanceStatus (0100,0410)
DcmLongText PatientComments
PatientComments (0010,4000) vr=LT, vm=1, type=3.
Definition: drtiontr.h:2826
virtual OFCondition getStartCumulativeMetersetWeight(Float64 &value, const unsigned long pos=0) const
get StartCumulativeMetersetWeight (300c,0008)
@ VT_byReference
internal type used to indicate by-reference relationships
Definition: dsrtypes.h:615
DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence()
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtplan.h:1688
virtual OFCondition getPatientComments(OFString &value, const signed long pos=0) const
get PatientComments (0010,4000)
OFCondition getOverlayData(size_t layer, size_t idx, const void *&overlayData, unsigned int &width, unsigned int &height, unsigned int &left_pos, unsigned int &top_pos, OFBool &isROI, Uint16 &fore, unsigned int bits=8)
gets one overlay bitmap.
DcmQuantComponent green
green color component of this pixel
Definition: diqtpix.h:158
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
const Item & getCurrentItem() const
get current item in the sequence
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtporcs.h:353
DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence()
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtiontr.h:1767
const struct sockaddr_in6 * getSockaddr_in6_const() const
access socket address storage object as const struct sockaddr_in6 (IPv6 address)
Definition: ofsockad.h:92
static const size_t XF_writeEmptyTags
write: write all tags even if their value is empty
Definition: dsrtypes.h:364
virtual OFCondition checkValue(const OFString &textValue) const
check the specified text value for validity.
@ Ocaratuzumab_89Zr
(126723,DCM,"Ocaratuzumab ^89^Zr")
Definition: cid4021.h:218
OFCondition getApplicatorDescription(OFString &value, const signed long pos=0) const
get ApplicatorDescription (300a,010a)
void setScaling(const double xfactor, const double yfactor)
set scaling factor in x- and y-direction
OFBool isRootTemplate() const
check whether this template is a root template, i.e. describes a complete SR document tree starting f...
Definition: dsrrtpl.h:109
DcmSequenceOfItems * signatureSq
pointer to digital signatures sequence of attached item, may be NULL if not attached or not yet prese...
Definition: dcsignat.h:248
const Item & getItem(const size_t num) const
get particular item in the sequence
DVPSSoftcopyVOI_PList softcopyVOIList
Module=Softcopy_VOI_LUT, VR=SQ, Card=1-n, Type 1.
Definition: dcmpstat.h:976
virtual ~DSRSCoordTreeNode()
destructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getLeafJawPositions(OFString &value, const signed long pos=0) const
get LeafJawPositions (300a,011c)
DSRSCoord3DTreeNode(const E_RelationshipType relationshipType)
constructor
DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence()
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtimage.h:2950
DicomImageComparison()
default constructor
OFCondition getPatientSupportAngleTolerance(OFString &value, const signed long pos=0) const
get PatientSupportAngleTolerance (300a,004c)
virtual void resetRules()
Resets rules to their original values.
OFCondition getApplicatorOpeningX(Float32 &value, const unsigned long pos=0) const
get ApplicatorOpeningX (300a,0434)
virtual OFCondition getStrainAdditionalInformation(OFString &value, const signed long pos=0) const
get StrainAdditionalInformation (0010,0218)
Metafunction to remove several modifiers from a type, for example to realize by-value parameter passi...
Definition: oftraits.h:488
Item EmptyItem
empty default item
Definition: drtces.h:546
virtual OFCondition getPatientBreedDescription(OFString &value, const signed long pos=0) const
get PatientBreedDescription (0010,2292)
DRTReferencedFrameOfReferenceSequence::Item & getFrameOfReference(const OFString &uid)
find a frame of reference by its fraction UID.
const char * c_str() const
returns UID as C string
Definition: dccfuidh.h:89
OFString databaseIndexFile
string containing the path name of the database index file after a database lock has been acquired fo...
Definition: dviface.h:1643
void Init()
initialize internal data structures and member variables
TID1411_VolumetricROIMeasurements(const OFBool createGroup=OFFalse)
(default) constructor
OFListIterator(Item *) CurrentItem
currently selected item
DRTConsentForClinicalTrialUseSequence ConsentForClinicalTrialUseSequence
ConsentForClinicalTrialUseSequence (0012,0083) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2921
DcmCodeString ContentQualification
ContentQualification (0018,9004) vr=CS, vm=1, type=3.
Definition: drtionpl.h:3309
MdfConsoleEngine & operator=(const MdfConsoleEngine &)
private undefined assignment operator
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpscs.h:533
OFshared_ptr(T *const pt=OFnullptr)
Constructs a shared_ptr with pt as the managed object.
Definition: ofmem.h:83
Item EmptyItem
empty default item
Definition: drtads.h:540
OFString XMLgetAllAttributeValues(XMLNode fileNode, OFString attr)
This function is only used to process CDA files.
Uint8 clock_seq_low
The lowest 8 bits of the clock sequence.
Definition: ofuuid.h:128
DRTReferencedDoseSequence ReferencedDoseSequence
ReferencedDoseSequence (300c,0080) vr=SQ, vm=1, type=3.
Definition: drtibs.h:1043
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtblds5.h:209
void * theMutex
mutex resource
Definition: ofthread.h:392
DcmCodeString ResponsiblePersonRole
ResponsiblePersonRole (0010,2298) vr=CS, vm=1, type=1C.
Definition: drtdose.h:4136
const char * getVoiLutExplanation(const unsigned long pos, OFString &explanation) const
get description of specified VOI LUT (stored in the image file)
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtporcs.h:341
static size_t my_strlcpy(char *dst, const char *src, size_t siz)
private implementation of strlcpy.
OFCondition removeItem()
remove the current item from the list.
OFBool isEmpty()
check if item is empty
virtual OFCondition setPerformedProcedureStepEndTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndTime (0040,0251)
DcmLongString PatientBirthDateInAlternativeCalendar
PatientBirthDateInAlternativeCalendar (0010,0033) vr=LO, vm=1, type=3.
Definition: drtimage.h:4791
virtual OFBool isValid() const
check whether the content item is valid.
CID4021_PETRadiopharmaceutical(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtrics.h:212
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition checkByReferenceRelationships(const size_t mode=0, const size_t flags=0)
check the by-reference relationships (if any) for validity.
Item class.
Definition: drtsds.h:36
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmUnlimitedText UniversalEntityID
UniversalEntityID (0040,0032) vr=UT, vm=1, type=1C.
Definition: drtafs.h:146
virtual OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
void enableQuotaSystem(OFBool enable)
enable/disable the DB quota system (default: enabled) which causes images to be deleted if certain bo...
virtual OFCondition write(DcmItem &dataset)
Write current common image module's attributes to DICOM dataset.
Definition: iodimage.h:166
Item & getItem(const size_t num)
get particular item in the sequence
E_SearchMode
search mode for hierarchical search operations
Definition: dctypes.h:122
@ OF_failure
application failure
Definition: ofcond.h:55
virtual OFBool canInsertSubTree(const DSRDocumentSubTree *tree, const E_AddMode addMode=AM_belowCurrent, const E_RelationshipType defaultRelType=RT_unknown) const
check whether specified subtree can be inserted at the current position, i.e. added to the current co...
DRTBeamDoseVerificationControlPointSequence BeamDoseVerificationControlPointSequence
BeamDoseVerificationControlPointSequence (300a,008c) vr=SQ, vm=1, type=1.
Definition: drtrdrs1.h:152
OFCondition setBluePaletteColorLookupTableData(const Uint16 *value, const unsigned long count)
set BluePaletteColorLookupTableData (0028,1203)
DcmShortText CalculatedDoseReferenceDescription
CalculatedDoseReferenceDescription (3008,0074) vr=ST, vm=1, type=3.
Definition: drtcdrs.h:179
virtual OFCondition readStudyData(DcmItem &dataset)
read StudyData from dataset.
const char * getIndexFilename() const
return path to index file
DCMTK_OFSTD_EXPORT const OFConditionConst EC_Normal
condition constant: successful completion
@ _7E11_89Zr
(126750,DCM,"7E11 ^89^Zr")
Definition: cid4021.h:50
OFCondition getReferencedMeasuredDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedMeasuredDoseReferenceNumber (3008,0082)
OFCondition setSoftwareVersions(const OFString &value, const OFBool check=OFTrue)
set SoftwareVersions (0018,1020)
OFCondition setSourceToBlockTrayDistance(const OFString &value, const OFBool check=OFTrue)
set SourceToBlockTrayDistance (300a,00f6)
StudyStruct * gotoStudy(const OFString &studyUID)
set cursor to the specified study entry (if existent)
OFBool isEmpty()
check if item is empty
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const DRTUDISequence & getUDISequence() const
get UDISequence (0018,100a)
Definition: drttreat.h:1773
virtual OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
OFString m_StudyInstanceUID
Study Instance UID.
Definition: iodreferences.h:128
DcmUnsignedShort HighBit
HighBit (0028,0102) vr=US, vm=1, type=1C.
Definition: drtdose.h:4550
unsigned int getYear() const
get the currently stored year value
virtual OFCondition setSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set SeriesDescription (0008,103e)
virtual ~DRTROIPhysicalPropertiesSequence()
destructor
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
@ AP_XrayAngiographic
1024 X-Ray Angiographic Studies on CD-R Media (STD-XA1K-CD)
Definition: dcddirif.h:153
virtual ~DSRSCoord3DTreeNode()
destructor
@ PolatuzumabVedotin_89Zr
(126726,DCM,"Polatuzumab vedotin ^89^Zr")
Definition: cid4021.h:234
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule(const DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule ©)
copy constructor
const FunctionalGroups * getShared() const
Return all shared functional groups, e.g. to iterate over them.
OFCondition gotoFirstItem()
goto first item in the sequence
DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence()
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtdose.h:1960
DcmIntegerString seriesNumber
Module=General_Series, VR=IS, VM=1, Type 2.
Definition: dvpssp.h:983
OFCondition getColumns(Uint16 &value, const unsigned long pos=0) const
get Columns (0028,0011)
OFCondition gotoFirstItem()
goto first item in the sequence
DJDecoderExtended()
default constructor
@ MilliliterPer100GramPerMinute
(ml/[100]g/min,UCUM,"milliliter per 100 gram per minute")
Definition: cid7181.h:164
Item(const Item ©)
copy constructor
OFCondition setRTBeamLimitingDeviceType(const OFString &value, const OFBool check=OFTrue)
set RTBeamLimitingDeviceType (300a,00b8)
const DRTSourceInstanceSequence & getSourceInstanceSequence() const
get SourceInstanceSequence (0042,0013)
Definition: drttreat.h:1689
DRTRequestAttributesSequence RequestAttributesSequence
RequestAttributesSequence (0040,0275) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3013
virtual ~DVSignatureHandler()
destructor
@ EMT_SHA256
SHA-256.
Definition: sitypes.h:103
DcmLongString DoseReferenceDescription
DoseReferenceDescription (300a,0016) vr=LO, vm=1, type=3.
Definition: drttsmds.h:160
OFCondition read(DcmItem &item)
read elements from sequence item
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition receiveSTORERequest(T_DIMSE_C_StoreRQ &reqMessage, const T_ASC_PresentationContextID presID, const OFString &filename)
Receive C-STORE request (and store accompanying dataset directly to file).
OFCondition getValueType(OFString &value, const signed long pos=0) const
get ValueType (0040,a040)
OFCondition getTableTopLongitudinalPosition(Float64 &value, const unsigned long pos=0) const
get TableTopLongitudinalPosition (300a,0129)
void resizePayload(size_t i)
resize payload if necessary such that at least i bytes can be written
virtual void SetCommaSeparatePatientName(OFBool)
Set value in a member variable in a derived class.
Definition: wlds.h:486
virtual void resetRules()
Resets rules to their original values.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const char * getPatientBirthDate()
returns the Patient Birth Date of the currently selected study.
Class representing the "Frame Content" Functional Group Macro.
Definition: fgfracon.h:35
This is a I2DImgSource implementation that can parse JPEG files and convert them into DICOM images.
Definition: i2djpgs.h:76
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
RSA * rsa
RSA key used for signature/verification.
Definition: sirsa.h:112
DcmOtherByteOtherWord ICCProfile
ICCProfile (0028,2000) vr=OB, vm=1, type=3.
Definition: drtiis.h:421
DRTIssuerOfPatientIDQualifiersSequence IssuerOfPatientIDQualifiersSequence
IssuerOfPatientIDQualifiersSequence (0010,0024) vr=SQ, vm=1, type=3.
Definition: drtgpis.h:175
OFCondition read(DcmItem &item)
read elements from sequence item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
OFCondition removeItem(const OFString &sopClassUID, const OFString &instanceUID)
remove the specified item from the list.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getBeamMeterset(OFString &value, const signed long pos=0) const
get BeamMeterset (300a,0086)
OFCondition getLeafPositionBoundaries(OFVector< Float64 > &value) const
get LeafPositionBoundaries (300a,00be)
Item EmptyItem
empty default item
Definition: drtblds5.h:403
OFBool isUnknownVR() const
returns true if the VR used for writing is "UN"
DcmLongString RescaleType
RescaleType (0028,1054) vr=LO, vm=1, type=1C.
Definition: drtimage.h:5369
void termDestination(jpeg_compress_struct *cinfo)
callback for IJG compress destination manager.
PrintHelper(DcmObject &dcmobj, size_t flags=0, int level=0)
construct a PrintHelper
Definition: dcobject.h:779
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drtibs.h:985
virtual OFCondition getNameOfPhysiciansReadingStudy(OFString &value, const signed long pos=0) const
get NameOfPhysiciansReadingStudy (0008,1060)
OFBool requireFindForMove_
refuse MOVE context if no corresponding FIND context is present
Definition: dcmqropt.h:116
Class representing a reference to a Segmentation.
Definition: iodreferences.h:231
@ EWT_window_minmax_n
compute VOI window using min-max algorithm ignoring extremes
Definition: diutils.h:336
DiYBRImage(const DiDocument *docu, const EI_Status status)
constructor
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Item(const Item ©)
copy constructor
Item EmptyItem
empty default item
Definition: drtbl5.h:532
OFCondition addImageReference(const char *sopclassUID, const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability)
add a new image reference.
Definition: i2doutpl.h:43
virtual ~Item()
destructor
virtual DPMTypes::ContentQualification getContentQualification()
Get Content Qualification.
OFBool ReferencedStudyOrPatientSequenceIsAbsentOrExistentButNonEmptyAndIncomplete(DcmTagKey sequenceTagKey, DcmItem *dset)
This function checks if the specified sequence attribute is absent or existent but non-empty and inco...
OFBool isEmpty() const
check whether the annotation is empty, i.e. whether the internally stored character string (text) has...
Definition: dsrtnant.h:96
DcmAttributeTag FrameIncrementPointer
FrameIncrementPointer (0028,0009) vr=AT, vm=1-n, type=1.
Definition: drtimage.h:5241
@ OrbitalStructure
(363654007,SCT,"Orbital structure")
Definition: cid4031.h:176
DcmShortString ToleranceTableLabel
ToleranceTableLabel (300a,0043) vr=SH, vm=1, type=3.
Definition: drttts.h:363
DcmShortString ApplicatorID
ApplicatorID (300a,0108) vr=SH, vm=1, type=1.
Definition: drtas6.h:162
virtual OFCondition getClinicalTrialTimePointDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointDescription (0012,0051)
const DiDocument * Document
points to special object, which encapsulates the dcmdata module
Definition: diimage.h:616
DRTDerivationCodeSequence & getDerivationCodeSequence()
get DerivationCodeSequence (0008,9215)
Definition: drtssrs.h:163
OFCondition setScanSpotTimeOffset(const Float32 value, const unsigned long pos=0)
set ScanSpotTimeOffset (300a,038f)
void printConfig()
print TI configuration to stdout
the representation of a Annotation Content SQ item for Stored Print
Definition: dvpsab.h:37
Definition: pubtypes.h:44
OFCondition parseIndexedColorRow(const Uint8 *row, const Uint16 width, const int bpp, const Uint16 colors, const Uint32 *palette, char *pixData) const
Parse a single 1, 4 or 8bpp row of BMP data.
static const size_t XF_codeComponentsAsAttribute
write: encode code value, coding scheme designator and coding scheme version as attribute instead of ...
Definition: dsrtypes.h:373
void clear()
clear all internal member variables
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drteas.h:127
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
DRTOriginalAttributesSequence OriginalAttributesSequence
OriginalAttributesSequence (0400,0561) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3117
DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence()
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtimage.h:2998
const OFString CodeValue
Code Value (VR=SH/UC/UR, type 1)
Definition: dsrcodvl.h:98
OFCondition setSourceEncapsulationNominalTransmission(const OFString &value, const OFBool check=OFTrue)
set SourceEncapsulationNominalTransmission (300a,0224)
OFCondition setMaterialID(const OFString &value, const OFBool check=OFTrue)
set MaterialID (300a,00e1)
DcmUniqueIdentifier RelatedGeneralSOPClassUID
RelatedGeneralSOPClassUID (0008,001a) vr=UI, vm=1-n, type=3.
Definition: drtstrct.h:3086
DcmUnsignedShort SmallestImagePixelValue
SmallestImagePixelValue (0028,0106) vr=US/SS, vm=1, type=3.
Definition: drtdose.h:4452
encoder class for RLE.
Definition: dcrlecce.h:35
virtual Uint32 getLength(const E_TransferSyntax xfer=EXS_LittleEndianImplicit, const E_EncodingType enctype=EET_UndefinedLength)=0
calculate the value length (without attribute tag, VR and length field) of this DICOM element when en...
static OFList< DcmCodecList * > registeredCodecs
singleton list of registered codecs
Definition: dccodec.h:503
OFCondition setValue(const DSRSpatialCoordinates3DValue &coordinatesValue, const OFBool check=OFTrue)
set spatial coordinates value.
static int solve(T3_ *a, T3_ *b, const unsigned int n)
solve the equation given by the two matrixes.
Definition: dicrvfit.h:255
DRTBeamLimitingDeviceLeafPairsSequence BeamLimitingDeviceLeafPairsSequence
BeamLimitingDeviceLeafPairsSequence (3008,00a0) vr=SQ, vm=1, type=3.
Definition: drttsibs.h:974
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
void removeActivation(Uint16 group)
remove activation for given repeating group.
DRTPrimaryFluenceModeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition terminatePrintSpooler()
terminates the print spooler process.
virtual DcmObject * clone() const
clone method
Definition: dcvrobow.h:93
void increment_count()
Increment the reference counter in a thread-safe and (if possible) lock-free fashion.
Definition: ofmem.h:202
@ SquareCentimeter
(cm2,UCUM,"square centimeter"), included from CID 7461
Definition: cid7181.h:66
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition copyJPEGStream(char *&pixelData, Uint32 &pixLength)
Copies JPEG stream (with APPn markers, excluding JFIF) from JPEG file.
virtual DcmObject * clone() const
clone method
Definition: dcpixel.h:275
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
OFBool gotoNext()
sets internal cursor to next position in cache list
Definition: dvcache.h:212
virtual OFCondition read(DcmItem &item)
Read functional group from given item.
Item & getCurrentItem()
get current item in the sequence
XMLNode addChild(XMLCSTR lpszName, char isDecl=FALSE, XMLElementPosition pos=-1)
Add a new child node.
virtual size_t getNumberOfTrackSets()
Returns number of Track Sets in Tractography Results object.
OFCondition setSourceApplicatorWallNominalThickness(const OFString &value, const OFBool check=OFTrue)
set SourceApplicatorWallNominalThickness (300a,029c)
DcmLongText SOPAuthorizationComment
SOPAuthorizationComment (0100,0424) vr=LT, vm=1, type=3.
Definition: drtdose.h:4673
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches the filter criterion (observation date/time)
@ RelativeLinearStoppingPower
(130086,DCM,"Relative Linear Stopping Power"), included from CID 7180
Definition: cid7469.h:350
virtual OFCondition setClinicalTrialTimePointDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointDescription (0012,0051)
DcmDirectoryRecord(const DcmDirectoryRecord &oldDirRec)
copy constructor
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
DcmDecimalString TableTopLongitudinalPositionTolerance
TableTopLongitudinalPositionTolerance (300a,0052) vr=DS, vm=1, type=3.
Definition: drttts.h:355
DRTApplicatorGeometrySequence ApplicatorGeometrySequence
ApplicatorGeometrySequence (300a,0431) vr=SQ, vm=1, type=3.
Definition: drtas5.h:191
DRTDigitalSignaturesSequence(const DRTDigitalSignaturesSequence ©)
copy constructor
DRTIssuerOfServiceEpisodeIDSequence IssuerOfServiceEpisodeIDSequence
IssuerOfServiceEpisodeIDSequence (0038,0064) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3059
DRTPatientBreedCodeSequence PatientBreedCodeSequence
PatientBreedCodeSequence (0010,2293) vr=SQ, vm=1, type=2C.
Definition: drtimage.h:4821
static void currentTime(OFString &str)
helper function that writes the current time in DICOM format (HHMMSS)
DiJPEGPlugin()
constructor
virtual OFCondition getSynchronizationFrameOfReferenceUID(OFString &value, const signed long pos=0) const
get synchronization frame of reference UID
DcmIntegerString FractionGroupNumber
FractionGroupNumber (300a,0071) vr=IS, vm=1, type=1.
Definition: drtfgs.h:328
OFCondition getGantryAngle(Float64 &value, const unsigned long pos=0) const
get GantryAngle (300a,011e)
Item & operator=(const Item ©)
assigment operator
DcmTime PerformedProcedureStepEndTime
PerformedProcedureStepEndTime (0040,0251) vr=TM, vm=1, type=3.
Definition: drtiontr.h:3023
int hasSOPclassUID(const char *uid) const
check whether image has given SOP class UID.
type definitions and classes for TLS transport connections
OFCondition setReferencedRangeShifterNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedRangeShifterNumber (300c,0100)
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtpics.h:327
Class representing the Segmentation Functional Group Macro.
Definition: fgseg.h:34
OFCondition write(DcmItem &item)
write elements to sequence item
void setVerbosePCMode(const OFBool mode)
Set whether to show presentation contexts in verbose or debug mode.
Item & getCurrentItem()
get current item in the sequence
@ VT_Num
DICOM Value Type: NUM.
Definition: dsrtypes.h:589
OFCondition gotoFirstItem()
goto first item in the sequence
DcmLongString ServiceEpisodeID
ServiceEpisodeID (0038,0060) vr=LO, vm=1, type=3.
Definition: drtplan.h:3140
DcmPersonName ReferringPhysicianName
ReferringPhysicianName (0008,0090) vr=PN, vm=1, type=2.
Definition: drtimage.h:4883
virtual const void * getOutputData(const unsigned long frame, const int bits, const int planar)=0
get pixel data with specified format (abstract).
Item & getCurrentItem()
get current item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpdecs.h:183
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getOperatorsName(OFString &value, const signed long pos=0) const
get OperatorsName (0008,1070)
OFBool ResolutionCheck
check image resolution
Definition: dcddirif.h:1576
int trylock()
tries to lock the mutex object.
Item & getItem(const size_t num)
get particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
OFBool isEmpty()
check if item is empty
OFCondition getLeafPositionBoundaries(OFString &value, const signed long pos=0) const
get LeafPositionBoundaries (300a,00be)
virtual OFCondition setContentTime(const OFString &value, const OFBool check=OFTrue)
set ContentTime (0008,0033)
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
OFCondition getLUTDescriptor(Uint16 &value, const unsigned long pos=0) const
get LUTDescriptor (0028,3002)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTToleranceTableSequence(const DRTToleranceTableSequence ©)
copy constructor
Item & getItem(const size_t num)
get particular item in the sequence
DcmCodeString DoseType
DoseType (3004,0004) vr=CS, vm=1, type=1.
Definition: drtdvhs.h:323
virtual OFCondition getStudyDescription(OFString &value, const signed long pos=0) const
get StudyDescription (0008,1030)
E_SubSampling
describes the different types of component sub-sampling to be used with lossy image compression.
Definition: djutils.h:80
OFCondition read(DcmItem &item)
read elements from sequence item
DcmDate StudyDate
StudyDate (0008,0020) vr=DA, vm=1, type=2.
Definition: drtionpl.h:2980
virtual OFCondition setClinicalTrialSponsorName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSponsorName (0012,0010)
virtual OFCondition getStrainAdditionalInformation(OFString &value, const signed long pos=0) const
get StrainAdditionalInformation (0010,0218)
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtspcs.h:354
OFCondition setROIObservationLabel(const OFString &value, const OFBool check=OFTrue)
set ROIObservationLabel (3006,0085)
OFCondition getTreatmentTime(OFString &value, const signed long pos=0) const
get TreatmentTime (3008,0251)
DcmDecimalString TableTopVerticalPosition
TableTopVerticalPosition (300a,0128) vr=DS, vm=1, type=2C.
Definition: drticpds.h:884
DRTPatientSetupSequence & getPatientSetupSequence()
get PatientSetupSequence (300a,0180)
Definition: drtplan.h:1616
@ Mandible
(91609006,SCT,"Mandible")
Definition: cid4031.h:152
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtsss.h:142
int writePPM(STD_NAMESPACE ostream &stream, const unsigned long frame, const int bits)
write pixel data to PPM file.
virtual OFCondition getSOPAuthorizationComment(OFString &value, const signed long pos=0) const
get SOPAuthorizationComment (0100,0424)
gid_t pw_gid
the group ID.
Definition: ofpwd.h:97
OFBool IsSupportedMatchingKeyAttribute(DcmElement *element, DcmSequenceOfItems *supSequenceElement=NULL)
This function checks if the given element refers to an attribute which is a supported matching key at...
OFCondition getSourceStrength(OFString &value, const signed long pos=0) const
get SourceStrength (300a,022b)
Item EmptyItem
empty default item
Definition: drtscs.h:540
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
DRTReferencedStudySequence ReferencedStudySequence
ReferencedStudySequence (0008,1110) vr=SQ, vm=1, type=3.
Definition: drtras.h:275
zlib compression filter for output streams.
Definition: dcostrmz.h:48
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrshs6.h:347
void clear()
clear all internal member variables
Helper class representing an item within the Dimension Index Sequence, i.e. a single dimension descri...
Definition: modmultiframedimension.h:55
virtual OFCondition getDeidentificationMethod(OFString &value, const signed long pos=0) const
get DeidentificationMethod (0012,0063)
E_StreamCompression getStreamCompression() const
get stream compression type for this transfer syntax
Definition: dcxfer.h:286
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool isLittleEndian() const
return true if transfer syntax is little endian, false otherwise
Definition: dcxfer.h:218
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence()
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtimage.h:2830
virtual unsigned long getPeerCertificateLength()=0
returns the size in bytes of the peer certificate of a secure connection.
static DJLSCodecParameter * cp_
pointer to codec parameter shared by all encoders
Definition: djencode.h:88
~DcmPathNode()
Destructor.
Definition: dcpath.h:58
void unmarkAllContentItems()
unmark all content items in the document tree.
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
DcmDecimalString PatientSupportAngle
PatientSupportAngle (300a,0122) vr=DS, vm=1, type=3.
Definition: drtimage.h:5334
OFBool printSCPCreate(unsigned long numBoxes, DcmUniqueIdentifier &studyUID, DcmUniqueIdentifier &seriesUID, const char *aetitle)
creates a number of image boxes as part of a Print SCP N-CREATE operation.
@ R2Coefficient
(126220,DCM,"R2-Coefficient"), included from CID 7180
Definition: cid7469.h:194
void setItemWildcardSupport(const OFBool supported)
Sets whether searching/creating paths will support wildcard for items.
virtual size_t gotoFirst()
goto first node on the same level (first sibling).
Definition: dsrtncsr.h:502
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3146
const DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence() const
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtimage.h:2452
OFCondition getCumulativeMetersetWeight(Float64 &value, const unsigned long pos=0) const
get CumulativeMetersetWeight (300a,0134)
DcmShortString SourceApplicatorID
SourceApplicatorID (300a,0291) vr=SH, vm=1, type=2C.
Definition: drtchs.h:657
OFCondition read(DcmItem &dset, OFBool withSOPInstance)
reads an Presentation LUT from a DICOM dataset.
DcmStack & operator=(const DcmStack &arg)
copy assignment operator.
static Logger getRoot()
Return the root of the default logger hierrachy.
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence()
get MappingResourceIdentificationSequence (0008,0124)
Definition: drttreat.h:1359
const DRTBeamSequence & getBeamSequence() const
get BeamSequence (300a,00b0)
Definition: drtplan.h:1298
DJCompressIJG8Bit(const DJCodecParameter &cp, EJ_Mode mode, int prediction, int ptrans)
constructor for lossless JPEG
static E_ValueType definedTermToValueType(const OFString &definedTerm)
convert DICOM defined term to value type
virtual ~DRTConceptCodeSequence()
destructor
OFBool appliesToSegment(const Uint16 segmentNumber) const
check whether the image reference applies to a specific segment.
virtual void clear()
clear internal member variables.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition getContrastBolusVolume(Float64 &value, const unsigned long pos=0) const
get ContrastBolusVolume (0018,1041)
EnumType
types of common anatomic regions
Definition: cid4031.h:42
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual Uint16 bitsPerSample() const
returns the number of bits per sample that will be expected when encoding.
Definition: djeijg12.h:112
OFUnorderedSet()
Default constructor.
Definition: ofuoset.h:52
FilterResult
Definition: filter.h:51
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
OFCondition getBlockTrayID(OFString &value, const signed long pos=0) const
get BlockTrayID (300a,00f5)
static OFCondition mapReconstructionAlgorithm(const OFString &definedTerm, DSRCodedEntryValue &codedEntryValue, const OFBool enhancedEncodingMode=OFFalse)
map a defined term for Reconstruction Algorithm (0018,9315) to the associated coded entry
OFCondition getRetrieveURI(OFString &value, const signed long pos=0) const
get RetrieveURI (0040,e010)
virtual OFCondition setAdmittingDiagnosesDescription(const OFString &value, const OFBool check=OFTrue)
set AdmittingDiagnosesDescription (0008,1080)
DcmIntegerString ToleranceTableNumber
ToleranceTableNumber (300a,0042) vr=IS, vm=1, type=1.
Definition: drttts.h:365
virtual OFCondition getGridFrameOffsetVector(Float64 &value, const unsigned long pos=0) const
get GridFrameOffsetVector (3004,000c)
virtual OFCondition nextObject(DcmStack &stack, const OFBool intoSub)
this method enables a stack based, depth-first traversal of a complete hierarchical DICOM dataset (th...
@ MRIUnspecifiedBodyRegion
(25056-3,LN,"MRI unspecified body region")
Definition: cid100.h:60
Item & operator=(const Item ©)
assigment operator
virtual OFCondition setAndCheckAssociationProfile(const OFString &profileName)
If an association profile should be selected, either by loading an association configuration file or ...
int m_Code
holds the error value.
Definition: oferror.h:226
OFCondition getChannelShieldNumber(OFString &value, const signed long pos=0) const
get ChannelShieldNumber (300a,02b2)
DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence()
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtiontr.h:1551
virtual OFBool isRTDoseROIModulePresent(const OFBool complete=OFFalse)
check whether RTDoseROIModule (C) is present.
OFReadWriteLock(const OFReadWriteLock &arg)
unimplemented private copy constructor
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
abstract factory class.
Definition: dcmqrdba.h:213
DcmRepresentativeColorType
defines the algorithm for choosing a representative color for each box in the Median Cut algorithm
Definition: diqttype.h:69
DRTModifiedAttributesSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
DRTDerivationCodeSequence DerivationCodeSequence
DerivationCodeSequence (0008,9215) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3142
DcmAssociationConfiguration m_assocConfig
Association configuration.
Definition: scpcfg.h:335
OFCondition read(DcmItem &item)
read elements from sequence item
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTGeneticModificationsSequence & getGeneticModificationsSequence()
get GeneticModificationsSequence (0010,0221)
Definition: drtimage.h:2602
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFBool isEmpty()
check if item is empty
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtadcs.h:536
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
OFCondition getConcatenationUID(OFString &value, const signed long pos)
Get Concatenation UID.
OFBool reloadDictionaries(OFBool loadBuiltin, OFBool loadExternal)
reload data dictionaries.
unsigned long getFrameCount() const
get number of frames to be processed
Definition: didocu.h:136
OFrvalue< OFpath > extension() const
Return the filename extension contained in the path (if any) or an empty path.
OFCondition setNumericValue(const DcmElement &delem, const unsigned long pos=0, const OFBool check=OFTrue)
set numeric value from element.
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtpscs.h:329
OFBool isEmpty()
check if sequence is empty
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbads.h:432
virtual OFCondition getSeriesDate(OFString &value, const signed long pos=0) const
get SeriesDate (0008,0021)
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTInstitutionCodeSequence & getInstitutionCodeSequence()
get InstitutionCodeSequence (0008,0082)
Definition: drtporis.h:136
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtbas.h:329
OFCondition operator()(const char *privateKeyFile) const
Create a specialized failed to load private key error condition that refers to the file name of the p...
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtsdcs.h:329
Item(const Item ©)
copy constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Interface class for WedgePositionSequence (300a,0116)
Definition: drtwps.h:28
DRTReferencedPatientPhotoSequence ReferencedPatientPhotoSequence
ReferencedPatientPhotoSequence (0010,1100) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2745
DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence()
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtdose.h:2128
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
void getSyntaxString(OFString &syntaxStr) const
returns command line syntax as a C++ string (single text line).
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
DRTROIPhysicalPropertiesSequence & getROIPhysicalPropertiesSequence()
get ROIPhysicalPropertiesSequence (3006,00b0)
Definition: drtrros.h:167
virtual ~DRTPredecessorStructureSetSequence()
destructor
unsigned long correctSignaturesSR
number of correct signatures in current SR
Definition: dvsighdl.h:191
OFBool getProgressNotificationMode() const
Returns the mode that specifies whether the progress of sending and receiving DIMSE messages is notif...
OFListIterator(DcmQuantHistogramItem *) last
constant iterator which always contains list_.end(); declared here for efficiency reasons only.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbl2.h:343
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getStartTrim(OFString &value, const signed long pos=0) const
get StartTrim (0008,2142)
int wrunlock()
unlocks the write lock.
DCMTK_OFSTD_EXPORT const unsigned short EC_CODE_CannotControlConverter
status code constant: error, cannot control character encoding converter
@ IntraventricularRouteCardiac
(420287000,SCT,"Intraventricular route - cardiac")
Definition: cid11.h:84
virtual OFCondition setClinicalTrialProtocolID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolID (0012,0020)
OFBool check()
Check whether Tractography Results object is ready for writing.
virtual OFBool attributeRequired(const DcmTagKey &key) const
checks whether an attribute with the given tag is required to be signed for the current security prof...
OFBool hasOpenEnd() const
Return the information whether *this refers to an open range without a definite end.
void clear()
clear all internal member variables
virtual OFCondition getPatientBirthDate(OFString &value, const signed long pos=0) const
get PatientBirthDate (0010,0030)
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Get shared type of this functional group (can be both, per-frame and shared)
Definition: fgparametricmapframetype.h:52
DSRDocumentTree & getTree()
get document tree
Definition: dsrdoc.h:215
OFCondition setScheduledProcedureStepID(const OFString &value, const OFBool check=OFTrue)
set ScheduledProcedureStepID (0040,0009)
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTDepthDoseParametersSequence DepthDoseParametersSequence
DepthDoseParametersSequence (300a,0505) vr=SQ, vm=1, type=3.
Definition: drtibs.h:967
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
virtual OFBool isCommonInstanceReferenceModulePresent(const OFBool complete=OFFalse)
check whether CommonInstanceReferenceModule (U) is present.
@ Fat
(256674009,SCT,"Fat"), included from CID 7180
Definition: cid7469.h:330
@ EFG_PARAMETRICMAPFRAMETYPE
Parametric Map Frame Type.
Definition: fgtypes.h:135
OFList< SeriesStruct * > SeriesList
list of referenced series
Definition: dsrsoprf.h:559
@ RadiographicImaging
(RG,DCM,"Radiographic imaging")
Definition: cid29.h:114
void clear()
clear all internal member variables
DcmCodeString SpecificCharacterSet
SpecificCharacterSet (0008,0005) vr=CS, vm=1-n, type=1C.
Definition: drtimage.h:5402
virtual OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set device serial number
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFBool m_verbosePCMode
Verbose PC mode.
Definition: scpcfg.h:383
Item class.
Definition: drtrpcs.h:37
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item & operator[](const size_t num)
get particular item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
DRTTreatmentSummaryMeasuredDoseReferenceSequence & getTreatmentSummaryMeasuredDoseReferenceSequence()
get TreatmentSummaryMeasuredDoseReferenceSequence (3008,00e0)
Definition: drtiontr.h:1887
DcmQueryRetrieveDatabaseHandle()
default constructor
Definition: dcmqrdba.h:51
virtual void getFramesForSegment(const size_t &segmentNumber, OFVector< size_t > &frameNumbers)
Get the frame numbers that belong to a specific segment number.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
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
OFerror_code(int code, const OFerror_category &category)
Constructs an error code from the given arguments.
OFCondition read(DcmItem &item)
read elements from sequence item
Item EmptyItem
empty default item
Definition: drtbvcps.h:377
const DRTReferencedImageSequence & getReferencedImageSequence() const
get ReferencedImageSequence (0008,1140)
Definition: drtimage.h:2908
DiImage * Image
points to image object
Definition: dcmimage.h:1903
DRTSourceInstanceSequence & getSourceInstanceSequence()
get SourceInstanceSequence (0042,0013)
Definition: drtplan.h:1904
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrris9.h:127
virtual OFCondition setFrameTime(const OFString &value, const OFBool check=OFTrue)
set FrameTime (0018,1063)
@ CentimeterPerSecond
(cm/s,UCUM,"centimeter/second")
Definition: cid7181.h:140
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtcncs.h:341
DCMTK_DCMNET_EXPORT OFCondition DIMSE_receiveCommand(T_ASC_Association *association, T_DIMSE_BlockingMode blocking, int timeout, T_ASC_PresentationContextID *presID, T_DIMSE_Message *msg, DcmDataset **statusDetail, DcmDataset **commandSet=NULL)
receive a DIMSE command via network from another DICOM application.
virtual OFCondition write(DcmItem &item)
Write Anatomic Region Sequence and Primary Anatomic Structure Macro to given item.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getDeliveredTreatmentTime(Float64 &value, const unsigned long pos=0) const
get DeliveredTreatmentTime (3008,003b)
OFCondition setReasonForTheAttributeModification(const OFString &value, const OFBool check=OFTrue)
set ReasonForTheAttributeModification (0400,0565)
OFCondition setEncryptedContentTransferSyntaxUID(const OFString &value, const OFBool check=OFTrue)
set EncryptedContentTransferSyntaxUID (0400,0510)
DcmCodeString RTBeamLimitingDeviceType
RTBeamLimitingDeviceType (300a,00b8) vr=CS, vm=1, type=1.
Definition: drtblds6.h:218
DRTMappingResourceIdentificationSequence MappingResourceIdentificationSequence
MappingResourceIdentificationSequence (0008,0124) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4660
DVIFhierarchyStatus getStatus() const
gets review status of the current (selected) instance
Definition: dvcache.h:279
int getCDAData(const char *filename, OFLogger &appLogger)
Retrieves patient, concept and document data from the CDA file and checks for data conflicts with ser...
OFCondition setBeamDescription(const OFString &value, const OFBool check=OFTrue)
set BeamDescription (300a,00c3)
DcmLongString ClinicalTrialProtocolID
ClinicalTrialProtocolID (0012,0020) vr=LO, vm=1, type=1.
Definition: drtstrct.h:2804
void clear()
Resets DcmRoleSelectionMap and frees any allocated memory.
void setCursor(const DSRTreeNodeCursor< T > &cursor)
set cursor to specified object
Definition: dsrtncsr.h:827
OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_ItemNotFound
An expected Item was not found.
OFString m_certificateFile
File containing the certificate the SCU should use for authentication.
Definition: tlsscu.h:227
Item(const Item ©)
copy constructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtcncs.h:351
DRTBeamLimitingDeviceSequenceInRTBeamsModule & getBeamLimitingDeviceSequence()
get BeamLimitingDeviceSequence (300a,00b6)
Definition: drtbs.h:390
@ EFG_SEGMENTATION
Segmentation Macro.
Definition: fgtypes.h:162
OFString & insert(size_t pos1, const OFString &str, size_t pos2=0, size_t n=OFString_npos)
Inserts at most n characters, starting at position pos2 of the input string str, into the current str...
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition gotoNextItem()
goto next item in the sequence
const OFVector< IODReference * > & get() const
Access references of this set (readonly)
Template class to rotate monochrome images (on pixel data level).
Definition: dimorot.h:44
virtual OFCondition checkNumericValueQualifier(const DSRCodedEntryValue &valueQualifier) const
check the specified numeric value qualifier for validity.
OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setRadiationChargeState(const Sint16 value, const unsigned long pos=0)
set RadiationChargeState (300a,0306)
const DRTInstitutionCodeSequence & getInstitutionCodeSequence() const
get InstitutionCodeSequence (0008,0082)
Definition: drtprsis.h:142
virtual OFCondition getBitsStored(Uint16 &value, const unsigned long pos=0)
Get Bits Stored.
DcmUnlimitedText(const DcmTag &tag, const Uint32 len=0)
constructor.
OFBool hasMeasurements(const OFBool checkChildren=OFTrue) const
check whether there is an included 'Measurement' template (TID 1501 - Row 10) in this measurement tem...
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_WrongTransferSyntax
unable to use the selected transfer syntax for MAC computation
DcmDecimalString SpecifiedTreatmentTime
SpecifiedTreatmentTime (3008,003a) vr=DS, vm=1, type=3.
Definition: drttsibs.h:1066
int convertPValueToDDL(const Uint16 pvalue, Uint16 &ddl, const int bits=8)
convert P-value to DDL.
Definition: dcmimage.h:592
void * theLock
read/write lock resource
Definition: ofthread.h:491
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
OFBool m_inventMissingType2Attribs
If true, missing type 2 elements are inserted automatically (empty value).
Definition: i2d.h:251
@ ER_RepresentationURN
The UUID is printed in hexadecimal notation with the prefix "urn:uuid:".
Definition: ofuuid.h:48
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
virtual OFCondition setSoftwareVersions(const OFString &value, const OFBool check=OFTrue)
set SoftwareVersions (0018,1020)
OFString getInputFileName()
Returns the input file name.
virtual OFCondition setPatientBodyMassIndex(const OFString &value, const OFBool check=OFTrue)
set PatientBodyMassIndex (0010,1022)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmDecimalString DeliveryWarningDose
DeliveryWarningDose (300a,0022) vr=DS, vm=1, type=3.
Definition: drtrdrs8.h:358
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpsss.h:308
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
Item EmptyItem
empty default item
Definition: drtcos.h:664
DcmUniqueIdentifier SeriesInstanceUID
SeriesInstanceUID (0020,000e) vr=UI, vm=1, type=1.
Definition: drtiontr.h:2995
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtsptcs.h:335
DRTProtocolContextSequence & getProtocolContextSequence()
get ProtocolContextSequence (0040,0440)
Definition: drtspcs.h:218
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
static DJEncoderBaseline * encbas
pointer to encoder for baseline JPEG
Definition: djencode.h:115
virtual ~DSRSubTemplate()
destructor
OFCondition setStudyInstanceUID(const OFString &value, const OFBool check=OFTrue)
set StudyInstanceUID (0020,000d)
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmLongString ClinicalTrialSeriesDescription
ClinicalTrialSeriesDescription (0012,0072) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3126
virtual OFCondition getSoftwareVersions(OFString &value, const signed long pos=0) const
Get Software Version(s)
DcmDirectoryRecord * buildImplantRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update implant record and copy required values from dataset
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtris.h:149
OFBool isEmpty()
check if sequence is empty
OFCondition getOrganAtRiskFullVolumeDose(OFString &value, const signed long pos=0) const
get OrganAtRiskFullVolumeDose (300a,002a)
OFCondition setContributionDescription(const OFString &value, const OFBool check=OFTrue)
set ContributionDescription (0018,a003)
virtual OFCondition setAcquisitionTime(const OFString &value, const OFBool check=OFTrue)
set AcquisitionTime (0008,0032)
void setNonEncapsulationFlag(OFBool flag)
set or clear the flag that indicates that this pixel data element will be written in uncompressed (de...
void first_section(unsigned int level)
sets cursor to the first entry at the given level (without changing the cursor position at higher lev...
Definition: ofconfig.h:418
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
virtual OFCondition setLossyImageCompressionRatio(const OFString &value, const OFBool checkValue=OFTrue)
Set Lossy Image Compression Ratio.
void clear()
Resets DcmExtendedNegotiationMap and frees any allocated memory.
OFBool isLossless() const
check whether transfer syntax uses a lossless compression or no compression
Definition: dcxfer.h:270
static void initialize()
initialize this context group explicitly.
OFCondition getHomeCommunityID(OFString &value, const signed long pos=0) const
get HomeCommunityID (0040,e031)
void clear()
clear all internal member variables
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtpics.h:333
OFCondition setBeamLimitingDeviceAngle(const OFString &value, const OFBool check=OFTrue)
set BeamLimitingDeviceAngle (300a,0120)
virtual OFCondition getReferringPhysicianName(OFString &value, const signed long pos=0) const
Get Referring Physician's Name.
DRTConversionSourceAttributesSequence ConversionSourceAttributesSequence
ConversionSourceAttributesSequence (0020,9172) vr=SQ, vm=1, type=1C.
Definition: drtionpl.h:3307
OFCondition setMagnificationType(const char *value)
sets the (optional) magnification type.
static void fixPadding(Uint8 *buffer, Uint32 bufSize)
adjusts the padding of a JPEG bitstream in the buffer that has odd length, such that the End of Image...
@ Clavicle
(51299004,SCT,"Clavicle")
Definition: cid4031.h:80
singleton class that registers decoders for all supported JPEG processes.
Definition: djdecode.h:40
virtual OFCondition setUID(const OFString &value, const OFBool checkValue=OFTrue)
Set UID.
Item & getCurrentItem()
get current item in the sequence
Item EmptyItem
empty default item
Definition: drteas.h:315
DRTRTROIObservationsSequence & operator=(const DRTRTROIObservationsSequence ©)
assigment operator
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setTimeOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set TimeOfLastCalibration (0018,1201)
char read_keywordchar(FILE *infile)
reads the next non-whitespace character from the input file and returns as uppercase character.
@ Abdomen
(113345001,SCT,"Abdomen")
Definition: cid4031.h:44
DcmFloatingPointSingle RangeModulatorGatingStopValue
RangeModulatorGatingStopValue (300a,0384) vr=FL, vm=1, type=1C.
Definition: drtrmss7.h:153
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtpscs.h:333
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtccs.h:357
DRTBreedRegistrationSequence & getBreedRegistrationSequence()
get BreedRegistrationSequence (0010,2294)
Definition: drtdose.h:1948
Class for checking the relationship content constraints of the Key Object Selection Document IOD.
Definition: dsrkeycc.h:43
virtual OFCondition setTextValue(const OFString &value, const OFBool checkValue=OFTrue)
Set TextValue.
E_TransferSyntax getCurrentXfer() const
return the current transfer syntax, i.e. the one that was last used with chooseRepresentation() in or...
DRTMappingResourceIdentificationSequence(const DRTMappingResourceIdentificationSequence ©)
copy constructor
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
static size_t my_strlcat(char *dst, const char *src, size_t siz)
private implementation of strlcat.
virtual OFCondition setPatientAge(const OFString &value, const OFBool check=OFTrue)
set PatientAge (0010,1010)
void reserve(size_type n)
reserves enough space for the given number of elements.
Definition: ofvector.h:375
DcmBufferConsumer(const DcmBufferConsumer &)
private unimplemented copy constructor
@ VS_NoMore
no more arguments to be converted
Definition: ofcmdln.h:180
OFCondition getTableTopLongitudinalSetupDisplacement(Float64 &value, const unsigned long pos=0) const
get TableTopLongitudinalSetupDisplacement (300a,01d4)
SiSHA256 & operator=(SiSHA256 &arg)
private undefined copy assignment operator
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid5000.h:128
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition getPatientDeathDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientDeathDateInAlternativeCalendar (0010,0034)
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
static log4cplus::thread::Mutex const & getOutputMutex()
This mutex is used by ConsoleAppender and helpers::LogLog classes to synchronize output to console.
OFBool AttributeIsAbsentOrEmpty(DcmTagKey elemTagKey, DcmItem *dset)
This function checks if the specified attribute is absent or contains an empty value in the given dat...
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTInstitutionCodeSequence & getInstitutionCodeSequence()
get InstitutionCodeSequence (0008,0082)
Definition: drtprsis.h:136
OFCondition getKVP(Float64 &value, const unsigned long pos=0) const
get KVP (0018,0060)
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtajcs.h:343
OFBool FinalizedFlag
flag indicating whether this document is finalized or not
Definition: dsrdoc.h:1295
virtual OFCondition sign(const unsigned char *inputHash, unsigned long inputHashSize, E_MACType inputHashAlgorithm, unsigned char *outputSignature, unsigned long &outputSignatureSize)=0
creates a signature.
Item EmptyItem
empty default item
Definition: drtsss.h:332
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getCompensatorThicknessData(OFString &value, const signed long pos=0) const
get CompensatorThicknessData (300a,00ec)
virtual OFCondition setStudyDescription(const OFString &value, const OFBool check=OFTrue)
set StudyDescription (0008,1030)
DcmCodeString SpecificCharacterSet
SpecificCharacterSet (0008,0005) vr=CS, vm=1-n, type=1C.
Definition: drtionpl.h:3258
unsigned long renderedImageWidth
contains the width of the attached image after pixel data have been rendered (w/o clipping).
Definition: dvpstat.h:1219
virtual OFCondition setSeriesNumber(const OFString &value, const OFBool checkValue=OFTrue)
Set Series Number.
virtual FGBase * clone() const
Returns a deep copy of this object.
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item(const Item ©)
copy constructor
OFBool getReverseDecompressionByteOrder() const
returns reverse decompression byte order mode
Definition: dcrlecp.h:107
DcmDecimalString TableTopLongitudinalPosition
TableTopLongitudinalPosition (300a,0129) vr=DS, vm=1, type=2C.
Definition: drticpds.h:874
virtual OFCondition getPerformedProcedureStepStartTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartTime (0040,0245)
DVPSGraphicObject_PList * clone()
clone method.
Definition: dvpsgrl.h:51
size_t find_last_not_of(const OFString &str, size_t pos=OFString_npos) const
scans the current string up to the position pos and determines the highest location,...
DcmDecimalString XRayImageReceptorAngle
XRayImageReceptorAngle (3002,000e) vr=DS, vm=1, type=3.
Definition: drtpvis.h:328
DRTIonWedgeSequence IonWedgeSequence
IonWedgeSequence (300a,03aa) vr=SQ, vm=1, type=1C.
Definition: drtibs.h:995
virtual OFCondition getAdmissionID(OFString &value, const signed long pos=0) const
get AdmissionID (0038,0010)
DJLSDecoderBase()
default constructor
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
OFBool iterating
flag indicating if iter is currently valid
Definition: dchashdi.h:183
static const size_t XF_valueTypeAsAttribute
write: encode value type as attribute instead of element text
Definition: dsrtypes.h:379
virtual ~DRTReferencedBolusSequenceInRTIonBeamsModule()
destructor
const char * getFilename() const
gets filename of current (selected) instance
Definition: dvcache.h:309
@ RVF_YES
YES (recognizable visual features present)
Definition: dpmtypes.h:92
size_t getNumberOfSOPInstances() const
get number of SOP instances stored in the transfer list
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition getDerivationDescription(OFString &value, const signed long pos=0) const
get DerivationDescription (0008,2111)
DcmApplicationEntity originator
Module=Printer_Characteristics_Module, VR=AE, VM=1, Type 2.
Definition: dvpssp.h:996
OFCondition setBeamType(const OFString &value, const OFBool check=OFTrue)
set BeamType (300a,00c4)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drticpds.h:801
virtual OFCondition setMeasuredLateralDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredLateralDimension (0010,1024)
const char * getTargetPrinterFilmDestination(const char *targetID, Uint32 idx, OFString &value)
returns one value from the FILMDESTINATION entry for the printer with the given target ID from the co...
static void getTempPath(OFString &sPath)
Return the system-specific path for storing temporary files.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item & getCurrentItem()
get current item in the sequence
OFCondition checkDatasetForReading(DcmItem &dataset, E_DocumentType &documentType)
check the given dataset before reading.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual ~DRTMappingResourceIdentificationSequence()
destructor
OFListIterator(Item *) CurrentItem
currently selected item
void determineMinMax(T minvalue=0, T maxvalue=0, const int mode=0x1)
determine minimum and maximum pixel values
Definition: dimopxt.h:360
@ EXS_MPEG4HighProfileLevel4_1
MPEG4 High Profile / Level 4.1.
Definition: dcxfer.h:109
@ COC_Continuous
DICOM enumerated value: CONTINUOUS.
Definition: dsrtypes.h:735
DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence()
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtstrct.h:1506
virtual void flush()
instructs the stream to flush its internal content until either the stream becomes "flushed" or I/O s...
DcmCodeString ROIPhysicalProperty
ROIPhysicalProperty (3006,00b2) vr=CS, vm=1, type=1.
Definition: drtrpps.h:154
void setFlipping(const int horz, const int vert, const signed long columns, const signed long rows)
set flipping
offile_off_t inputBufCount_
number of bytes in input ring buffer
Definition: dcostrmz.h:169
int flags() const
Definition: oftest.h:92
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getCommentsOnThePerformedProcedureStep(OFString &value, const signed long pos=0) const
get CommentsOnThePerformedProcedureStep (0040,0280)
DRTRequestedProcedureCodeSequence(const DRTRequestedProcedureCodeSequence ©)
copy constructor
DcmRoleSelectionMap()
constructor
DcmRepresentationParameter(const DcmRepresentationParameter &)
copy constructor
Definition: dcpixel.h:50
Item & getCurrentItem()
get current item in the sequence
void clear()
clear all internal member variables
DcmPersonName NameOfPhysiciansReadingStudy
NameOfPhysiciansReadingStudy (0008,1060) vr=PN, vm=1-n, type=3.
Definition: drtplan.h:3087
void switchHorizontalCorners()
swaps the horizontal (X) components of TLHC and BRHC
static XMLNode createXMLTopNode_WOSD(XMLSTR lpszName, char isDeclaration=FALSE)
Create the top node of an XMLNode structure.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition setMetersetExposure(const OFString &value, const OFBool check=OFTrue)
set MetersetExposure (3002,0032)
OFString m_Type
Type (1,2,3) of Anatomic Region Sequence.
Definition: iodmacro.h:803
@ EVR_SH
short string
Definition: dcvr.h:180
virtual OFBool operator!=(const OFDateTime &dateTime) const
comparison operator (unequal).
DRTBreedRegistrationSequence & getBreedRegistrationSequence()
get BreedRegistrationSequence (0010,2294)
Definition: drtiontr.h:1191
unsigned long minimumPrintBitmapHeight
minimum height of print bitmap (used for implicit scaling)
Definition: dviface.h:1751
OFCondition getGantryAngleTolerance(Float64 &value, const unsigned long pos=0) const
get GantryAngleTolerance (300a,0044)
const Item & getCurrentItem() const
get current item in the sequence
DcmDecimalString BlockSlabThickness
BlockSlabThickness (300a,0442) vr=DS, vm=1, type=3.
Definition: drtbss.h:155
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtajcs.h:347
long bufsize_
buffer size during file read
Definition: ofconfig.h:531
void resetConfiguration()
Calls the resetConfiguration() method on the locked Hierarchy.
@ BecquerelsPerMilliliter
(Bq/ml,UCUM,"Becquerels/milliliter"), included from CID 84
Definition: cid7181.h:104
DcmUniqueIdentifier studyInstanceUID
Module=General_Study, VR=UI, VM=1, Type 1.
Definition: dcmpstat.h:805
virtual OFCondition remove(DcmPixelItem *item)
remove pixel item from list.
OFString opt_ifname
input file name
Definition: dcencdoc.h:225
const char * getStorageMediaFileSetID()
gets the storageMediaFileSetID for this series reference.
DcmDirectoryRecord * buildMeasurementRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update measurement record and copy required values from dataset
virtual OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
void setTagVR(DcmEVR vr)
set the VR for this attribute
Definition: dcobject.h:729
@ DT_Comprehensive3DSR
DICOM IOD: Comprehensive 3D SR.
Definition: dsrtypes.h:531
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
OFCondition setTreatmentMachineName(const OFString &value, const OFBool check=OFTrue)
set TreatmentMachineName (300a,00b2)
OFCondition getCompensatorColumns(Sint32 &value, const unsigned long pos=0) const
get CompensatorColumns (300a,00e8)
Main interface class to access functional groups from DICOM Enhanced objects.
Definition: fginterface.h:44
virtual OFCondition setSegmentAlgorithm(const DcmSegTypes::E_SegmentAlgoType algoType, const OFString &algoName, const OFBool checkValue=OFTrue)
Set Segment Algorithm.
Interface class for SetupDeviceSequence (300a,01b4)
Definition: drtsds.h:28
void clear()
clear all internal member variables
OFBool isEmpty()
check if sequence is empty
void deactivateVOI(DVPSObjectApplicability applicability=DVPSB_currentImage)
deactivates the current VOI transformation.
DcmDirectoryRecord * buildEncapDocRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update encap doc record and copy required values from dataset
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition getTableTopVerticalPosition(OFString &value, const signed long pos=0) const
get TableTopVerticalPosition (300a,0128)
DcmDecimalString ActiveSourceDiameter
ActiveSourceDiameter (300a,0218) vr=DS, vm=1, type=3.
Definition: drtss.h:410
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getCalculatedDoseReferenceDoseValue(OFString &value, const signed long pos=0) const
get CalculatedDoseReferenceDoseValue (3008,0076)
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeApprovalNumber(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
OFCondition addIconImage(DcmDirectoryRecord *record, DcmItem *dataset, const unsigned int size, const OFFilename &sourceFilename)
add icon image sequence to directory record.
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
DRTReferringPhysicianIdentificationSequence ReferringPhysicianIdentificationSequence
ReferringPhysicianIdentificationSequence (0008,0096) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2898
DcmQueryRetrieveDatabaseHandle & dbHandle
reference to database handle
Definition: dcmqrcbs.h:114
virtual OFCondition setPresentationLUTShape(const OFString &value, const OFBool checkValue=OFTrue)
Set Presentation LUT Shape.
OFCondition getKVP(OFString &value, const signed long pos=0) const
get KVP (0018,0060)
OFCondition setChannelTotalTime(const OFString &value, const OFBool check=OFTrue)
set ChannelTotalTime (300a,0286)
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
virtual OFCondition getAcquisitionNumber(Sint32 &value, const unsigned long pos=0) const
get AcquisitionNumber (0020,0012)
void deleteOutputData()
delete internally handled output memory buffer Save memory if data is no longer needed.
virtual OFCondition getSegmentLabel(OFString &value, const signed long pos=0)
Get Segment Label.
virtual OFCondition getServiceEpisodeDescription(OFString &value, const signed long pos=0) const
get ServiceEpisodeDescription (0038,0062)
OFCondition getTime(OFString &value, const signed long pos=0) const
get Time (0040,a122)
void clear()
clear all internal member variables
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition computeImageComparisonMetrics(EW_WindowType windowType)
compare both images and compute image comparion metrics.
const Item & operator[](const size_t num) const
get particular item in the sequence
void clear()
clear all internal member variables
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmCodeString GantryRotationDirection
GantryRotationDirection (300a,011f) vr=CS, vm=1, type=1C.
Definition: drtcps.h:671
OFCondition getReferencedSegmentNumber(Uint16 &value, const unsigned long pos=0) const
get ReferencedSegmentNumber (0062,000b)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drticpds.h:1067
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtbrcss.h:211
virtual OFCondition clear()
clear (remove) attribute value
< metafunction > OFtuple_element
A metafunction to determine the type of one element of a tuple.
Definition: ofutil.h:540
OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
virtual OFCondition getPatientSize(OFString &value, const signed long pos=0) const
get PatientSize (0010,1020)
DcmQuantPixel(const DcmQuantPixel &arg)
copy assignment constructor
Definition: diqtpix.h:52
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
DcmDate RTPlanDate
RTPlanDate (300a,0006) vr=DA, vm=1, type=2.
Definition: drtplan.h:3261
virtual OFCondition getAdditionalPatientHistory(OFString &value, const signed long pos=0) const
get AdditionalPatientHistory (0010,21b0)
virtual DcmRepresentationParameter * clone() const
this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every sub...
virtual void resetRules()
Resets rules to their original values.
virtual OFString getName() const
Get name of macro.
virtual DcmObject * clone() const
clone method
Definition: dcvrod.h:69
Item class.
Definition: drtrms.h:36
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtajcs.h:331
unsigned long getNumberOfFrames() const
get number of frames stored in the DICOM file/dataset.
Definition: dcmimage.h:239
size_t theSize
the length of theCString
Definition: ofstring.h:839
Implement fallback support for modern techniques defined in the STL's <utility> header (e....
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
SSL * tlsConnection
pointer to the TLS connection structure used by the OpenSSL library
Definition: tlstrans.h:153
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getCurrentWindowCenter(double &c)
get the center of the current VOI window.
static const char * graphicType3DToEnumeratedValue(const E_GraphicType3D graphicType)
convert graphic type (3D) to DICOM enumerated value
const OFString & getCodingSchemeUID(OFString &stringValue) const
get the coding scheme UID of the currently selected item
Item class.
Definition: drtiis.h:36
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition negotiateAssociation()
negotiate association by using presentation contexts and parameters as defined by earlier method call...
Template class which allows to declare global objects that are protected by a Mutex if used in multi-...
Definition: ofglobal.h:39
DcmDecimalString BeamLimitingDeviceAngle
BeamLimitingDeviceAngle (300a,0120) vr=DS, vm=1, type=1C.
Definition: drticps.h:761
OFCondition getBolusDescription(OFString &value, const signed long pos=0) const
get BolusDescription (300a,00dd)
OFCondition setRadiationChargeState(const Sint16 value, const unsigned long pos=0)
set RadiationChargeState (300a,0306)
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getTemplateNumber(OFString &value, const signed long pos=0) const
get TemplateNumber (300a,0240)
virtual OFCondition setDateOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set DateOfLastCalibration (0018,1200)
@ Flurpiridaz_F18
(126718,DCM,"Flurpiridaz F^18^")
Definition: cid4021.h:170
DRTMACParametersSequence MACParametersSequence
MACParametersSequence (4ffe,0001) vr=SQ, vm=1, type=3.
Definition: drttreat.h:3006
DRTContextGroupIdentificationSequence ContextGroupIdentificationSequence
ContextGroupIdentificationSequence (0008,0123) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3274
interleaveMode jplsInterleaveMode_
Flag describing the interleave mode which the encoder will use.
Definition: djcparam.h:260
DcmQuantComponent getBlue(unsigned long idx) const
returns the blue color component at index idx
Definition: diqtctab.h:128
enum XMLElementType etype
This dictates what's the content of the XMLNodeContent.
Definition: ofxml.h:663
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Interface class for ReasonForRequestedProcedureCodeSequence (0040,100a)
Definition: drtrrpcs.h:29
DcmUnsignedShort HighBit
HighBit (0028,0102) vr=US, vm=1, type=1.
Definition: drtimage.h:5266
OFCondition dumpIOD(const char *studyUID, const char *seriesUID, const char *instanceUID)
creates a dump of the contents of a DICOM file and displays it on-screen.
OFCondition backupFile(const char *file_name)
Backup given file from file to file.bak.
OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write series and instance level attributes in XML format
OFCondition getScanSpotTimeOffset(Float32 &value, const unsigned long pos=0) const
get ScanSpotTimeOffset (300a,038f)
virtual OFCondition getIssuerOfPatientID(OFString &value, const signed long pos=0) const
get IssuerOfPatientID (0010,0021)
DcmLongText m_FrameComments
Frame Comments (LT, 1, 3)
Definition: fgfracon.h:372
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtpcs.h:355
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
static OFDate getCurrentDate()
get the current system date
E_ParamValueStatus getParam(const int pos, OFFilename &filename)
gets value of specified parameter as an instance of OFFilename.
void clear()
clear all internal member variables
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtporis.h:197
OFCondition getMaterialID(OFString &value, const signed long pos=0) const
get MaterialID (300a,00e1)
OFCondition getBlockTrayID(OFString &value, const signed long pos=0) const
get BlockTrayID (300a,00f5)
int writePPM(STD_NAMESPACE ostream &stream, const unsigned long frame, const int bits)
write pixel data to PPM file.
int command_argc
number of command line arguments, needed for multiprocess mode on WIN32
Definition: wlcefs.h:94
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
Item & getCurrentItem()
get current item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition setOverlayRows(const Uint16 value, const unsigned long pos=0)
set OverlayRows (60xx,0010)
static DcmTempFileHandler * newInstance(const OFFilename &filename)
static method that permits creation of instances of this class (only) on the heap,...
@ _68_Gallium
(35337001,SCT,"^68^Gallium")
Definition: cid4020.h:84
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition setPersonTelecomInformation(const OFString &value, const OFBool check=OFTrue)
set PersonTelecomInformation (0040,1104)
OFCondition setTreatmentMachineName(const OFString &value, const OFBool check=OFTrue)
set TreatmentMachineName (300a,00b2)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1.
Definition: drtcgis.h:158
DcmQuantFloydSteinberg & operator=(const DcmQuantFloydSteinberg &src)
private undefined copy assignment operator
OFCondition getOverrideParameterPointer(OFString &value, const signed long pos=0) const
get OverrideParameterPointer (3008,0062)
@ PATIENT_ROOT
patient root Q/R model
Definition: dcmqridx.h:66
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition getResponsiblePersonRole(OFString &value, const signed long pos=0) const
get ResponsiblePersonRole (0010,2298)
OFCondition write(DcmItem &dset)
writes the overlay plane managed by this object to a DICOM dataset.
DcmLongString GantryID
GantryID (0018,1008) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3154
static OFCondition getFloat64ValuesFromElement(const DcmElement &delem, OFVector< Float64 > &result)
Get Float64 values from element.
OFCondition setReferencedSegmentNumber(const Uint16 value, const unsigned long pos=0)
set ReferencedSegmentNumber (0062,000b)
void clear()
clear all internal member variables
OFCondition gotoNextItem()
goto next item in the sequence
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
const Item & operator[](const size_t num) const
get particular item in the sequence
void splice(OFIterator< T > position, OFList< T > &x)
moves the contents of list x into the current list before the given position.
Definition: oflist.h:465
DcmLongString TrayAccessoryCode
TrayAccessoryCode (300a,0355) vr=LO, vm=1, type=3.
Definition: drtbl5.h:349
virtual OFCondition setOriginalSpecializedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set OriginalSpecializedSOPClassUID (0008,001b)
virtual OFCondition read(DcmItem &itemOfSourceImageSequence, const OFBool clearOldData=OFTrue)
Reads source image item from given item.
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
@ Acetate_C11
(129513004,SCT,"Acetate C^11^")
Definition: cid4021.h:52
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getCompensatorColumns(Sint32 &value, const unsigned long pos=0) const
get CompensatorColumns (300a,00e8)
virtual OFCondition setSpatialResolution(const OFString &value, const OFBool check=OFTrue)
set SpatialResolution (0018,1050)
DVPSReferencedImage_PList referencedImageList
Referenced Image Sequence.
Definition: dvpsrs.h:183
void seedPRNG(const char *randFile)
adds the contents of a file to the seed for the cryptographic pseudo-random number generator.
virtual OFCondition getRecommendedDisplayCIELabValue(Uint16 &L, Uint16 &a, Uint16 &b)
Returns Recommended Display CIELab Value.
DcmCodeString QueryRetrieveView
QueryRetrieveView (0008,0053) vr=CS, vm=1, type=1C.
Definition: drtimage.h:5449
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
virtual OFCondition getRecommendedDisplayFrameRate(Sint32 &value, const unsigned long pos=0) const
get RecommendedDisplayFrameRate (0008,2144)
DRTBreedRegistryCodeSequence(const DRTBreedRegistryCodeSequence ©)
copy constructor
DcmPersonName patientName
Module=Patient, VR=PN, VM=1, Type 1.
Definition: dcmpstat.h:794
OFBool setISOFormattedDate(const OFString &formattedDate)
set the date value to the given ISO formatted date string.
OFCondition getRationalRepresentation(Sint32 &rationalNumerator, Uint32 &rationalDenominator) const
get rational representation of the numeric value (optional)
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrshs.h:179
virtual ~DRTPlannedVerificationImageSequence()
destructor
OFCondition read(DcmItem &item)
read elements from sequence item
DcmLongString PatientID
PatientID (0010,0020) vr=LO, vm=1, type=1.
Definition: drtgpis.h:177
virtual void Insert(const T &item)=0
Inserts a new item into the set.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmOtherByteOtherWord & operator=(const DcmOtherByteOtherWord &obj)
assignment operator
@ DT_invalid
internal type used to indicate an error
Definition: dsrtypes.h:503
void clear()
clear all internal member variables
DRTIonWedgePositionSequence IonWedgePositionSequence
IonWedgePositionSequence (300a,03ac) vr=SQ, vm=1, type=1C.
Definition: drticpds.h:826
virtual void ensureInstanceUID(const OFBool correctInvalid=OFFalse)
Make sure that the module contains a SOP Instance UID, i.e. a new one is created if empty.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmCodeString PatientSex
PatientSex (0010,0040) vr=CS, vm=1, type=2.
Definition: drttreat.h:2657
virtual OFBool isFinalized() const
check whether the document is finalized.
void clear()
clear all internal member variables
OFCondition setTableTopEccentricAngle(const OFString &value, const OFBool check=OFTrue)
set TableTopEccentricAngle (300a,0125)
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence()
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtstrct.h:1650
static DJCodecParameter * cp
pointer to codec parameter shared by all encoders
Definition: djencode.h:112
const void * getPlane(const int plane) const
get pointer to given plane of output pixel data
Definition: dicoopxt.h:154
OFBool m_createIfNecessary
Denotes whether missing items/sequences/attributes should be automatically inserted when using findAn...
Definition: dcpath.h:499
static void trimString(const char *&str, size_t &size)
An utility function that finds a substring within a string that does not contain leading and trailing...
virtual ~DcmTLSOptions()
Destructor.
@ HeadOfCardiology
(128675,DCM,"Head of Cardiology")
Definition: cid7452.h:56
OFBool isEmpty()
check if item is empty
this is a helper class used by class DcmQuantColorHashTable.
Definition: diqthitl.h:36
int writeImageToDataset(DcmItem &dataset, const int mode, const int planar)
write current image and related attributes to DICOM dataset.
static const OFString & convertToHTMLString(const OFString &sourceString, OFString &markupString, const size_t flags=0, const OFBool newlineAllowed=OFFalse)
convert character string to HTML mnenonic string.
DJCodecDecoder()
default constructor
offile_off_t fillInputBuffer(const void *buf, offile_off_t buflen)
copies as much of the given block of data as possible in the input ring buffer
a class implementing the hash function MD5
Definition: simd5.h:41
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
DRTBeamLimitingDeviceSequenceInRTBeamsModule(const DRTBeamLimitingDeviceSequenceInRTBeamsModule ©)
copy constructor
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
virtual OFCondition setBluePaletteColorLookupTableDescriptor(const Uint16 value, const unsigned long pos=0)
set BluePaletteColorLookupTableDescriptor (0028,1103)
OFCondition setDoseReferenceDescription(const OFString &value, const OFBool check=OFTrue)
set DoseReferenceDescription (300a,0016)
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
const DRTPersonIdentificationCodeSequence & getPersonIdentificationCodeSequence() const
get PersonIdentificationCodeSequence (0040,1101)
Definition: drtois.h:154
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtmucs.h:329
OFCondition getSpecifiedMeterset(OFString &value, const signed long pos=0) const
get SpecifiedMeterset (3008,0042)
virtual ~DVPSGraphicObject_PList()
destructor
OFListIterator(Item *) CurrentItem
currently selected item
@ Variance
(C1711260,UMLS,"Variance")
Definition: cid7464.h:66
OFCondition getGantryRotationDirection(OFString &value, const signed long pos=0) const
get GantryRotationDirection (300a,011f)
OFCondition gotoFirstItem()
goto first item in the sequence
DCMTK_DCMDATA_EXPORT const char * dcmImageSOPClassUIDs[]
a global constant array of string pointers containing the UIDs of all known Image SOP Classes.
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtpscs.h:335
OFCondition getCumulativeTimeWeight(Float64 &value, const unsigned long pos=0) const
get CumulativeTimeWeight (300a,02d6)
CID4031e_CommonAnatomicRegions(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
DRTRangeShifterSequence & getRangeShifterSequence()
get RangeShifterSequence (300a,0314)
Definition: drtibs.h:612
DcmLongString ClinicalTrialSponsorName
ClinicalTrialSponsorName (0012,0010) vr=LO, vm=1, type=1.
Definition: drtplan.h:3040
virtual ~DRTApplicationSetupSequence()
destructor
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtaadcs.h:327
virtual OFCondition setGantryID(const OFString &value, const OFBool check=OFTrue)
set GantryID (0018,1008)
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
get Modality (0008,0060)
void setDefaultValue(DcmDirectoryRecord *record, const DcmTagKey &key, const unsigned long number, const char *prefix=NULL)
set default value (number or prefix and number) to a given tag
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the temporal coordinates value, is valid
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual void run()=0
this method implements the thread that is run by calling the start method of the OFThread object.
DcmLongString ClinicalTrialSubjectReadingID
ClinicalTrialSubjectReadingID (0012,0042) vr=LO, vm=1, type=1C.
Definition: drtimage.h:4868
virtual OFCondition setLargestImagePixelValue(const Uint16 value, const unsigned long pos=0)
set LargestImagePixelValue (0028,0107)
static DUL_PRESENTATIONCONTEXT * findPresentationContextID(LST_HEAD *head, T_ASC_PresentationContextID presentationContextID)
Helper function to return presentation context information by given presentation context ID.
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_VerificationFailed_NoCertificate
signature verification failed because the certificate is missing or cannot be read (e....
IODModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
Class representing the General Study Module: Notation is "Attribute Name: (VR, VM,...
Definition: modgeneralstudy.h:44
size_t getIdent() const
get unique identifier of this node
Definition: dsrdoctn.h:530
DcmFloatingPointSingle ScanSpotMetersetWeights
ScanSpotMetersetWeights (300a,0396) vr=FL, vm=1-n, type=1C.
Definition: drticps.h:811
DcmIntegerString ReferencedROINumber
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=1.
Definition: drtrcs.h:195
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read Image SOP Instance Reference Macro from given item.
void getDisplayedArea(Sint32 &tlhcX, Sint32 &tlhcY, Sint32 &brhcX, Sint32 &brhcY)
gets the displayed area top lefthand corner and bottom righthand corner.
virtual OFCondition setDimensionDescriptionLabel(const OFString &value, const OFBool checkValue=OFTrue)
Set Dimension Description Label.
@ T2StarWeightedDynamicContrastEnhancedMRSignalIntensity
(110818,DCM,"T2* Weighted Dynamic Contrast Enhanced MR Signal Intensity"), included from CID 7180
Definition: cid7469.h:152
OFBool isEmpty()
check if sequence is empty
OFCondition setVOILUT(DcmUnsignedShort &lutDescriptor, DcmUnsignedShort &lutData, DcmLongString &lutExplanation)
stores (copies) a VOI lookup table.
int showPlane(unsigned int plane, const Uint16 pvalue)
make specified plane visible and set p-value.
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmCodeString LongitudinalTemporalEventType
LongitudinalTemporalEventType (0012,0053) vr=CS, vm=1, type=1C.
Definition: drtstrct.h:2919
@ EFGS_ONLYPERFRAME
Functional Group can only be per-frame (not shared)
Definition: fgtypes.h:182
int numberOfNormalTagEntries() const
returns the number of normal (non-repeating) tag entries
Definition: dcdict.h:76
OFCondition makeDicomByteString()
convert currently stored string value to DICOM representation.
DRTBeamLimitingDevicePositionSequence & getBeamLimitingDevicePositionSequence()
get BeamLimitingDevicePositionSequence (300a,011a)
Definition: drtcps.h:409
virtual OFCondition setDateTime(const OFString &value, const OFBool checkValue=OFTrue)
Set DateTime.
unsigned long card() const
return cardinality of list
Definition: dclist.h:159
void clear()
clear the list
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtajcs.h:353
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition setMACIDNumber(const Uint16 value, const unsigned long pos=0)
set MACIDNumber (0400,0005)
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
static OFCondition loadDataset(DcmDataset &dataset, TrcTractographyResults *&tractography)
Load Tractography Results object from dataset object.
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtssrcs.h:349
OFCondition setWedgeType(const OFString &value, const OFBool check=OFTrue)
set WedgeType (300a,00d3)
DcmList(const DcmList &newList)
private undefined copy assignment operator
DcmDirectoryRecord * buildImplantAssyRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update implant assy record and copy required values from dataset
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtsptcs.h:337
DRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModule(const DRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModule ©)
copy constructor
DcmAgeString PatientAge
PatientAge (0010,1010) vr=AS, vm=1, type=3.
Definition: drtionpl.h:3023
virtual OFCondition getIssuerOfPatientID(OFString &value, const signed long pos=0) const
get IssuerOfPatientID (0010,0021)
E_EncodingType sequenceType_
sequence encoding when writing DICOM files
Definition: dcmqropt.h:128
OFCondition terminateQueryRetrieveServer()
terminates the query/retrieve server process (Query/Retrieve Service Class SCP).
Definition: internal.h:75
@ R1507_89Zr
(126518,DCM,"R1507 ^89^Zr")
Definition: cid4021.h:244
virtual ~SiMD5()
destructor
virtual DcmEVR ident() const
get element type identifier
This template class represents an iterator class for corresponding set data structures in ofstd.
Definition: ofsetit.h:45
@ VertebralColumnAndCranium
(110517009,SCT,"Vertebral column and cranium")
Definition: cid4031.h:252
DcmIntegerString ReferencedDoseReferenceNumber
ReferencedDoseReferenceNumber (300c,0051) vr=IS, vm=1, type=1C.
Definition: drtcdrs.h:185
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtccs.h:341
OFCondition setTotalBlockTrayFactor(const OFString &value, const OFBool check=OFTrue)
set TotalBlockTrayFactor (300a,00f2)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition setSmokingStatus(const OFString &value, const OFBool check=OFTrue)
set SmokingStatus (0010,21a0)
virtual OFCondition setPlanIntent(const OFString &value, const OFBool check=OFTrue)
set PlanIntent (300a,000a)
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableUnknownVRGeneration
Global flag to enable/disable the generation of VR=UN, which has been introduced after the first edit...
DcmObject * insert(DcmObject *obj, E_ListPos pos=ELP_next)
insert object relative to current position and indicator
void clear()
clear all internal member variables
virtual Uint16 bytesPerSample() const =0
returns the number of bytes per sample that will be written when decoding.
DcmShortString AccessionNumber
Accession Number: (SH, 1, 2)
Definition: dsrdoc.h:1347
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
DVPSSoftcopyVOI & operator=(const DVPSSoftcopyVOI &)
private undefined assignment operator
virtual OFDateTime & operator=(const OFDateTime &dateTime)
assignment operator
void ExpandEmptySequenceInSearchMask(DcmElement *&element)
According to the 2001 DICOM standard (part 4, section C.2.2.2.6), if a search mask contains a sequenc...
@ VaginalRoute
(16857009,SCT,"Vaginal route")
Definition: cid11.h:78
OFCondition getBlockName(OFString &value, const signed long pos=0) const
get BlockName (300a,00fe)
OFCondition setSnoutPosition(const Float32 value, const unsigned long pos=0)
set SnoutPosition (300a,030d)
virtual unsigned long getVM()
get value multiplicity
size_t getNumberOfItems() const
get number of items in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setCompensatorRows(const OFString &value, const OFBool check=OFTrue)
set CompensatorRows (300a,00e7)
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getInstanceNumber(Sint32 &value, const unsigned long pos=0) const
get InstanceNumber (0020,0013)
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
virtual OFCondition setPatientAge(const OFString &value, const OFBool check=OFTrue)
set PatientAge (0010,1010)
DRTDoseReferenceSequence & getDoseReferenceSequence()
get DoseReferenceSequence (300a,0010)
Definition: drtionpl.h:1367
virtual OFCondition getRTImageOrientation(OFVector< Float64 > &value) const
get RTImageOrientation (3002,0010)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence()
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtionpl.h:1523
Uint16 biBitCount
bits per pixel, supported values: 8 = color palette with 256 entries, 24 = true color
Definition: diutils.h:186
all actual filter implementations must inherit this interface.
Definition: dcfilter.h:43
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 element to a stream.
virtual OFCondition setAdmissionID(const OFString &value, const OFBool check=OFTrue)
set AdmissionID (0038,0010)
virtual OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
@ RT_isRoot
internal type used for the document root
Definition: dsrtypes.h:559
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual ~Item()
destructor
const char * getCurrentExplanation()
gets a description of the current presentation LUT.
void setHaltOnUnsuccessfulStoreMode(const OFBool haltMode)
set mode that specifies whether to halt if unsuccessful store encountered or whether to continue with...
DcmUnsignedShort m_RecommendedDisplayCIELabValue
Recommended Display CIELab Value (US, 3, 3)
Definition: segment.h:326
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtspccs.h:345
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
virtual OFCondition checkNumericValue(const OFString &numericValue) const
check the specified numeric value for validity.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtitts.h:401
virtual OFCondition setStructureSetTime(const OFString &value, const OFBool check=OFTrue)
set StructureSetTime (3006,0009)
virtual OFCondition setSpatialResolution(const OFString &value, const OFBool check=OFTrue)
set SpatialResolution (0018,1050)
virtual OFCondition getAcquisitionDate(OFString &value, const signed long pos=0) const
get AcquisitionDate (0008,0022)
virtual ~DcmCodeString()
destructor
OFString ContextGroupLocalVersion
Context Group Local Version (VR=DT, type 1C)
Definition: dsrcodvl.h:736
Item & operator=(const Item ©)
assigment operator
virtual OFCondition getStudyTime(OFString &value, const signed long pos=0) const
get StudyTime (0008,0030)
static double getDiff(double start)
get difference between current time and specified time
OFCondition getReferencedROINumber(OFString &value, const signed long pos=0) const
get ReferencedROINumber (3006,0084)
DRTReferencedPatientPhotoSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition getStrainAdditionalInformation(OFString &value, const signed long pos=0) const
get StrainAdditionalInformation (0010,0218)
static OFCondition createPlanarConfigurationWord(Uint16 *imageFrame, Uint16 columns, Uint16 rows)
converts an RGB or YBR frame with 16 bits/sample from color-by-pixel to color-by-plane planar configu...
virtual OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
Get series instance UID.
static OFString createUID(const Uint8 level=0)
Create new Unique Identifier (UID)
const DiPixel * getInterData() const
get intermediate pixel data representation (read-only).
Definition: dcmimage.h:525
STD_NAMESPACE ostream & getCerr()
returns a reference to the current cerr stream.
Definition: ofconsol.h:148
OFBool hasExclusiveOption() const
checks whether the parsed command line contains any "exclusive" option which does not require any man...
Definition: ofcmdln.h:468
OFCondition removeItem(const OFString &sopClassUID, const OFString &instanceUID)
remove the specified item from the list of references.
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrsns.h:130
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition copyFrom(const DcmObject &rhs)=0
Virtual object copying.
OFBool ExclusiveOption
OFTrue if an "exclusive" option is used in the command line, OFFalse otherwise.
Definition: ofcmdln.h:1089
DcmDecimalString SourceToWedgeTrayDistance
SourceToWedgeTrayDistance (300a,00da) vr=DS, vm=1, type=3.
Definition: drtws.h:274
DcmDecimalString CompensatorThicknessData
CompensatorThicknessData (300a,00ec) vr=DS, vm=1-n, type=1.
Definition: drtircs.h:426
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtdrs.h:691
virtual OFCondition getBurnedInAnnotation(OFString &value, const signed long pos=0) const
get BurnedInAnnotation (0028,0301)
virtual void resetRules()
Resets rules to their original values.
DCMTK_LOG4CPLUS_PRIVATE void updateChildren(ProvisionNode &pn, Logger const &logger)
We update the links for all the children that placed themselves in the provision node 'pn'.
DVInstanceCache List
list of instances within this series
Definition: dvcache.h:434
static OFBool isnan(double d)
Determines if the given floating point number is a not-a-number (NaN) value.
static OFCondition getStringValueFromElement(const DcmElement &delem, OFString &stringValue, const signed long pos)
get string value from element
DcmItem * selectedSignatureItem
pointer to currently selected signature item
Definition: dcsignat.h:254
Item & operator[](const size_t num)
get particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcs.h:459
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getTotalReferenceAirKerma(OFString &value, const signed long pos=0) const
get TotalReferenceAirKerma (300a,0250)
virtual OFCondition setConsultingPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ConsultingPhysicianName (0008,009c)
virtual OFCondition getStudyDate(OFString &value, const signed long pos=0) const
Get Study Date.
DcmUniqueIdentifier referencedSOPClassUID
Module=Image_Box_List, VR=UI, VM=1, Type 1.
Definition: dvpsib.h:361
DRTPhysiciansReadingStudyIdentificationSequence(const DRTPhysiciansReadingStudyIdentificationSequence ©)
copy constructor
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setInstitutionAddress(const OFString &value, const OFBool checkValue=OFTrue)
Set Institution Address.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
DRTReferencedImageSequence ReferencedImageSequence
ReferencedImageSequence (0008,1140) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3057
DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence()
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtimage.h:2662
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmShortString storageMediaFileSetID
VR=SH, VM=1, Type 3.
Definition: dvpsrs.h:189
DiMonoModality(const DiDocument *docu, DiInputPixel *pixel)
constructor
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
Interface class for DeidentificationActionSequence (0008,0305)
Definition: drtdias.h:28
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition setPatientBirthDate(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDate (0010,0030)
DRTReferencedPatientSequence ReferencedPatientSequence
ReferencedPatientSequence (0008,1120) vr=SQ, vm=1, type=3.
Definition: drtplan.h:2987
DcmLongString BlockName
BlockName (300a,00fe) vr=LO, vm=1, type=3.
Definition: drtrbls.h:167
DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence()
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtplan.h:1760
const DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence() const
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtimage.h:2500
Class for content item UIDREF.
Definition: dsruidtn.h:42
E_TemporalRangeType
SR temporal range types.
Definition: dsrtypes.h:705
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmCodeString DepthValueAveragingFlag
DepthValueAveragingFlag (300a,0093) vr=CS, vm=1, type=1C.
Definition: drtrdrs1.h:154
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print spatial coordinates.
OFCondition getPatientSupportAngleTolerance(OFString &value, const signed long pos=0) const
get PatientSupportAngleTolerance (300a,004c)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTRecordedWedgeSequence & getRecordedWedgeSequence()
get RecordedWedgeSequence (3008,00b0)
Definition: drttsibs.h:646
OFBool isEmpty()
check if sequence is empty
DVPSOverlay_PList * clone()
clone method.
Definition: dvpsovl.h:51
OFBool opt_refuseAssociation
indicates if the application shall refuse any association
Definition: wlmactmg.h:46
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTSegmentedPropertyCategoryCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool m_inventMissingType1Attribs
if enbled, missing type 1 attributes are inserted and filled with a predefined value.
Definition: i2doutpl.h:218
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition setNumberOfRangeShifters(const OFString &value, const OFBool check=OFTrue)
set NumberOfRangeShifters (300a,0312)
this is a helper class used for temporarily reducing the image bit depth during calculation of an ima...
Definition: diqtstab.h:42
DcmCodeString m_DataType
Data Type (CS, VM 1, Required type 1)
Definition: fgimagedatatype.h:166
DcmStack(const DcmStack &arg)
copy constructor.
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtmucs.h:331
const char * tagName
attribute name
Definition: dcdicent.h:376
XMLNodeContents enumContents(XMLElementPosition i) const
enumerate all the different contents (attribute,child,text, clear) of the current XMLNode....
spi::LoggerImpl * value
This is a pointer to the implementation class.
Definition: logger.h:287
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drttsmds.h:338
OFCondition getDoseValue(OFString &value, const signed long pos=0) const
get DoseValue (3004,0012)
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
ES_PresentationLut getPresentationLutShape() const
get shape for presentation transformation.
Definition: dcmimage.h:908
DcmRLECodecParameter(OFBool pCreateSOPInstanceUID=OFFalse, Uint32 pFragmentSize=0, OFBool pCreateOffsetTable=OFTrue, OFBool pConvertToSC=OFFalse, OFBool pReverseDecompressionByteOrder=OFFalse)
constructor.
void removeProcessFromTable(int pid)
remove the process with the given process ID from the table
const unsigned char * getRaw() const
returns a pointer to the raw data block
Definition: dccfenmp.h:97
virtual OFBool IsEmpty() const
Determines if the set is an empty set.
Definition: ofset.h:199
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition setReferencedCompensatorNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedCompensatorNumber (300c,00d0)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtircs.h:611
@ EMO_Graphic
graphics overlay
Definition: diutils.h:256
OFCondition write(DcmItem &item)
write elements to sequence item
Item(const Item ©)
copy constructor
OFBool isEmpty()
check if sequence is empty
virtual OFBool isGeneralReferenceModulePresent(const OFBool complete=OFFalse)
check whether GeneralReferenceModule (U) is present.
virtual unsigned long card() const
get cardinality of this sequence
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
OFCondition getContourOffsetVector(OFString &value, const signed long pos=0) const
get ContourOffsetVector (3006,0045)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getSignature(Uint8 *&value, unsigned long *count=NULL) const
get Signature (0400,0120)
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
DRTWedgeSequence WedgeSequence
WedgeSequence (300a,00d1) vr=SQ, vm=1, type=1C.
Definition: drtbs.h:797
virtual OFCondition getPatientBreedDescription(OFString &value, const signed long pos=0) const
get PatientBreedDescription (0010,2292)
OFBool getTargetPrinterPresentationLUTinFilmSession(const char *targetID)
returns the PRESENTATIONLUTINFILMSESSION entry for the printer with the given target ID from the conf...
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtris.h:328
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setDeliveryWarningDose(const OFString &value, const OFBool check=OFTrue)
set DeliveryWarningDose (300a,0022)
virtual OFCondition getUint16Array(Uint16 *&uintVals)
get reference to stored integer data.
virtual void clear()
clear all internal variables.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
size_t getEntryFromNodeList(const size_t pos) const
get a particular entry from the list of node IDs
@ T807_F18
(126502,DCM,"T807 F^18^")
Definition: cid4021.h:278
unsigned char * outputBuf_
output ring buffer
Definition: dcostrmz.h:172
DcmCodeString TreatmentDeliveryType
TreatmentDeliveryType (300a,00ce) vr=CS, vm=1, type=3.
Definition: drtbs.h:793
virtual OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
const E_HandlingMode DatasetHandlingMode
handling mode specifying what to do with the dataset if no longer needed
Definition: dstorscu.h:410
OFVector< ReferencedSeriesItem * > & getReferencedSeriesItems()
Return reference to list of Referenced Series items.
virtual OFCondition status() const =0
returns the status of the consumer as an OFCondition object.
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFCondition getTargetUnderdoseVolumeFraction(Float64 &value, const unsigned long pos=0) const
get TargetUnderdoseVolumeFraction (300a,0028)
DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence()
get RequestingServiceCodeSequence (0032,1034)
Definition: drtimage.h:3022
general purpose list class for use with dcmnet module.
Definition: lst.h:34
virtual unsigned long getNumberOfValues()
get number of values stored in this element
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
OFCondition errorFlag
error flag for this object.
Definition: dcobject.h:793
OFListIterator(SeriesStruct *) Iterator
currently selected series (cursor)
const OFString & getVersion() const
get context group version (optional)
Definition: dsrctxgr.h:92
OFCondition read(DcmItem &item)
read elements from sequence item
DcmUnsigned64bitVeryLong(const DcmTag &tag, const Uint32 len)
constructor.
virtual OFCondition setPreliminaryFlag(const E_PreliminaryFlag flag)
set document preliminary flag.
Item(const Item ©)
copy constructor
const DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence() const
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtplan.h:1694
const char * getActivationLayer(Uint16 group)
get activation layer name of the given repeating group.
DcmUniqueIdentifier SeriesInstanceUID
SeriesInstanceUID (0020,000e) vr=UI, vm=1, type=1C.
Definition: drtrpphs.h:230
virtual OFCondition getMeasuredLateralDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredLateralDimension (0010,1024)
DUL_SC_ROLE
Enum describing the possible role settings for role negotiation sub items.
Definition: dul.h:246
virtual OFCondition createUint8Array(const Uint32 numBytes, Uint8 *&bytes)
create an empty Uint8 array of given number of bytes and set it.
SiSecurityProfile & operator=(SiSecurityProfile &arg)
private undefined copy assignment operator
Item & getCurrentItem()
get current item in the sequence
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtmucs.h:339
OFCondition setVirtualSourceAxisDistances(const Float32 value, const unsigned long pos=0)
set VirtualSourceAxisDistances (300a,030a)
virtual OFCondition getPatientBodyMassIndex(Float64 &value, const unsigned long pos=0) const
get PatientBodyMassIndex (0010,1022)
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_DifferentSOPClassesForAnInstance
error: a SOP instance has different SOP classes
OFCondition getBlockTrayID(OFString &value, const signed long pos=0) const
get BlockTrayID (300a,00f5)
DRTPhysiciansOfRecordIdentificationSequence PhysiciansOfRecordIdentificationSequence
PhysiciansOfRecordIdentificationSequence (0008,1049) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4198
DCMTK_DCMJPEG_EXPORT const OFConditionConst EJ_UnsupportedColorConversion
Codec does not support this kind of color conversion.
@ EVR_UT
unlimited text
Definition: dcvr.h:216
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableOldSignatureFormat
DCMTK releases up to 3.5.3 created a non-conforming byte stream as input to the MAC algorithm when cr...
virtual OFString getName() const
Get name of component.
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFCondition getSpecifiedMeterset(Float64 &value, const unsigned long pos=0) const
get SpecifiedMeterset (3008,0042)
DVPSOverlayCurveActivationLayer & operator=(const DVPSOverlayCurveActivationLayer &)
private undefined assignment operator
OFCondition loadImage(const char *studyUID, const char *seriesUID, const char *instanceUID, OFBool changeStatus=OFFalse)
loads an image which is contained in the database and creates a default presentation state for the im...
unsigned long createAWTBitmap(void *&data, const Uint16 width, const Uint16 height, const unsigned long frame, const int fromBits, const int toBits) const
create true color (32 bit) bitmap for Java (AWT default format).
Definition: dicopxt.h:452
virtual OFCondition setContrastBolusVolume(const OFString &value, const OFBool check=OFTrue)
set ContrastBolusVolume (0018,1041)
void updateDigitalSignatureInformation(DcmItem &dataset, DVPSObjectType objtype, OFBool onRead)
updates the digital signature information for the given object type.
OFString privateKeyPasswd
contains the password for the private key if set on command line
Definition: tlslayer.h:435
DcmSequenceOfItems DigitalSignatures
digital signatures sequence (VR=SQ, optional)
Definition: dsrdoctn.h:774
@ LowerLimb
(61685007,SCT,"Lower limb")
Definition: cid4031.h:146
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
void setSocket(DcmNativeSocketType socket)
set the socket file descriptor managed by this object.
Definition: dcmtrans.h:198
DSRReferencedTimeOffsetList TimeOffsetList
list of referenced time offsets (associated DICOM VR=DS, VM=1-n, type 1C)
Definition: dsrtcovl.h:274
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
void cleanChildren()
check if child processes have terminated and, if yes, remove them from the process table.
OFBool isStandard() const
returns true if VR is a standard DICOM VR
OFString opt_patientBirthdate
optional parameters *patient data
Definition: dcencdoc.h:231
const OFString & getCodingSchemeVersion() const
get coding scheme version.
Definition: dsrcodvl.h:410
void setGLDescription(const char *glDescription)
set graphic layer description of this layer.
const char * getInstanceUID()
returns the current SOP Instance UID for the Presentation State.
virtual OFCondition write(DcmItem &item)
Write functional group to given item.
OFCondition gotoNextItem()
goto next item in the sequence
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtbas.h:347
void clear()
clear all internal member variables
virtual OFCondition getNameOfPhysiciansReadingStudy(OFString &value, const signed long pos=0) const
get NameOfPhysiciansReadingStudy (0008,1060)
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_SOPInstanceNotFound
error: the specified SOP instance could not be found
DRTWedgePositionSequence & getWedgePositionSequence()
get WedgePositionSequence (300a,0116)
Definition: drtcps.h:445
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcbars.h:548
Uint16 getOverlayInPresentationStateGroup(size_t idx)
gets the repeating group number of the given overlay in the presentation state.
static const OFString m_ModuleName
The name of this module ("EnhancedUSSeriesModule")
Definition: modenhusseries.h:125
void recordFailure(const OFString &file, unsigned long int line, const OFString &message)
Add a new failure to the result set.
Definition: oftest.h:119
virtual OFCondition getWindowCenter(Float64 &value, const unsigned long pos=0)
Get Window Center.
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
double RescaleIntercept
rescale intercept
Definition: dimomod.h:266
virtual OFCondition getStudyID(OFString &value, const signed long pos=0) const
get study ID
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition setBeamDosePointSSD(const Float32 value, const unsigned long pos=0)
set BeamDosePointSSD (300a,008a)
virtual OFCondition getInstanceCoercionDateTime(OFString &value, const signed long pos=0) const
get InstanceCoercionDateTime (0008,0015)
IODRule * getByTag(const DcmTagKey &key) const
Get a rule by its tag.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtvls.h:327
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcncs.h:536
@ DCF_Filetype_ASN1
ASN.1 (Abstract Syntax Notation One) format.
Definition: tlslayer.h:93
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition setSeriesTime(const OFString &value, const OFBool check=OFTrue)
set SeriesTime (0008,0031)
DcmLongString ContrastBolusAgent
ContrastBolusAgent (0018,0010) vr=LO, vm=1, type=2.
Definition: drtimage.h:5185
Uint16 nearlosslessDeviation_
desired NEAR parameter Default is 0 (lossless compression).
Definition: djrparam.h:89
E_ApplicationProfile ApplicationProfile
currently selected application profile
Definition: dcddirif.h:1559
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtics.h:536
OFCondition write(DcmItem &item)
write elements to sequence item
virtual ~DRTBeamLimitingDevicePositionSequence()
destructor
int bitsPerSample
bits per sample (8 or 16, default: 8)
Definition: dipipng.h:139
OFBool operator==(const DcmStack &arg) const
comparison operator, needed for MSVC5.
static void registerCodecs(OFBool pCreateSOPInstanceUID=OFFalse, Uint32 pFragmentSize=0, OFBool pCreateOffsetTable=OFTrue, OFBool pConvertToSC=OFFalse)
registers RLE encoder.
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtics.h:337
unsigned long AssociationNumber
association number that was used to send this SOP instance (0 = not sent)
Definition: dstorscu.h:427
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
void convert(const T1 *pixel, const unsigned long planeSize, const int bits)
convert input pixel data to intermediate representation
Definition: dirgbpxt.h:79
LoggerImpl(const log4cplus::tstring &name, Hierarchy &h)
This constructor created a new Logger instance and sets its name.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Interface class for PrivateDataElementDefinitionSequence (0008,0310)
Definition: drtpdeds.h:28
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
unsigned long frameCacheEntries
describes array size of frameCache
Definition: dvpsri.h:169
Uint16 MaxDDLValue
maximum DDL value (usually 255)
Definition: didispfn.h:445
double getAmbientLightValue() const
get (reflected) ambient light value.
Definition: didispfn.h:251
virtual const char * className() const
returns the class name as string.
void del(const DcmTagKey &key, const char *privCreator)
deletes the entry for the given tag and private creator
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_NonExtensibleTemplate
error: cannot add content item or insert subtree to non-extensible template
virtual OFCondition setPatientID(const OFString &value, const OFBool check=OFTrue)
set PatientID (0010,0020)
DcmDirectoryRecord * buildSurfaceScanRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update surface scan record and copy required values from dataset
DSRImageReferenceValue(const DSRCompositeReferenceValue &imageReferenceValue, const DSRCompositeReferenceValue &pstateReferenceValue)
copy constructor
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
SiSHA1(SiSHA1 &arg)
private undefined copy constructor
Interface class for XDSRetrievalSequence (0040,e024)
Definition: drtxrs.h:28
void clear()
clear all internal member variables
OFCondition getSnoutPosition(Float32 &value, const unsigned long pos=0) const
get SnoutPosition (300a,030d)
DcmDecimalString DVHMinimumDose
DVHMinimumDose (3004,0070) vr=DS, vm=1, type=3.
Definition: drtdvhs.h:313
OFBool isEmpty()
check if item is empty
virtual OFCondition getContrastBolusAgent(OFString &value, const signed long pos=0) const
get ContrastBolusAgent (0018,0010)
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
virtual OFCondition setInstanceNumber(const OFString &value, const OFBool check=OFTrue)
set InstanceNumber (0020,0013)
const char * iterator
this typedef can be used to iterate over an string.
Definition: ofstring.h:819
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
virtual OFCondition setPerformedProcedureStepDescription(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepDescription (0040,0254)
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtsptcs.h:205
const Item & getCurrentItem() const
get current item in the sequence
DRTOperatorIdentificationSequence & getOperatorIdentificationSequence()
get OperatorIdentificationSequence (0008,1072)
Definition: drttreat.h:1371
DcmLongString ClinicalTrialSubjectID
ClinicalTrialSubjectID (0012,0040) vr=LO, vm=1, type=1C.
Definition: drtiontr.h:2879
DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence()
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtionpl.h:1499
const double AmbientLight
ambient light value (measured in cd/m^2)
Definition: didislut.h:81
DcmRLEEncoder(const DcmRLEEncoder &)
private undefined copy constructor
OFBool isEmpty()
check if item is empty
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setLongitudinalTemporalOffsetFromEvent(const Float64 value, const unsigned long pos=0)
set LongitudinalTemporalOffsetFromEvent (0012,0052)
DiCIELABFunction(const double val_min, const double val_max, const unsigned long count=256, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0)
constructor, compute luminance/OD values automatically within the specified range.
DRTReferencedInstanceSequence ReferencedInstanceSequence
ReferencedInstanceSequence (0008,114a) vr=SQ, vm=1, type=1.
Definition: drtrsers.h:131
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrris9.h:311
DcmDecimalString StartCumulativeMetersetWeight
StartCumulativeMetersetWeight (300c,0008) vr=DS, vm=1, type=3.
Definition: drtpvis.h:326
OFCondition getIssuerOfPatientID(OFString &value, const signed long pos=0) const
get IssuerOfPatientID (0010,0021)
void clear()
clear all internal member variables
virtual ~IODGeneralImageModule()
Destructor.
Implementation of DCMR Context Group: CID 7181 - Abstract Multi-dimensional Image Model Component Uni...
Definition: cid7181.h:35
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
double meanAbsoluteError
result of image comparison: mean absolute error
Definition: dcmicmph.h:273
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtpcs.h:331
DRTDigitalSignaturesSequence & getDigitalSignaturesSequence()
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtionpl.h:1355
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtspccs.h:211
DRTIonRangeCompensatorSequence IonRangeCompensatorSequence
IonRangeCompensatorSequence (300a,02ea) vr=SQ, vm=1, type=1C.
Definition: drtibs.h:993
const char * getLUTID(Uint32 idx)
returns the identifier of the Presentation LUT with the given index.
virtual OFString getName() const
Get name of macro.
virtual OFCondition addSourceImageItem(DcmDataset *dataset, const CodeSequenceMacro &purposeOfReference, SourceImageItem *&resultSourceImageItem)
Convenience function to add item representing reference to an object.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool isEmpty()
check if item is empty
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
const Item & getCurrentItem() const
get current item in the sequence
struct sockaddr * getSockaddr()
access socket address storage object as struct sockaddr (opaque address)
Definition: ofsockad.h:72
@ CTUnspecifiedBodyRegion
(25045-6,LN,"CT unspecified body region")
Definition: cid100.h:58
OFCondition getPrivateDataElementName(OFString &value, const signed long pos=0) const
get PrivateDataElementName (0008,030c)
DcmDecimalString NumericValue
NumericValue (0040,a30a) vr=DS, vm=1-n, type=1C.
Definition: drtcims.h:349
const DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence() const
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtdose.h:2662
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
OFString opt_dfPath
path to database files
Definition: wlcefs.h:44
OFCondition getTableTopLongitudinalPosition(OFString &value, const signed long pos=0) const
get TableTopLongitudinalPosition (300a,0129)
virtual OFCondition getClinicalTrialSubjectReadingID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectReadingID (0012,0042)
int Planes
number of planes
Definition: ditranst.h:120
DCMTK_DCMDATA_EXPORT const char * dcmFindNameOfUID(const char *uid, const char *defaultValue=NULL)
return the name of a UID.
DRTChannelSourceSequence & getChannelSourceSequence()
get ChannelSourceSequence (003a,0208)
Definition: drtmacds.h:121
Item & getCurrentItem()
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtaadcs.h:536
const OFdirectory_entry * pointer
OFdirectory_iterator's '->' operator will give you a pointer to a const OFdirectory_entry.
Definition: offilsys.h:438
OFCondition setBeamDescription(const OFString &value, const OFBool check=OFTrue)
set BeamDescription (300a,00c3)
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition get(const size_t trackNumber, CodeSequenceMacro &type, CodeSequenceMacro &units, const Float32 *&measurementData, unsigned long &numMeasurementData, const Uint32 *&pointIndices)
Get measurement data for a selected track.
virtual OFCondition setSeriesNumber(const OFString &value, const OFBool check=OFTrue)
set series number
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setClinicalTrialSubjectReadingID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectReadingID (0012,0042)
virtual OFCondition getMeasuredAPDimension(OFString &value, const signed long pos=0) const
get MeasuredAPDimension (0010,1023)
@ Oxygen_O15
(129504001,SCT,"Oxygen O^15^")
Definition: cid4021.h:220
virtual OFCondition getClinicalTrialSubjectReadingID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectReadingID (0012,0042)
virtual OFCondition getSmokingStatus(OFString &value, const signed long pos=0) const
get SmokingStatus (0010,21a0)
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmConvertVOILUTSequenceOWtoSQ
This flag enables the "silent" conversion of incorrectly encoded VOI LUT Sequence elements with VR=OW...
virtual OFCondition determineDecompressedColorModel(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, OFString &decompressedColorModel) const =0
determine color model of the decompressed image
virtual OFCondition lookupCodedEntry(DSRCodedEntryValue &codedEntryValue, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group and, if found, replace its value with the one fo...
OFBool isEmpty()
check if item is empty
Item EmptyItem
empty default item
Definition: drtrcos.h:338
OFCondition setTableTopLateralPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopLateralPosition (300a,012a)
static OFCondition getOFTimeFromString(const char *dicomTime, const size_t dicomTimeSize, OFTime &timeValue, const OFBool supportOldFormat)
get the specified DICOM time value in OFTime format.
virtual void closeAssociation(const DcmCloseAssociationType closeType)
Closes the association of this SCU.
OFCondition allocateMACID(Uint16 &newID)
allocates a new mac ID number for a new signature.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item & getItem(const size_t num)
get particular item in the sequence
void flushCache()
flushes the frame cache.
OFCondition getImageEntryModality(DSRCodedEntryValue &modalityCode)
go to the most recently added image library entry and get the value of the descriptor 'Modality' (TID...
@ Total
(255619001,SCT,"Total")
Definition: cid7464.h:52
OFCondition getContourOffsetVector(OFVector< Float64 > &value) const
get ContourOffsetVector (3006,0045)
OFCondition getBeamNumber(OFString &value, const signed long pos=0) const
get BeamNumber (300a,00c0)
static OFCondition decodeFrame(const DcmXfer &fromType, const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel)
looks for a codec that is able to decode from the given transfer syntax and calls the decodeFrame() m...
void setFilter(log4cplus::spi::FilterPtr f)
Set the filter chain on this Appender.
Definition: appender.h:181
virtual const char * getDefinedTerm() const
returns the DICOM identifier for this MAC algorithm
Uint16 m_port
Port on which the SCP is listening for association requests. The default port is 104.
Definition: scpcfg.h:342
static OFString getHostName()
Retrieve the local domain name, e.
virtual ~Item()
destructor
virtual OFCondition getTimezoneOffsetFromUTC(OFString &value, const signed long pos=0) const
get TimezoneOffsetFromUTC (0008,0201)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setTreatmentSites(const OFString &value, const OFBool check=OFTrue)
set TreatmentSites (300a,000b)
DcmLongString m_ContentDescription
Content Description: (LO, VM 1, Type 1)
Definition: iodmacro.h:1197
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getCompensatorTrayID(OFString &value, const signed long pos=0) const
get CompensatorTrayID (300a,00ef)
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
const DRTProtocolContextSequence & getProtocolContextSequence() const
get ProtocolContextSequence (0040,0440)
Definition: drtspcs.h:224
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition setStructureSetLabel(const OFString &value, const OFBool check=OFTrue)
set StructureSetLabel (3006,0002)
virtual void clearData()
Clear (removes) all attributes handled by the modules of this component.
SiCertificateVerifier()
default constructor
Item & operator=(const Item ©)
assigment operator
DRTReferencedPatientSequence & getReferencedPatientSequence()
get ReferencedPatientSequence (0008,1120)
Definition: drtplan.h:1772
DcmFloatingPointSingle(const DcmTag &tag, const Uint32 len)
constructor.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
size_t size() const
get number of curves in this list.
Definition: dvpscul.h:100
int writeBMP(FILE *stream, const unsigned long frame, const int bits)
write pixel data to BMP file
virtual FGBase * clone() const
Returns a deep copy of this object.
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
DSRSOPInstanceReferenceList PertinentOtherEvidence
Pertinent Other Evidence Sequence: (SQ, 1-n, 1C)
Definition: dsrdoc.h:1451
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition getStationName(OFString &value, const signed long pos=0) const
get StationName (0008,1010)
virtual OFCondition setPatientIdentityRemoved(const OFString &value, const OFBool check=OFTrue)
set PatientIdentityRemoved (0012,0062)
OFCondition checkAssociationProfile(const OFString &profileName, OFString &mangledName) const
The profile with the given name is checked for validity using this method.
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition setClinicalTrialCoordinatingCenterName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialCoordinatingCenterName (0012,0060)
Uint16 GroupNumber
group number of overlay plane
Definition: diovpln.h:464
@ EFG_PIXELVALUETRANSMETA
"Pixel Value Transformation" or "Identity Pixel Value Transformation" (both share the same sequence a...
Definition: fgtypes.h:146
virtual ~DcmOtherDouble()
destructor
DcmFileConsumer & operator=(const DcmFileConsumer &)
private unimplemented copy assignment operator
@ DT_ProcedureLog
DICOM IOD: Procedure Log.
Definition: dsrtypes.h:521
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtspcs.h:337
DcmUniqueIdentifier SeriesInstanceUID
SeriesInstanceUID (0020,000e) vr=UI, vm=1, type=1.
Definition: drtrsers.h:133
@ EXS_JPEGProcess14SV1
JPEG Lossless, Selection Value 1.
Definition: dcxfer.h:83
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 element to a stream.
a class handling the DICOM dataset format (files without meta header)
Definition: dcdatset.h:42
void ResetBeginning()
Resets the iterator to the set's first element.
Definition: ofsetit.h:69
this class implements an RLE decompressor conforming to the DICOM standard.
Definition: dcrledec.h:32
OFThread & operator=(const OFThread &arg)
unimplemented private assignment operator
OFString SOPInstanceUID
reference SOP instance UID (VR=UI, type 1)
Definition: dsrcomvl.h:389
OFCondition setReference(DcmItem &dataset, const OFBool check=OFTrue)
set SOP class UID and SOP instance UID value from dataset.
Item & operator[](const size_t num)
get particular item in the sequence
DcmTime TreatmentTime
TreatmentTime (3008,0251) vr=TM, vm=1, type=2.
Definition: drtfsss.h:171
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DRTTreatmentSummaryCalculatedDoseReferenceSequence(const DRTTreatmentSummaryCalculatedDoseReferenceSequence ©)
copy constructor
DRTReferencedCalculatedDoseReferenceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual ~Item()
destructor
DRTRangeModulatorSettingsSequenceInRTIonBeamsModule & operator=(const DRTRangeModulatorSettingsSequenceInRTIonBeamsModule ©)
assigment operator
size_t getNumberOfItems() const
get number of items in the sequence
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtprsis.h:200
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
DRTRealWorldValueMappingSequence & getRealWorldValueMappingSequence()
get RealWorldValueMappingSequence (0040,9096)
Definition: drtimage.h:2878
static const OFString m_ModuleName
The name of this module ("PatientStudyModule")
Definition: modpatientstudy.h:142
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
void clear()
clear all internal member variables
DcmDecimalString TableTopLateralPosition
TableTopLateralPosition (300a,012a) vr=DS, vm=1, type=3.
Definition: drtes.h:550
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFList< value_type > values_
Definition: ofmap.h:57
const Item & operator[](const size_t num) const
get particular item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmDateTime InstanceCoercionDateTime
InstanceCoercionDateTime (0008,0015) vr=DT, vm=1, type=3.
Definition: drttreat.h:2977
virtual OFCondition getMeasuredLateralDimension(OFString &value, const signed long pos=0) const
get MeasuredLateralDimension (0010,1024)
OFThread(const OFThread &arg)
unimplemented private copy constructor
virtual OFCondition getStrainNomenclature(OFString &value, const signed long pos=0) const
get StrainNomenclature (0010,0213)
OFIterator< T > erase(OFIterator< T > position)
removes the element at the given position from the list.
Definition: oflist.h:438
@ EFGFT_ORIGINAL
ORIGINAL.
Definition: fgtypes.h:192
OFCondition setValue(const OFString &numericValue, const DSRCodedEntryValue &measurementUnit, const CID42_NumericValueQualifier &valueQualifier, const OFBool check=OFTrue)
set numeric value, measurement unit and numeric value qualifier.
DRTSourcePatientGroupIdentificationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
OFBool isEmpty()
check if item is empty
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmFileCache fcache_
file cache object
Definition: dcwcache.h:109
log4cplus::tstring pop()
Clients should call this method before leaving a diagnostic context.
DSRReferencedDateTimeList & getDateTimeList()
get reference to list of referenced date/time
Definition: dsrtcovl.h:198
void clearFilmSessionSettings()
resets the settings for basic film session (everything that is not managed by the Stored Print object...
OFCondition getPrintPreviewWidthHeight(unsigned long &width, unsigned long &height)
gets width and height of print preview bitmap.
unsigned long getValue(const DcmTagKey &tag, OFString &returnVal, const unsigned long pos=0, DcmItem *item=NULL) const
get value of given tag (OFString)
OFrvalue< OFpath > operator/(const OFpath &lhs, const OFpath &rhs)
Append two paths.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrims.h:367
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
DRTSourceInstanceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtrpcs.h:343
void clear()
clear all internal member variables
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeApprovalNumber(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
int error()
tests the error indicator for the stream, returning non-zero if it is set.
Definition: offile.h:627
virtual OFCondition setPhysiciansOfRecord(const OFString &value, const OFBool check=OFTrue)
set PhysiciansOfRecord (0008,1048)
virtual OFCondition getClinicalTrialTimePointDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointDescription (0012,0051)
virtual OFCondition setSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set SeriesDescription (0008,103e)
provides an operating system independent abstraction for read/write locks.
Definition: ofthread.h:410
virtual size_t gotoParent()
goto parent node (one level up)
Definition: dsrtncsr.h:610
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
Item class.
Definition: drtrris9.h:36
DcmLongString ClinicalTrialSubjectReadingID
ClinicalTrialSubjectReadingID (0012,0042) vr=LO, vm=1, type=1C.
Definition: drtdose.h:4165
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item & getCurrentItem()
get current item in the sequence
DRTReferringPhysicianIdentificationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
size_t getNumberOfItems() const
get number of items in the sequence
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setSharedConfig(const DcmSharedSCPConfig &config)=0
Set SCP configuration that should be used by the worker in order to handle incoming association reque...
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...
DcmExtendedNegotiationMap(const DcmExtendedNegotiationMap &arg)
Copy constructor, performs deep copy.
virtual ~IODComponent()
Virtual Destructor.
virtual ~I2DOutputPlugVLP()
Virtual Destructor, clean up memory.
const DSRSpatialCoordinatesValue & getValue() const
get reference to spatial coordinates value
Definition: dsrscovl.h:170
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches the filter criterion (annotation)
OFCondition setExternalContourEntryPoint(const Float32 value, const unsigned long pos=0)
set ExternalContourEntryPoint (300a,0133)
virtual OFCondition setPresentationLUTShape(const OFString &value, const OFBool check=OFTrue)
set PresentationLUTShape (2050,0020)
I2DImgSource()
Constructor.
Definition: i2dimgs.h:41
virtual OFCondition setEthnicGroup(const OFString &value, const OFBool check=OFTrue)
set EthnicGroup (0010,2160)
virtual ~Item()
destructor
DcmCodeString PatientSex
PatientSex (0010,0040) vr=CS, vm=1, type=2.
Definition: drtstrct.h:2743
a class representing the DICOM value representation 'Other 64-bit Very Long' (OV)
Definition: dcvrov.h:39
OFCondition read(DcmItem &item)
read elements from sequence item
DcmLongString PatientBreedDescription
PatientBreedDescription (0010,2292) vr=LO, vm=1, type=2C.
Definition: drtstrct.h:2765
the representation of a Stored Print object
Definition: dvpssp.h:45
OFList< ItemStruct * > List
list of studies
Definition: dvcache.h:891
FGStack(const OFString &stackID)
Constructor, create empty stack with given Stack ID (and fill in frames later)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getReferencedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
DRTConversionSourceAttributesSequence ConversionSourceAttributesSequence
ConversionSourceAttributesSequence (0020,9172) vr=SQ, vm=1, type=1C.
Definition: drtplan.h:3403
void clear()
clear all internal member variables
OFCondition getUniversalEntityID(OFString &value, const signed long pos=0) const
get UniversalEntityID (0040,0032)
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
DVSignatureHandler(const DVSignatureHandler ©)
private undefined copy constructor
void updatePresentationLUTList(DVPSPresentationLUT_PList &globalPresentationLUTList)
updates the list of Presentation LUTs managed by the Stored Print object from a global list.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtcss.h:357
const DRTBeamLimitingDevicePositionSequence & getBeamLimitingDevicePositionSequence() const
get BeamLimitingDevicePositionSequence (300a,011a)
Definition: drtcps.h:415
OFCondition getBlockSlabThickness(OFString &value, const signed long pos=0) const
get BlockSlabThickness (300a,0442)
OFCondition setSourceStrengthReferenceDate(const OFString &value, const OFBool check=OFTrue)
set SourceStrengthReferenceDate (300a,022c)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Interface class for ExposureSequence (3002,0030) in RTImageModule.
Definition: drtes.h:33
DcmUnsignedShort voiLUTDescriptor
Module=VOI_LUT, VR=xs, VM=3, Type 1c.
Definition: dvpsvl.h:90
virtual FunctionalGroups::const_iterator begin() const
Const iterator pointing to first functional group in the set.
virtual OFString ident()
Virtual function that returns a short name of the plugin.
@ IntravascularOpticalCoherenceTomography
(IVOCT,DCM,"Intravascular Optical Coherence Tomography")
Definition: cid29.h:72
OFCondition setScanSpotMetersetsDelivered(const Float32 value, const unsigned long pos=0)
set ScanSpotMetersetsDelivered (3008,0047)
const Item & operator[](const size_t num) const
get particular item in the sequence
DVPSImageBoxContent * getImageBox(size_t idx)
returns a pointer to the image box with the given index or NULL if it does not exist.
virtual OFCondition write(DcmItem &item)
Write Content Identification Macro to given item.
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drtds.h:537
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence() const
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drttreat.h:1629
const DRTUDISequence & getUDISequence() const
get UDISequence (0018,100a)
Definition: drtplan.h:2006
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
Item EmptyItem
empty default item
Definition: drtrlsds.h:338
OFCondition addItem(Item *&item)
add new item to the end of this sequence
void cleanup()
cleans up pixelDataList, called from destructor and error handlers
virtual OFCondition setImagePositionVolume(const Float64 &valueX, const Float64 &valueY, const Float64 &valueZ, const OFBool checkValue=OFTrue)
Set Image Position Volume, i.e. the x/y/z coordinates of the upper left hand corner (center of the fi...
OFBool match(const char *c) const
check if keyword matches given string
Definition: ofconfig.h:109
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmLongText PersonTelecomInformation
PersonTelecomInformation (0040,1104) vr=LT, vm=1, type=3.
Definition: drtcpis.h:210
OFCondition getReferencedSourceNumber(OFString &value, const signed long pos=0) const
get ReferencedSourceNumber (300c,000e)
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
virtual OFCondition setSeriesNumber(const OFString &value, const OFBool check=OFTrue)
set SeriesNumber (0020,0011)
virtual OFCondition getAdditionalPatientHistory(OFString &value, const signed long pos=0) const
get AdditionalPatientHistory (0010,21b0)
virtual OFCondition getExposureTimeInms(Float64 &value, const unsigned long pos=0) const
get ExposureTimeInms (0018,9328)
Class for PALETTE COLOR images.
Definition: dipalimg.h:46
static const size_t PF_printSOPClassUID
print SOP class UID of referenced objects (instead of the name)
Definition: dsrtypes.h:438
DcmDecimalString TableTopLateralSetupDisplacement
TableTopLateralSetupDisplacement (300a,01d6) vr=DS, vm=1, type=3.
Definition: drtpss.h:345
const Item & getCurrentItem() const
get current item in the sequence
static void writeSingleItem(OFCondition &result, const DcmTagKey &seqKey, Container &source, DcmItem &destination, IODRule *rule)
Writes given container into a DICOM item of a specific sequence.
Definition: iodutil.h:790
void deleteText(int i=0)
Delete the Ith text content of the current XMLNode.
DcmIntegerString RadiationAtomicNumber
RadiationAtomicNumber (300a,0304) vr=IS, vm=1, type=1C.
Definition: drttsibs.h:1024
DcmDecimalString TableTopLateralPosition
TableTopLateralPosition (300a,012a) vr=DS, vm=1, type=2C.
Definition: drticpds.h:872
DRTApplicatorSequenceInRTBeamsModule & getApplicatorSequence()
get ApplicatorSequence (300a,0107)
Definition: drtbs.h:378
Sint32 getRadiusOfCircularShutter()
gets circular shutter radius.
Sends spi::InternalLoggingEvent objects to a remote a log server.
Definition: socketap.h:103
virtual OFCondition setRedPaletteColorLookupTableDescriptor(const Uint16 value, const unsigned long pos=0)
set RedPaletteColorLookupTableDescriptor (0028,1101)
virtual DcmObject * clone() const
clone method
Definition: dcvrcs.h:65
@ Fluorobenzothiazole_F18
(423546004,SCT,"Fluorobenzothiazole F^18^")
Definition: cid4021.h:148
DcmDateTime DateTime
DateTime (0040,a120) vr=DT, vm=1, type=1C.
Definition: drtcims.h:343
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getBitsAllocated(Uint16 &value, const unsigned long pos=0) const
get BitsAllocated (0028,0100)
virtual OFCondition setDoseComment(const OFString &value, const OFBool check=OFTrue)
set DoseComment (3004,0006)
const DRTOtherPatientIDsSequence & getOtherPatientIDsSequence() const
get OtherPatientIDsSequence (0010,1002)
Definition: drtdose.h:2266
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTStudiesContainingOtherReferencedInstancesSequence StudiesContainingOtherReferencedInstancesSequence
StudiesContainingOtherReferencedInstancesSequence (0008,1200) vr=SQ, vm=1, type=1C.
Definition: drtplan.h:3414
OFString sopInstanceUID
SOP instance UID of basic film session object.
Definition: dvpsfs.h:149
void error(const log4cplus::tstring &msg, bool throw_flag=false) const
This method is used to output log4cplus internal error statements.
DcmSegTypes::E_SegmentationType m_SegmentationType
Segmentation Type: (CS, 1, 1)
Definition: segdoc.h:603
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
virtual OFCondition setRelatedGeneralSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set RelatedGeneralSOPClassUID (0008,001a)
virtual void * getDataArrayPtr()=0
get pointer to array of pixel data (abstract).
@ UCBJ_C11
(C4506788,UMLS,"UCB-J C^11^")
Definition: cid4021.h:294
OFCondition gotoFirstItem()
goto first item in the sequence
DRTMappingResourceIdentificationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item(const Item ©)
copy constructor
void clear()
clear all internal member variables
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
DcmLongString PerformedProcedureStepDescription
PerformedProcedureStepDescription (0040,0254) vr=LO, vm=1, type=3.
Definition: drttreat.h:2872
static OFBool check(const char *dicomDate, const size_t dicomDateSize)
check whether the given string conforms to a single value of VR "DA" (Date).
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition setPregnancyStatus(const Uint16 value, const unsigned long pos=0)
set PregnancyStatus (0010,21c0)
TransferEntry(DcmDataset *dataset, const E_HandlingMode handlingMode, const OFString &sopClassUID, const OFString &sopInstanceUID, const OFString &transferSyntaxUID)
constructor.
virtual HL7HierarchicDesignatorMacro & getIssuerOfAccesionNumber()
Get reference to content of Issuer of Accession Number Sequence.
Item(const Item ©)
copy constructor
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getCompensatorMountingPosition(OFString &value, const signed long pos=0) const
get CompensatorMountingPosition (300a,02e1)
OFCondition getTableTopRollAngle(Float32 &value, const unsigned long pos=0) const
get TableTopRollAngle (300a,0144)
virtual ~DRTChannelShieldSequence()
destructor
virtual OFCondition setSeriesInstanceUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Series Instance UID.
int hideAllOverlays(const unsigned int idx=0)
deactivate all overlay planes (make them invisible)
Definition: dcmimage.h:1154
virtual OFBool canAddByReferenceRelationship(const E_RelationshipType relationshipType, const E_ValueType targetValueType) const
check whether specified by-reference relationship can be added to the current content item.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmDecimalString BeamDoseSpecificationPoint
BeamDoseSpecificationPoint (300a,0082) vr=DS, vm=3, type=3.
Definition: drtrbs4.h:277
const Item & operator[](const size_t num) const
get particular item in the sequence
E_TransferSyntax NetworkTransferSyntax
transfer syntax that was used to send this SOP instance
Definition: dstorscu.h:418
DcmZLibOutputFilter(const DcmZLibOutputFilter &)
private unimplemented copy constructor
DCMTK_OFSTD_EXPORT const OFConditionConst EC_CouldNotGenerateDirectoryName
condition constant: error, could not generate directory name
OFCondition getRangeShifterType(OFString &value, const signed long pos=0) const
get RangeShifterType (300a,0320)
Interface class for DigitalSignaturePurposeCodeSequence (0400,0401)
Definition: drtdspcs.h:29
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setTreatmentDate(const OFString &value, const OFBool check=OFTrue)
set TreatmentDate (3008,0250)
OFCondition getGantryAngle(Float64 &value, const unsigned long pos=0) const
get GantryAngle (300a,011e)
OFBool printerSupportsAnnotationBox()
checks if the remote printer supports the Basic Annotation Box SOP class.
@ EIS_Normal
normal, no error
Definition: diutils.h:226
Item & operator=(const Item ©)
assigment operator
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtmris.h:324
DRTPlannedVerificationImageSequence & getPlannedVerificationImageSequence()
get PlannedVerificationImageSequence (300a,00ca)
Definition: drtbs.h:450
virtual OFCondition setPerformedProcedureStepStartDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartDate (0040,0244)
DcmFloatingPointDouble FrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix
FrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix (0070,030b) vr=FD,...
Definition: drtionpl.h:3196
DiMono2Image(const DiColorImage *image, const double red, const double green, const double blue)
constructor, convert color images to monochrome
virtual int write(DiImage *image, FILE *stream, const unsigned long frame=0) const
write given image to a file stream (TIFF format)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpics.h:324
virtual ~DRTDVHReferencedROISequence()
destructor
void updateCache()
updates the cached number of columns and rows
OFBool makeFilename(unsigned int &seed, const char *dir, const char *prefix, const char *postfix, OFString &filename)
creates a new unique filename.
OFCondition gotoFirstItem()
goto first item in the sequence
DRTBlockSequenceInRTBeamsModule(const DRTBlockSequenceInRTBeamsModule ©)
copy constructor
OFCondition renderHTMLConceptName(STD_NAMESPACE ostream &docStream, const size_t flags) const
render concept name in HTML/XHTML format.
OFBool isEmpty()
check if item is empty
OFCondition getAttachedContours(OFString &value, const signed long pos=0) const
get AttachedContours (3006,0049)
DRTOperatorIdentificationSequence OperatorIdentificationSequence
OperatorIdentificationSequence (0008,1072) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2856
const DRTGeneticModificationsSequence & getGeneticModificationsSequence() const
get GeneticModificationsSequence (0010,0221)
Definition: drtdose.h:2110
static void rgb2DicomLab(double &LDicom, double &aDicom, double &bDicom, double R, double G, double B)
Convert sRGB color representation to CIELab color representation as found in DICOM.
const OFString & getProgramName() const
get the name of the program (i.e.
Definition: ofcmdln.h:386
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtssrcs.h:343
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Accept or reject DcmItem objects by comparing a specific attribute to a set of values.
Definition: dcfilter.h:40
virtual OFBool operator>=(const OFDateTime &dateTime) const
comparison operator (greater than or equal).
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTIconImageSequence IconImageSequence
IconImageSequence (0088,0200) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4402
Definition: encodstr.h:19
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
size_t size() const
returns number of elements in the list.
const char * getModalityLutExplanation() const
get modality LUT explanation string
Definition: dimopx.h:188
virtual int writeCurveData(const char *filename, const OFBool mode=OFTrue)=0
write curve data to a text file (abstract method)
virtual OFCondition setImageOrientationVolume(const Float64 &rowX, const Float64 &rowY, const Float64 &rowZ, const Float64 &colX, const Float64 &colY, const Float64 &colZ, const OFBool checkValue=OFTrue)
Set all values of Image Orientation Volume at once.
virtual OFBool isAllowableAlgorithm(const SiAlgorithm &algo) const
checks whether the given public/private key object can be used with this security profile.
DcmSequenceOfItems VerifyingObserver
Verifying Observer Sequence: (SQ, 1-n, 1C)
Definition: dsrdoc.h:1433
virtual ~Item()
destructor
OFCondition setReferencedStopControlPointIndex(const OFString &value, const OFBool check=OFTrue)
set ReferencedStopControlPointIndex (300c,00f6)
OFCondition setGeneticModificationsNomenclature(const OFString &value, const OFBool check=OFTrue)
set GeneticModificationsNomenclature (0010,0223)
DRTConceptCodeSequence(const DRTConceptCodeSequence ©)
copy constructor
OFCondition getNumberOfLeafJawPairs(Sint32 &value, const unsigned long pos=0) const
get NumberOfLeafJawPairs (300a,00bc)
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtsis.h:214
virtual OFCondition readPatientData(DcmItem &dataset)
read PatientData from dataset
DcmCodeString specificCharacterSet
Module=SOP_Common, VR=CS, VM=1-n, Type 1C.
Definition: dvpssp.h:1067
virtual ~DcmTagKey()
destructor
Definition: dctagkey.h:256
static const OFString & getRelationshipText(const E_RelationshipType relationshipType, OFString &relationshipText, const size_t flags)
convert relationship type into a text used for HTML rendering
@ PerMin
(/min,UCUM,"/min")
Definition: cid7181.h:170
void clear()
clear all internal member variables
DRTReferencedBrachyApplicationSetupSequenceInRTFractionSchemeModule(const DRTReferencedBrachyApplicationSetupSequenceInRTFractionSchemeModule ©)
copy constructor
DiRGBImage(const DiDocument *docu, const EI_Status status)
constructor
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtgmcs.h:357
OFCondition getCompensatorThicknessData(OFString &value, const signed long pos=0) const
get CompensatorThicknessData (300a,00ec)
Item & getCurrentItem()
get current item in the sequence
OFCondition getDoseReferencePointCoordinates(OFString &value, const signed long pos=0) const
get DoseReferencePointCoordinates (300a,0018)
virtual ~Item()
destructor
Item & getItem(const size_t num)
get particular item in the sequence
OFString m_ModuleName
Name of the module ("EnhancedEquipmentModule")
Definition: modenhequipment.h:199
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
special write method for creation of digital signatures
OFCondition read(DcmItem &item)
read elements from sequence item
this class describes configuration settings regarding character set handling
Definition: dcmqrcnf.h:45
virtual OFCondition setStationName(const OFString &value, const OFBool checkValue=OFTrue)
Set Station Name.
const DRTReferencedDoseSequence & getReferencedDoseSequence() const
get ReferencedDoseSequence (300c,0080)
Definition: drtfgs.h:250
DRTPatientSizeCodeSequence & getPatientSizeCodeSequence()
get PatientSizeCodeSequence (0010,1021)
Definition: drtdose.h:2284
signed long renderedImageLeft
contains the left hand corner of the attached image after pixel data have been rendered.
Definition: dvpstat.h:1229
virtual int compare(const DcmElement &rhs) const =0
comparison operator that compares the normalized value of this element with a given element of the sa...
static const size_t PF_convertToMarkup
quote non-ASCII string content as XML markup
Definition: dctypes.h:191
OFCondition getBeamDose(Float64 &value, const unsigned long pos=0) const
get BeamDose (300a,0084)
void clear()
clear all internal member variables
Item & operator=(const Item ©)
assigment operator
OFCondition setCumulativeDoseReferenceCoefficient(const OFString &value, const OFBool check=OFTrue)
set CumulativeDoseReferenceCoefficient (300a,010c)
Definition: jdhuff12.h:88
OFCondition setEnhancedEncodingMode(const OFString &contextUID, const OFBool check=OFTrue)
specify the "Enhanced Encoding Mode" for this code.
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
virtual ~AlternateContentDescriptionItem()
Virtual destructor.
CID7452_OrganizationalRoles(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrpphs.h:221
OFListIterator(StudyStruct *) Iterator
internal cursor to current (selected) list item
DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence()
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtionpl.h:1811
int setvbuf(char *buf, int modes, size_t n)
The three types of buffering available are unbuffered, block buffered, and line buffered.
Definition: offile.h:679
OFListIterator(Item *) CurrentItem
currently selected item
@ DfFK23PEG4_89Zr
(126763,DCM,"Df-[FK](2)-3PEG(4) ^89^Zr")
Definition: cid4021.h:106
OFListIterator(Item *) CurrentItem
currently selected item
Item class.
Definition: drtssrs.h:37
virtual void supportedSOPClassUIDs(OFList< OFString > &suppSOPs)
Overwrites function from base class.
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getPatientState(OFString &value, const signed long pos=0) const
get PatientState (0038,0500)
virtual OFCondition copyFrom(const DcmObject &rhs)
virtual object copying.
virtual OFBool networkDataAvailable(int timeout)
checks if data is available to be read on the transport connection.
virtual ~DSRCompositeReferenceValue()
destructor
virtual void resetRules()
Resets rules to their original values.
OFCondition convert(I2DImgSource *inputPlug, I2DOutputPlug *outPlug, DcmDataset *&resultDset, E_TransferSyntax &proposedTS)
Start the conversion.
virtual OFCondition getSpecificCharacterSet(OFString &value, const signed long pos=0) const
get specific character set
virtual size_t gotoNextNamedNode(const DSRCodedEntryValue &conceptName, const OFBool searchIntoSub=OFTrue)
set internal cursor to the next named node.
virtual OFCondition getUint64Array(Uint64 *&val)
get a pointer to the element value of the current element as type Uint64.
OFBool isEmpty()
check if item is empty
OFCondition setCompensatorPixelSpacing(const OFString &value, const OFBool check=OFTrue)
set CompensatorPixelSpacing (300a,00e9)
OFCondition printSCUdelete(DVPSPrintMessageHandler &printHandler)
Deletes all objects currently present in the print association.
the representation of one item of the Softcopy VOI LUT Sequence
Definition: dvpssv.h:39
Class representing a single item of the Source Image Sequence.
Definition: fgderimg.h:35
LogLevel getLogLevel() const
Returns the assigned LogLevel, if any, for this Logger.
Definition: logimpl.h:114
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFBool isEmpty()
check if sequence is empty
OFList< unsigned char * > blockList_
this member contains a list of memory blocks of size DcmRLEEncoder_BLOCKSIZE which already have been ...
Definition: dcrleenc.h:392
OFBool flushed_
true if the zlib object has reported Z_STREAM_END
Definition: dcostrmz.h:160
@ Elasticity
(110830,DCM,"Elasticity"), included from CID 7180
Definition: cid7469.h:180
const Item & getCurrentItem() const
get current item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
DCMTK_OFSTD_EXPORT const OFerror_category & OFgeneric_category()
Retrieves a reference to an OFerror_category object used for generic error codes.
virtual OFBool operator==(const OFDateTime &dateTime) const
comparison operator (equal).
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item class.
Definition: drtgmcs.h:37
double getRescaleSlope() const
get rescale slope value
Definition: dimomod.h:174
OFCondition generateAndInsertUID(const DcmTagKey &uidKey)
Inserts new Study, Series or SOP Instance UID.
Item class.
Definition: drtiws.h:36
Item & getItem(const size_t num)
get particular item in the sequence
Uint32 m_maxReceivePDULength
Maximum PDU size the SCP is able to receive.
Definition: scpcfg.h:356
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
OFCondition getSourceToBeamLimitingDeviceDistance(OFString &value, const signed long pos=0) const
get SourceToBeamLimitingDeviceDistance (300a,00ba)
Interface class for IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtiais.h:28
static void xyz2Lab(double &L, double &a, double &b, double X, double Y, double Z)
Convert CIELAB XYZ color representation to CIELab representation.
const char * getPhotometricInterpretation() const
get photometric interpretation (color model).
Definition: didocu.h:165
DcmCodeString TableTopPitchRotationDirection
TableTopPitchRotationDirection (300a,0142) vr=CS, vm=1, type=2C.
Definition: drticpds.h:878
OFCondition getNumberOfBlockSlabItems(Sint32 &value, const unsigned long pos=0) const
get NumberOfBlockSlabItems (300a,0440)
const DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence() const
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtionpl.h:1277
static OFCondition getAndCheckElementFromDataset(DcmItem &dataset, DcmElement &delem, const IODRule *rule)
Get element from dataset and check it for correct value multiplicity and type.
static void convertValue(const T3_ input, Sint16 &output)
helper routine: convert to signed 16 bit value
Definition: dicrvfit.h:229
virtual ~FGRealWorldValueMapping()
Destructor, frees memory.
FGRealWorldValueMapping()
Constructor, creates empty functional group.
OFListIterator(Item *) CurrentItem
currently selected item
OFBool initialized() const
checks whether creation of the object was successful.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setFluenceDataScale(const OFString &value, const OFBool check=OFTrue)
set FluenceDataScale (3002,0042)
OFCondition getReferencedLateralSpreadingDeviceNumber(OFString &value, const signed long pos=0) const
get ReferencedLateralSpreadingDeviceNumber (300c,0102)
virtual OFCondition putSint16Array(const Sint16 *vals, const unsigned long num)
replace the element value by a copy of the given Sint16 array (which is possibly multi-valued).
virtual ~Item()
destructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getUID(OFString &value, const signed long pos=0) const
get UID (0040,a124)
DRTOverrideSequence & operator=(const DRTOverrideSequence ©)
assigment operator
DcmTime ReviewTime
ReviewTime (300e,0005) vr=TM, vm=1, type=2C.
Definition: drtimage.h:5391
int readConfigFile(const char *filename)
read the given device characteristics file
OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
DcmCodeString SourceMovementType
SourceMovementType (300a,0288) vr=CS, vm=1, type=1.
Definition: drtchs.h:677
DiFlipTemplate(DiPixel *pixel, const Uint16 columns, const Uint16 rows, const Uint32 frames, const int horz, const int vert)
constructor.
Definition: diflipt.h:56
const DSRImageFrameList & getFrameList() const
get read-only access to list of referenced frame numbers
Definition: dsrimgvl.h:370
OFCondition setReferencedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceNumber (300c,0051)
virtual OFCondition check() const
Check whether data in functional group is valid.
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getClinicalTrialSubjectReadingID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectReadingID (0012,0042)
virtual DcmTransportLayerStatus addCipherSuite(const OFString &suite)
adds a ciphersuite to the list of ciphersuites for TLS negotiation.
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
static OFCondition getAndCheckStringValueFromDataset(DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue, const OFString &vm, const OFString &type, const char *moduleName=NULL)
get string value from dataset and check it for correct value multiplicity and type.
E_ContinuityOfContent ContinuityOfContent
continuity of content flag (associated DICOM VR=CS, mandatory)
Definition: dsrcontn.h:215
DRTBeamLimitingDevicePositionSequence & operator=(const DRTBeamLimitingDevicePositionSequence ©)
assigment operator
const char * lastError() const
returns an error string containing a textual description of the result of the last call to verifyCert...
OFBool isEmpty()
check if sequence is empty
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DRTBeamLimitingDeviceSequenceInRTBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
static RecognizableVisibleFeatures str2Rvf(const OFString &rvf)
Convert OFString version of Recognizable Visual Features attribute value to enum value.
@ SlideMicroscopy
(SM,DCM,"Slide Microscopy")
Definition: cid29.h:118
void clear()
clear all internal member variables
virtual ~DJEncoderExtended()
destructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrsos.h:363
OFCondition setTotalCompensatorTrayWaterEquivalentThickness(const Float32 value, const unsigned long pos=0)
set TotalCompensatorTrayWaterEquivalentThickness (300a,02e3)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition getInstanceCoercionDateTime(OFString &value, const signed long pos=0) const
get InstanceCoercionDateTime (0008,0015)
DcmVR vr
VR of this attribute tag.
Definition: dctag.h:207
DRTRTROIIdentificationCodeSequence(const DRTRTROIIdentificationCodeSequence ©)
copy constructor
virtual OFCondition setPatientIdentityRemoved(const OFString &value, const OFBool check=OFTrue)
set PatientIdentityRemoved (0012,0062)
DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence()
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtiontr.h:1215
virtual OFBool isGeneralReferenceModulePresent(const OFBool complete=OFFalse)
check whether GeneralReferenceModule (U) is present.
DRTIonBeamSequence & getIonBeamSequence()
get IonBeamSequence (300a,03a2)
Definition: drtionpl.h:1439
void rewindPayload()
rewinds the read offset to the beginning of the message payload
static OFCondition getOFTimeFromString(const char *dicomTime, const size_t dicomTimeSize, OFTime &timeValue)
get the specified DICOM time value in OFTime format.
DcmHashDictIterator normalBegin()
returns an iterator to the start of the normal (non-repeating) dictionary
Definition: dcdict.h:144
DcmSequenceOfItems & operator=(const DcmSequenceOfItems &obj)
copy assignment operator
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
const DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence() const
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtstrct.h:1332
DVPSIPCMessage(const DVPSIPCMessage ©)
copy constructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setLongitudinalTemporalInformationModified(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalInformationModified (0028,0303)
size_t max_size() const
returns the maximum size of a string which could possibly by allocated.
Definition: ofstring.h:451
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
static void initialize()
initialize this context group explicitly.
const Item & operator[](const size_t num) const
get particular item in the sequence
static void convertValue(const T3_ input, double &output)
helper routine: convert to floating point value (double precision)
Definition: dicrvfit.h:241
OFBool JP2KSupport
flag indicating whether JPEG 2000 decompression is supported
Definition: dcddirif.h:1605
int rdlock()
lock the lock for reading
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence()
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtstrct.h:1362
Uint32 getTotalNumberOfFrames() const
get total number of frames
Definition: diimage.h:126
void clear()
clear all internal member variables
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getFrameDelay(Float64 &value, const unsigned long pos=0) const
get FrameDelay (0018,1066)
virtual OFCondition setStudyTime(const OFString &value, const OFBool checkValue=OFTrue)
set study time
IODPatientModule m_Patient
Patient Module.
Definition: iodcommn.h:243
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
Item EmptyItem
empty default item
Definition: drtbrdrs.h:329
virtual OFCondition setInstanceNumber(const OFString &value, const OFBool check=OFTrue)
set InstanceNumber (0020,0013)
@ EWT_window_from_file
use the n-th VOI window from the image file
Definition: diutils.h:330
OFCondition getLUTLabel(OFString &value, const signed long pos=0) const
get LUTLabel (0040,9210)
virtual OFCondition setValueType(const ValueType value, const OFBool checkValue=OFTrue)
Set ValueType.
virtual OFBool isFrameExtractionModulePresent(const OFBool complete=OFFalse)
check whether FrameExtractionModule (C) is present.
const char * getSeriesProtocolName()
returns the Series Protocol Name of the currently selected series.
Class representing a Track Set statistic, i.e.
Definition: trcstatistic.h:235
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
OFCondition getPatientSupportRotationDirection(OFString &value, const signed long pos=0) const
get PatientSupportRotationDirection (300a,0123)
size_t size() const
gets the number of displayed area selections in this list.
Definition: dvpsdal.h:84
~OFunique_ptr()
If get() == OFnullptr there are no effects – otherwise, the owned object is destroyed.
Definition: ofmem.h:372
OFCondition getDoubleFloatRealWorldValueLastValueMapped(Float64 &value, const unsigned long pos=0) const
get DoubleFloatRealWorldValueLastValueMapped (0040,9213)
Item & operator=(const Item ©)
assigment operator
virtual OFCondition readTractographyReferencedInstanceSequence(DcmItem &source)
Initialize references by reading the Referenced Instance Sequence as used in the Tractography Results...
size_t getNumberOfTracks()
Returns number of Tracks in Track Set.
OFCondition setRangeShifterDescription(const OFString &value, const OFBool check=OFTrue)
set RangeShifterDescription (300a,0322)
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
virtual OFCondition setSeriesInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SeriesInstanceUID (0020,000e)
@ EFG_IRRADIATIONEVENTIDENT
Irradiation Event Identification.
Definition: fgtypes.h:133
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmUniqueIdentifier seriesInstanceUID
Module=General_Series, VR=UI, VM=1, Type 1.
Definition: dvpssp.h:981
IODRules m_Rules
Rules for data elements within this IOD.
Definition: segment.h:335
void clear()
clear all internal member variables
DcmStorageSCP()
default constructor
virtual ~DSRReferencedTimeOffsetList()
destructor
OFCondition setSOPClassUID(const OFString &sopClassUID, const OFBool check=OFTrue)
set SOP class UID value.
DRTPatientSetupSequence(const DRTPatientSetupSequence ©)
copy constructor
Item & getItem(const size_t num)
get particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
Item(const Item ©)
copy constructor
OFCondition exchangeGraphicLayers(size_t idx1, size_t idx2)
exchanges the layer order of the two graphic layers with the given indices.
virtual void setWriteSeedFile(const OFString &seedFile)
Set file to be use to store the updated random seed to store the updated random seed from the Pseudo ...
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
DRTStudiesContainingOtherReferencedInstancesSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool isEmpty()
check if sequence is empty
const DRTReferencedSpatialRegistrationSequence & getReferencedSpatialRegistrationSequence() const
get ReferencedSpatialRegistrationSequence (0070,0404)
Definition: drtdose.h:2518
DcmSignedLong & operator=(const DcmSignedLong &obj)
assignment operator
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtbas.h:353
virtual OFCondition setGridFrameOffsetVector(const OFString &value, const OFBool check=OFTrue)
set GridFrameOffsetVector (3004,000c)
OFBool activateInverseLUT(DicomImage *image)
activates the inverse LUT of the current presentation LUT (if any) in the given DicomImage.
DcmSCPPool()
Default construct a DcmSCPPool object.
Definition: scppool.h:280
void * getData(const unsigned long frame, const Uint16 xmin, const Uint16 ymin, const Uint16 xmax, const Uint16 ymax, const int bits, const Uint16 fore, const Uint16 back)
get overlay plane data as an array of 1/8/16 bit values.
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setSeriesInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SeriesInstanceUID (0020,000e)
DcmRLEDecoderRegistration(const DcmRLEDecoderRegistration &)
private undefined copy constructor
virtual OFCondition saveFile(const OFFilename &fileName, const E_TransferSyntax writeXfer=EXS_Unknown, const E_EncodingType encodingType=EET_UndefinedLength, const E_GrpLenEncoding groupLength=EGL_recalcGL, const E_PaddingEncoding padEncoding=EPD_noChange, const Uint32 padLength=0, const Uint32 subPadLength=0)
save object to a DICOM file.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item EmptyItem
empty default item
Definition: drtrmss7.h:338
virtual OFCondition setClinicalTrialSubjectID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectID (0012,0040)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setPatientSize(const OFString &value, const OFBool check=OFTrue)
set PatientSize (0010,1020)
static OFBool rvfValid(const RecognizableVisibleFeatures rvf)
Check whether Recognizable Visual Features enum value is valid.
const Item & getItem(const size_t num) const
get particular item in the sequence
Interface class for DeidentificationMethodCodeSequence (0012,0064)
Definition: drtdimcs.h:29
E_FGType
Functional group types.
Definition: fgtypes.h:109
OFunique_ptr< helpers::LockFile > lockFile
Optional system wide synchronization lock.
Definition: appender.h:243
OFCondition getSourceOfPreviousValues(OFString &value, const signed long pos=0) const
get SourceOfPreviousValues (0400,0564)
OFCondition setTableTopLateralPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopLateralPosition (300a,012a)
virtual OFCondition getROIArea(OFString &value, const signed long pos=0) const
get ROIArea (60xx,1301)
DVPSGraphicLayer_PList()
default constructor
E_DatasetStorageMode
modes specifying whether and how to store the received datasets
Definition: dstorscp.h:87
virtual OFBool isApprovalModulePresent(const OFBool complete=OFFalse)
check whether ApprovalModule (U) is present.
virtual OFCondition setQueryRetrieveView(const OFString &value, const OFBool check=OFTrue)
set QueryRetrieveView (0008,0053)
static OFBool isSOFMarker(const E_JPGMARKER &jpegEncoding)
Returns true if marker is one of the SOF0 to SOF15 markers.
This is the internal object that is stored on the NDC stack.
Definition: ndc.h:286
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbcps.h:410
DcmTime AcquisitionTime
AcquisitionTime (0008,0032) vr=TM, vm=1, type=3.
Definition: drtimage.h:5084
virtual OFString getName() const
Get name of module ("DPMParametricMapImageModule")
Item class.
Definition: drtris.h:37
Item & operator[](const size_t num)
get particular item in the sequence
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtstrct.h:2980
DcmDate PatientBirthDate
PatientBirthDate (0010,0030) vr=DA, vm=1, type=2.
Definition: drtimage.h:4789
virtual DiOverlay * getOverlayPtr(const unsigned int)
get pointer to the object managing the overlay planes
Definition: diimage.h:324
DcmUnsignedShort m_RecommendedDisplayGrayscaleValue
Recommended Display Grayscale Value (US, 1, 3)
Definition: segment.h:323
DcmDictEntry & operator=(const DcmDictEntry &)
private undefined copy assignment operator
const DRTReferencedCalculatedDoseReferenceSequence & getReferencedCalculatedDoseReferenceSequence() const
get ReferencedCalculatedDoseReferenceSequence (3008,0090)
Definition: drttsibs.h:676
Item EmptyItem
empty default item
Definition: drtrshs.h:370
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtrics.h:364
DRTInstitutionCodeSequence InstitutionCodeSequence
InstitutionCodeSequence (0008,0082) vr=SQ, vm=1, type=1C.
Definition: drtprsis.h:202
virtual ~DRTDeidentificationMethodCodeSequence()
destructor
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DiObjectCounter()
constructor.
Definition: diobjcou.h:88
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtiis.h:619
virtual OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
DcmLongString AuthorizationEquipmentCertificationNumber
AuthorizationEquipmentCertificationNumber (0100,0426) vr=LO, vm=1, type=3.
Definition: drtdose.h:4675
virtual OFBool attributeRequired(const DcmTagKey &key) const
checks whether an attribute with the given tag is required to be signed for the current security prof...
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getGeneticModificationsNomenclature(OFString &value, const signed long pos=0) const
get GeneticModificationsNomenclature (0010,0223)
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n", const OFString &charset="")
check whether given string value conforms to the VR "LO" (Long String) and to the specified VM.
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setPresentationLUTShape(DVPSPresentationLUTType shape)
sets the current Presentation LUT shape (overrides the image box settings).
static const size_t PF_shortenLongTagValues
shorten long tag values (e.g. long texts, pixel data)
Definition: dctypes.h:182
int post()
atomically increases the counter.
virtual ~DVPSOverlayCurveActivationLayer_PList()
destructor
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
virtual OFCondition getAdmittingDiagnosesDescription(OFString &value, const signed long pos=0) const
get AdmittingDiagnosesDescription (0008,1080)
Interface class for RTStructureSetIOD.
Definition: drtstrct.h:86
const Item & getCurrentItem() const
get current item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition setSOPAuthorizationDateTime(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationDateTime (0100,0420)
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
DcmIntegerString ReferencedROINumber
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=1.
Definition: drtrdros.h:162
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
virtual ~Item()
destructor
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtics.h:343
OFCondition getCompensatorDescription(OFString &value, const signed long pos=0) const
get CompensatorDescription (300a,02eb)
this class implements a container for a fragment of compressed pixel data.
Definition: dcpxitem.h:47
@ ApexOfLung
(86598002,SCT,"Apex of Lung")
Definition: cid4031.h:54
DRTGeneralAccessorySequence & operator=(const DRTGeneralAccessorySequence ©)
assigment operator
void addStringToPayload(const char *str)
adds a character string into the message payload.
DcmDictEntryListIterator insert(DcmDictEntryListIterator position, DcmDictEntry *entry)
Insert a new element in the list.
DRTGeneralAccessorySequence(const DRTGeneralAccessorySequence ©)
copy constructor
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtdimcs.h:355
virtual ~Item()
destructor
DRTSourceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getSourceIsotopeHalfLife(OFString &value, const signed long pos=0) const
get SourceIsotopeHalfLife (300a,0228)
OFCondition gotoItem(const OFString &studyUID, const OFString &seriesUID, const OFString &instanceUID)
select the specified item as the current one
OFCondition setNominalBeamEnergy(const OFString &value, const OFBool check=OFTrue)
set NominalBeamEnergy (300a,0114)
virtual OFCondition prepend(DcmItem *item)
insert the given item at the start of the item list maintained by this sequence.
virtual ~SiDSA()
destructor
DcmDateTime SOPAuthorizationDateTime
SOPAuthorizationDateTime (0100,0420) vr=DT, vm=1, type=3.
Definition: drtimage.h:5431
DcmCodeString filmOrientation
Module=Film_Box_Module, VR=CS, VM=1, Type 2.
Definition: dvpssp.h:1012
size_t size() const
Returns the number of entries in this map.
Definition: property.h:84
SiCertificate * getCurrentCertificate()
returns the certificate of the current signature if present.
Item & operator[](const size_t num)
get particular item in the sequence
OFBool getTLSEnabled() const
Returns whether SCU is configured to create a TLS connection with the SCP.
@ DCMSCP_INTERNAL_ERROR
Refusing association because of internal error.
Definition: scp.h:95
virtual OFCondition getAcquisitionDate(OFString &value, const signed long pos=0)
Get Acquisition Date.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
void rdunlock()
unlocks the read lock which must have been acquired previously.
a class representing the DICOM value representations 'Other Byte' (OB) and 'Other Word' (OW)
Definition: dcvrobow.h:40
@ StudentsTTest
(113068,DCM,"Student's T-test"), included from CID 7180
Definition: cid7469.h:188
OFCondition addTrustedCertificateFile(const char *fileName, int fileType)
loads a certificate from a file and adds it to the pool of trusted certificates.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getCurrentTreatmentStatus(OFString &value, const signed long pos=0) const
get CurrentTreatmentStatus (3008,0200)
virtual ~DVPSSoftcopyVOI_PList()
destructor
virtual OFCondition encode(Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint8 *image_buffer, Uint8 *&to, Uint32 &length)=0
single frame compression routine for 8-bit raw pixel data.
@ ParanasalSinus
(2095001,SCT,"Paranasal sinus")
Definition: cid4031.h:180
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
virtual OFCondition setSeriesInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SeriesInstanceUID (0020,000e)
OFCondition setSmoothingType(const char *value)
sets the (optional) smoothing type.
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getPerformedProcedureStepStartTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartTime (0040,0245)
DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence()
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtiontr.h:1575
DRTReferencedPerformedProcedureStepSequence ReferencedPerformedProcedureStepSequence
ReferencedPerformedProcedureStepSequence (0008,1111) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4998
DcmLongString PatientState
PatientState (0038,0500) vr=LO, vm=1, type=3.
Definition: drtiontr.h:2972
virtual OFCondition getRadiationMachineSSD(OFString &value, const signed long pos=0) const
get RadiationMachineSSD (3002,0024)
virtual ~DiRegisterBase()
destructor
Definition: diregbas.h:61
virtual OFCondition getDecompressedColorModel(DcmItem *dataset, OFString &decompressedColorModel)
determine color model of the decompressed image
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool isEmpty()
check if sequence is empty
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtmris.h:327
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
pure abstract event handler class for N-EVENT-REPORT.
Definition: dvpspr.h:34
OFCondition getAttachedContours(Sint32 &value, const unsigned long pos=0) const
get AttachedContours (3006,0049)
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
virtual OFCondition setStrainAdditionalInformation(const OFString &value, const OFBool check=OFTrue)
set StrainAdditionalInformation (0010,0218)
DcmLongString ApplicatorDescription
ApplicatorDescription (300a,010a) vr=LO, vm=1, type=3.
Definition: drtas5.h:189
virtual OFCondition setTrackValues(const size_t trackNumber, const Float32 *measurementValues, const unsigned long &numValues)
Set measurement values for a single track.
DRTRTReferencedStudySequence(const DRTRTReferencedStudySequence ©)
copy constructor
OFCondition setReferencedSourceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedSourceNumber (300c,000e)
OFCondition setApplicatorID(const OFString &value, const OFBool check=OFTrue)
set ApplicatorID (300a,0108)
virtual OFCondition getContentQualification(OFString &value, const signed long pos=0) const
get ContentQualification (0018,9004)
const DcmTagKey SequenceTag
DICOM tag specifying the attribute (sequence) of the reference list.
Definition: dsrsoprf.h:621
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtccs.h:339
DcmTime PerformedProcedureStepStartTime
PerformedProcedureStepStartTime (0040,0245) vr=TM, vm=1, type=3.
Definition: drtplan.h:3190
DcmDictRangeRestriction elementRangeRestriction
restriction (even, odd, unrestricted) for element range
Definition: dcdicent.h:394
virtual OFCondition setInstanceCreationTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationTime (0008,0013)
const DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence() const
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtionpl.h:1265
virtual void transferInit()
initialize the transfer state of this object.
OFCondition setParameterPointer(const OFString &value, const OFBool check=OFTrue)
set ParameterPointer (3008,0065)
a class used for DICOMDIR byte offsets
Definition: dcvrulup.h:37
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFBool isClinicalTrialSeriesModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSeriesModule (U) is present.
virtual OFCondition setImageTriggerDelay(const OFString &value, const OFBool check=OFTrue)
set ImageTriggerDelay (0018,1067)
int maxAssociations_
maximum number of parallel associations accepted
Definition: dcmqropt.h:85
void finishRow()
dummy method needed for API compatibility with DcmQuantFloydSteinberg
Definition: diqtid.h:80
OFCondition write(DcmItem &item)
write elements to sequence item
Item EmptyItem
empty default item
Definition: drtcgis.h:347
@ SodiumIodide_I124
(422980002,SCT,"Sodium iodide I^124^")
Definition: cid4021.h:272
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
virtual ~Item()
destructor
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_NoSharedFG
No such shared functional group.
DcmOtherDouble & operator=(const DcmOtherDouble &obj)
assignment operator
void parseCommandLine()
Parses commandline options into corresponding file- and job lists and enables debug/verbose mode.
Internal structure defining the instance list items.
Definition: dsrsoprf.h:330
virtual ~DVPSCurve_PList()
destructor
virtual OFCondition setRecommendedDisplayCIELabValues(const Uint16 *colors, const size_t numColors)
Set Recommended Display CIELab Value (List) Depending on how many colors are provided,...
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const Item & getItem(const size_t num) const
get particular item in the sequence
int Valid
status code, indicating whether LUT is valid
Definition: dibaslut.h:290
OFVector< OFshared_ptr< DcmDataset > > matchingRecords
matching records
Definition: wlfsim.h:68
DRTBeamLimitingDeviceSequenceInRTIonBeamsModule & operator=(const DRTBeamLimitingDeviceSequenceInRTIonBeamsModule ©)
assigment operator
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
DcmUniqueIdentifier OriginalSpecializedSOPClassUID
OriginalSpecializedSOPClassUID (0008,001b) vr=UI, vm=1, type=3.
Definition: drttreat.h:2983
DSRPNameTreeNode(const E_RelationshipType relationshipType, const OFString &personNameValue, const OFBool check=OFTrue)
constructor
virtual OFCondition getSOPAuthorizationDateTime(OFString &value, const signed long pos=0) const
get SOPAuthorizationDateTime (0100,0420)
const char * getCurrentVOIDescription()
returns a description string for a currently active VOI transform.
virtual OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
Get Series Instance UID.
OFMap< DcmFGTypes::E_FGType, FGBase * >::const_iterator const_iterator
Const iterator type for iterating functional groups.
Definition: fg.h:48
void clearNodeCursorStack()
clear the internal node cursor stack
Definition: dsrtncsr.h:812
void setMark(const OFBool flag)
mark/unmark item.
DRTConceptCodeSequence & getConceptCodeSequence()
get ConceptCodeSequence (0040,a168)
Definition: drtqds.h:200
unsigned long getValue(const DcmTagKey &tag, Sint32 &returnVal, const unsigned long pos=0, DcmItem *item=NULL) const
get value of given tag (Sint32)
virtual OFCondition read(DcmItem &item)
Read functional group from item, must contain the Plane Position Sequence.
virtual DSRSOPInstanceReferenceList & getPredecessorDocuments()
get list of predecessor documents.
Item & operator[](const size_t num)
get particular item in the sequence
const DRTReferencedSOPSequence & getReferencedSOPSequence() const
get ReferencedSOPSequence (0008,1199)
Definition: drtrpphs.h:156
OFCondition streamedLength(unsigned long &length) const
Computes total length of item if streamed into buffer.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setPatientBirthDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDateInAlternativeCalendar (0010,0033)
const DRTMACParametersSequence & getMACParametersSequence() const
get MACParametersSequence (4ffe,0001)
Definition: drtstrct.h:1392
DcmDate LastMenstrualDate
LastMenstrualDate (0010,21d0) vr=DA, vm=1, type=3.
Definition: drtiontr.h:2970
virtual unsigned long getVM()
get value multiplicity
int prediction
prediction value
Definition: djrplol.h:84
IODRule(const IODRule &rhs)
Private undefined copy constructor.
virtual ~DiYBRPart422PixelTemplate()
destructor
Definition: diyp2pxt.h:72
OFString CodingSchemeName
Coding Scheme Name (VR=ST, type 3)
Definition: dsrcsidl.h:327
Item class.
Definition: drtrtrs4.h:36
DcmDecimalString MeasuredAPDimension
MeasuredAPDimension (0010,1023) vr=DS, vm=1, type=3.
Definition: drttreat.h:2790
virtual OFString getName() const
Get name of this module.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_InvalidVR
Invalid VR.
OFCondition setAnnotationText(const OFString &annotationText) const
set annotation text.
DRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModule RangeShifterSettingsSequence
RangeShifterSettingsSequence (300a,0360) vr=SQ, vm=1, type=1C.
Definition: drticpds.h:850
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getApplicationSetupName(OFString &value, const signed long pos=0) const
get ApplicationSetupName (300a,0236)
DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence()
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtstrct.h:1158
DcmSCPConfig(const DcmSCPConfig &old)
copy constructor, performs deep copy.
static FGFactory & instance()
Return the single instance of the factory.
void setInternalDebugging(bool enabled)
Allows to enable/disable log4cplus internal logging.
OFCondition write(DcmItem &item)
write elements to sequence item
static const OFBool is_modulo
OFTrue for all arithmetic types T that handle overflows with modulo arithmetic, that is,...
Definition: oflimits.h:450
virtual ~SiBaseRSAProfile()
destructor
Definition: sibrsapr.h:43
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
Item(const Item ©)
copy constructor
OFCondition setCompensatorTransmissionData(const OFString &value, const OFBool check=OFTrue)
set CompensatorTransmissionData (300a,00eb)
DcmLongString SoftwareVersions
SoftwareVersions (0018,1020) vr=LO, vm=1-n, type=3.
Definition: drtplan.h:3235
int createSortedTable(const Uint16 *ddl_tab, const double *val_tab)
create a sorted (by DDL) table from the given DDL and luminance/OD tables
DSRIODConstraintChecker * ConstraintChecker
check relationship content constraints of the associated IOD
Definition: dsrdocst.h:807
virtual ~DRTReferencedSOPSequence()
destructor
const DRTPatientBreedCodeSequence & getPatientBreedCodeSequence() const
get PatientBreedCodeSequence (0010,2293)
Definition: drtplan.h:1610
int showAllPlanes()
make all planes visible
@ Scapula
(79601000,SCT,"Scapula")
Definition: cid4031.h:202
virtual size_t gotoNextNamedNode(const DSRCodedEntryValue &conceptName, const OFBool searchIntoSub=OFTrue)
set internal cursor to the next named node.
Uint16 getPort() const
Returns TCP/IP port number SCP listens for new connection requests.
OFCondition setPrimaryDosimeterUnit(const OFString &value, const OFBool check=OFTrue)
set PrimaryDosimeterUnit (300a,00b3)
DRTReferencedPatientSequence ReferencedPatientSequence
ReferencedPatientSequence (0008,1120) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2749
virtual OFCondition getTableTopLateralPosition(Float64 &value, const unsigned long pos=0) const
get TableTopLateralPosition (300a,012a)
DcmDecimalString SliceThickness
SliceThickness (0018,0050) vr=DS, vm=1, type=2.
Definition: drtdose.h:4419
virtual OFCondition setPixelPaddingValue(const Uint16 value, const unsigned long pos=0)
set PixelPaddingValue (0028,0120)
virtual OFCondition setAuthorizationEquipmentCertificationNumber(const OFString &value, const OFBool check=OFTrue)
set AuthorizationEquipmentCertificationNumber (0100,0426)
SeriesStruct(const OFString &seriesUID)
constructor
const OFString & getMappingResource() const
get mapping resource
Definition: dsrctxgr.h:84
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition setNumberOfBlocks(const OFString &value, const OFBool check=OFTrue)
set NumberOfBlocks (300a,00f0)
OFList< DVPSCurve * > list_
the list maintained by this object
Definition: dvpscul.h:109
void show(const double fore, const double thresh, const EM_Overlay mode)
make overlay plane visible and set parameters
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence()
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtdose.h:2416
@ EJLSBD_force
force bit depth to a certain value, i.e.
Definition: djlsutil.h:107
const OFString & getMappingResource() const
get mapping resource.
Definition: dsrcodvl.h:451
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition setPatientIdentityRemoved(const OFString &value, const OFBool check=OFTrue)
set PatientIdentityRemoved (0012,0062)
void cleanup(const char *filmBox, DVPSImageBoxContent_PList &imageBoxes)
removes all presentation LUT entries that are not referenced from the film box or image box level.
virtual OFCondition getLossyComprInfo(OFBool &srcEncodingLossy, OFString &) const
After reading of pixel data, this function can be used for getting information about lossy compressio...
Definition: i2dbmps.h:90
const char * c_str() const
Retrieve a native character pointer.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
static OFvariant< OFCondition, DPMParametricMapIOD * > loadFile(const OFString &filename)
Load Parametric Map object from file.
IODGeneralSeriesModule m_Series
General Series Module.
Definition: iodcommn.h:255
Item & operator=(const Item ©)
assigment operator
DcmDate InstanceCreationDate
InstanceCreationDate (0008,0012) vr=DA, vm=1, type=3.
Definition: drtdose.h:4644
DB_SerializedTagKey XTag
attribute tag
Definition: dcmqridx.h:161
OFBool convertToSC
flag indicating whether image should be converted to Secondary Capture upon compression
Definition: djcparam.h:364
OFCondition addItem(Item *&item)
add new item to the end of this sequence
FGFactory()
Private undefined constructor (singleton implementation)
const DRTRangeShifterSettingsSequenceInRTIonBeamsModule & getRangeShifterSettingsSequence() const
get RangeShifterSettingsSequence (300a,0360)
Definition: drticps.h:507
DRTReferencedSeriesSequence & getReferencedSeriesSequence()
get ReferencedSeriesSequence (0008,1115)
Definition: drtiontr.h:1695
OFBool isEmpty()
check if item is empty
double AbsMinimum
absolute minimum pixel value
Definition: dimomod.h:261
DcmCertificateVerification opt_certVerification
indicates whether we should verify the remote peer's certificate
Definition: tlsopt.h:179
DSRTreeNode * Prev
pointer to previous tree node (if any)
Definition: dsrtree.h:160
DcmLongString ImagingDeviceSpecificAcquisitionParameters
ImagingDeviceSpecificAcquisitionParameters (300a,00cc) vr=LO, vm=1-n, type=3.
Definition: drtpvis.h:312
DcmDecimalString PatientSupportAngleTolerance
PatientSupportAngleTolerance (300a,004c) vr=DS, vm=1, type=3.
Definition: drtitts.h:418
OFCondition setBlockMountingPosition(const OFString &value, const OFBool check=OFTrue)
set BlockMountingPosition (300a,00fb)
DcmTLSSCU & operator=(const DcmTLSSCU &src)
Private undefined operator=.
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmCodeString AlternateBeamDoseType
AlternateBeamDoseType (300a,0092) vr=CS, vm=1, type=1C.
Definition: drtrbs8.h:271
void clear()
clear all internal member variables
virtual size_t iterate(const OFBool searchIntoSub=OFTrue)
iterate over all nodes (starting from current position)
Item & getItem(const size_t num)
get particular item in the sequence
void setStudyFrom(const OFString &file)
Set file from which patient/study/series data should be imported from.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
TID1600_ImageLibrary & getImageLibrary() const
get image library of this report as defined by TID 1600 (Image Library).
Definition: tid1500.h:194
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setSourceApplicatorManufacturer(const OFString &value, const OFBool check=OFTrue)
set SourceApplicatorManufacturer (300a,0298)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTFractionGroupSequence & getFractionGroupSequence()
get FractionGroupSequence (300a,0070)
Definition: drtionpl.h:1391
OFMap< OFString, OFCharacterEncoding > T_EncodingConvertersMap
type definition of a map storing the identifier (key) of a character set and the associated character...
Definition: dcspchrs.h:284
static const unsigned int ftoa_zeropad
pad with zeroes instead of blanks
Definition: ofstd.h:853
virtual OFCondition setPatientAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientAlternativeCalendar (0010,0035)
Class to handle hardcopy and softcopy device characteristics file and manage display LUTs (for calibr...
Definition: didispfn.h:56
static OFCondition loadFileFormat(const char *filename, DcmFileFormat *&fileformat)
helper function which loads a DICOM file and returns a pointer to a DcmFileFormat object if loading s...
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
Get Modality.
DcmHashDict()
default constructor
Definition: dchashdi.h:197
Item & operator=(const Item ©)
assigment operator
OFCondition read(DcmItem &item)
read elements from sequence item
unsigned int getBits() const
get number of bits describing the width of output data
Definition: dimomod.h:128
bool getAdditivity() const
Get the additivity flag for this Logger instance.
OFCondition write(DcmItem &dataset) const
write list of items to the referenced instance sequence.
virtual OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read image reference from XML document
const char * getPatientID()
returns the patient ID of the presentation state
virtual OFCondition insertAtCurrentPos(DcmItem *item, OFBool before=OFFalse)
insert new item a current position.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
OFCondition setReferencedROINumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedROINumber (3006,0084)
Item(const Item ©)
copy constructor
const void * getData() const
get pointer to internal array of pixel data.
Definition: dicopxt.h:154
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setMedicalAlerts(const OFString &value, const OFBool check=OFTrue)
set MedicalAlerts (0010,2000)
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getMedicalAlerts(OFString &value, const signed long pos=0) const
get MedicalAlerts (0010,2000)
Item class.
Definition: drtos.h:37
DcmFindSCUCallback()
default constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtbas.h:357
a class representing the DICOM value representation 'Code String' (CS)
Definition: dcvrcs.h:35
WlmDataSource * dataSource
data source connection object
Definition: wlmactmg.h:42
OFCondition setRTROIInterpretedType(const OFString &value, const OFBool check=OFTrue)
set RTROIInterpretedType (3006,00a4)
OFCondition getTargetPrescriptionDose(OFString &value, const signed long pos=0) const
get TargetPrescriptionDose (300a,0026)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTFrameExtractionSequence FrameExtractionSequence
FrameExtractionSequence (0008,1164) vr=SQ, vm=1, type=1.
Definition: drtdose.h:4707
OFCondition selectEncoding(const OFString &fromEncoding, const OFString &toEncoding)
select source and destination character encoding for subsequent conversion(s).
OFCondition gotoFirstItem()
goto first item in the sequence
Item EmptyItem
empty default item
Definition: drtcsis.h:412
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFshared_ptr< IODRules > m_Rules
Rules describing the attributes governed by this class.
Definition: modbase.h:203
CodeWithModifiers & operator=(const CodeWithModifiers &rhs)
Assignment operator, performs deep copy.
@ Thumb
(76505004,SCT,"Thumb")
Definition: cid4031.h:234
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtfgss.h:378
DRTReferencedDoseSequence & getReferencedDoseSequence()
get ReferencedDoseSequence (300c,0080)
Definition: drtbs.h:498
bool getAdditivity() const
Get the additivity flag for this Logger instance.
OFBool isEmpty()
check if item is empty
OFCondition handleNCreate(T_DIMSE_Message &rq, T_ASC_PresentationContextID presID)
handles any incoming N-CREATE-RQ message and sends back N-CREATE-RSP.
DcmDirectoryRecord * buildValueMapRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update value map record and copy required values from dataset
virtual OFString getName() const
Get name of component.
static OFBool containsTag(DcmAttributeTag &tagList, const DcmTagKey &key)
checks if the given tag key is contained in the given list.
void clear()
clear all internal member variables
Item(const Item ©)
copy constructor
OFCondition getTargetMaximumDose(Float64 &value, const unsigned long pos=0) const
get TargetMaximumDose (300a,0027)
OFCondition read(DcmItem &dset, Uint8 group)
reads a curve from a DICOM dataset.
OFCondition addModifier(const DSRCodedEntryValue &conceptName, const DSRCodedEntryValue &modifier, const OFBool check=OFTrue)
add a 'Modifier' content item (TID 1419 - Row 6) with its concept name and value
const Item & getCurrentItem() const
get current item in the sequence
const DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence() const
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtimage.h:2812
OFString & replace(size_t pos, size_t n, size_t rep, char s)
constructs a temporary string from the input and replaces the range [pos, n] in the current string wi...
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtois.h:388
OFCondition setPrivateDataElementName(const OFString &value, const OFBool check=OFTrue)
set PrivateDataElementName (0008,030c)
const DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence() const
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtionpl.h:1481
virtual OFCondition setOverlaySubtype(const OFString &value, const OFBool check=OFTrue)
set OverlaySubtype (60xx,0045)
OFCondition setTableTopVerticalPositionTolerance(const OFString &value, const OFBool check=OFTrue)
set TableTopVerticalPositionTolerance (300a,0051)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const DRTPurposeOfReferenceCodeSequence & getPurposeOfReferenceCodeSequence() const
get PurposeOfReferenceCodeSequence (0040,a170)
Definition: drtces.h:224
DcmDecimalString LeafPositionBoundaries
LeafPositionBoundaries (300a,00be) vr=DS, vm=3-n, type=2C.
Definition: drtblds5.h:214
~DcmTransferSyntaxMap()
destructor
@ RECIST11
(126081,DCM,"RECIST 1.1")
Definition: cid6147.h:48
IODGeneralEquipmentModule & getEquipment()
Get General Equipment Module.
void clear()
clear all internal member variables
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtsis.h:399
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
const DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence() const
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtplan.h:1682
DRTReferencedSetupImageSequence & getReferencedSetupImageSequence()
get ReferencedSetupImageSequence (300a,0401)
Definition: drtpss.h:219
const Item & getItem(const size_t num) const
get particular item in the sequence
Interface class for ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtrpis.h:30
virtual ~Item()
destructor
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
void overridePresentationLUTSettings(DcmUnsignedShort &newIllumination, DcmUnsignedShort &newReflectedAmbientLight, DcmUniqueIdentifier &newReferencedPLUT, DVPSPrintPresentationLUTAlignment newAlignment)
replaces the settings for illumination, reflected ambient light and referenced Presentation LUT in th...
int writeRawPPM(FILE *stream, const unsigned long frame, const int bits)
write pixel data to raw PPM file
DRTReferencedSOPSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
unsigned long rowsPerStrip
TIFF rows per strip.
Definition: dipitiff.h:148
virtual OFCondition getMeasuredAPDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredAPDimension (0010,1023)
virtual OFCondition getBitsAllocated(Uint16 &value, const signed long pos=0)
Get Bits Allocated.
virtual ~OFTime()
destructor
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
virtual void dropAndDestroyAssociation(T_ASC_Association *assoc)
Drops association and clears internal structures to free memory.
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
void clear()
clear all internal member variables
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item & operator[](const size_t num)
get particular item in the sequence
@ EJLSPC_colorByPlane
always create color-by-plane planar configuration
Definition: djlsutil.h:87
The class IODModule is an IODComponent without parent component since a module does always belong to ...
Definition: modbase.h:219
log4cplus::spi::FilterPtr getFilter() const
Get the filter chain on this Appender.
Definition: appender.h:186
Class for SOP instance reference lists.
Definition: dsrsoprf.h:42
virtual OFCondition setPerformedProcedureStepStartDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartDate (0040,0244)
void printSCPBasicFilmSessionAction(DVInterface &cfg, const char *cfgname, T_DIMSE_Message &rsp, DVPSPresentationLUT_PList &globalPresentationLUTList)
performs a Print SCP Basic Film Session N-ACTION operation.
type definitions and classes for TLS ciphersuites
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
DcmDate PerformedProcedureStepEndDate
PerformedProcedureStepEndDate (0040,0250) vr=DA, vm=1, type=3.
Definition: drttreat.h:2868
DcmUniqueIdentifier SeriesInstanceUID
SeriesInstanceUID (0020,000e) vr=UI, vm=1, type=1.
Definition: drttreat.h:2842
void setMetainfoType(DiPNGMetainfo minfo)
set metainfo type for PNG creation
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches the filter criterion
OFCondition getRTImageOrientation(OFVector< Float64 > &value) const
get RTImageOrientation (3002,0010)
void callbackHandler(T_DIMSE_StoreProgress *progress, T_DIMSE_C_StoreRQ *req, char *imageFileName, DcmDataset **imageDataSet, T_DIMSE_C_StoreRSP *rsp, DcmDataset **stDetail)
callback handler called by the DIMSE_storeProvider callback function.
virtual OFCondition getReferencedFrameNumber(OFString &value, const signed long pos=0) const
Get ReferencedFrameNumber.
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtcbars.h:368
virtual OFCondition setLastMenstrualDate(const OFString &value, const OFBool check=OFTrue)
set LastMenstrualDate (0010,21d0)
int ShortColumn
width of column for short option names
Definition: ofcmdln.h:1096
DRTAdmittingDiagnosesCodeSequence AdmittingDiagnosesCodeSequence
AdmittingDiagnosesCodeSequence (0008,1084) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2780
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
DRTSourcePatientGroupIdentificationSequence SourcePatientGroupIdentificationSequence
SourcePatientGroupIdentificationSequence (0010,0026) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3033
DRTEncryptedAttributesSequence & getEncryptedAttributesSequence()
get EncryptedAttributesSequence (0400,0500)
Definition: drtimage.h:2554
DiMonoImage(const DiColorImage *image, const double red, const double green, const double blue)
constructor, convert color images to monochrome
virtual OFCondition addSourceImageItems(const OFVector< DcmDataset * > &datasets, const CodeSequenceMacro &purposeOfReference, OFVector< SourceImageItem * > &resultSourceImageItems, const OFBool skipErrors=OFFalse)
Convenience function to add items representing references to some objects which all have the same pur...
DRTReferencedBolusSequenceInRTIonBeamsSessionRecordModule ReferencedBolusSequence
ReferencedBolusSequence (300c,00b0) vr=SQ, vm=1, type=1C.
Definition: drttsibs.h:1048
OFCondition setLeafPositionBoundaries(const OFString &value, const OFBool check=OFTrue)
set LeafPositionBoundaries (300a,00be)
RetrieveResponse()
Standard constructor.
Definition: scu.h:137
Class for content item TCOORD.
Definition: dsrtcotn.h:42
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtssrcs.h:345
DRTBeamLimitingDevicePositionSequence BeamLimitingDevicePositionSequence
BeamLimitingDevicePositionSequence (300a,011a) vr=SQ, vm=1, type=1C.
Definition: drticpds.h:806
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2986
virtual CodeSequenceMacro & getMeasurementUnitsCode()
Get Measurement Units Code Sequence (content)
virtual unsigned long getSize() const
returns the size of a MAC in bytes.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const char * getStudyTime()
returns the Study Time of the currently selected study.
OFCondition getBeamLimitingDeviceAngleTolerance(OFString &value, const signed long pos=0) const
get BeamLimitingDeviceAngleTolerance (300a,0046)
DRTAdmittingDiagnosesCodeSequence & operator=(const DRTAdmittingDiagnosesCodeSequence ©)
assigment operator
virtual OFCondition getLongitudinalTemporalOffsetFromEvent(Float64 &value, const unsigned long pos=0) const
get LongitudinalTemporalOffsetFromEvent (0012,0052)
static const OFString & dicomToReadableDate(const OFString &dicomDate, OFString &readableDate)
convert DICOM date string to readable format.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
void clear()
resets the object to initial state.
ItemStruct(const OFString &uid, const DVIFhierarchyStatus status=DVIF_objectIsNew)
Constructor.
Definition: dvcache.h:697
OFBool isEmpty()
check if sequence is empty
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtdirs.h:292
virtual OFCondition getOriginalSpecializedSOPClassUID(OFString &value, const signed long pos=0) const
get OriginalSpecializedSOPClassUID (0008,001b)
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=3.
Definition: drtdose.h:4336
virtual TYPE getType() const
Get type of reference.
Definition: iodreferences.h:92
DcmIODImage(OFin_place_type_t(ImagePixel))
Constructor, constructs new DcmIODImage instance with integer, float or double based Image Pixel Modu...
Definition: iodimage.h:97
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmUniqueIdentifier FrameOfReferenceUID
FrameOfReferenceUID (0020,0052) vr=UI, vm=1, type=1.
Definition: drtionpl.h:3131
virtual CodeSequenceMacro & getTransducerScanPattern()
Get Transducer Scan Pattern.
virtual OFCondition getContrastBolusRoute(OFString &value, const signed long pos=0) const
get ContrastBolusRoute (0018,1040)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtds.h:541
virtual OFCondition getValueType(OFString &value, const signed long pos=0) const
Get ValueType.
virtual OFBool compareTemplateIdentification(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="") const
compare template identification of the root node with given values.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition write(DcmItem &item)
write elements to sequence item
Item & operator=(const Item ©)
assigment operator
size_t getNumberOfItems() const
get number of items in the sequence
const DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence() const
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtstrct.h:1764
virtual OFCondition setTableTopRollAngle(const Float32 value, const unsigned long pos=0)
set TableTopRollAngle (300a,0144)
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSUnsupportedImageType
error condition constant: Unsupported type of image for JPEG-LS compression
int hasPixelSpacing
is 'true' if attribute 'PixelSpacing' is present
Definition: diimage.h:654
virtual OFBool matches(const OFString &key, const OFString &candidate, const OFBool enableWildCardMatching=OFTrue) const
static const size_t HF_renderDcmtkFootnote
external: render dcmtk/dcmsr comment at the end of the document
Definition: dsrtypes.h:311
@ TimeOfFlightAngioMRSignalIntensity
(110802,DCM,"Time Of Flight Angio MR Signal Intensity"), included from CID 7180
Definition: cid7469.h:92
virtual OFCondition setResponsiblePersonRole(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePersonRole (0010,2298)
DcmCodeString ResponsiblePersonRole
ResponsiblePersonRole (0010,2298) vr=CS, vm=1, type=1C.
Definition: drtimage.h:4839
DcmUnsignedShort & getLUTData()
returns a reference to the current VOI LUT data.
Definition: dvpssv.h:171
virtual OFCondition insertShared(FGBase *group, const OFBool replaceExisting=OFTrue)
Insert shared functional group.
DSRSpatialCoordinatesValue * getValuePtr()
get pointer to spatial coordinates value
Definition: dsrscovl.h:244
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
Item(const Item ©)
copy constructor
OFCondition setDate(const OFString &value, const OFBool check=OFTrue)
set Date (0040,a121)
OFCondition getContourNumber(Sint32 &value, const unsigned long pos=0) const
get ContourNumber (3006,0048)
virtual OFCondition setClinicalTrialSubjectReadingID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectReadingID (0012,0042)
long * thisberr
current blue error vector. Points to an array of (columns + 2) entries.
Definition: diqtfs.h:201
log4cplus::helpers::Properties const & getProperties() const
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
base class for all DICOM value representations storing a character string
Definition: dcbytstr.h:55
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches the filter criterion (observation unique identifier)
OFListIterator(Item *) CurrentItem
currently selected item
virtual ~DRTGeneticModificationsSequence()
destructor
void clear()
clear all internal member variables
virtual OFCondition setSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceUID (0008,0018)
OFVector< TrcMeasurement::Values * > m_Values
Items from from Measurement Values Sequence.
Definition: trcmeasurement.h:245
DcmShortText CommentsOnThePerformedProcedureStep
CommentsOnThePerformedProcedureStep (0040,0280) vr=ST, vm=1, type=3.
Definition: drtiontr.h:3029
virtual OFCondition getFrameIncrementPointer(OFString &value, const signed long pos=0) const
get FrameIncrementPointer (0028,0009)
@ TSP_Profile_AES
DICOM AES TLS Secure Transport Connection Profile (retired), using the ciphersuites TLS_RSA_WITH_AES_...
Definition: tlsciphr.h:61
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool isApplicable(const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability=DVPSB_currentFrame)
checks if this annotation layer is applicable to the given image and frame.
virtual OFCondition search(const DcmTagKey &xtag, DcmStack &resultStack, E_SearchMode mode=ESM_fromHere, OFBool searchIntoSub=OFTrue)
a complex, stack-based, hierarchical search method.
OFList< OFString > opt_overrideKeys
These attributes are applied to the dataset after conversion (They are not checked by the isValid() f...
Definition: dcencdoc.h:262
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtpsics.h:329
@ EFG_PATIENTORIENTINFRAME
Patient Orientation in Frame.
Definition: fgtypes.h:137
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtads.h:205
virtual OFCondition getInstanceCreationDate(OFString &value, const signed long pos=0) const
get InstanceCreationDate (0008,0012)
DcmFileFormat * pDicomPState
pointer to the current DICOM dataset containing the loaded presentation state.
Definition: dviface.h:1621
int hasEmbeddedData() const
check whether there are any overlay planes embedded in the pixel data
const void * getOutputData(const int bits=0, const unsigned long frame=0, const int planar=0)
render pixel data and return pointer to internal memory buffer.
Definition: dcmimage.h:422
Index database factory class.
Definition: dcmqrdbi.h:422
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmDecimalString TableTopLateralPositionTolerance
TableTopLateralPositionTolerance (300a,0053) vr=DS, vm=1, type=3.
Definition: drttts.h:353
OFCondition gotoFirstItem()
goto first item in the sequence
OFBool getBinaryLog()
returns the BINARYLOG entry from the section GENERAL/PRINT in the config file.
OFCondition loadAndCheckDicomFile(const OFFilename &filename, const OFFilename &directory, DcmFileFormat &fileformat, const OFBool checkFilename=OFTrue)
load and check DICOM file regarding the current application profile
void clear()
clear all internal member variables
const DRTRequestAttributesSequence & getRequestAttributesSequence() const
get RequestAttributesSequence (0040,0275)
Definition: drtionpl.h:1829
virtual DSRSCoordTreeNode * clone() const
clone this tree node.
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
DRTReferencedPatientSequence & getReferencedPatientSequence()
get ReferencedPatientSequence (0008,1120)
Definition: drtdose.h:2464
void startRow(long &col, long &limitcol)
starts error diffusion for a new row.
Definition: diqtfs.h:133
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
virtual ~DRTModalityLUTSequence()
destructor
const DRTProcedureCodeSequence & getProcedureCodeSequence() const
get ProcedureCodeSequence (0008,1032)
Definition: drttreat.h:1497
virtual OFCondition getPerformedProcedureStepID(OFString &value, const signed long pos=0) const
get PerformedProcedureStepID (0040,0253)
@ Overflow
(114005,DCM,"Overflow")
Definition: cid42.h:54
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmShortString & operator=(const DcmShortString &obj)
assignment operator
OFBool isDictionaryLoaded()
checks if a data dictionary has been loaded.
@ MM_XHTML
XHTML (Extensible Hyper Text Markup Language)
Definition: ofstd.h:87
Item & operator=(const Item ©)
assigment operator
Interface class for PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtporis.h:30
virtual OFCondition checkColoring()
Check whether color information is valid, i.e.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
int DeleteData
flag indicating whether the output data buffer should be deleted in the destructor
Definition: dimoopxt.h:1298
DSRImageFrameList(const DSRImageFrameList &lst)
copy constructor
OFCondition getCurrentWindowCenter(double &c)
get the center of the current VOI window.
OFCondition addImageReference(const char *sopclassUID, const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability)
add a new image reference.
virtual int setAmbientLightValue(const double value)
set (reflected) ambient light value.
int setHistogramWindow(const double thresh=0.05)
set automatically calculated histogram window.
Definition: dcmimage.h:641
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtads.h:337
static E_ContinuityOfContent enumeratedValueToContinuityOfContent(const OFString &enumeratedValue)
convert DICOM enumerated value to continuity of content flag
void clear()
clear all internal member variables
@ VT_UIDRef
DICOM Value Type: UIDREF.
Definition: dsrtypes.h:597
virtual OFCondition addReferencedSegmentNumber(const Uint16 &value, const OFBool checkValue=OFTrue)
Add a Referenced Segment Number.
const DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence() const
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtplan.h:1322
const DRTReferencedStudySequence & getReferencedStudySequence() const
get ReferencedStudySequence (0008,1110)
Definition: drtimage.h:2992
I2DJpegSource()
Constructor, initializes member variables.
OFCondition setSourceSeriesForSegmentation(const OFString &seriesUID, const OFBool check=OFTrue)
set the value of the 'Source series for segmentation' content item (TID 1411 - Row 12).
Class implementing a document tree node filter that checks for a given relationship type.
Definition: dsrdnflt.h:326
OFCondition write(DcmItem &item)
write elements to sequence item
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmPresentationContextMap(const DcmPresentationContextMap &arg)
Copy constructor, creates deep copy.
virtual Uint16 bytesPerSample() const =0
returns the number of bytes per sample that will be expected when encoding.
OFCondition getSourceNumber(Sint32 &value, const unsigned long pos=0) const
get SourceNumber (300a,0212)
DcmLongString PersonTelephoneNumbers
PersonTelephoneNumbers (0040,1103) vr=LO, vm=1-n, type=3.
Definition: drtois.h:212
OFBool getTrueLosslessMode() const
returns flag indicating if real lossless mode is enabled
Definition: djcparam.h:297
DcmIntegerString shutterLowerHorizontalEdge
Module=Display_Shutter, VR=IS, VM=1, Type 1C.
Definition: dcmpstat.h:898
DJDecompressIJG8Bit(const DJDecompressIJG8Bit &)
private undefined copy constructor
OFCondition findOrCreateSequenceItem(const DcmTag &seqTag, DcmItem *&item, const signed long itemNum=0)
looks up the given sequence in the current dataset and returns the given item.
WlmDataSource(const WlmDataSource &Src)
Protected undefined copy-constructor.
virtual OFCondition getClinicalTrialTimePointID(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointID (0012,0050)
Interface class for RTIonBeamsTreatmentRecordIOD.
Definition: drtiontr.h:91
DcmLongText PatientComments
PatientComments (0010,4000) vr=LT, vm=1, type=3.
Definition: drtionpl.h:2914
Uint16 getT1() const
returns JPEG-LS parameter T1
Definition: djcparam.h:163
int hasPlane(unsigned int plane, const int visible=0) const
check whether specified plane exists
Definition: diovlay.h:313
OFCondition getShieldingDeviceLabel(OFString &value, const signed long pos=0) const
get ShieldingDeviceLabel (300a,01a4)
virtual OFCondition getWindowCenter(OFVector< Float64 > &value) const
get WindowCenter (0028,1050)
DVPSGraphicAnnotation_PList & operator=(const DVPSGraphicAnnotation_PList &)
private undefined assignment operator
OFCondition deleteMultipleAnnotations(size_t number)
deletes multiple of the registered annotations, starting with the first one.
OFMap< OFString, DcmPresentationContextList * > map_
map of presentation context lists
Definition: dccfpcmp.h:184
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
@ AP_GeneralPurposeBDMPEG2MPatML
General Purpose BD Interchange with MPEG2 MP@ML (STD-GEN-BD-MPEG2-MPML)
Definition: dcddirif.h:129
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
SOPInstanceReferenceMacro(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL)
Constructor.
virtual OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set manufacturer's model name
DcmSegmentation()
Protected default constructor.
OFCondition getLeafPositionBoundaries(OFVector< Float64 > &value) const
get LeafPositionBoundaries (300a,00be)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getSOPAuthorizationComment(OFString &value, const signed long pos=0) const
get SOPAuthorizationComment (0100,0424)
OFString Label
instance label
Definition: dvcache.h:117
DSRChestCadSRConstraintChecker()
default constructor
OFCondition getPersonTelecomInformation(OFString &value, const signed long pos=0) const
get PersonTelecomInformation (0040,1104)
virtual OFCondition setAdmissionID(const OFString &value, const OFBool check=OFTrue)
set AdmissionID (0038,0010)
OFCondition createQueryRetrieveServerConfigFile(const char *filename)
creates the query/retrieve server configuration file.
virtual OFCondition computeGroupLengthAndPadding(const E_GrpLenEncoding glenc, const E_PaddingEncoding padenc=EPD_noChange, const E_TransferSyntax xfer=EXS_Unknown, const E_EncodingType enctype=EET_ExplicitLength, const Uint32 padlen=0, const Uint32 subPadlen=0, Uint32 instanceLength=0)
This function takes care of group length and padding elements in the current element list according t...
OFCondition setSpecifiedSecondaryMeterset(const OFString &value, const OFBool check=OFTrue)
set SpecifiedSecondaryMeterset (3008,0033)
DcmDecimalString BeamLimitingDeviceAngleTolerance
BeamLimitingDeviceAngleTolerance (300a,0046) vr=DS, vm=1, type=3.
Definition: drtitts.h:404
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTProcedureCodeSequence & getProcedureCodeSequence()
get ProcedureCodeSequence (0008,1032)
Definition: drtplan.h:1700
virtual void dump(STD_NAMESPACE ostream &outstream) const =0
Dump content of this user identity sub item to output stream.
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
virtual OFCondition setAuthorizationEquipmentCertificationNumber(const OFString &value, const OFBool check=OFTrue)
set AuthorizationEquipmentCertificationNumber (0100,0426)
virtual OFBool matches(const OFString &key, const OFString &candidate, const OFBool enableWildCardMatching=OFTrue) const
native_handle_type getNativeHandle()
provides access to the underlying OpenSSL context handle for implementing custom functionality not ac...
OFCondition setGantryPitchRotationDirection(const OFString &value, const OFBool check=OFTrue)
set GantryPitchRotationDirection (300a,014c)
DcmPersonName PhysiciansOfRecord
PhysiciansOfRecord (0008,1048) vr=PN, vm=1-n, type=3.
Definition: drttreat.h:2759
virtual OFCondition getLossyImageCompression(OFString &value, const signed long pos=0) const
Get Lossy Image Compression.
DcmUniqueIdentifier StudyInstanceUID
StudyInstanceUID (0020,000d) vr=UI, vm=1, type=1.
Definition: drtscris.h:133
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTDeidentificationActionSequence DeidentificationActionSequence
DeidentificationActionSequence (0008,0305) vr=SQ, vm=1, type=3.
Definition: drtpdecs.h:188
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition writeSRDocumentContentModule(DcmItem &dataset, DcmStack *markedItems)
write SR document content module
@ Fallypride_F18
(126705,DCM,"Fallypride F^18^")
Definition: cid4021.h:126
OFListIterator(Item *) CurrentItem
currently selected item
Item & getCurrentItem()
get current item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition putUint64(const Uint64 uintVal, const unsigned long pos=0)
set particular element value to given integer
void inherit(const DiagnosticContextStack &stack)
Inherit the diagnostic context of another thread.
virtual OFCondition setDeidentificationMethod(const OFString &value, const OFBool check=OFTrue)
set DeidentificationMethod (0012,0063)
Item & operator=(const Item ©)
assigment operator
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtpcs.h:353
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DVPSannotationUnit getAnchorPointAnnotationUnits()
gets the anchor point annotation units.
void * jsampBuffer
temporary storage for row buffer during suspension
Definition: djdijg8.h:118
OFCondition setBeamMeterset(const OFString &value, const OFBool check=OFTrue)
set BeamMeterset (300a,0086)
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
const char * getBorderDensity()
gets the (optional) border density.
OFCondition findAndGetString(const DcmTagKey &tagKey, const char *&value, const OFBool searchIntoSub=OFFalse)
find element and get value as a reference to a C string.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtsdcs.h:533
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtcss.h:211
DcmLongString ClinicalTrialProtocolEthicsCommitteeName
ClinicalTrialProtocolEthicsCommitteeName (0012,0081) vr=LO, vm=1, type=1C.
Definition: drttreat.h:2730
OFCondition checkCurrentValue() const
check the currently stored code for validity.
virtual OFCondition getModality(OFString &value, const signed long pos=0)
Get Modality (overwrite from DcmIODCommon.
Definition: trctractographyresults.h:184
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmIntegerString ReferencedROINumber
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=1.
Definition: drtdvrrs.h:139
DcmDate InstanceCreationDate
InstanceCreationDate (0008,0012) vr=DA, vm=1, type=3.
Definition: drtiontr.h:3157
OFCondition read(DcmItem &dataset)
Read pixel module base class data from given item.
Definition: modimagepixelvariant.h:272
OFCondition getCumulativeDoseToDoseReference(Float64 &value, const unsigned long pos=0) const
get CumulativeDoseToDoseReference (3008,0052)
DcmIntegerString NumberOfControlPoints
NumberOfControlPoints (300a,0110) vr=IS, vm=1, type=1.
Definition: drttsibs.h:1008
DRTGeneralAccessorySequence GeneralAccessorySequence
GeneralAccessorySequence (300a,0420) vr=SQ, vm=1, type=3.
Definition: drttsibs.h:996
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setStudyID(const OFString &value, const OFBool check=OFTrue)
set StudyID (0020,0010)
EP_Representation getRepresentation() const
get integer representation
Definition: dicopxt.h:144
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the stored date/time value, is valid
Item & getItem(const size_t num)
get particular item in the sequence
DcmLongString GantryID
GantryID (0018,1008) vr=LO, vm=1, type=3.
Definition: drttreat.h:2906
const DcmTransferSyntaxList * getTransferSyntaxList(const char *key) const
returns the list of transfer syntaxes identified by the given key
This class is used to "manage" LogLevel definitions.
Definition: loglevel.h:134
virtual OFCondition getPPSSOPClassUID(OFString &value, const signed long pos=0) const
Get Referenced PPS SOP Class UID.
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid7464.h:170
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item & operator=(const Item ©)
assigment operator
DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence()
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtiontr.h:1407
virtual Uint16 bitsPerSample() const
returns the number of bits per sample that will be expected when encoding.
Definition: djeijg16.h:105
virtual AlgorithmIdentificationMacro & getSegmentationAlgorithmIdentification()
Get Segmentation Algorithm Identification.
Uint32 bfSize
file size in bytes
Definition: diutils.h:163
Class representing a node in DcmPath.
Definition: dcpath.h:39
static const size_t CM_updateNodeID
update the node ID using the position string
Definition: dsrtypes.h:475
OFCondition read(DcmItem &item)
read elements from sequence item
static OFCondition getOFDateTimeFromString(const OFString &dicomDateTime, OFDateTime &dateTimeValue)
get the specified DICOM date and time value in OFDateTime format.
OFCondition write(DcmItem &item)
write elements to sequence item
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setFixationLightPolarAngle(const Float32 value, const unsigned long pos=0)
set FixationLightPolarAngle (300a,0358)
OFCondition getSourceApplicatorName(OFString &value, const signed long pos=0) const
get SourceApplicatorName (300a,0294)
OFBool getTargetPrinterPresentationLUTMatchRequired(const char *targetID)
returns the PRESENTATIONLUTMATCHREQUIRED entry for the printer with the given target ID from the conf...
ContentIdentificationMacro & operator=(const ContentIdentificationMacro &rhs)
Assignment operator (deep copy)
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Item & operator=(const Item ©)
assigment operator
DiLookupTable * VoiLutData
points to associated VOI-LUT-object
Definition: dimoimg.h:1133
static OFBool listOfUIDMatching(const void *queryData, const size_t querySize, const void *candidateData, const size_t candidateSize)
Match the query list of UIDs with the candidate UID.
DcmQueryRetrieveSCP(const DcmQueryRetrieveSCP &other)
private undefined copy constructor
Error handling, codes and strings for all modules.
void clear()
clear all internal member variables
OFCondition getBlockSlabThickness(Float64 &value, const unsigned long pos=0) const
get BlockSlabThickness (300a,0442)
OFBool getISOFormattedDate(OFString &formattedDate, const OFBool showDelimiter=OFTrue) const
get the current date value in ISO format.
int setHardcopyParameters(const unsigned int min, const unsigned int max, const unsigned int reflect, const unsigned int illumin)
set hardcopy parameters.
Definition: dcmimage.h:891
DcmFloatingPointSingle(const DcmTag &tag)
constructor.
virtual ~Item()
destructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
unsigned long untrustSignaturesSR
number of untrustworthy signatures in current SR
Definition: dvsighdl.h:197
DVPSInstanceType getSeriesType()
returns the type of all instances within the currently selected series.
DcmQuantPixelBoxArray(const DcmQuantPixelBoxArray &src)
private undefined copy constructor
FGUnknown & operator=(const FGUnknown &rhs)
Assignment operator, performs a deep copy for assigning given object.
DcmElement(const DcmElement &old)
copy constructor
DSRCompositeReferenceValue * getValuePtr()
get pointer to reference value
Definition: dsrcomvl.h:343
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmQueryRetrieveOptions(const DcmQueryRetrieveOptions &other)
private undefined copy constructor
virtual OFCondition write(DcmItem &dataset)
Write the attributes managed by this class to DICOM dataset.
DRTUDISequence(const DRTUDISequence ©)
copy constructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTConsultingPhysicianIdentificationSequence ConsultingPhysicianIdentificationSequence
ConsultingPhysicianIdentificationSequence (0008,009d) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2835
virtual OFCondition getClinicalTrialSiteID(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteID (0012,0030)
DcmDecimalString TargetUnderdoseVolumeFraction
TargetUnderdoseVolumeFraction (300a,0028) vr=DS, vm=1, type=3.
Definition: drtrdrs8.h:376
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
OFBool isEmpty()
check if sequence is empty
size_t getNumberOfItems() const
get number of items in the sequence
void clear()
clear all internal member variables
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setEmtpyImageDensity(const char *value)
sets the (optional) empty image density.
const void * getOutputPlane(const int plane) const
get pixel data of specified plane.
unsigned long AutoSeriesNumber
current series number used to invent missing attribute values
Definition: dcddirif.h:1612
DRTTreatmentSessionIonBeamSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
const DRTRecordedBlockSequence & getRecordedBlockSequence() const
get RecordedBlockSequence (3008,00d0)
Definition: drttsibs.h:580
DicomImageComparison & operator=(const DicomImageComparison &arg)
private undefined copy assignment operator
virtual OFBool matches(const DcmElement &candidate, const OFBool enableWildCardMatching=OFTrue) const
perform attribute matching.
OFCondition getRTImagePosition(Float64 &value, const unsigned long pos=0) const
get RTImagePosition (3002,0012)
size_t find_first_not_of(char c, size_t pos=0) const
determines the first location loc, between pos and the end of the current string, such that the chara...
@ SpatialDisplacementYComponent
(110823,DCM,"Spatial Displacement Y Component"), included from CID 7180
Definition: cid7469.h:162
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition gotoNextItem()
goto next item in the sequence
size_t size() const
gets the number of image boxes in this list.
Definition: dvpsibl.h:100
void clear()
clear all internal member variables
OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
DcmLongString GantryID
GantryID (0018,1008) vr=LO, vm=1, type=3.
Definition: drtiontr.h:3059
XMLClear * updateClear(XMLClear *newP, XMLClear *oldP)
if the clearTag to update is missing, a new one will be added
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setBlockTransmission(const OFString &value, const OFBool check=OFTrue)
set BlockTransmission (300a,0102)
DRTReferencedRTPlanSequence & getReferencedRTPlanSequence()
get ReferencedRTPlanSequence (300c,0002)
Definition: drtdose.h:2488
DcmQueryRetrieveConfigQuota * StorageQuota
quota setting for this storage area
Definition: dcmqrcnf.h:150
FunctionalGroups::iterator iterator
Iterator type for iterating over functional groups.
Definition: fginterface.h:53
virtual DcmEVR ident() const
get element type identifier
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtpscs.h:341
OFCondition read(DcmItem &item)
read elements from sequence item
DcmFindSCUDefaultCallback(DcmFindSCUExtractMode extractResponses, int cancelAfterNResponses, const char *outputDirectory=NULL, STD_NAMESPACE ofstream *outputStream=NULL)
constructor
virtual FunctionalGroups::iterator begin()
Iterator pointing to first functional group in the set.
offile_off_t compress(const void *buf, offile_off_t buflen, OFBool finalize)
feed data from the given block of data to the compression codec until complete or the output ring buf...
OFCondition modifyAllTags(OFString tag_path, const OFString &value, const OFBool update_metaheader, int &count, const OFBool ignore_missing_tags=OFFalse)
Modifies all matching tags in dataset to a new value.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual ~DRTReferencedDoseReferenceSequenceInRTBeamsModule()
destructor
void cleanup()
reset the object to its initial state.
@ AP_TwelveLeadECG
12-lead ECG Interchange on Diskette (STD-WVFM-ECG-FD)
Definition: dcddirif.h:173
const DRTRecordedSnoutSequence & getRecordedSnoutSequence() const
get RecordedSnoutSequence (3008,00f0)
Definition: drttsibs.h:640
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFString ReferencedContentItem
position string of the referenced nodes (target content item).
Definition: dsrreftn.h:303
Interface class for RangeModulatorSettingsSequence (300a,0380) in RTIonBeamsModule.
Definition: drtrmss6.h:28
DcmShortString FixationDevicePosition
FixationDevicePosition (300a,0198) vr=SH, vm=1, type=3.
Definition: drtfds.h:208
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcis.h:162
OFCondition getReferencedROINumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedROINumber (3006,0084)
~DcmPresentationContextMap()
destructor
DiImage(const DiImage *image, const int degree=0)
constructor, rotate
@ Fibula
(87342007,SCT,"Fibula")
Definition: cid4031.h:106
OFCondition addQualitativeEvaluation(const DSRCodedEntryValue &conceptName, const DSRCodedEntryValue &codeValue, const OFBool check=OFTrue)
add a qualitative evaluation related to the entire subject of the report as a coded entry (TID 1500 -...
OFCondition getCompensatorID(OFString &value, const signed long pos=0) const
get CompensatorID (300a,00e5)
DRTConceptNameCodeSequence ConceptNameCodeSequence
ConceptNameCodeSequence (0040,a043) vr=SQ, vm=1, type=1.
Definition: drtcims.h:339
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition setTissueHeterogeneityCorrection(const OFString &value, const OFBool check=OFTrue)
set TissueHeterogeneityCorrection (3004,0014)
DcmIODTypes()
Private undefined default constructor.
Definition: iodtypes.h:134
int startProvidingService()
This function looks at commandline options and decides what to do.
OFListIterator(Item *) CurrentItem
currently selected item
size_t find_first_of(char s, size_t pos=0) const
determines the first location, loc, between pos and the end of the current string,...
OFCondition gotoFirstItem()
goto first item in the sequence
Definition: dcmqridx.h:292
OFConfigFile(const OFConfigFile &)
private undefined copy constructor
OFCondition getBlockThickness(Float64 &value, const unsigned long pos=0) const
get BlockThickness (300a,0100)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTReferencedDoseSequence ReferencedDoseSequence
ReferencedDoseSequence (300c,0080) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3275
virtual OFCondition setClinicalTrialSeriesID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesID (0012,0071)
OFCondition setCompensatorID(const OFString &value, const OFBool check=OFTrue)
set CompensatorID (300a,00e5)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
void removeLayer(const char *name)
deletes all graphic annotation layers belonging to the given graphic annotation layer name.
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition setRangeModulatorGatingStartValue(const Float32 value, const unsigned long pos=0)
set RangeModulatorGatingStartValue (300a,0382)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFCondition getSourceToCompensatorDistance(Float64 &value, const unsigned long pos=0) const
get SourceToCompensatorDistance (300a,02e2)
DcmDecimalString ImagePositionPatient
ImagePositionPatient (0020,0032) vr=DS, vm=3, type=1.
Definition: drtdose.h:4417
void clear()
clear all internal member variables
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getReferencedBrachyApplicationSetupNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedBrachyApplicationSetupNumber (300c,000c)
Item class.
Definition: drtdspcs.h:37
DRTBeamSequence & getBeamSequence()
get BeamSequence (300a,00b0)
Definition: drtplan.h:1292
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
DcmOtherFloat(const DcmTag &tag, const Uint32 len=0)
constructor.
DcmPixelData(const DcmTag &tag, const Uint32 len=0)
constructor.
DcmCodeString ReportedValuesOrigin
ReportedValuesOrigin (3002,000a) vr=CS, vm=1, type=2C.
Definition: drtimage.h:5286
OFMutex()
default constructor
const OFString & getCodeMeaning() const
get code meaning.
Definition: dsrcodvl.h:420
Item & getItem(const size_t num)
get particular item in the sequence
void clear()
reset the object to initial state.
Implementation of DICOM SCP server pool.
Definition: scppool.h:275
virtual size_t iterate(const OFBool searchIntoSub=OFTrue)
iterate over all nodes (starting from current position!)
Definition: dsrtncsr.h:624
@ GT3_invalid
internal type used to indicate an error
Definition: dsrtypes.h:683
OFBool isEmpty()
check if sequence is empty
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
void addItem(const Float32 column, const Float32 row)
add value pair to the list
DRTPersonIdentificationCodeSequence & getPersonIdentificationCodeSequence()
get PersonIdentificationCodeSequence (0040,1101)
Definition: drtois.h:148
OFCondition getBlockThickness(Float64 &value, const unsigned long pos=0) const
get BlockThickness (300a,0100)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
const DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence() const
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtstrct.h:1488
DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence()
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtstrct.h:1374
virtual ImageSOPInstanceReferenceMacro & getImageSOPInstanceReference()
Returns handle to to image sop instance reference.
Item & operator[](const size_t num)
get particular item in the sequence
DcmProfileMap()
constructor
DcmTime & operator=(const DcmTime &obj)
assignment operator
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrrpcs.h:324
DRTReferencedReferenceImageSequenceInRTIonBeamsModule & operator=(const DRTReferencedReferenceImageSequenceInRTIonBeamsModule ©)
assigment operator
OFCondition getCompensatorID(OFString &value, const signed long pos=0) const
get CompensatorID (300a,00e5)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition search(const DcmTagKey &xtag, DcmStack &resultStack, E_SearchMode mode=ESM_fromHere, OFBool searchIntoSub=OFTrue)
a complex, stack-based, hierarchical search method.
E_ParseStatus parseCommandFile(const wchar_t *argValue, const OFString &strValue, OFList< OFString > &argList)
check whether 'argValue' points to command file and parse content if so.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtbrcss.h:335
Decoder class for JPEG Progressive (lossy, 8/12-bit)
Definition: djdecpro.h:32
OFCondition operator()(const char *seedFile) const
Create a specialized failed to write random seed file error condition that refers to the file name of...
size_t getNumberOfItems() const
get number of items stored in the list
Convenient struct containing all information required for setting enhanced equipment information (for...
Definition: modenhequipment.h:46
OFCondition setDoubleFloatRealWorldValueLastValueMapped(const Float64 value, const unsigned long pos=0)
set DoubleFloatRealWorldValueLastValueMapped (0040,9213)
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition getICCProfile(Uint8 *&value, unsigned long *count=NULL) const
get ICCProfile (0028,2000)
OFCondition getGeneralAccessoryDescription(OFString &value, const signed long pos=0) const
get GeneralAccessoryDescription (300a,0422)
OFCondition gotoNextItem()
goto next item in the sequence
virtual void clearData()
Clear (removes) all attributes handled by the modules of this IOD.
virtual OFCondition setConsultingPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ConsultingPhysicianName (0008,009c)
virtual ~DcmFileConsumer()
destructor
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
const char * getAttachedImageSOPClassUID()
returns the SOP Class UID of the currently attached image.
CodeSequenceMacro m_DiffusionModelCode
Code for diffusion model used for this Track Set.
Definition: trctrackset.h:464
the list of Annotations contained in a stored print object.
Definition: dvpsabl.h:39
virtual OFCondition setSpecificCharacterSet(const OFString &value, const OFBool check=OFTrue)
set SpecificCharacterSet (0008,0005)
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFCondition setNumberOfLeafJawPairs(const OFString &value, const OFBool check=OFTrue)
set NumberOfLeafJawPairs (300a,00bc)
virtual OFCondition getOriginalSpecializedSOPClassUID(OFString &value, const signed long pos=0) const
get OriginalSpecializedSOPClassUID (0008,001b)
void printHex(STD_NAMESPACE ostream &stream) const
Print the hexadecimal representation to the given stream.
DcmDirectoryRecord * buildStoredPrintRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update stored print record and copy required values from dataset
This class encapsulates data structures and operations for modifying DICOM files from the commandline...
Definition: mdfconen.h:66
@ TemporalDerivativeThreshold
(126374,DCM,"Temporal Derivative Threshold"), included from CID 4109
Definition: cid7469.h:304
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtpscs.h:343
virtual OFCondition getResponsiblePerson(OFString &value, const signed long pos=0) const
get ResponsiblePerson (0010,2297)
OFCondition gotoFirstItem()
goto first item in the sequence
DcmCodeString LongitudinalTemporalInformationModified
LongitudinalTemporalInformationModified (0028,0303) vr=CS, vm=1, type=3.
Definition: drtstrct.h:3121
DcmShortString Occupation
Occupation (0010,2180) vr=SH, vm=1, type=3.
Definition: drtdose.h:4245
unsigned long minimumPrintBitmapHeight
minimum height of print bitmap (used for implicit scaling)
Definition: dvpstat.h:1310
OFCondition getPoint(size_t idx, Float32 &x, Float32 &y)
gets one point from the graphic data.
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtdcs.h:205
Item & operator[](const size_t num)
get particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
size_t find(const char *pattern, size_t pos, size_t n) const
creates a pattern string from the input and determines the earliest occurrence of the pattern in the ...
virtual ~DRTCompensatorSequence()
destructor
DcmDataset * m_dataset
Conditional response field (NULL if absent).
Definition: scu.h:106
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition setTimeOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set TimeOfLastCalibration (0018,1201)
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtajcs.h:349
virtual OFCondition write(DcmItem &dataset)
write object to dataset
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtdcs.h:349
DVPSOverlayCurveActivationLayer_PList * clone()
clone method.
Definition: dvpsall.h:56
void clear()
resets the decoder object to newly constructed state.
Definition: dcrledec.h:63
type definitions and constants for the dcmsign module
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFBool scaleData(const Uint8 *srcData, const unsigned int srcWidth, const unsigned int srcHeight, Uint8 *dstData, const unsigned int dstWidth, const unsigned int dstHeight) const =0
scale image (pixel data) to specified size
OFCondition read(DcmItem &dataset, const size_t flags)
read list of referenced date/time
DRTFixationDeviceSequence & getFixationDeviceSequence()
get FixationDeviceSequence (300a,0190)
Definition: drtpss.h:195
OFCondition setPrivateDataElementKeyword(const OFString &value, const OFBool check=OFTrue)
set PrivateDataElementKeyword (0008,030d)
DRTEquivalentCodeSequence & operator=(const DRTEquivalentCodeSequence ©)
assigment operator
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
void setBrother(OFConfigFileNode *brother)
set pointer to next object in tree on same level
Definition: ofconfig.h:142
virtual OFCondition getInstanceCoercionDateTime(OFString &value, const signed long pos=0) const
get InstanceCoercionDateTime (0008,0015)
virtual OFBool matches(const DcmElement &candidate, const OFBool enableWildCardMatching=OFTrue) const
perform attribute matching.
static void initialize()
initialize this context group explicitly.
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
DSRCodedEntryValue * getConceptNamePtr()
get pointer to concept name.
virtual OFCondition setInstanceCoercionDateTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCoercionDateTime (0008,0015)
virtual OFCondition setSmokingStatus(const OFString &value, const OFBool check=OFTrue)
set SmokingStatus (0010,21a0)
OFCondition setReferenceImageNumber(const OFString &value, const OFBool check=OFTrue)
set ReferenceImageNumber (300a,00c8)
OFCondition setRangeModulatorGatingStartWaterEquivalentThickness(const Float32 value, const unsigned long pos=0)
set RangeModulatorGatingStartWaterEquivalentThickness (300a,0386)
DVPSVOILUT()
default constructor
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
OFCondition getDocumentTitle(DSRCodedEntryValue &titleCode)
get document title of this report, i.e. the concept name of the root node
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DVPSVOILUT_PList * clone()
clone method.
Definition: dvpsvll.h:51
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
DRTReferencedImageSequence ReferencedImageSequence
ReferencedImageSequence (0008,1140) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3136
virtual int writePPM(FILE *stream) const =0
write pixel data of selected frame to PPM/ASCII file (abstract)
OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTPhysiciansOfRecordIdentificationSequence PhysiciansOfRecordIdentificationSequence
PhysiciansOfRecordIdentificationSequence (0008,1049) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4901
const char * getAbstractSyntaxC() const
returns the abstract syntax UID maintained by this object as a C string
Definition: dccfenmp.h:83
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmIntegerString NumberOfScanSpotPositions
NumberOfScanSpotPositions (300a,0392) vr=IS, vm=1, type=1C.
Definition: drticpds.h:840
const DRTTreatmentSummaryCalculatedDoseReferenceSequence & getTreatmentSummaryCalculatedDoseReferenceSequence() const
get TreatmentSummaryCalculatedDoseReferenceSequence (3008,0050)
Definition: drttreat.h:1749
DRTReferencedSpatialRegistrationSequence & getReferencedSpatialRegistrationSequence()
get ReferencedSpatialRegistrationSequence (0070,0404)
Definition: drtdose.h:2512
virtual void clearData()
Clear (removes) all attributes handled by the modules of this IOD.
@ ESS_411
4:1:1 sampling (horizontal and vertical subsampling of chroma components)
Definition: djutils.h:86
@ EVR_FL
float single-precision
Definition: dcvr.h:144
OFBool InventPatientIDMode
invent missing patient ID mode
Definition: dcddirif.h:1570
Item & getCurrentItem()
get current item in the sequence
virtual void clearData()
Clear (removes) all attributes handled by the modules of this component.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmUnsignedShort PixelPaddingValue
PixelPaddingValue (0028,0120) vr=US/SS, vm=1, type=1C.
Definition: drttreat.h:2916
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
static DJEncoderProgressive * encpro
pointer to encoder for progressive JPEG
Definition: djencode.h:124
static OFCondition checkStringValue(const OFString &value, const OFString &charset="")
check whether given string value conforms to the VR "LT" (Long Text)
double getVOIPresetWindowWidth(const char *modality, Uint32 idx)
returns the window width for the given VOI Preset
DRTReferencedDoseReferenceSequenceInRTBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
@ IE_EQUIPMENT
Equipment Entity.
Definition: iodtypes.h:98
DcmPrivateTagCache privateCreatorCache
cache for private creator tags and names
Definition: dcitem.h:1485
void * getVal(const log4cplus::tstring &name) const
Used to retrieve an object from the registry.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrshs6.h:350
void clear()
clear all internal member variables
DcmLongString DeidentificationMethod
DeidentificationMethod (0012,0063) vr=LO, vm=1-n, type=1C.
Definition: drtstrct.h:2791
virtual OFCondition setRepresentativeFrameNumber(const Uint16 value)
Set Representative Frame Number.
virtual OFCondition getUint16Array(Uint16 *&val)
get a pointer to the element value of the current element as type Uint16.
DSRImplantationPlanSRDocumentConstraintChecker()
default constructor
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid7445.h:111
const DRTBeamLimitingDeviceSequenceInRTBeamsModule & getBeamLimitingDeviceSequence() const
get BeamLimitingDeviceSequence (300a,00b6)
Definition: drtbs.h:396
virtual ~Item()
destructor
DcmFloatingPointDouble LongitudinalTemporalOffsetFromEvent
LongitudinalTemporalOffsetFromEvent (0012,0052) vr=FD, vm=1, type=3.
Definition: drtiontr.h:2935
@ EPP_Reverse
REVERSE (opposite polarity)
Definition: diutils.h:305
signed long Top
top offset to all planes
Definition: diovlay.h:456
virtual size_t getItemSize() const =0
get size of one pixel / item in the pixel array (abstract)
const Item & getCurrentItem() const
get current item in the sequence
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtcbars.h:372
OFBool isEmpty()
check if sequence is empty
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
DRTUDISequence UDISequence
UDISequence (0018,100a) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4352
virtual OFCondition getLongitudinalTemporalOffsetFromEvent(Float64 &value, const unsigned long pos=0) const
get LongitudinalTemporalOffsetFromEvent (0012,0052)
OFBool forceSingleFragmentPerFrame_
while decompressing a multiframe image, assume one fragment per frame even if the JPEG data for some ...
Definition: djcparam.h:282
const Item & getItem(const size_t num) const
get particular item in the sequence
Internal structure defining the study list items.
Definition: dsrsoprf.h:460
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrris6.h:148
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
@ EDT_Camera
camera (softcopy input device), values expected to be in luminance (cd/m^2)
Definition: didispfn.h:67
void Init()
initialize internal data structures and member variables
virtual OFCondition getPatientWeight(Float64 &value, const unsigned long pos=0) const
get PatientWeight (0010,1030)
OFCondition write(DcmItem &dset)
writes the graphic object managed by this object to a DICOM dataset.
unsigned long getHeight() const
get image height in pixels
Definition: dcmimage.h:281
void getStatusString(const E_ParseStatus status, OFString &statusStr)
returns status of parseLine() as a C++ string
OFCondition getTreatmentVerificationStatus(OFString &value, const signed long pos=0) const
get TreatmentVerificationStatus (3008,002c)
OFCondition setTargetMinimumDose(const OFString &value, const OFBool check=OFTrue)
set TargetMinimumDose (300a,0025)
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
DcmAgeString(const DcmAgeString &old)
copy constructor
@ XRayAngiography
(XA,DCM,"X-Ray Angiography")
Definition: cid29.h:128
virtual OFCondition writeSegments(DcmItem &item)
Write Segments.
double MinValue
minimum luminance/OD value
Definition: didispfn.h:465
@ EVR_pixelItem
used internally for pixel items in a compressed image
Definition: dcvr.h:258
virtual OFCondition setPatientState(const OFString &value, const OFBool check=OFTrue)
set PatientState (0038,0500)
static void splitPathAndValue(const OFString &whole, OFString &path, OFString &value)
This function splits a modify option (inclusive value) as found on commandline into to parts (path an...
CID4031_CommonAnatomicRegions(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
Item class.
Definition: drtbl5.h:36
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition receiveSTORERequest(T_DIMSE_C_StoreRQ &reqMessage, const T_ASC_PresentationContextID presID, DcmDataset *&reqDataset)
Receive C-STORE request (and store accompanying dataset in memory).
Class managing the data from the Multi-Frame Functional Group Module.
Definition: modmultiframefg.h:38
OFListIterator(Item *) CurrentItem
currently selected item
void copyElementType1(DcmItem *dataset, const DcmTagKey &key, DcmDirectoryRecord *record, const OFFilename &sourceFilename)
copy type 1 element from given dataset to directory record
Definition: dcddirif.h:1444
OFBool isEmpty()
check if item is empty
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getCommentsOnThePerformedProcedureStep(OFString &value, const signed long pos=0) const
get CommentsOnThePerformedProcedureStep (0040,0280)
Item & operator[](const size_t num)
get particular item in the sequence
DRTBeamSequence(const DRTBeamSequence ©)
copy constructor
const DRTPatientSizeCodeSequence & getPatientSizeCodeSequence() const
get PatientSizeCodeSequence (0010,1021)
Definition: drttreat.h:1425
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtspccs.h:331
virtual OFCondition getPatientName(OFString &value, const signed long pos=0) const
get PatientName (0010,0010)
virtual OFString getName() const
Get name of module ("DimensionIndexSequence")
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition getSpatialResolution(Float64 &value, const unsigned long pos=0) const
get SpatialResolution (0018,1050)
OFBool gotoNext()
sets internal cursor to next position in cache list
Definition: dvcache.h:527
OFCondition setReferenceImageNumber(const OFString &value, const OFBool check=OFTrue)
set ReferenceImageNumber (300a,00c8)
virtual T & operator[](unsigned int i) const
Returns a certain element which is contained in the set.
Definition: ofset.h:141
OFBool addOption(const char *longOpt, const char *optDescr, const int flags=0)
adds an item to the list of valid options (without short name and additional values)
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
unsigned int numEntries
number of entries in array
Definition: diqtstab.h:111
DcmLongString AdmittingDiagnosesDescription
AdmittingDiagnosesDescription (0008,1080) vr=LO, vm=1-n, type=3.
Definition: drtimage.h:4918
OFCondition readContentSequence(DcmItem &dataset, const DSRIODConstraintChecker *constraintChecker, const OFString &posString, const size_t flags)
read content sequence
Item & operator=(const Item ©)
assigment operator
const DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence() const
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtplan.h:1670
void setStatus(DIC_US s)
set DIMSE status param s new status
Definition: dcmqrcbs.h:64
static const int min_exponent
The lowest negative number such that is a valid normalized value of the floating-point type T.
Definition: oflimits.h:573
@ FacialBones
(91397008,SCT,"Facial bones")
Definition: cid4031.h:102
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmAssociationConfiguration()
default constructor
DcmLongString & operator=(const DcmLongString &obj)
assignment operator
void printSupportedCiphersuites(STD_NAMESPACE ostream &os) const
print a list of supported ciphersuites to the given output stream.
DRTMeasuredDoseReferenceSequence MeasuredDoseReferenceSequence
MeasuredDoseReferenceSequence (3008,0010) vr=SQ, vm=1, type=1.
Definition: drtiontr.h:3098
OFCondition getPatientSetupNumber(Sint32 &value, const unsigned long pos=0) const
get PatientSetupNumber (300a,0182)
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
this class represents a TCP/IP based transport connection.
Definition: dcmtrans.h:252
int getPointTransformation() const
returns the point transform
Definition: djrplol.h:76
virtual void clearData()
Clear (removes) all attributes handled by the modules of this IOD.
Definition: iodimage.h:131
virtual FGBase * clone() const
Returns a deep copy of this object.
const DSRTemporalCoordinatesValue & getTemporalCoordinates() const
get temporal coordinates.
OFCondition getConsentForDistributionFlag(OFString &value, const signed long pos=0) const
get ConsentForDistributionFlag (0012,0085)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getNumberOfFractionsPlanned(Sint32 &value, const unsigned long pos=0) const
get NumberOfFractionsPlanned (300a,0078)
virtual ~DJEncoder()
destructor
Definition: djencabs.h:42
OFStackLinkBase * head
pointer to top element of stack
Definition: ofstack.h:152
virtual OFCondition getRecognizableVisualFeatures(OFString &value, const signed long pos=0) const
get RecognizableVisualFeatures (0028,0302)
OFBool gotoFirst()
sets internal cursor to first position in cache list
Definition: dvcache.h:201
DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence()
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtplan.h:1484
virtual OFCondition setClinicalTrialSubjectID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectID (0012,0040)
virtual OFCondition setAcquisitionDateTime(const OFString &value, const OFBool check=OFTrue)
set AcquisitionDateTime (0008,002a)
Definition: dcmqrtis.h:82
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
virtual void clear()
clear internal member variables.
DcmCodeString SourceType
SourceType (300a,0214) vr=CS, vm=1, type=1.
Definition: drtss.h:444
virtual ~Item()
destructor
virtual OFCondition getPatientAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientAlternativeCalendar (0010,0035)
virtual OFCondition getContrastBolusIngredientConcentration(Float64 &value, const unsigned long pos=0) const
get ContrastBolusIngredientConcentration (0018,1049)
DcmAttributeTag & operator=(const DcmAttributeTag &obj)
assignment operator
@ Skull
(89546000,SCT,"Skull")
Definition: cid4031.h:210
virtual ~Item()
destructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const DRTReferencedBeamSequenceInRTFractionSchemeModule & getReferencedBeamSequence() const
get ReferencedBeamSequence (300c,0004)
Definition: drtfgs.h:214
virtual OFCondition decodeFrame(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel) const
decompresses a single frame from the given pixel sequence and stores the result in the given buffer.
DiMonoModality * Modality
pointer to modality transform object
Definition: dimopx.h:230
int deleteDisplayLUT(const int bits)
delete specified display LUT(s)
Definition: dimoimg.h:157
OFBool setDate(const unsigned int year, const unsigned int month, const unsigned int day)
set the date value to the specified date.
virtual ~Item()
destructor
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
DRTPurposeOfReferenceCodeSequence PurposeOfReferenceCodeSequence
PurposeOfReferenceCodeSequence (0040,a170) vr=SQ, vm=1, type=1.
Definition: drtces.h:355
DcmDecimalString StartCumulativeMetersetWeight
StartCumulativeMetersetWeight (300c,0008) vr=DS, vm=1, type=3.
Definition: drtrris1.h:201
virtual OFCondition getPerformedProcedureStepStartDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartDate (0040,0244)
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the composite reference value, is valid
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition read(DcmItem &item)
read elements from sequence item
DRTChannelSequence ChannelSequence
ChannelSequence (300a,0280) vr=SQ, vm=1, type=1.
Definition: drtass.h:286
int processNextFrames(const unsigned long fcount=0)
process next couple of frames.
Definition: dcmimage.h:173
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool isEmpty()
check if sequence is empty
OFCondition setApplicatorOpeningY(const Float32 value, const unsigned long pos=0)
set ApplicatorOpeningY (300a,0435)
Interface class for RequestingServiceCodeSequence (0032,1034)
Definition: drtrscs.h:29
OFBool TI_detachAssociation(OFBool abortFlag)
detach current association
OFBool popen(const char *command, const char *modes)
opens a process by creating a pipe, forking, and invoking the shell.
Definition: offile.h:423
DRTGroupOfPatientsIdentificationSequence GroupOfPatientsIdentificationSequence
GroupOfPatientsIdentificationSequence (0010,0027) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4851
virtual OFCondition setInstanceCreatorUID(const OFString &value, const OFBool check=OFTrue)
set InstanceCreatorUID (0008,0014)
Uint16 m_rspLength
Length of server response in bytes.
Definition: dcuserid.h:384
OFBool hasMeasurement() const
check whether the 'Measurement' content item (TID 300 - Row 1) is present.
DRTProtocolContextSequence(const DRTProtocolContextSequence ©)
copy constructor
virtual OFCondition getAcquisitionDateTime(OFString &value, const signed long pos=0)
Get Acquisition Date Time.
OFUUID()
Default constructor.
@ VolumetricDiffusionDyzComponent
(110814,DCM,"Volumetric Diffusion Dyz Component"), included from CID 7270
Definition: cid7469.h:112
void clear()
clear all internal member variables
OFCondition setTargetMinimumDose(const OFString &value, const OFBool check=OFTrue)
set TargetMinimumDose (300a,0025)
OFString message() const
Constructs an explanatory string for this error code using the linked error category.
size_t getNumberOfItems() const
get number of items in the sequence
virtual ~DRTDVHSequence()
destructor
DcmLongString ResponsibleOrganization
ResponsibleOrganization (0010,2299) vr=LO, vm=1, type=2C.
Definition: drtionpl.h:2942
DcmDate InstanceCreationDate
Instance Creation Date: (DA, 1, 3)
Definition: dsrdoc.h:1320
OFCondition getPatientSupportAccessoryCode(OFString &value, const signed long pos=0) const
get PatientSupportAccessoryCode (300a,0354)
const DRTConceptCodeSequence & getConceptCodeSequence() const
get ConceptCodeSequence (0040,a168)
Definition: drtqds.h:206
OFCondition setRTBeamLimitingDeviceType(const OFString &value, const OFBool check=OFTrue)
set RTBeamLimitingDeviceType (300a,00b8)
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtfds.h:200
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmAutoDetectDatasetXfer
This flag defines whether the transfer syntax for uncompressed datasets is detected automatically.
OFCondition getSetupTechnique(OFString &value, const signed long pos=0) const
get SetupTechnique (300a,01b0)
Item EmptyItem
empty default item
Definition: drtmas.h:279
void clear()
clear all internal member variables
OFBool isEmpty()
check if item is empty
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtdimcs.h:339
virtual OFCondition setPatientName(const OFString &value, const OFBool check=OFTrue)
set PatientName (0010,0010)
const DRTStrainStockSequence & getStrainStockSequence() const
get StrainStockSequence (0010,0216)
Definition: drtimage.h:3100
DB_SmallDcmElmt elem
current list element
Definition: dcmqridx.h:181
const char * getLogFile()
returns the name of the log file to be used for general application messages.
Definition: pubtypes.h:63
size_t getNumberOfItems() const
get number of items in the sequence
Item & getCurrentItem()
get current item in the sequence
const DRTFractionGroupSequence & getFractionGroupSequence() const
get FractionGroupSequence (300a,0070)
Definition: drtplan.h:1454
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition setMedicalAlerts(const OFString &value, const OFBool check=OFTrue)
set MedicalAlerts (0010,2000)
const char * getFilename(const char *studyUID, const char *seriesUID, const char *instanceUID)
searches in the database for a DICOM instance with the given study, series and instance UIDs and retu...
OFCondition setReferencedSegmentNumber(const Uint16 value, const unsigned long pos=0)
set ReferencedSegmentNumber (0062,000b)
const OFString & str() const
returns UID as const OFString reference
Definition: dccfuidh.h:97
ES_PresentationLut getPresentationLutShape() const
get shape for presentation transformation.
virtual OFBool isFlushed() const
returns true if the consumer is flushed, i.e.
Item(const Item ©)
copy constructor
DcmIntegerString RangeShifterNumber
RangeShifterNumber (300a,0316) vr=IS, vm=1, type=1.
Definition: drtrshs.h:185
OFCondition read(DcmItem &item)
read elements from sequence item
size_t getNumberOfItems() const
get number of items in the sequence
DIC_NODENAME peerName
name of peer
Definition: wltypdef.h:79
OFBool dicomPhotometricInterpretationIsYCbCr
Flag indicating if DICOM photometric interpretation is YCbCr.
Definition: djdijg8.h:121
virtual ~Item()
destructor
DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence()
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtplan.h:1652
DcmPersonName ConsultingPhysicianName
ConsultingPhysicianName (0008,009c) vr=PN, vm=1-n, type=3.
Definition: drtimage.h:4887
OFCondition addPolyShutterVertex(Sint32 x, Sint32 y)
sets polygonal display shutter point.
OFCondition getEffectiveWedgeAngle(OFString &value, const signed long pos=0) const
get EffectiveWedgeAngle (300a,00de)
virtual OFCondition getPatientID(OFString &value, const signed long pos=0) const
get PatientID (0010,0020)
Definition: jpeglib12.h:791
DJDecompressIJG12Bit & operator=(const DJDecompressIJG12Bit &)
private undefined copy assignment operator
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition getObservationNumber(Sint32 &value, const unsigned long pos=0) const
get ObservationNumber (3006,0082)
DIC_US priorStatus
prior DIMSE status
Definition: dcmqrcbm.h:139
DVPSReferencedSeries_PList(const DVPSReferencedSeries_PList ©)
copy constructor
OFCondition compressCookedFrame(DcmPixelSequence *pixelSequence, DicomImage *dimage, const OFString &photometricInterpretation, DcmOffsetList &offsetList, unsigned long &compressedSize, const DJLSCodecParameter *djcp, Uint32 frame, Uint16 nearLosslessDeviation) const
perform the lossless cooked compression of a single frame
DcmTime ContentTime
ContentTime (0008,0033) vr=TM, vm=1, type=2C.
Definition: drtimage.h:5075
virtual void writeJsonOpener(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write element start tag in JSON format
void clearTLSProfile()
clear the current list of ciphersuites.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmSequenceOfItems * logSequence
DIMSE communication logged in this object if present.
Definition: dvpsprt.h:303
virtual OFBool eos()
returns true if the producer is at the end of stream.
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFBool isValid()
check whether the current internal state is valid
SeriesStruct * getCurrentSeries() const
get pointer to currently selected series structure (if any)
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrrtps5.h:130
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
const DRTReferencedDoseSequence & getReferencedDoseSequence() const
get ReferencedDoseSequence (300c,0080)
Definition: drtibs.h:642
virtual OFCondition getNameOfPhysiciansReadingStudy(OFString &value, const signed long pos=0) const
get NameOfPhysiciansReadingStudy (0008,1060)
static OFString rvf2Str(const RecognizableVisibleFeatures rvf)
Convert Recognizable Visual Features enum to OFString.
RWVMItem(const RWVMItem &rhs)
Copy Constructor.
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
DRTStructureSetROISequence::Item & getROI(Sint32 roiNumber)
find a region of interest by its roi number.
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
DRTBeamLimitingDevicePositionSequence BeamLimitingDevicePositionSequence
BeamLimitingDevicePositionSequence (300a,011a) vr=SQ, vm=1, type=1C.
Definition: drticps.h:763
DRTIonBeamSequence(const DRTIonBeamSequence ©)
copy constructor
Definition: jpegint12.h:87
OFBool operator>=(const OFpath &lhs, const OFpath &rhs)
Lexicographically compare two paths.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drttsibs.h:967
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
void clear()
clear all internal member variables
OFCondition read(DcmItem &dset)
reads a text object from a DICOM dataset.
#define UID_LittleEndianImplicitTransferSyntax
Implicit VR Little Endian: Default Transfer Syntax for DICOM.
Definition: dcuid.h:287
virtual ~DJDecompressIJG16Bit()
destructor
DRTWADORSRetrievalSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTRequestedProcedureCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool isDictionaryLoaded() const
checks if a data dictionary is loaded (excluding the skeleton dictionary)
Definition: dcdict.h:73
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition getFinalCumulativeTimeWeight(Float64 &value, const unsigned long pos=0) const
get FinalCumulativeTimeWeight (300a,02c8)
OFCondition getDeviceLength(Float64 &value, const unsigned long pos=0) const
get DeviceLength (0050,0014)
DcmLongString ClinicalTrialSeriesDescription
ClinicalTrialSeriesDescription (0012,0072) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2971
virtual const OFString & getDelimiterChars() const
get delimiter characters specifying when to switch back to the default character set (in case code ex...
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtrics.h:356
virtual OFCondition setDateOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set DateOfLastCalibration (0018,1200)
OFCondition setBoundingBox(double TLHC_x, double TLHC_y, double BRHC_x, double BRHC_y, DVPSannotationUnit unit, DVPSTextJustification justification)
sets bounding box for this text object.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrshs7.h:315
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition read(DcmItem &dset)
reads a VOI LUT from a DICOM dataset.
this class implements a cache of Private Creator elements and corresponding reserved tag numbers.
Definition: dcpcache.h:79
OFBool loadSkeletonDictionary()
loads the skeleton dictionary (the bare minimum needed to run)
int ParamColumn
width of column for parameter names
Definition: ofcmdln.h:1098
DcmShortString PerformedProcedureStepID
PerformedProcedureStepID (0040,0253) vr=SH, vm=1, type=3.
Definition: drttreat.h:2862
DVPSFilmOrientation getFilmOrientation()
gets the current film orientation.
OFBool getConfigBoolEntry(const char *l2_key, const char *l1_key, const char *l0_key, OFBool deflt)
returns the entry with the given keys as bool.
OFCondition read(DcmItem &item)
read elements from sequence item
Item & operator=(const Item ©)
assigment operator
const DRTRangeModulatorSequence & getRangeModulatorSequence() const
get RangeModulatorSequence (300a,0342)
Definition: drtibs.h:606
DVPSSignatureStatus getCurrentSignatureStatus(DVPSObjectType objtype) const
returns the status flag for the current object of given type.
virtual OFCondition setLaterality(const DcmIODTypes::IOD_LATERALITY value, const OFBool checkValue=OFTrue)
Set Laterality.
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item class.
Definition: drtlsds.h:36
OFCondition getDeidentificationAction(OFString &value, const signed long pos=0) const
get DeidentificationAction (0008,0307)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmLongString TreatmentProtocols
TreatmentProtocols (300a,0009) vr=LO, vm=1-n, type=3.
Definition: drtionpl.h:3182
Uint16 numAssociations() const
Returns number of associations currently running.
@ UnitedKingdom
(GB,ISO3166_1,"United Kingdom of Great Britain and Northern Ireland")
Definition: cid5001.h:53
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Get shared type of this kind functional group (can be both, per-frame or shared)
Definition: fgframevoilut.h:52
OFCondition setCurrentRepresentationParameter(const DcmRepresentationParameter *repParam)
sets the representation identification parameter of the current representation
STD_NAMESPACE ptrdiff_t difference_type
The distance between to OFdirectory_iterators would be measured as an std::ptrdiff_t.
Definition: offilsys.h:433
void clear()
clear all internal member variables
const OFString & getPeerAETitle() const
Returns the SCP's (peer's) AE title configured.
OFList< InstanceStruct * > InstanceList
list of referenced instances
Definition: dsrsoprf.h:448
OFCondition getBeamMeterset(Float64 &value, const unsigned long pos=0) const
get BeamMeterset (300a,0086)
DcmUnsignedShort PregnancyStatus
PregnancyStatus (0010,21c0) vr=US, vm=1, type=3.
Definition: drtdose.h:4239
DVPSDisplayedArea * clone()
clone method.
Definition: dvpsda.h:49
static const OFString m_ModuleName
The name of this module ("RealWorldValueMappingItemMacro")
Definition: fgrealworldvaluemapping.h:411
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
OFCondition getContributionDateTime(OFString &value, const signed long pos=0) const
get ContributionDateTime (0018,a002)
DcmPersonName OtherPatientNames
OtherPatientNames (0010,1001) vr=PN, vm=1-n, type=3.
Definition: drtdose.h:4106
Uint8 variant_and_clock_seq_high
2 bits for the variant and the 6 highest bits of the clock sequence
Definition: ofuuid.h:126
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DRTRTReferencedSeriesSequence(const DRTRTReferencedSeriesSequence ©)
copy constructor
virtual E_TransferSyntax supportedTransferSyntax() const =0
returns the transfer syntax that this particular codec is able to Decode
OFBool m_disableAttribChecks
If true, some simple attribute checks (missing type 2 attributes or missing type 1 values) are omitte...
Definition: i2d.h:247
virtual ~DSRSpatialCoordinates3DValue()
destructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtmris.h:141
virtual ~Item()
destructor
IOD_IE
IOD Information Entities (incomplete list, extended as needed)
Definition: iodtypes.h:86
void write(DcmEncoderOutputStream &os) const
copies the compressed RLE byte stream into an output stream
Definition: dcrleenc.h:303
DRTRTDoseROISequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition getActualFrameDuration(OFString &value, const signed long pos=0) const
get ActualFrameDuration (0018,1242)
OFCondition selectPrintPresentationLUT(const char *lutID)
sets the LUT with the given identifier in the Stored Print object as current Presentation LUT.
DcmShortText PersonAddress
PersonAddress (0040,1102) vr=ST, vm=1, type=3.
Definition: drtrpis.h:206
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setPixelPaddingRangeLimit(const Uint16 value, const unsigned long pos=0)
set PixelPaddingRangeLimit (0028,0121)
virtual OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
virtual OFCondition setStudyDescription(const OFString &value, const OFBool check=OFTrue)
set StudyDescription (0008,1030)
virtual OFCondition setPositionReferenceIndicator(const OFString &value, const OFBool check=OFTrue)
set PositionReferenceIndicator (0020,1040)
T_EncodingConvertersMap EncodingConverters
map of character set conversion descriptors (only used if multiple character sets are needed)
Definition: dcspchrs.h:307
const Item & getItem(const size_t num) const
get particular item in the sequence
Helper class to use any class as an SCPWorker as long as it is a model of the SCP Thread Concept.
Definition: scppool.h:291
virtual OFBool canChangeCoding(const E_TransferSyntax oldRepType, const E_TransferSyntax newRepType) const
checks if this codec is able to convert from the given current transfer syntax to the given new trans...
static const size_t HF_addDocumentTypeReference
external: add explicit reference to HTML document type (DTD)
Definition: dsrtypes.h:329
DSRCodedEntryValue(const OFString &codeValue, const OFString &codingSchemeDesignator, const OFString &codingSchemeVersion, const OFString &codeMeaning, const DSRTypes::E_CodeValueType codeValueType=DSRTypes::CVT_auto, const OFBool check=OFTrue)
constructor.
DRTBrachyAccessoryDeviceSequence(const DRTBrachyAccessoryDeviceSequence ©)
copy constructor
DRTStrainStockSequence StrainStockSequence
StrainStockSequence (0010,0216) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2846
virtual OFCondition setImagePlanePixelSpacing(const OFString &value, const OFBool check=OFTrue)
set ImagePlanePixelSpacing (3002,0011)
DcmHashDictIterator normalEnd()
returns an iterator to the end of the normal (non-repeating) dictionary
Definition: dcdict.h:147
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
This abstract class defines the "Factory" interface to create "Layout" objects.
Definition: factory.h:85
DcmCodeString SpecificCharacterSet
SpecificCharacterSet (0008,0005) vr=CS, vm=1-n, type=1C.
Definition: drtstrct.h:3076
DcmAttributeFilter(const DcmTagKey &tag, const Iterator &begin, const Iterator &end)
construct a DcmAttributeFilter object from two iterators defining the range of values.
Definition: dcfilter.h:118
virtual OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read reference value from XML document
OFCondition setRealWorldValueMap(DcmItem &dataset, const OFBool check=OFTrue)
set the value of the 'Real World Value Map used for measurement' content item (TID 1501 - Row 9).
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrtrs2.h:328
int DeleteData
flag indicating whether the output data buffer should be deleted in the destructor
Definition: dicoopxt.h:406
virtual OFCondition check() const
Check whether data of this functional group is valid.
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches the filter criterion (template identification)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtics.h:347
static OFCondition dropPrivileges()
On Posix-like platform, this method executes setuid(getuid()), which causes the application to revert...
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition init()=0
initializes internal object structures.
static void copyClinicalTrialSubjectModule(DcmItem &src, DcmItem &dest)
Copy Clinical Trial Subject Module attributes.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_MissingValue
Missing value, e.g. element must contain a value but is empty.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmUnsignedShort BitsAllocated
BitsAllocated (0028,0100) vr=US, vm=1, type=1.
Definition: drtimage.h:5260
OFBool operator==(const DcmHashDictIterator &x) const
comparison equality
Definition: dchashdi.h:144
OFCondition getCodingSchemeName(OFString &value, const signed long pos=0) const
get CodingSchemeName (0008,0115)
virtual OFCondition setFirstTreatmentDate(const OFString &value, const OFBool check=OFTrue)
set FirstTreatmentDate (3008,0054)
unsigned long maxval
maximum pixel value to which all color samples were down-sampled during computation of the histogram.
Definition: diqtctab.h:228
Uint32 getMaxLength() const
get the maximum number of characters for each string component
Definition: dcbytstr.h:391
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
DRTBeamLimitingDevicePositionSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual FGBase * clone() const
Returns a deep copy of this object.
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTConsultingPhysicianIdentificationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTGroupOfPatientsIdentificationSequence GroupOfPatientsIdentificationSequence
GroupOfPatientsIdentificationSequence (0010,0027) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2711
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 element to a stream.
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
special write method for creation of digital signatures
@ GT_Multipoint
DICOM Graphic Type: MULTIPOINT.
Definition: dsrtypes.h:667
OFBool isEmpty()
check if item is empty
virtual OFCondition check(const OFBool quiet=OFFalse)
Check whether this component's data satisfies the underlying rules.
@ LumboSacralSpine
(297173004,SCT,"Lumbo-sacral spine")
Definition: cid4031.h:150
OFCondition getTableTopLateralSetupDisplacement(Float64 &value, const unsigned long pos=0) const
get TableTopLateralSetupDisplacement (300a,01d6)
virtual ~DRTReferencedBrachyApplicationSetupSequenceInRTFractionSchemeModule()
destructor
OFBool isEmpty()
check if item is empty
virtual ~DRTBrachyAccessoryDeviceSequence()
destructor
@ DcmRepresentativeColorType_default
average all the colors in the box (as specified in Heckbert's paper; this is the default)
Definition: diqttype.h:71
OFString pw_gecos
the real name.
Definition: ofpwd.h:85
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtecs.h:312
DVPSCurveType typeOfData
type of curve data
Definition: dvpscu.h:124
long * nextberr
blue error vector for next row. Points to an array of (columns + 2) entries.
Definition: diqtfs.h:204
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtrics.h:360
OFBool printSCPCreate(DVConfiguration &cfg, const char *cfgname, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, const char *peerae, OFBool presentationLUTnegotiated, DVPSPresentationLUT_PList &globalPresentationLUTList)
performs a Print SCP Basic Film Session N-CREATE operation on a newly created instance of this class.
Uint32 time_low
Octets 0-3 of the time field.
Definition: ofuuid.h:120
OFCondition getParameterItemIndex(OFString &value, const signed long pos=0) const
get ParameterItemIndex (3008,0063)
virtual OFCondition getPatientBodyMassIndex(OFString &value, const signed long pos=0) const
get PatientBodyMassIndex (0010,1022)
OFCondition addPresentationContext(const OFString &abstractSyntax, const OFList< OFString > &xferSyntaxes, const T_ASC_SC_ROLE role=ASC_SC_ROLE_DEFAULT, const OFString &profile="DEFAULT")
Add abstract syntax to presentation contexts the SCP is able to negotiate with SCUs.
DRTReferencedPatientSequence(const DRTReferencedPatientSequence ©)
copy constructor
const Item & getItem(const size_t num) const
get particular item in the sequence
void clear()
Resets DcmProfileMap and frees any allocated memory.
Definition: procline.h:28
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setReferencedBeamNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedBeamNumber (300c,0006)
Item EmptyItem
empty default item
Definition: drtbs.h:980
OFCondition getApplicatorType(OFString &value, const signed long pos=0) const
get ApplicatorType (300a,0109)
DcmSegment & operator=(const DcmSegment &)
Private undefined assignment operator.
void clear()
clear all internal member variables
OFCondition attachImage(DcmFileFormat *fileformat, OFBool transferOwnership)
attaches an image to the presentation state.
static T extractDigits(const char *)
extracts digits from a string and converts them to the given integer number type.
@ VolumeEstimatedFromThreeOrMoreNonCoplanar2DRegions
(121217,DCM,"Volume estimated from three or more non-coplanar 2D regions"), included from CID 7472
Definition: cid7469.h:404
Item EmptyItem
empty default item
Definition: drtos.h:403
OFCondition getBitsAllocated(Uint16 &value, const unsigned long pos=0) const
get BitsAllocated (0028,0100)
OFCondition setFractionGroupType(const OFString &value, const OFBool check=OFTrue)
set FractionGroupType (3008,0224)
OFCondition addItem(const OFString &sopClassUID, const OFString &instanceUID)
add new entry to the list of instances (if not already existent).
OFCondition getTemporalCoordinates(DSRTemporalCoordinatesValue &coordinatesValue) const
get copy of temporal coordinates.
this class maintains a table of client processes.
Definition: dcmqrptb.h:49
OFCondition write(DcmItem &item)
write elements to sequence item
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid42.h:129
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
static const OFBool is_bounded
OFTrue for all arithmetic types T that represent a finite set of values.
Definition: oflimits.h:425
Implementation of DCMR Context Group: CID 7445 - Device Participating Roles.
Definition: cid7445.h:35
Interface class for CompensatorSequence (300a,00e3)
Definition: drtcos.h:28
virtual OFCondition readSeriesData(DcmItem &dataset)
read SeriesData from dataset.
@ DCMSCU_STORAGE_BIT_PRESERVING
Try to store to disk in bit-preserving mode.
Definition: scu.h:68
virtual OFCondition handleACTIONRequest(T_DIMSE_N_ActionRQ &reqMessage, const T_ASC_PresentationContextID presID, DcmDataset *&reqDataset, Uint16 &actionTypeID)
Receive N-ACTION request on the currently opened association.
Definition: scp.h:895
DcmCertificateVerification
this enum describes how to handle X.509 certificates on a TLS based secure transport connection.
Definition: tlslayer.h:66
OFCondition getMetersetRate(Float32 &value, const unsigned long pos=0) const
get MetersetRate (300a,035a)
DcmLongString AdmissionID
AdmissionID (0038,0010) vr=LO, vm=1, type=3.
Definition: drttreat.h:2812
void deleteStatusDetail()
delete status detail, if any
Item & operator[](const size_t num)
get particular item in the sequence
DcmLongString ClinicalTrialTimePointID
ClinicalTrialTimePointID (0012,0050) vr=LO, vm=1, type=2.
Definition: drtstrct.h:2913
DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence()
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtstrct.h:1326
OFCondition setRationalRepresentation(const Sint32 rationalNumerator, const Uint32 rationalDenominator, const OFBool check=OFTrue)
set rational representation of the numeric value.
OFBool isEmpty()
check if item is empty
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition setAcquisitionNumber(const OFString &value, const OFBool check=OFTrue)
set AcquisitionNumber (0020,0012)
virtual size_t gotoNextAnnotatedNode(const OFString &annotationText)
set internal cursor to the next annotated node.
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setResponsiblePersonRole(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePersonRole (0010,2298)
Definition: jpegint12.h:162
virtual OFCondition setObservationDateTime(DcmItem &dataset, const DcmTagKey &tagKey, const unsigned long pos=0, const OFBool check=OFTrue)
set observation date/time from dataset
DcmUniqueIdentifier SOPInstanceUID
SOP Instance UID: (UI, 1, 1)
Definition: dsrdoc.h:1316
OFCondition addFilter(DSRDocumentTreeNodeFilter *filter)
add a document tree node filter to the list
OFCondition getNumberOfBlocks(Sint32 &value, const unsigned long pos=0) const
get NumberOfBlocks (300a,00f0)
virtual GeneralAnatomyMacro & getGeneralAnatomyCode()
Get General Anatomy Code.
const DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence() const
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtiontr.h:1617
DcmCodeString PatientSexNeutered
PatientSexNeutered (0010,2203) vr=CS, vm=1, type=2C.
Definition: drtimage.h:4962
static const size_t PF_useANSIEscapeCodes
use ANSI escape codes for output
Definition: dctypes.h:197
virtual OFBool canChangeCoding(const E_TransferSyntax oldRepType, const E_TransferSyntax newRepType) const
checks if this codec is able to convert from the given current transfer syntax to the given new trans...
virtual OFCondition check(const OFBool quiet=OFFalse)
Check whether this component's data satisfies the underlying rules.
int writeCurveData(const char *filename, const OFBool mode=OFTrue)
write curve data to a text file
virtual OFCondition setConcatenationUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Concatenation UID.
~DcmRLEEncoder()
destructor
Definition: dcrleenc.h:82
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition setAccessionNumber(const OFString &value, const OFBool check=OFTrue)
set AccessionNumber (0008,0050)
void printSCPBasicFilmBoxSet(DVConfiguration &cfg, const char *cfgname, T_DIMSE_Message &rq, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, OFBool presentationLUTnegotiated, DVPSPresentationLUT_PList &globalPresentationLUTList)
performs a Print SCP Basic Film Box N-SET operation.
DVIFhierarchyStatus getStatus() const
gets review status of the current (selected) sstudy
Definition: dvcache.h:840
OFCondition removeOriginalRepresentation(const E_TransferSyntax repType, const DcmRepresentationParameter *repParam)
delete original representation and set new original representation.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setReferencedBeamNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedBeamNumber (300c,0006)
OFBool isEmpty()
check if sequence is empty
DRTFractionGroupSequence & getFractionGroupSequence()
get FractionGroupSequence (300a,0070)
Definition: drtplan.h:1448
OFBool updateReference(const OFString &referencedContentItem)
update reference the target content item (using the position string).
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmDate PerformedProcedureStepEndDate
PerformedProcedureStepEndDate (0040,0250) vr=DA, vm=1, type=3.
Definition: drtstrct.h:2954
virtual ~DiMonoPixel()
destructor
OFCondition setBeamDoseSpecificationPoint(const OFString &value, const OFBool check=OFTrue)
set BeamDoseSpecificationPoint (300a,0082)
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtpsics.h:205
OFCondition getTableTopVerticalPositionTolerance(Float64 &value, const unsigned long pos=0) const
get TableTopVerticalPositionTolerance (300a,0051)
DcmUnlimitedText LocalNamespaceEntityID
LocalNamespaceEntityID (0040,0031) vr=UT, vm=1, type=1C.
Definition: drtiseis.h:144
void clear()
clear all internal member variables
const char * getDescriptionOfVOIWindowsInImage(size_t idx)
returns a description string for the given VOI Window in the attached image.
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoImageLibraryGroup
error: there is no image library group to add image entries to
DcmDate StructureSetDate
StructureSetDate (3006,0008) vr=DA, vm=1, type=2.
Definition: drtdose.h:4615
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
virtual OFCondition getManufacturer(OFString &value, const signed long pos=0) const
Get Manufacturer.
FGFactory & operator=(const FGFactory &)
Private undefined assignment operator (singleton implementation)
OFCondition exchangeGraphicLayers(size_t idx1, size_t idx2)
exchanges the layer order of the two graphic layers with the given indices.
const DcmTag & getTag() const
return const reference to the attribute tag for this object
Definition: dcobject.h:397
Definition: lockfile.h:44
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
Interface class for ReferencedBolusSequence (300c,00b0) in RTIonBeamsSessionRecordModule.
Definition: drtrbos7.h:28
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
Template class to flip images (on pixel data level).
Definition: diflipt.h:42
OFCondition getCumulativeMetersetWeight(Float64 &value, const unsigned long pos=0) const
get CumulativeMetersetWeight (300a,0134)
OFCondition setDoseType(const OFString &value, const OFBool check=OFTrue)
set DoseType (3004,0004)
virtual OFCondition getConsultingPhysicianName(OFString &value, const signed long pos=0) const
get ConsultingPhysicianName (0008,009c)
@ EUC_never
never assign new SOP instance UID
Definition: djutils.h:103
DSRXMLDocument()
default constructor
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
void forceAssociationRefuse(const OFBool doRefuse)
Force every association request to be refused by SCP, no matter what the SCU is offering.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmDate(const DcmDate &old)
copy constructor
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtrics.h:346
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getReferencedDoseReferenceUID(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceUID (300a,0083)
virtual OFCondition cancelMoveRequest(DcmQueryRetrieveDatabaseStatus *status)=0
cancel the ongoing MOVE request, stop and reset every running operation associated with this request,...
virtual OFCondition putUint16Array(const Uint16 *vals, const unsigned long num)
replace the element value by a copy of the given Uint16 array (which is possibly multi-valued).
const LogLevel ERROR_LOG_LEVEL
The ERROR_LOG_LEVEL LogLevel designates error events that might still allow the application to contin...
Definition: loglevel.h:64
OFVector< DcmSegment * > m_Segments
Segment descriptions from Segment Sequence.
Definition: segdoc.h:612
DRTXDSRetrievalSequence & getXDSRetrievalSequence()
get XDSRetrievalSequence (0040,e024)
Definition: drtrpphs.h:186
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtmdrs.h:396
DcmDirectoryRecord * buildHangingProtocolRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update hanging protocol record and copy required values from dataset
OFCondition getNumberOfWedges(OFString &value, const signed long pos=0) const
get NumberOfWedges (300a,00d0)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DicomImage * previewImage
a pointer to the dcmimage representation of the (smaller) preview image to which the presentation sta...
Definition: dvpstat.h:1210
pointer operator->() const
Access the object owned by *this.
Definition: ofmem.h:409
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtpdeds.h:225
const Item & operator[](const size_t num) const
get particular item in the sequence
DVPSDisplayedArea & operator=(const DVPSDisplayedArea &source)
undefined private assignment operator
OFBool operator!() const
query whether selectCharacterSet() has not been called before, i.e. convertString() would fail.
OFString CodingSchemeExternalID
Coding Scheme External ID (VR=ST, type 2C)
Definition: dsrcsidl.h:325
OFCondition setNumberOfControlPoints(const OFString &value, const OFBool check=OFTrue)
set NumberOfControlPoints (300a,0110)
virtual OFCondition getClinicalTrialSponsorName(OFString &value, const signed long pos=0) const
get ClinicalTrialSponsorName (0012,0010)
DcmLongString textString
Module=Annotation_List, VR=LO, VM=1, Type 1(c)
Definition: dvpsab.h:119
OFCondition setFrameOfReferenceUID(const OFString &frameOfReferenceUID, const OFBool check=OFTrue)
set current referenced frame of reference UID.
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtcncs.h:335
an item of the graphic annotation sequence in a presentation state (internal use only).
Definition: dvpsga.h:40
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtssrs.h:419
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmLongString PerformedProcedureStepDescription
PerformedProcedureStepDescription (0040,0254) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2958
~DcmRoleSelectionMap()
destructor
@ AP_GeneralPurpose
General Purpose Interchange on CD-R or DVD-RAM Media (STD-GEN-CD/DVD-RAM)
Definition: dcddirif.h:117
@ _86_Yttrium
(10738001,SCT,"^86^Yttrium")
Definition: cid4020.h:102
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setPatientSize(const OFString &value, const OFBool check=OFTrue)
set PatientSize (0010,1020)
OFCondition releaseDatabase()
removes any shared or exclusive lock on the database.
OFCondition insertSequenceItem(const DcmTag &seqTag, DcmItem *item, const signed long itemNum=-2)
looks up the given sequence in the current dataset and inserts the given item.
void clear()
clear all internal member variables
virtual OFCondition handleSTORERequest(T_DIMSE_C_StoreRQ &reqMessage, const T_ASC_PresentationContextID presID, DcmDataset *&reqDataset)
Receive C-STORE request on the currently opened association, store the accompanying dataset in memory...
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
static OFString getLibraryVersionString()
get version information of the CharLS library.
~DiMonoRotateTemplate()
destructor
Definition: dimorot.h:80
OFCondition putAndInsertFloat32(const DcmTag &tag, const Float32 value, const unsigned long pos=0, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
T *const m_pT
The pointer to the managed object.
Definition: ofmem.h:249
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
void clear()
clear all internal member variables
OFCondition setCompensatorMillingToolDiameter(const Float32 value, const unsigned long pos=0)
set CompensatorMillingToolDiameter (300a,02e8)
const DRTReferencedStudySequence & getReferencedStudySequence() const
get ReferencedStudySequence (0008,1110)
Definition: drtionpl.h:1805
This class contains helper functions that permit copying common modules from DICOM standard part 3 be...
Definition: modhelp.h:39
DcmRLEDecoder(size_t outputBufferSize)
constructor
Definition: dcrledec.h:39
virtual void clear()
clear all member variables.
@ PositiveInfinity
(114002,DCM,"Positive Infinity")
Definition: cid42.h:48
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition nextMoveResponse(char *SOPClassUID, size_t SOPClassUIDSize, char *SOPInstanceUID, size_t SOPInstanceUIDSize, char *imageFileName, size_t imageFileNameSize, unsigned short *numberOfRemainingSubOperations, DcmQueryRetrieveDatabaseStatus *status)=0
Constructs the information required for the next available C-MOVE sub-operation (the image SOP class ...
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmTransportConnection * connection
current transport connection
Definition: dvpsmsg.h:269
Item EmptyItem
empty default item
Definition: drtwrsrs.h:299
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtlsds6.h:350
const DRTConceptCodeSequence & getConceptCodeSequence() const
get ConceptCodeSequence (0040,a168)
Definition: drtcims.h:206
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition getRelatedGeneralSOPClassUID(OFString &value, const signed long pos=0) const
get RelatedGeneralSOPClassUID (0008,001a)
virtual OFCondition search(const DcmTagKey &xtag, DcmStack &resultStack, E_SearchMode mode=ESM_fromHere, OFBool searchIntoSub=OFTrue)
a complex, stack-based, hierarchical search method.
virtual OFBool isAllowableMACType(E_MACType macType) const
checks whether the given MAC type can be used with this security profile.
OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
OFVector< CodeSequenceMacro * > m_AnatomicRegionModifier
Anatomic Region Modifier Macro (within item of Anatomic Region Sequence)
Definition: iodmacro.h:810
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtpics.h:355
OFVector(const OFVector &other)
copy constructor.
Definition: ofvector.h:94
OFLog()
private constructor, don't create instances of this class
Definition: oflog.h:89
Item class.
Definition: drtians.h:36
Uint32 getMaxPreviewResolutionX()
returns the maximum horizontal preview image resolution, from GENERAL/MONITOR/PREVIEW in the config f...
OFBool addParam(const char *param, const char *descr, const OFCmdParam::E_ParamMode mode=OFCmdParam::PM_Mandatory)
adds an item to the list of valid parameters (full version)
OFCondition getBrachyApplicationSetupDose(OFString &value, const signed long pos=0) const
get BrachyApplicationSetupDose (300a,00a4)
static OFBool isWriteable(const OFFilename &pathName)
check whether the given path is writeable.
DcmCodeString RangeModulatorType
RangeModulatorType (300a,0348) vr=CS, vm=1, type=1.
Definition: drtrrms.h:185
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtdcs.h:335
~DcmProfileEntry()
destructor
virtual OFCondition getUint8Array(Uint8 *&val)
get a pointer to the element value of the current element as type string.
static int lookupOpenSSLCertificateFormat(DcmKeyFileFormat fileType)
look up OpenSSL certificate format constant
DcmLongString PatientDeathDateInAlternativeCalendar
PatientDeathDateInAlternativeCalendar (0010,0034) vr=LO, vm=1, type=3.
Definition: drtplan.h:2977
virtual DcmEVR ident() const
get element type identifier
void _init()
performs initialization for given hash table size, called from constructor
OFCondition setDefaultIcon(const OFFilename &filename)
set filename of default icon image.
static OFCondition createFractionalSegmentation(DcmSegmentation *&segmentation, const Uint16 rows, const Uint16 columns, const DcmSegTypes::E_SegmentationFractionalType fractType, const Uint16 &maxFractionalValue, const IODGeneralEquipmentModule::EquipmentInfo &equipmentInfo, const ContentIdentificationMacro &contentIdentification)
Factory method to create a fractional segmentation object from the minimal set of information require...
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition getWindowWidth(OFString &value, const signed long pos=0) const
get WindowWidth (0028,1051)
int readWord(Uint16 &result)
Read 2 bytes from the byte stream.
virtual OFCondition getPixelPaddingRangeLimit(Uint16 &value, const unsigned long pos=0) const
get PixelPaddingRangeLimit (0028,0121)
virtual OFCondition setResponsibleOrganization(const OFString &value, const OFBool check=OFTrue)
set ResponsibleOrganization (0010,2299)
OFCondition createIconImage(const DicomImage *image, const unsigned long width=64, const unsigned long height=64)
create an icon image from the given DICOM image and associate it with this image reference.
const char * getMagnificationType()
gets the (optional) magnification type.
bool removeProperty(const log4cplus::tstring &key)
Removed the property index by key from this map.
virtual OFCondition importFromSourceImage(DcmItem &dataset, const OFBool takeOverCharset=OFTrue)
Import Patient, Study, and Frame of Reference level information from the given item.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getPatientSize(OFString &value, const signed long pos=0) const
get PatientSize (0010,1020)
DcmRefuseReasonType
Codes denoting a reason for refusing an association.
Definition: scp.h:75
virtual void clearData()
Clears all data.
OFCondition getOrganAtRiskOverdoseVolumeFraction(OFString &value, const signed long pos=0) const
get OrganAtRiskOverdoseVolumeFraction (300a,002d)
virtual OFCondition getLongitudinalTemporalEventType(OFString &value, const signed long pos=0) const
get LongitudinalTemporalEventType (0012,0053)
void clear()
resets the object to initial state.
Uint16 * DataBuffer
pointer to overlay data (if scaled, flipped or rotated)
Definition: diovdat.h:76
int getMinMaxValues(double &min, double &max) const
get minimum and maximum pixel values
Definition: dimopxt.h:170
virtual OFCondition convertCharacterSet(const OFString &fromCharset, const OFString &toCharset, const size_t flags=0, const OFBool updateCharset=OFFalse)
convert all element values that are contained in this item and that are affected by SpecificCharacter...
virtual OFCondition putFloat64(const Float64 val, const unsigned long pos=0)
insert into the element value a copy of the given Float64 value.
OFCondition setReferencedROINumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedROINumber (3006,0084)
virtual OFCondition getStrainNomenclature(OFString &value, const signed long pos=0) const
get StrainNomenclature (0010,0213)
virtual DJDecoder * createDecoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, OFBool isYBR) const
creates an instance of the compression library to be used for decoding.
OFCondition getRepositoryUniqueID(OFString &value, const signed long pos=0) const
get RepositoryUniqueID (0040,e030)
const OFtuple_element< Index, Tuple >::type & OFget(const Tuple &tuple)
A function template to access an element of a tuple.
const Item & getCurrentItem() const
get current item in the sequence
DcmCodeString patientSex
Module=Patient, VR=CS, VM=1, Type 2.
Definition: dcmpstat.h:800
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
DcmRLEDecoder(const DcmRLEDecoder &)
private undefined copy constructor
T get()
returns the value of this object.
Definition: ofglobal.h:92
OFCondition setWedgeFactor(const OFString &value, const OFBool check=OFTrue)
set WedgeFactor (300a,00d6)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getIsocenterPosition(OFVector< Float64 > &value) const
get IsocenterPosition (300a,012c)
virtual OFCondition getAcquisitionDateTime(OFString &value, const signed long pos=0) const
get AcquisitionDateTime (0008,002a)
iterator class for traversing a DcmHashDict
Definition: dchashdi.h:116
OFCondition getSourceToBeamLimitingDeviceDistance(Float64 &value, const unsigned long pos=0) const
get SourceToBeamLimitingDeviceDistance (300a,00ba)
DcmSCU()
Constructor, just initializes internal class members.
OFCondition gotoFirstItem()
select the first item in the list.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getReferencedROINumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedROINumber (3006,0084)
OFCondition getReferencedFrameNumber(OFString &value, const signed long pos=0) const
get ReferencedFrameNumber (0008,1160)
size_t getNumberOfItems() const
get number of items in the sequence
const char * HostName
remote peer host name
Definition: dcmqrcnf.h:130
const wchar_t * getWideCharPointer() const
get stored filename consisting of wide characters
Definition: offile.h:224
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
unsigned long createDIB(void *&data, const unsigned long size, const unsigned long frame, const int bits, const int upsideDown, const int padding=1)
create true color (24/32 bit) bitmap for MS Windows.
@ DynamicMagneticResonanceImagingOfKnee
(433139009,SCT,"Dynamic magnetic resonance imaging of knee")
Definition: cid100.h:54
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtpcs.h:347
OFCondition write(DcmItem &item)
write elements to sequence item
const DRTSourceImageSequence & getSourceImageSequence() const
get SourceImageSequence (0008,2112)
Definition: drtimage.h:3052
iterator begin()
Return iterator to first frame (not sorted after stack position)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getParameterItemIndex(Sint32 &value, const unsigned long pos=0) const
get ParameterItemIndex (3008,0063)
OFCondition gotoNextItem()
goto next item in the sequence
static DcmRLECodecDecoder * codec
pointer to RLE decoder
Definition: dcrledrg.h:72
virtual OFCondition findMeasurementsByType(const CodeSequenceMacro &type, OFVector< size_t > &measurementNumbers)
Find measurements of a specific type.
OFBool operator==(const DSRBasicCodedEntry &basicCodedEntry) const
comparison operator "equal".
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFCondition read(DcmItem &item)
read elements from sequence item
Uint32 getLastEntry(const Uint32=0) const
get index of last LUT entry.
Definition: dibaslut.h:117
static const int max_exponent
The largest positive number such that is a valid normalized value of the floating-point type T.
Definition: oflimits.h:617
OFCondition setCompensatorDescription(const OFString &value, const OFBool check=OFTrue)
set CompensatorDescription (300a,02eb)
DcmPersonName ConsultingPhysicianName
ConsultingPhysicianName (0008,009c) vr=PN, vm=1-n, type=3.
Definition: drtplan.h:3071
OFCondition getImageReference(size_t idx, OFString &seriesUID, OFString &sopclassUID, OFString &instanceUID, OFString &frames, OFString &aetitle, OFString &filesetID, OFString &filesetUID)
gets an image reference with the given index.
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
void init(const DcmHashDict *d, OFBool atEnd=OFFalse)
initializes the iterator
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFCondition DB_StudyDescChange(StudyDescRecord *pStudyDesc)
write study descriptor record to start of index file
@ EJLSPC_restore
restore planar configuration as indicated in data set
Definition: djlsutil.h:76
Uint32 contentLength() const
return the number of bytes of user data currently in buffer
Definition: dcwcache.h:83
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition gotoNextItem()
goto next item in the sequence
DRTOriginalAttributesSequence & getOriginalAttributesSequence()
get OriginalAttributesSequence (0400,0561)
Definition: drtimage.h:2758
DiCIELABFunction(const char *filename, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=-1)
constructor, read device characteristics file.
virtual offile_off_t filled()
query the number of bytes in buffer without flushing it.
DSRTree(T *rootNode)
special constructor that receives a pointer to the root node.
Definition: dsrtree.h:459
DRTBreedRegistrationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition getSeriesDescription(OFString &value, const signed long pos=0) const
get SeriesDescription (0008,103e)
virtual OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
OFBool update_metaheader_uids_option
if false, metaheader UIDs are not updated when related dataset UIDs change
Definition: mdfconen.h:163
void clear()
clear all member variables.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition setLastMenstrualDate(const OFString &value, const OFBool check=OFTrue)
set LastMenstrualDate (0010,21d0)
virtual OFCondition setIssuerOfPatientID(const OFString &value, const OFBool check=OFTrue)
set IssuerOfPatientID (0010,0021)
singleton class that registers encoders for all supported JPEG processes.
Definition: djencode.h:41
virtual DcmObject * clone() const
clone method
Definition: dcpxitem.h:74
static DcmTLSCipherKeyExchange getCipherSuiteKeyExchange(size_t idx)
returns the key exchange protocol used by the ciphersuite with the given index
virtual OFCondition getPatientState(OFString &value, const signed long pos=0) const
get PatientState (0038,0500)
static unsigned long getElemValue(const DcmElement *elem, const Uint16 *&returnVal)
get value of given element (Uint16 array)
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print spatial coordinates.
a class that allows to feed selected parts of a DICOM dataset into the MAC generation code
Definition: simaccon.h:48
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
virtual OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
long * thisgerr
current green error vector. Points to an array of (columns + 2) entries.
Definition: diqtfs.h:195
OFListIterator(Item *) CurrentItem
currently selected item
virtual ~Item()
destructor
OFCondition setFloatingPointValue(const Float64 value, const unsigned long pos=0)
set FloatingPointValue (0040,a161)
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFBool isPatientStudyModulePresent(const OFBool complete=OFFalse)
check whether PatientStudyModule (U) is present.
virtual OFCondition getRTPlanDescription(OFString &value, const signed long pos=0) const
get RTPlanDescription (300a,0004)
DcmLongString ServiceEpisodeID
ServiceEpisodeID (0038,0060) vr=LO, vm=1, type=3.
Definition: drtdose.h:4253
virtual OFCondition decode(const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *pixSeq, DcmPolymorphOBOW &uncompressedPixelData, const DcmCodecParameter *cp, const DcmStack &objStack) const
decompresses the given pixel sequence and stores the result in the given uncompressedPixelData elemen...
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtpics.h:353
DRTReferencedInstanceSequence ReferencedInstanceSequence
ReferencedInstanceSequence (0008,114a) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3337
virtual OFCondition getAcquisitionTime(OFString &value, const signed long pos=0)
Get Acquisition Time.
pure virtual abstract base class for output filters, i.e.
Definition: dcostrma.h:91
static const char * graphicTypeToReadableName(const E_GraphicType graphicType)
convert graphic type to readable name.
virtual ~Item()
destructor
OFCondition run(T_ASC_Association *assoc)
Take over incoming association that is in the state that the underlying TCP/IP connection is already ...
DJCompressIJG8Bit(const DJCodecParameter &cp, EJ_Mode mode, Uint8 quality)
constructor for lossy JPEG
void clearPixel(T *dest[])
clear pixel data (set values to 0)
Definition: ditranst.h:111
DcmLongString RangeShifterSetting
RangeShifterSetting (300a,0362) vr=LO, vm=1, type=1.
Definition: drtrshs6.h:167
OFCondition setSeriesInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SeriesInstanceUID (0020,000e)
virtual OFCondition getClinicalTrialTimePointID(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointID (0012,0050)
DiRGBPixelTemplate(const DiDocument *docu, const DiInputPixel *pixel, EI_Status &status, const unsigned long planeSize, const int bits)
constructor
Definition: dirgbpxt.h:53
Item class.
Definition: drtpsss.h:36
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const DRTReferencedDoseReferenceSequenceInRTIonBeamsModule & getReferencedDoseReferenceSequence() const
get ReferencedDoseReferenceSequence (300c,0050)
Definition: drticps.h:519
virtual ~DSRIncludedTemplateNodeCursor()
destructor
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setFrameOfReferenceUID(const OFString &value, const OFBool check=OFTrue)
set FrameOfReferenceUID (0020,0052)
OFCondition setNumberOfCompensators(const OFString &value, const OFBool check=OFTrue)
set NumberOfCompensators (300a,00e0)
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
DcmEVR getEVR() const
returns VR code
Definition: dcdicent.h:111
virtual OFCondition getPatientSex(OFString &value, const signed long pos=0) const
get patient's sex
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
const DRTCorrectedParameterSequence & getCorrectedParameterSequence() const
get CorrectedParameterSequence (3008,0068)
Definition: drticpds.h:481
OFCondition setGeneralAccessoryID(const OFString &value, const OFBool check=OFTrue)
set GeneralAccessoryID (300a,0421)
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition getPreviewImageBitmap(void *bitmap, unsigned long size)
writes the bitmap data of the preview image into the given buffer.
Class for HSV images.
Definition: dihsvimg.h:39
OFString opt_softwareVersions
Software Version(s) (VM 1-n)
Definition: dcencdoc.h:281
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
unsigned long getFirstFrame() const
get index of first frame.
Definition: dcmimage.h:227
virtual DcmEVR ident() const
get element type identifier
OFVector< CodeSequenceMacro * > m_ProcedureCodeSequence
Procedure Code Sequence.
Definition: modgeneralstudy.h:238
@ Depth
(131197000,SCT,"Depth"), included from CID 7470
Definition: cid7469.h:360
DcmIntegerString WedgeAngle
WedgeAngle (300a,00d5) vr=IS, vm=1, type=2.
Definition: drtrws.h:209
size_t getNumberOfItems() const
get number of items in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmUnsignedShort shutterPresentationValue
Module=Display_Shutter, VR=US, VM=1, Type 3 (1c in other modules)
Definition: dcmpstat.h:906
int Valid
status flag, indicating whether display function is valid
Definition: didispfn.h:437
OFCondition convertString(const char *fromString, const size_t fromLength, OFString &toString, const OFString &delimiters="")
convert the given string from the selected source character set(s) to the selected destination charac...
DRTMotionSynchronizationSequence & getMotionSynchronizationSequence()
get MotionSynchronizationSequence (300a,0410)
Definition: drtpss.h:207
Item & getItem(const size_t num)
get particular item in the sequence
DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence()
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtplan.h:1784
int numberOfRepeatingTagEntries() const
returns the number of repeating tag entries
Definition: dcdict.h:79
OFBool operator==(const OFCondition &arg) const
comparison operator.
Definition: ofcond.h:334
static void printLibraryVersion()
Print OpenSSL library version string.
static const char * graphicType3DToReadableName(const E_GraphicType3D graphicType)
convert graphic type (3D) to readable name.
DcmDecimalString CompensatorThicknessData
CompensatorThicknessData (300a,00ec) vr=DS, vm=1-n, type=1C.
Definition: drtcos.h:467
OFCondition setBlockNumber(const OFString &value, const OFBool check=OFTrue)
set BlockNumber (300a,00fc)
DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule(const DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule ©)
copy constructor
virtual OFCondition setTreatmentTime(const OFString &value, const OFBool check=OFTrue)
set TreatmentTime (3008,0251)
const char * getUserDICOMName(const char *userID)
returns the name for the given user in DICOM Person Name (PN) format.
virtual OFCondition setTrackData(const Float32 *trackDataPoints, const size_t numPoints)
Set Track Data.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmFileConsumer consumer_
the final consumer of the filter chain
Definition: dcostrmf.h:138
DSRGraphicData3DList & operator=(const DSRGraphicData3DList &lst)
assignment operator
OFCondition getPrimaryDosimeterUnit(OFString &value, const signed long pos=0) const
get PrimaryDosimeterUnit (300a,00b3)
Item(const Item ©)
copy constructor
virtual OFCondition createUint64Array(const Uint32 numQuadWords, Uint64 *&quadWords)
create an empty Uint64 array of given number of quad-words and set it.
OFCondition setPETImageRadionuclide(const CID4020_PETRadionuclide &radionuclide, const OFBool check=OFTrue)
set the value of the descriptor 'Radionuclide' (TID 1607 - Row 1) for the current (most recently adde...
DcmIntegerString NumberOfCompensators
NumberOfCompensators (300a,00e0) vr=IS, vm=1, type=1.
Definition: drtibs.h:1009
DcmCodeString LongitudinalTemporalEventType
LongitudinalTemporalEventType (0012,0053) vr=CS, vm=1, type=1C.
Definition: drtionpl.h:3074
Item(const Item ©)
copy constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
@ ESS_444
4:4:4 sampling (no subsampling)
Definition: djutils.h:82
T & front()
returns a reference to the first element in the list.
Definition: oflist.h:376
OFCondition read(DcmItem &item)
read elements from sequence item
@ EVR_dirRecord
used internally for DICOMDIR records
Definition: dcvr.h:252
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTRangeShifterSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
void clear()
clear all internal member variables
DCMTK_DCMDATA_EXPORT const char * dcmShortSCUStorageSOPClassUIDs[]
an array of const strings containing all storage SOP classes that are proposed by default by those St...
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const char * getImagePolarity(size_t idx)
gets the polarity for the given registered image box.
Definition: dvpssp.h:463
DcmTransferSyntaxMap & operator=(const DcmTransferSyntaxMap &arg)
Copy assignment operator, performs deep copy.
virtual OFString getName() const
Get name of module.
void printInfoLineEnd(STD_NAMESPACE ostream &out, const size_t flags, const unsigned long printedLength=0xffffffff, DcmTag *tag=NULL)
print end of the info line.
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition getPresentationLUTShape(OFString &value, const signed long pos=0)
Get Presentation LUT Shape.
const Item & getCurrentItem() const
get current item in the sequence
OFCondition setPulseRepetitionInterval(const OFString &value, const OFBool check=OFTrue)
set PulseRepetitionInterval (300a,028c)
@ Tau_m
(126330,DCM,"tau_m"), included from CID 4107
Definition: cid7469.h:262
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTUDISequence & getUDISequence()
get UDISequence (0018,100a)
Definition: drtplan.h:2000
virtual OFBool checkCalledAETitleAccepted(const OFString &calledAE)
Overwrite this function if called AE title should undergo checking.
virtual ~Item()
destructor
OFCondition getRequestedProcedureDescription(OFString &value, const signed long pos=0) const
get RequestedProcedureDescription (0032,1060)
DVPSOverlayCurveActivationLayer_PList & operator=(const DVPSOverlayCurveActivationLayer_PList &)
private undefined assignment operator
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmTime PerformedProcedureStepEndTime
PerformedProcedureStepEndTime (0040,0251) vr=TM, vm=1, type=3.
Definition: drttreat.h:2870
DRTReferencedSpatialRegistrationSequence ReferencedSpatialRegistrationSequence
ReferencedSpatialRegistrationSequence (0070,0404) vr=SQ, vm=1, type=2C.
Definition: drtdose.h:4567
OFVector< CodeSequenceMacro * > m_DerivationCodeItems
List of derivation codes for this set of images (1-n items permitted)
Definition: fgderimg.h:295
OFCondition getWedgeAngle(Sint32 &value, const unsigned long pos=0) const
get WedgeAngle (300a,00d5)
Item EmptyItem
empty default item
Definition: drtrbos6.h:322
DSRSpatialCoordinatesValue(const DSRSpatialCoordinatesValue &coordinatesValue)
copy constructor
size_t getNumberOfItems() const
get number of items in the sequence
DcmFloatingPointSingle FixationDevicePitchAngle
FixationDevicePitchAngle (300a,0199) vr=FL, vm=1, type=3.
Definition: drtfds.h:206
virtual OFBool isCommonInstanceReferenceModulePresent(const OFBool complete=OFFalse)
check whether CommonInstanceReferenceModule (U) is present.
static OFCondition getFloat64ValueFromElement(const DcmElement &delem, Float64 &result, const unsigned long pos)
Get Float64 value from element.
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtblds1.h:370
int hasRescaling() const
check whether rescaling is present
Definition: dimomod.h:210
size_t deletePerFrame(const DcmFGTypes::E_FGType fgType)
Deletes per-frame functional group for all frames.
virtual OFCondition setEthnicGroup(const OFString &value, const OFBool check=OFTrue)
set EthnicGroup (0010,2160)
this helper class is a role selection list entry.
Definition: dccfrsmp.h:40
int groupLT(const DcmTagKey &key) const
less-than operation comparing only group numbers
Definition: dctagkey.h:348
@ FreeAcquisition
(113807,DCM,"Free Acquisition")
Definition: cid10013.h:52
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
DRTRTROIObservationsSequence RTROIObservationsSequence
RTROIObservationsSequence (3006,0080) vr=SQ, vm=1, type=1.
Definition: drtstrct.h:3041
@ PF_Final
DICOM enumerated value: FINAL.
Definition: dsrtypes.h:749
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmFloatingPointDouble LongitudinalTemporalOffsetFromEvent
LongitudinalTemporalOffsetFromEvent (0012,0052) vr=FD, vm=1, type=3.
Definition: drtionpl.h:3072
DcmDecimalString MeasuredLateralDimension
MeasuredLateralDimension (0010,1024) vr=DS, vm=1, type=3.
Definition: drtdose.h:4229
virtual IODSOPCommonModule & getIODSOPCommonModule()
Get SOP Common Module.
OFBool getAllowIllegalProposalMode() const
get mode that specifies whether to propose presentation contexts that do not contain the default tran...
@ MastoidBone
(59066005,SCT,"Mastoid bone")
Definition: cid4031.h:154
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition gotoFirstItem()
select the first item in the list.
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
OFCondition nextMarker(const OFBool &lastWasSOSMarker, E_JPGMARKER &result)
Tries to find the next JPEG marker in underlying file stream.
void clear()
clear all internal member variables
void clear()
clear all internal member variables
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getTreatmentControlPointTime(OFString &value, const signed long pos=0) const
get TreatmentControlPointTime (3008,0025)
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtccs.h:343
virtual void clear()
Clears member variables and frees memory.
OFString key_
the key
Definition: dcmsmap.h:109
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
OFCondition getNumberOfBrachyApplicationSetups(OFString &value, const signed long pos=0) const
get NumberOfBrachyApplicationSetups (300a,00a0)
DcmDirectoryRecord & operator=(const DcmDirectoryRecord &obj)
assignment operator
DcmFloatingPointSingle BeamDosePointDepth
BeamDosePointDepth (300a,0088) vr=FL, vm=1, type=1C.
Definition: drtbvcps.h:186
OFCondition read(DcmItem &item)
read elements from sequence item
OFString annotationText
annotation text (if any)
Definition: dviface.h:1832
IODCommonInstanceReferenceModule m_IODCommonInstanceReferenceModule
Common Instance Reference Module.
Definition: dpmparametricmapbase.h:245
DcmDecimalString ActiveSourceLength
ActiveSourceLength (300a,021a) vr=DS, vm=1, type=3.
Definition: drtss.h:412
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
@ EMT_MD5
MD5.
Definition: sitypes.h:100
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getChannelMode(OFString &value, const signed long pos=0) const
get ChannelMode (003a,0302)
OFCondition getScanSpotMetersetWeights(Float32 &value, const unsigned long pos=0) const
get ScanSpotMetersetWeights (300a,0396)
virtual ~DRTDICOMRetrievalSequence()
destructor
OFBool opt_forkedChild
indicates if this process is called as a child process, used by dcmnet
Definition: wlcefs.h:76
virtual OFCondition initialize()
initializes the MAC algorithm.
const char * getExplanation() const
get LUT explanation string
Definition: dibaslut.h:240
virtual OFCondition readSequence(DcmItem &dataset, const DcmTagKey &tagKey, const OFString &type, const size_t flags)
read referenced SOP sequence from dataset.
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtbas.h:349
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
DVPSReferencedImage_PList referencedImageList
ReferencedImageSequence, Type 1c.
Definition: dvpssv.h:203
void clearData()
Clear all attributes from the data that are handled by this module.
void add(unsigned char ch)
this method adds one byte to the byte stream to be compressed with the RLE compressor.
Definition: dcrleenc.h:99
OFCondition findAndDeleteElement(const DcmTagKey &tagKey, const OFBool allOccurrences=OFFalse, const OFBool searchIntoSub=OFFalse)
find element, remove it from the dataset and free the associated memory.
OFCondition getCumulativeDoseToDoseReference(OFString &value, const signed long pos=0) const
get CumulativeDoseToDoseReference (3008,0052)
DRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition loadAllDataIntoMemory()
this method loads all attribute values maintained by this object and all sub-objects (in case of a co...
Item(const Item ©)
copy constructor
DcmDecimalString SpatialResolution
SpatialResolution (0018,1050) vr=DS, vm=1, type=3.
Definition: drttreat.h:2910
virtual ~OFConfigFile()
destructor
@ VF_Unverified
DICOM enumerated value: UNVERIFIED.
Definition: dsrtypes.h:775
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
DVPSImageBoxContent(const DVPSImageBoxContent ©)
copy constructor
virtual ~DcmDataset()
destructor
DSRDocumentTreeNode * getNext() const
get pointer to next tree node
Definition: dsrdoctn.h:514
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtssrcs.h:333
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmCodeString(const DcmCodeString &old)
copy constructor
Interface class for RangeModulatorSequence (300a,0342)
Definition: drtrms.h:28
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrss.h:308
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setPatientDeathDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientDeathDateInAlternativeCalendar (0010,0034)
void deleteAllElements()
Remove and delete all elements from list.
DRTPredecessorStructureSetSequence PredecessorStructureSetSequence
PredecessorStructureSetSequence (3006,0018) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3031
virtual OFCondition getBluePaletteColorLookupTableData(Uint16 *&value, unsigned long *count=NULL) const
get BluePaletteColorLookupTableData (0028,1203)
@ EPR_Uint16
unsigned 16 bit integer
Definition: diutils.h:211
void getDataUint16(void *buffer, DiDisplayFunction *disp, const int samples, const unsigned long frame, const int bits, const Uint32 low, const Uint32 high)
get pixel data with specified format for Uint16 input (helper function).
virtual ~DiLookupTable()
destructor
DSRTreeNode * Next
pointer to next tree node (if any)
Definition: dsrtree.h:162
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
DcmIntegerString ReferencedPatientSetupNumber
ReferencedPatientSetupNumber (300c,006a) vr=IS, vm=1, type=3.
Definition: drtibs.h:1045
virtual OFCondition getSeriesDescription(OFString &value, const signed long pos=0) const
get SeriesDescription (0008,103e)
DcmShortString PatientSupportID
PatientSupportID (300a,0352) vr=SH, vm=1, type=3.
Definition: drtibs.h:1023
DcmIntegerString(const DcmTag &tag, const Uint32 len=0)
constructor.
OFCondition getTypeOfInstances(OFString &value, const signed long pos=0) const
get TypeOfInstances (0040,e020)
DcmDecimalString BeamMeterset
BeamMeterset (300a,0086) vr=DS, vm=1, type=3.
Definition: drtrbs4.h:281
DcmShortString StationName
StationName (0008,1010) vr=SH, vm=1, type=3.
Definition: drtstrct.h:2982
DcmEVR getValidEVR() const
get enumerated standard VR managed by this object.
DcmOverlayData(const DcmOverlayData &oldObj)
copy constructor
Definition: dcovlay.h:47
This template class is used as a "Factory Registry".
Definition: factory.h:150
DcmPersonName ReferringPhysicianName
ReferringPhysicianName (0008,0090) vr=PN, vm=1, type=2.
Definition: drtstrct.h:2829
virtual OFCondition setPatientBirthTime(const OFString &value, const OFBool check=OFTrue)
set PatientBirthTime (0010,0032)
void clear()
resets the cache to default-constructed state
OFCharacterEncoding(const OFCharacterEncoding &rhs)
copy constructor.
@ VF_invalid
internal type used to indicate an error
Definition: dsrtypes.h:773
virtual OFCondition sendFINDRequest(const T_ASC_PresentationContextID presID, DcmDataset *queryKeys, OFList< QRResponse * > *responses)
Sends a C-FIND Request on given presentation context and receives list of responses.
@ IntracoronaryRoute
(372463005,SCT,"Intracoronary route")
Definition: cid11.h:80
const DRTOperatorIdentificationSequence & getOperatorIdentificationSequence() const
get OperatorIdentificationSequence (0008,1072)
Definition: drttreat.h:1377
OFCondition getMaterialID(OFString &value, const signed long pos=0) const
get MaterialID (300a,00e1)
OFCondition getRepeatFractionCycleLength(Sint32 &value, const unsigned long pos=0) const
get RepeatFractionCycleLength (300a,007a)
const DcmAssociationConfiguration & associationConfiguration_
Association configuration profiles read from configuration file.
Definition: dcmqrsrv.h:171
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getNumberOfLeafJawPairs(OFString &value, const signed long pos=0) const
get NumberOfLeafJawPairs (300a,00bc)
void clear()
reset the object to initial state.
virtual OFCondition setSynchronizationFrameofReferenceUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Synchronization Frame of Reference UID.
DcmCodeString BlockIdentifyingInformationStatus
BlockIdentifyingInformationStatus (0008,0303) vr=CS, vm=1, type=1.
Definition: drtpdecs.h:186
Item(const Item ©)
copy constructor
DiLookupTable(const DiDocument *docu, const DcmTagKey &descriptor, const DcmTagKey &data, const DcmTagKey &explanation, const EL_BitsPerTableEntry descripMode=ELM_UseValue, EI_Status *status=NULL)
constructor
DSRSpatialCoordinatesValue()
default constructor
virtual ~DVPSVOILUT()
destructor
size_t getNumberOfTextObjects(const char *layer, const char *instanceUID, unsigned long frame)
returns the number of text objects for the given graphic layer that apply to the given image and fram...
char * m_secField
Buffer for secondary value field.
Definition: dcuserid.h:291
T2 * Data
pointer to the storage area where the output data should be stored
Definition: dicoopxt.h:218
virtual ~DRTReferencedTreatmentRecordSequenceInRTDoseModule()
destructor
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtpsics.h:349
const DcmPresentationContextList * getPresentationContextList(const char *key) const
returns the list of presentation contexts identified by the given key
virtual void resetRules()
Resets rules to their original values.
OFCondition setDerivation(const T_Derivation &derivation, const OFBool check=OFTrue)
set the value of the 'Derivation' content item (TID 1419 - Row 8).
OFCondition getCurrentMacXferSyntaxName(OFString &str)
returns the MAC Calculation Transfer Syntax of the current signature.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool isEmpty()
check if item is empty
DRTTreatmentSummaryRecordIOD(const DRTTreatmentSummaryRecordIOD ©)
copy constructor
virtual OFCondition getLongitudinalTemporalInformationModified(OFString &value, const signed long pos=0) const
get LongitudinalTemporalInformationModified (0028,0303)
virtual OFCondition getTimeOfLastCalibration(OFString &value, const signed long pos=0) const
get TimeOfLastCalibration (0018,1201)
OFBool m_Value
The underlying boolean value.
Definition: ofexbl.h:93
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbs.h:973
virtual OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
get StudyInstanceUID (0020,000d)
@ EVR_TM
time string
Definition: dcvr.h:198
E_TransferSyntax opt_networkTransferSyntax
preferred network transfer syntax
Definition: wlmactmg.h:58
virtual OFCondition setPatientBirthDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDateInAlternativeCalendar (0010,0033)
IODSegmentationReference(const MAX_LEVEL level)
Constructor allowing to set reference level.
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 the current value to a stream.
OFCondition getTableTopRollAngleTolerance(Float32 &value, const unsigned long pos=0) const
get TableTopRollAngleTolerance (300a,0050)
@ EIS_NotSupportedValue
specified value for an attribute not supported
Definition: diutils.h:236
Helper class for generating and storing UUIDs, as specified in ITU-T X.667.
Definition: ofuuid.h:36
This class is used to "handle" errors encountered in an {}.
Definition: appender.h:61
virtual ~DSRContextGroup()
destructor
OFListIterator(Item *) CurrentItem
currently selected item
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtmucs.h:343
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmCodeString UniversalEntityIDType
UniversalEntityIDType (0040,0033) vr=CS, vm=1, type=1C.
Definition: drtians.h:148
OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
@ FEM_none
do not extract C-FIND responses to file.
Definition: dfindscu.h:52
virtual OFCondition getLossyImageCompressionRatio(Float64 &value, const unsigned long pos=0)
Get Lossy Image Compression Ratio.
OFCondition findConformingEncapsulatedRepresentation(const DcmXfer &repType, const DcmRepresentationParameter *repParam, DcmRepresentationListIterator &result)
find a conforming representation in the list of encapsulated representations
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getCompensatorNumber(Sint32 &value, const unsigned long pos=0) const
get CompensatorNumber (300a,00e4)
OFCondition getRadiationMassNumber(OFString &value, const signed long pos=0) const
get RadiationMassNumber (300a,0302)
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
void clear()
clear all internal member variables
OFCondition setNominalBeamEnergy(const OFString &value, const OFBool check=OFTrue)
set NominalBeamEnergy (300a,0114)
DCMTK_DCMJPEG_EXPORT const OFConditionConst EJ_IJG16_FrameBufferTooSmall
Buffer for decompressed image (16 bits/sample) too small.
virtual DcmObject * clone() const
clone method
Definition: dcvrsh.h:69
Uint32 fTransferredBytes
number of bytes already read/written during transfer
Definition: dcobject.h:807
LogLog * Ptr
Return type of getLogLog().
Definition: loglog.h:59
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
~IODModule()
Desctructor.
Definition: modbase.h:251
DcmUnsignedShort RedPaletteColorLookupTableDescriptor
RedPaletteColorLookupTableDescriptor (0028,1101) vr=US/SS, vm=3, type=1C.
Definition: drtimage.h:5160
OFCondition loadFile(const char *file_name, const E_FileReadMode readMode=ERM_autoDetect, const E_TransferSyntax xfer=EXS_Unknown, const OFBool createIfNecessary=OFFalse)
Loads a file into dataset manager.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
void cleanupLayers(DVPSOverlayCurveActivationLayer_PList &activations, DVPSGraphicAnnotation_PList &annotations)
removes and deletes all graphic layers for which no matching text, graphic, curve or overlay object e...
void * getFullPlaneData(const unsigned long frame, unsigned int plane, unsigned int &width, unsigned int &height, const int bits=8, const Uint16 fore=0xff, const Uint16 back=0x0)
get overlay plane data as an array of 1/8/16 bit values.
DcmShortString AccessionNumber
AccessionNumber (0008,0050) vr=SH, vm=1, type=2.
Definition: drtstrct.h:2839
@ EJLSUC_never
never assign new SOP instance UID
Definition: djlsutil.h:67
Encoder class for JPEG Extended Sequential (lossy, 8/12-bit)
Definition: djencext.h:32
DVPSPresentationLUT_PList()
default constructor
int fprintf(const char *format,...)
print formatted string into stream, see printf(3)
Definition: offile.h:904
void clear()
clear all internal member variables
Item EmptyItem
empty default item
Definition: drtrbas2.h:306
DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence()
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drttreat.h:1323
virtual OFCondition setPatientSex(const OFString &value, const OFBool check=OFTrue)
set PatientSex (0010,0040)
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtpics.h:205
OFCondition getKVP(OFString &value, const signed long pos=0) const
get KVP (0018,0060)
WlmReturnedCharacterSetType returnedCharacterSet
returned character set type
Definition: wlds.h:76
DcmTransportLayerStatus addCipherSuite(const char *suite)
adds a ciphersuite to the list of ciphersuites for TLS negotiation.
DcmUniqueIdentifier ReferencedDoseReferenceUID
ReferencedDoseReferenceUID (300a,0083) vr=UI, vm=1, type=3.
Definition: drtrbs4.h:285
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtimage.h:5041
E_ParamValueStatus getParam(const int pos, OFCmdUnsignedInt &value)
gets value of specified parameter as unsigned integer.
DRTPatientBreedCodeSequence & getPatientBreedCodeSequence()
get PatientBreedCodeSequence (0010,2293)
Definition: drtplan.h:1604
@ BinarySegmentation
(110853,DCM,"Binary Segmentation"), included from CID 7180
Definition: cid7469.h:240
OFCondition addEmpty(const char *key)
add empty list within map.
static const size_t PF_printNoDocumentHeader
print no general document information (header)
Definition: dsrtypes.h:426
DRTCorrectedParameterSequence & getCorrectedParameterSequence()
get CorrectedParameterSequence (3008,0068)
Definition: drticpds.h:475
OFCondition getTime(OFString &value, const signed long pos=0) const
get Time (0040,a122)
virtual OFCondition getHighBit(Uint16 &value, const unsigned long pos=0) const
get HighBit (0028,0102)
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid4021.h:398
Item & operator=(const Item ©)
assigment operator
size_t getNumberOfItems() const
get number of items in the sequence
DcmDecimalString m_SliceThickness
Slice Thickness (DS, VM 1, Required type 1C)
Definition: fgpixmsr.h:164
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrrtps4.h:130
virtual OFBool isFlushed() const
returns true if the consumer is flushed, i.e.
OFBool inventPatientIDMode() const
get current status of the "invent missing patient ID" mode.
Definition: dcddirif.h:375
A single test case which can be run.
Definition: oftest.h:62
virtual DSRRootTemplate * clone() const
clone this template.
DRTOperatorIdentificationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition getSourceToReferenceObjectDistance(OFString &value, const signed long pos=0) const
get SourceToReferenceObjectDistance (3002,0028)
OFBool isRange() const
Return the information whether *this refers to an actual range of values or just a single value.
OFCondition writeJson(STD_NAMESPACE ostream &out, Format format)
write object in JSON format.
Definition: dcdatset.h:292
virtual OFBool operator>(const OFTime &timeVal) const
comparison operator (greater than) Please note that the time values are first transformed to the Coor...
Data * m_pData
A pointer to the management data structure containing the actual reference to the managed object and ...
Definition: ofmem.h:268
static void reconfigure(OFCommandLine *cmd=NULL)
if there was a config file loaded in configureFromCommandLine(), the in-memory copy will be parsed ag...
virtual DcmEVR ident() const
get element type identifier
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
DcmUnsignedShort PlanarConfiguration
PlanarConfiguration (0028,0006) vr=US, vm=1, type=1C.
Definition: drtimage.h:5152
OFBool backupMode() const
get current status of the "create backup" mode.
Definition: dcddirif.h:402
virtual OFCondition getTimeSource(OFString &value, const signed long pos=0) const
Get Time Source.
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_DoubledFG
Functional group already exists.
Interface class for BlockSequence (300a,00f4) in RTImageModule.
Definition: drtbl5.h:28
virtual OFCondition setAccessionNumber(const OFString &value, const OFBool check=OFTrue)
set AccessionNumber (0008,0050)
DVPSDecimateCropBehaviour getRequestedDecimateCropBehaviour()
gets the current requested decimate/crop behaviour setting that is used for this image box.
static Hierarchy & getDefaultHierarchy()
Return the default Hierarchy instance.
OFCondition getSnoutPositionTolerance(Float32 &value, const unsigned long pos=0) const
get SnoutPositionTolerance (300a,004b)
DSRCompositeReferenceValue & operator=(const DSRCompositeReferenceValue &referenceValue)
assignment operator
const OFString & getContextGroupExtensionCreatorUID() const
get context group extension creator UID.
Definition: dsrcodvl.h:482
OFCondition setAccessionNumber(const OFString &value, const OFBool check=OFTrue)
set AccessionNumber (0008,0050)
DcmTime PatientBirthTime
PatientBirthTime (0010,0032) vr=TM, vm=1, type=3.
Definition: drtionpl.h:2906
OFVector< CodeSequenceMacro * > m_ConceptCodeSequence
ConceptCodeSequence.
Definition: iodcontentitemmacro.h:469
Uint16 Rows
number of rows (in pixel)
Definition: diimage.h:629
@ YBR_FULLYComponent
(110837,DCM,"YBR FULL Y Component"), included from CID 7180
Definition: cid7469.h:210
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
DcmIntegerString NumberOfLeafJawPairs
NumberOfLeafJawPairs (300a,00bc) vr=IS, vm=1, type=1.
Definition: drtblds6.h:216
DcmLongString ServiceEpisodeDescription
ServiceEpisodeDescription (0038,0062) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3061
const DRTROIContourSequence & getROIContourSequence() const
get ROIContourSequence (3006,0039)
Definition: drtdose.h:2386
const char * getTLSCACertificateFolder()
returns the directory in which certificates of the trusted Certification Authorities are located.
Item & operator[](const size_t num)
get particular item in the sequence
DcmDecimalString HeadFixationAngleTolerance
HeadFixationAngleTolerance (300a,0152) vr=DS, vm=1, type=3.
Definition: drtitts.h:416
DcmDecimalString LeafPositionBoundaries
LeafPositionBoundaries (300a,00be) vr=DS, vm=3-n, type=2C.
Definition: drtblds1.h:185
void setAllowIllegalProposalMode(const OFBool allowMode)
set mode that specifies whether to propose presentation contexts that do not contain the default tran...
Uint16 getT3() const
returns JPEG-LS parameter T3
Definition: djcparam.h:179
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition getRTPlanName(OFString &value, const signed long pos=0) const
get RTPlanName (300a,0003)
SiSHA1()
default constructor
DRTSourcePatientGroupIdentificationSequence SourcePatientGroupIdentificationSequence
SourcePatientGroupIdentificationSequence (0010,0026) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2795
void setValidityChecking(OFBool doChecks, OFBool insertMissingType2=OFTrue, OFBool inventMissingType1=OFTrue)
Enable/Disable basic validity checks for output dataset.
Per thread data.
Definition: internal.h:114
DcmLongString RTPlanName
RTPlanName (300a,0003) vr=LO, vm=1, type=3.
Definition: drtplan.h:3254
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
Uint32 getMinValueLength() const
return minimum length of a single value with this VR.
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DiColorPixel(const DiColorPixel *pixel, const unsigned long count)
constructor
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
void clear()
clear all internal member variables
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
const Item & getCurrentItem() const
get current item in the sequence
Item & operator=(const Item ©)
assigment operator
virtual OFCondition getInStackPositionNumber(Uint32 &value, const signed long pos=0)
Get In-Stack Position Number.
virtual ~DRTPhysiciansOfRecordIdentificationSequence()
destructor
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
DcmPresentationContextItem & operator=(const DcmPresentationContextItem &arg)
assignment operator
Item & getCurrentItem()
get current item in the sequence
DcmRLECodecDecoder(const DcmRLECodecDecoder &)
private undefined copy constructor
const Item & getCurrentItem() const
get current item in the sequence
const OFString ToDateTime
end observation date/time to check for (as a string, might be empty)
Definition: dsrdnflt.h:420
const DSRTypes::E_ValueType ValueType
value type to check for
Definition: dsrdnflt.h:317
virtual ~DcmOtherLong()
destructor
OFString gr_name
the group name.
Definition: ofgrp.h:81
OFCondition setBlockSlabNumber(const Uint16 value, const unsigned long pos=0)
set BlockSlabNumber (300a,0443)
const DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence() const
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drttreat.h:1341
virtual log4cplus::tstring getName()
Get the name of this appender.
OFCondition getNumberOfControlPoints(Sint32 &value, const unsigned long pos=0) const
get NumberOfControlPoints (300a,0110)
OFCondition write(DcmItem &dataset)
Write pixel module base class data to given item.
Definition: modimagepixelvariant.h:260
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtscs.h:205
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
virtual OFCondition getReferringPhysicianName(OFString &value, const signed long pos=0) const
get ReferringPhysicianName (0008,0090)
virtual OFCondition write(DcmItem &item)
Write alternate content description item to given item.
Item EmptyItem
empty default item
Definition: drtrdrs1.h:339
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmFloatingPointSingle CompensatorMillingToolDiameter
CompensatorMillingToolDiameter (300a,02e8) vr=FL, vm=1, type=3.
Definition: drtircs.h:412
OFCondition getSourceIsotopeName(OFString &value, const signed long pos=0) const
get SourceIsotopeName (300a,0226)
const DRTMeasurementUnitsCodeSequence & getMeasurementUnitsCodeSequence() const
get MeasurementUnitsCodeSequence (0040,08ea)
Definition: drtcims.h:230
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeApprovalNumber(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
DcmAgeString PatientAge
PatientAge (0010,1010) vr=AS, vm=1, type=3.
Definition: drtdose.h:4219
virtual OFCondition getConsultingPhysicianName(OFString &value, const signed long pos=0) const
get ConsultingPhysicianName (0008,009c)
Uint16 m_numberOfRemainingSubops
Number of remaining sub operations (in Q/R: C-STORE calls).
Definition: scu.h:154
OFString findTSKey(const OFList< OFString > &tslist)
find a list of transfer syntaxes that matches the given list and return its name.
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSImageDataMismatch
error condition constant: Image data mismatch between DICOM header and JPEG-LS bitstream
DcmDictEntry * removeInList(DcmDictEntryList &lst, const DcmTagKey &key, const char *privCreator)
removes the entry for the given tag and private creator
@ Bladder
(89837001,SCT,"Bladder")
Definition: cid4031.h:58
Item(const Item ©)
copy constructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrrpcs.h:536
DRTIonWedgePositionSequence & operator=(const DRTIonWedgePositionSequence ©)
assigment operator
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtfgss.h:191
void pop_back()
removes the last element of the list.
Definition: oflist.h:418
virtual OFCondition addContentItem(const E_RelationshipType relationshipType, const E_ValueType valueType, const DSRCodedEntryValue &conceptName, const OFBool check=OFTrue)
add specified content item after the current one.
const OFString & getContextUID() const
get context UID.
Definition: dsrcodvl.h:441
OFCondition setXRayTubeCurrentInmA(const Float64 value, const unsigned long pos=0)
set XRayTubeCurrentInmA (0018,9330)
DRTMeasurementUnitsCodeSequence & getMeasurementUnitsCodeSequence()
get MeasurementUnitsCodeSequence (0040,08ea)
Definition: drtcims.h:224
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmCodeString RadiationType
RadiationType (300a,00c6) vr=CS, vm=1, type=2.
Definition: drtbs.h:773
T * iterator
the type of mutable iterators on this object
Definition: ofvector.h:62
void clear()
removes all elements from this map
Definition: ofmap.h:171
virtual void getMeasurementInfos(OFVector< OFPair< CodeSequenceMacro, CodeSequenceMacro > > &typesAndUnits)
Get descriptive information of all measurements.
OFCondition getReferencedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrdrs6.h:322
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFCondition createNewMeasurement(const T_Measurement &conceptName, const MeasurementValue &numericValue, const OFBool check=OFTrue)
create a new measurement.
DRTReferencedInstanceSequence & getReferencedInstanceSequence()
get ReferencedInstanceSequence (0008,114a)
Definition: drtiontr.h:1635
virtual ~CMR_SRNumericMeasurementValue()
destructor
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
virtual OFCondition getPixelRepresentation(Uint16 &value, const unsigned long pos=0) const
get PixelRepresentation (0028,0103)
DB_QUERY_CLASS
query models
Definition: dcmqridx.h:64
iterator begin()
Return iterator to first rule.
virtual OFCondition setLongitudinalTemporalEventType(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalEventType (0012,0053)
DcmQueryRetrieveOptions()
default constructor
OFCondition writeDicomDir(const E_EncodingType encodingType=EET_UndefinedLength, const E_GrpLenEncoding groupLength=EGL_withoutGL)
write the current DICOMDIR object to file.
@ CS_Korean
ISO-IR 6/149: Korean (Hangul/Hanja)
Definition: dsrtypes.h:817
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence()
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtimage.h:3034
virtual OFCondition getRTPlanDate(OFString &value, const signed long pos=0) const
get RTPlanDate (300a,0006)
@ EXS_JPEGProcess17_19
JPEG Extended Sequential, Hierarchical (lossy, 8/12 bit), arithmetic coding.
Definition: dcxfer.h:69
DcmLongString(const DcmTag &tag, const Uint32 len=0)
constructor.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
OFCondition setDVHROIContributionType(const OFString &value, const OFBool check=OFTrue)
set DVHROIContributionType (3004,0062)
virtual OFCondition setClinicalTrialProtocolID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolID (0012,0020)
DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence()
get PatientSpeciesCodeSequence (0010,2202)
Definition: drttreat.h:1431
DRTConversionSourceAttributesSequence ConversionSourceAttributesSequence
ConversionSourceAttributesSequence (0020,9172) vr=SQ, vm=1, type=1C.
Definition: drtimage.h:5451
DcmCodeString PresentationLUTShape
PresentationLUTShape (2050,0020) vr=CS, vm=1, type=3.
Definition: drtimage.h:5106
K first
this is the first value of the pair
Definition: ofutil.h:327
double Second
currently stored second value (incl. fraction of seconds)
Definition: oftime.h:418
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtads.h:211
DcmUIDHandler & operator=(const char *arg)
assign from C string
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
virtual ~Item()
destructor
OFList< T > ItemList
the list maintained by this class
Definition: dsrtlist.h:352
OFCondition setReferencedROINumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedROINumber (3006,0084)
OFBool isEmpty()
check if item is empty
OFCondition write(DcmItem &item)
write elements to sequence item
DRTIssuerOfAccessionNumberSequence IssuerOfAccessionNumberSequence
IssuerOfAccessionNumberSequence (0008,0051) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3079
virtual OFCondition getFrameAcquisitionDuration(Float64 &value, const unsigned long pos=0)
Get Frame Acquisition Duration.
const DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence() const
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtimage.h:2620
static OFBool registered_
flag indicating whether the decoders are already registered.
Definition: djdecode.h:72
Item(const Item ©)
copy constructor
OFCondition getGreenPaletteColorLookupTableData(Uint16 *&value, unsigned long *count=NULL) const
get GreenPaletteColorLookupTableData (0028,1202)
OFMap< OFString, DcmProfileEntry * > map_
map of profiles
Definition: dccfprmp.h:176
OFBool opt_singleProcess
indicates if the application is run in single process mode or not
Definition: wlmactmg.h:62
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtssrcs.h:324
DcmLongString StudyDescription
StudyDescription (0008,1030) vr=LO, vm=1, type=3.
Definition: drtionpl.h:2998
virtual OFCondition getPatientBodyMassIndex(Float64 &value, const unsigned long pos=0) const
get PatientBodyMassIndex (0010,1022)
AlgorithmIdentificationMacro()
Constructor.
DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence()
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtstrct.h:1218
virtual OFCondition getPatientAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientAlternativeCalendar (0010,0035)
virtual DcmEVR ident() const
get element type identifier
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFBool isEmpty()
check if sequence is empty
OFCondition setKVP(const OFString &value, const OFBool check=OFTrue)
set KVP (0018,0060)
DRTIssuerOfPatientIDQualifiersSequence IssuerOfPatientIDQualifiersSequence
IssuerOfPatientIDQualifiersSequence (0010,0024) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2888
size_type size() const
get the size of this OFVector.
Definition: ofvector.h:191
Item EmptyItem
empty default item
Definition: drtvls.h:331
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const DRTRTROIObservationsSequence & getRTROIObservationsSequence() const
get RTROIObservationsSequence (3006,0080)
Definition: drtstrct.h:1572
DcmUnsignedShort voiLUTData
Module=VOI_LUT, VR=xs, VM=1-n, Type 1c.
Definition: dvpsvl.h:94
DVPSVOILUT_PList currentImageVOILUTList
list of VOI LUTs of the currently attached image
Definition: dvpstat.h:1278
virtual ~DiDisplayFunction()
destructor
size_t rfind(const OFString &pattern, size_t pos=OFString_npos) const
scans the current string backwards, and finds the first occurrence of pattern in the string (from the...
Class for SR numeric values and measurements (extended version with additional support of the DICOM C...
Definition: srnumvlu.h:39
virtual OFCondition setAllergies(const OFString &value, const OFBool check=OFTrue)
set Allergies (0010,2110)
const DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence() const
get RequestingServiceCodeSequence (0032,1034)
Definition: drtimage.h:3028
virtual OFCondition setSeriesDate(const OFString &value, const OFBool checkValue=OFTrue)
Set Series Date.
void getCertValidityNotBefore(OFString &str)
returns the start of validity of the current certificate in human readable form.
virtual OFCondition setAllergies(const OFString &value, const OFBool check=OFTrue)
set Allergies (0010,2110)
virtual DcmEVR ident() const
return identifier for this class.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
int privateCreatorMatch(const char *c) const
checks if the private creator code equals the given string
Definition: dcdicent.h:138
@ IntraArticularRoute
(12130007,SCT,"Intra-articular route")
Definition: cid11.h:60
OFCondition deleteMultipleImages(size_t number)
deletes multiple of the registered images, starting with the first one.
virtual ~DVInterface()
destructor.
virtual OFCondition getTreatmentSites(OFString &value, const signed long pos=0) const
get TreatmentSites (300a,000b)
DRTReferencedFractionGroupSequence & getReferencedFractionGroupSequence()
get ReferencedFractionGroupSequence (300c,0020)
Definition: drtrrtps.h:114
DcmLongString PatientID
PatientID (0010,0020) vr=LO, vm=1, type=2.
Definition: drtdose.h:4080
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition setOrganAtRiskOverdoseVolumeFraction(const OFString &value, const OFBool check=OFTrue)
set OrganAtRiskOverdoseVolumeFraction (300a,002d)
const Item & getCurrentItem() const
get current item in the sequence
const char * getTargetID(Uint32 idx, DVPSPeerType peerType=DVPSE_storage)
returns the target identifier of the communication partner with the given index.
virtual CodeSequenceMacro & getType()
Get reference to type of measurement code.
Item(const Item ©)
copy constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmLongText AdditionalPatientHistory
AdditionalPatientHistory (0010,21b0) vr=LT, vm=1, type=3.
Definition: drtstrct.h:2896
virtual OFBool addFrame(const Uint32 frameNumber, const Uint32 inStackPos)
Add frame to stack and set its in-stack position.
virtual ~DcmSigned64bitVeryLong()
destructor
static const char * verificationFlagToEnumeratedValue(const E_VerificationFlag verificationFlag)
convert verification flag to DICOM enumerated value
DRTReferencedInstanceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool isEmpty()
check if item is empty
OFBool dicomPhotometricInterpretationIsYCbCr
Flag indicating if DICOM photometric interpretation is YCbCr.
Definition: djdijg12.h:121
OFPair(const OFPair &p)
copy constructor
Definition: ofutil.h:350
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool isEmpty()
check if sequence is empty
OFBool isEmpty()
check if sequence is empty
virtual ~DRTIssuerOfAccessionNumberSequence()
destructor
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition setStationName(const OFString &value, const OFBool check=OFTrue)
set StationName (0008,1010)
OFBool isEmpty()
check if item is empty
DcmLongString ClinicalTrialProtocolEthicsCommitteeApprovalNumber
ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082) vr=LO, vm=1, type=3.
Definition: drttreat.h:2732
virtual OFCondition getLongitudinalTemporalInformationModified(OFString &value, const signed long pos=0) const
get LongitudinalTemporalInformationModified (0028,0303)
void checkRescaling(const DiInputPixel *pixel)
check rescaling for validity (and possibly correct it)
virtual DiMonoImage * getMonoImagePtr()
get pointer to monochrome image object
Definition: diimage.h:333
virtual ~DSRDocumentTreeNodeAndFilter()
destructor
DcmDate PerformedProcedureStepEndDate
PerformedProcedureStepEndDate (0040,0250) vr=DA, vm=1, type=3.
Definition: drtiontr.h:3021
virtual OFCondition setPerformedProcedureStepStartTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartTime (0040,0245)
DcmCodeString PatientOrientation
PatientOrientation (0020,0020) vr=CS, vm=2, type=1C.
Definition: drtsis.h:208
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
virtual OFCondition getGreenPaletteColorLookupTableData(Uint16 *&value, unsigned long *count=NULL) const
get GreenPaletteColorLookupTableData (0028,1202)
void setKeepAPPn(const OFBool enabled)
If enabled, APPn markers (except JFIF!) are also copied to the output file.
OFString opt_measurementUnitsCV
3d Model Measurement Units Code Value
Definition: dcencdoc.h:289
DSRMammographyCadSRConstraintChecker()
default constructor
DcmUniqueIdentifier StudyInstanceUID
Study Instance UID: (UI, 1, 1)
Definition: dsrdoc.h:1337
virtual ~Item()
destructor
DcmLongString PatientSpeciesDescription
PatientSpeciesDescription (0010,2201) vr=LO, vm=1, type=1C.
Definition: drtionpl.h:2916
OFCondition getReferencedFrameNumber(OFString &value, const signed long pos=0) const
get ReferencedFrameNumber (0008,1160)
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFCondition getIsocenterToWedgeTrayDistance(Float32 &value, const unsigned long pos=0) const
get IsocenterToWedgeTrayDistance (300a,00d9)
@ EDC_lossyOnly
always perform color space conversion from YCbCr to RGB if JPEG data is color image and compression i...
Definition: djutils.h:159
OFCondition searchSubFromHere(const DcmTagKey &tag, DcmStack &resultStack, OFBool searchIntoSub)
helper function for search().
virtual OFCondition getSint64Array(Sint64 *&val)
get a pointer to the element value of the current element as type Sint64.
const DcmRepresentationParameter * defaultRepParam
pointer to default representation parameter
Definition: dccodec.h:497
DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence()
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtiontr.h:1647
virtual OFBool isValid()
check whether the current internal state is valid
virtual OFCondition encode(const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *fromPixSeq, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
transcodes (re-compresses) the given compressed DICOM image and stores the result in the given toPixS...
static void copyModule(const DcmTagKey(&tags)[N], DcmItem &src, DcmItem &dest)
Generic copy module helper method.
virtual DPMTypes::RecognizableVisibleFeatures getRecognizableVisualFeatures()
Get Recognizable Visual Features.
OFBool Uncompressed
flag indicating whether the SOP instance is uncompressed, i.e. uses any of the three uncompressed tra...
Definition: dstorscu.h:421
virtual OFBool isEmpty(const OFBool normalize=OFTrue)
check if this object is empty
OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write study, series and instance level attributes in XML format
virtual ~DSRDocumentTreeNodeTemplateIdentificationFilter()
destructor
DRTModalityLUTSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setMeasurementMethod(const T_Method &method, const OFBool check=OFTrue)
set the value of the 'Measurement Method' content item (TID 1419 - Row 7).
SiSHA256()
default constructor
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual ~DRTIonBeamLimitingDeviceSequence()
destructor
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getBeamDoseSpecificationPoint(Float64 &value, const unsigned long pos=0) const
get BeamDoseSpecificationPoint (300a,0082)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcsis.h:212
DB_SmallDcmElmt()
default constructor
const Item & getCurrentItem() const
get current item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setPatientIdentityRemoved(const OFString &value, const OFBool check=OFTrue)
set PatientIdentityRemoved (0012,0062)
@ IMAGETYPE_ORIGINAL
ORIGINAL.
Definition: iodtypes.h:124
int writePPM(const char *filename, const int bits=0, const unsigned long frame=0)
write pixel data to PPM file (specified by filename).
OFCondition setFiducialUID(const OFString &fiducialUID, const OFBool check=OFTrue)
set current fiducial UID.
OFCondition read(DcmItem &item)
read elements from sequence item
OFListIterator(Item *) CurrentItem
currently selected item
DVPSPrintPresentationLUTAlignment getReferencedPresentationLUTAlignment()
returns a description of the currently activated Presentation LUT (if any) in terms of the Presentati...
Definition: dvpssp.h:648
size_t getNumberOfSOPInstancesToBeSent() const
get number of SOP instances that are to be sent (i.e. that are not yet sent).
CodeSequenceMacro(IODComponent *parent=NULL)
Constructor.
const char * theText
error text
Definition: ofcond.h:77
OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read series and instance level attributes from XML document
OFBool isEmpty()
check if item is empty
Item & getItem(const size_t num)
get particular item in the sequence
virtual T * getNode() const
get pointer to current node
Definition: dsrtncsr.h:455
size_t getNumberOfItems() const
get number of items in the sequence
static int calculateValues(const T1 xs, const T1 xe, T2 *y, const unsigned int n, const unsigned int o, const T3_ *c)
calculate y coordinates for the given range of x coordinates.
Definition: dicrvfit.h:149
OFCondition setDoseReferencePointCoordinates(const OFString &value, const OFBool check=OFTrue)
set DoseReferencePointCoordinates (300a,0018)
~UserIdentityNegotiationSubItemAC()
Destructor, frees memory.
virtual OFCondition setIssuerOfPatientID(const OFString &value, const OFBool check=OFTrue)
set IssuerOfPatientID (0010,0021)
OFCondition getSetupImageComment(OFString &value, const signed long pos=0) const
get SetupImageComment (300a,0402)
DicomImage * createScaledImage(const signed long left_pos, const signed long top_pos, unsigned long clip_width, unsigned long clip_height, unsigned long scale_width=0, unsigned long scale_height=0, const int interpolate=0, int aspect=0, const Uint16 pvalue=0) const
create scaled copy of specified (clipping) area of the current image object.
OFBool isElement(const T &item) const
check whether specified item is contained in the list
Definition: dsrtlist.h:175
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtoas.h:357
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
const OFString & getContextGroupLocalVersion() const
get context group local version.
Definition: dsrcodvl.h:471
virtual OFCondition setStartTrim(const OFString &value, const OFBool check=OFTrue)
set StartTrim (0008,2142)
Item & operator[](const size_t num)
get particular item in the sequence
DRTEncryptedAttributesSequence EncryptedAttributesSequence
EncryptedAttributesSequence (0400,0500) vr=SQ, vm=1, type=1C.
Definition: drtiontr.h:3194
OFBool IconImageMode
create icon images
Definition: dcddirif.h:1584
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtpics.h:335
DiImage(const DiImage *image, const unsigned long fstart, const unsigned long fcount)
constructor, copy
Uint32 fragmentSize
maximum fragment size (in kbytes) for compression, 0 for unlimited.
Definition: dcrlecp.h:119
OFCondition setBeamNumber(const OFString &value, const OFBool check=OFTrue)
set BeamNumber (300a,00c0)
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtbrcss.h:345
DRTStructureSetIOD(const DRTStructureSetIOD ©)
copy constructor
virtual ~DRTSourceImageSequence()
destructor
Item & operator=(const Item ©)
assigment operator
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
virtual OFCondition setAdmittingDiagnosesDescription(const OFString &value, const OFBool check=OFTrue)
set AdmittingDiagnosesDescription (0008,1080)
virtual DcmObject * clone() const
clone method
Definition: dcvrfl.h:87
const OFUnorderedSet< T > & operator=(const OFUnorderedSet< T > &src)
operator=.
Definition: ofuoset.h:78
DcmSequenceOfItems PerformedProcedureCode
Performed Procedure Code Sequence: (SQ, 1-n, 2)
Definition: dsrdoc.h:1447
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
Uint16 getGroup() const
returns group number
Definition: dctagkey.h:289
virtual OFCondition setClinicalTrialSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesDescription (0012,0072)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmDecimalString OrganAtRiskLimitDose
OrganAtRiskLimitDose (300a,002b) vr=DS, vm=1, type=3.
Definition: drtrdrs8.h:362
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence()
get ConversionSourceAttributesSequence (0020,9172)
Definition: drttreat.h:1191
virtual OFBool isClinicalTrialSubjectModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSubjectModule (U) is present.
void setStorageMode(const DcmStorageMode storageMode)
Set the storage mode to be used.
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
WlmRefuseReasonType
Reason for refusing association types.
Definition: wltypdef.h:94
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtscs.h:536
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrsrs.h:311
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
DRTConversionSourceAttributesSequence(const DRTConversionSourceAttributesSequence ©)
copy constructor
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
~DcmEncapsulatedDocument()
Destructor.
OFCondition createNewMeasurement(const T_Measurement &conceptName, const MeasurementValue &numericValue, const OFBool check=OFTrue)
create a new measurement.
@ SternoclavicularJoint
(7844006,SCT,"Sternoclavicular joint")
Definition: cid4031.h:216
@ NasalRoute
(46713006,SCT,"Nasal route")
Definition: cid11.h:88
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const Item & getCurrentItem() const
get current item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
Item & operator=(const Item ©)
assigment operator
const Item & getCurrentItem() const
get current item in the sequence
CID7445_DeviceParticipatingRoles(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
virtual ~DRTSegmentedPropertyCategoryCodeSequence()
destructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition setClinicalTrialSponsorName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSponsorName (0012,0010)
DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence()
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtstrct.h:1758
DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence()
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtdose.h:2188
DcmUIDHandler(const char *arg)
construct from C string
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
OFBool isEmpty()
check if item is empty
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
OFCondition HandleEchoSCP(T_ASC_Association *assoc, T_DIMSE_C_EchoRQ *req, T_ASC_PresentationContextID presId)
Having received a DIMSE C-ECHO-RQ message, this function takes care of sending a DIMSE C-ECHO-RSP mes...
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrbos1.h:162
virtual OFCondition setGantryID(const OFString &value, const OFBool check=OFTrue)
set GantryID (0018,1008)
OFConfigFile * pConfig
pointer to the configuration file data if the configuration file was found.
Definition: dvpscf.h:1081
OFList< DcmKeyValuePair< T > * > list_
the list of key-value pairs
Definition: dcmsmap.h:197
DcmUnsignedShort BluePaletteColorLookupTableDescriptor
BluePaletteColorLookupTableDescriptor (0028,1103) vr=US/SS, vm=3, type=1C.
Definition: drtdose.h:4460
virtual OFCondition setLossyImageCompressionRatio(const OFString &value, const OFBool checkValue=OFTrue)
Set Lossy Image Compression Ratio.
OFCondition createIdentifiers(OFLogger &appLogger)
Get study or series data from provided file.
OFCondition getSpecifiedTreatmentTime(Float64 &value, const unsigned long pos=0) const
get SpecifiedTreatmentTime (3008,003a)
virtual ~DRTStrainCodeSequence()
destructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setReportedValuesOrigin(const OFString &value, const OFBool check=OFTrue)
set ReportedValuesOrigin (3002,000a)
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmItem * item
DICOM item containing a directory record.
Definition: dcdicdir.h:42
size_t getNumberOfItems() const
get number of items in the sequence
virtual ~Item()
destructor
DcmCodeString ReasonForTheAttributeModification
ReasonForTheAttributeModification (0400,0565) vr=CS, vm=1, type=1.
Definition: drtoas.h:179
virtual OFCondition setHighBit(const Uint16 &value, const OFBool checkValue=OFTrue)
Set High Bit.
virtual ~IODCommonInstanceReferenceModule()
Destructor.
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getInstanceNumber(OFString &value, const signed long pos=0) const
get InstanceNumber (0020,0013)
static OFCondition addReferencedUIDItem(DcmSequenceOfItems &seq, const char *uid)
static helper method that adds an item to the given sequence.
static void getAddressByHostname(const char *name, OFSockAddr &result)
This function performs a DNS lookup of an IP address based on a hostname.
OFCondition readTracks(DcmItem &source)
Reads Tracks from item into dedicated structures.
virtual void clear()
reset the time value.
OFBool isEmpty()
check if item is empty
OFCondition setFractionGroupNumber(const OFString &value, const OFBool check=OFTrue)
set FractionGroupNumber (300a,0071)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmFloatingPointSingle ControlPointOrientation
ControlPointOrientation (300a,0412) vr=FL, vm=3, type=3.
Definition: drtbcps.h:227
const DRTBreedRegistrationSequence & getBreedRegistrationSequence() const
get BreedRegistrationSequence (0010,2294)
Definition: drttreat.h:1125
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getNumberOfPulses(OFString &value, const signed long pos=0) const
get NumberOfPulses (300a,028a)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFBool matches(const DcmUIDHandler &arg) const
checks if the given argument matches the abstract syntax UID maintained by this object
Definition: dccfenmp.h:65
static const OFString m_ModuleName
The name of this module ("GeneralSeriesModule")
Definition: modgeneralseries.h:316
virtual OFBool operator<(const OFDateTime &dateTime) const
comparison operator (less than).
Users should extend this class to implement customized logging event filtering.
Definition: filter.h:108
Item(const Item ©)
copy constructor
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtdspcs.h:335
virtual OFCondition setQualityControlImage(const OFString &value, const OFBool check=OFTrue)
set QualityControlImage (0028,0300)
virtual OFBool getCheckOnWrite()
Returns whether functional group structure is checked before actual writing is performed in the write...
virtual offile_off_t write(const void *buf, offile_off_t buflen)
processes as many bytes as possible from the given input block.
static void initialize()
initialize this context group explicitly.
DcmTime StudyTime
Study Time: (TM, 1, 2)
Definition: dsrdoc.h:1341
@ StationaryAcquisition
(113806,DCM,"Stationary Acquisition")
Definition: cid10013.h:50
DcmUniqueIdentifier referencedPresentationLUTInstanceUID
the ReferencedPresentationLUTSequence is only created/read on the fly
Definition: dvpssp.h:1038
virtual OFCondition setCodingSchemeVersion(const OFString &value, const OFBool checkValue=OFTrue)
Set Coding Scheme Version.
DcmKeyFileFormat
this enum describes the file format of a certificate or private key file.
Definition: tlslayer.h:86
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getRedPaletteColorLookupTableData(Uint16 *&value, unsigned long *count=NULL) const
get RedPaletteColorLookupTableData (0028,1201)
OFCondition setControlPointIndex(const OFString &value, const OFBool check=OFTrue)
set ControlPointIndex (300a,0112)
DCMTK cast macros that map to C++ casts if available.
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_EmptyDocumentTree
error: the document tree is empty (and this is not allowed in this context)
OFCondition addProcedureContext()
add content items for TID 1005 (Procedure Context)
const Item & operator[](const size_t num) const
get particular item in the sequence
Interface class for BrachyControlPointSequence (300a,02d0)
Definition: drtbcps.h:29
const DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence() const
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drttreat.h:1545
DcmUniqueIdentifier SeriesInstanceUID
SeriesInstanceUID (0020,000e) vr=UI, vm=1, type=1.
Definition: drtplan.h:3166
const DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence() const
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtionpl.h:1325
Uint32 payloadAllocated
number of bytes allocated in payload
Definition: dvpsmsg.h:149
virtual OFString getName() const
Get name of module ("MultiframeDimensionModule")
OFCondition getGantryAngleTolerance(OFString &value, const signed long pos=0) const
get GantryAngleTolerance (300a,0044)
Item & getCurrentItem()
get current item in the sequence
DB_KEY_TYPE
types of query keys
Definition: dcmqridx.h:52
OFString getName() const
Get name of module.
Definition: modimagepixelvariant.h:98
@ Hand
(85562004,SCT,"Hand")
Definition: cid4031.h:116
OFCondition gotoNextItem()
goto next item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setBlockNumberOfPoints(const OFString &value, const OFBool check=OFTrue)
set BlockNumberOfPoints (300a,0104)
OFCondition selectStudy(Uint32 idx)
selects the study with the given index in the database.
OFVector< RWVMItem * > m_Items
Items (1-n) of Real World Value Mapping Sequence.
Definition: fgrealworldvaluemapping.h:122
virtual OFBool isFlushed() const =0
returns true if the consumer is flushed, i.e.
DcmElement(const DcmTag &tag, const Uint32 len=0)
constructor.
static const OFString & getStringValueFromElement(const DcmElement &delem, OFString &stringValue)
get string value from element.
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtsdcs.h:337
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
int setNoVoiTransformation()
unset all VOI transformations (windows and LUTs).
Definition: dcmimage.h:610
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setValue(DcmItem &dataset, const DcmTagKey &tagKey, const unsigned long pos=0, const OFBool check=OFTrue)
set string value from dataset.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual void resetRules()
Resets rules to their original values.
virtual OFCondition getImageOrientationPatient(OFString &value, const signed long pos)
Get Image Orientation Patient.
DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence()
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtspgis.h:114
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getSOPInstanceStatus(OFString &value, const signed long pos=0) const
get SOPInstanceStatus (0100,0410)
helper class for working with radio therapy structure set objects.
Definition: drmstrct.h:38
@ EIS_NoDataDictionary
data dictionary not found
Definition: diutils.h:228
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
void clear()
clear all internal member variables
virtual OFCondition getSpatialResolution(OFString &value, const signed long pos=0) const
get SpatialResolution (0018,1050)
@ LATERALITY_UNDEFINED
Undefined (e.g. value not set)
Definition: iodtypes.h:110
static unsigned long getElemValue(const DcmElement *elem, const char *&returnVal)
get value of given element (const char *)
OFCondition setDerivation(const T_Derivation &derivation, const OFBool check=OFTrue)
set the value of the 'Derivation' content item (TID 300 - Row 4).
DRTMappingResourceIdentificationSequence MappingResourceIdentificationSequence
MappingResourceIdentificationSequence (0008,0124) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3094
void getFramesAtStackPos(const Uint32 inStackPos, OFVector< Uint32 > &resultFrameNumbers)
Get list of frames that are set to a specific In-Stack Position.
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write spatial coordinates value in XML format
DcmFloatingPointSingle TableTopRollAngle
TableTopRollAngle (300a,0144) vr=FL, vm=1, type=1C.
Definition: drtcps.h:705
STD_NAMESPACE ostream * setCerr(STD_NAMESPACE ostream *newCerr=NULL)
exchanges the cerr stream object.
DRTBrachyAccessoryDeviceSequence & operator=(const DRTBrachyAccessoryDeviceSequence ©)
assigment operator
const Item & getItem(const size_t num) const
get particular item in the sequence
OFBool section_valid(unsigned int level) const
checks if the cursor points to a valid entry in the config data tree up to the the specified level.
Definition: ofconfig.h:391
void clear()
clear all internal member variables
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
DcmTime SeriesTime
SeriesTime (0008,0031) vr=TM, vm=1, type=3.
Definition: drtplan.h:3172
virtual OFCondition setPerformedProcedureStepEndTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndTime (0040,0251)
OFpath(OFrvalue_ref(OFpath) rhs)
Move construct a path.
OFCondition write(DcmItem &item)
write elements to sequence item
DcmPersonName OperatorsName
OperatorsName (0008,1070) vr=PN, vm=1-n, type=2.
Definition: drtos.h:210
OFCondition setDoseUnits(const OFString &value, const OFBool check=OFTrue)
set DoseUnits (3004,0002)
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
virtual OFString getName() const
Get name of macro.
Item EmptyItem
empty default item
Definition: drtpcs.h:540
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
size_t base_size() const
returns size of stack
Definition: ofstack.h:105
OFCondition getReferenceAirKermaRate(Float64 &value, const unsigned long pos=0) const
get ReferenceAirKermaRate (300a,022a)
Uint32 getFirstFrame() const
get index of first frame
Definition: diimage.h:117
@ IAUC90BN
(126326,DCM,"IAUC90BN"), included from CID 4109
Definition: cid7469.h:294
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
DVInstanceCache::ItemStruct * getInstanceStruct(const char *studyUID=NULL, const char *seriesUID=NULL, const char *instanceUID=NULL)
returns pointer to instance struct specified by given UIDs or to current instance
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmLongString PatientDeathDateInAlternativeCalendar
PatientDeathDateInAlternativeCalendar (0010,0034) vr=LO, vm=1, type=3.
Definition: drtimage.h:4793
OFCondition setBeamLimitingDeviceRotationDirection(const OFString &value, const OFBool check=OFTrue)
set BeamLimitingDeviceRotationDirection (300a,0121)
virtual OFCondition getRTPlanLabel(OFString &value, const signed long pos=0) const
get RTPlanLabel (300a,0002)
DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence()
get RequestingServiceCodeSequence (0032,1034)
Definition: drtionpl.h:1835
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtajcs.h:324
virtual OFCondition getGantryID(OFString &value, const signed long pos=0) const
get GantryID (0018,1008)
Template class to flip color images (on pixel data level) horizontally and vertically.
Definition: dicoflt.h:43
OFBool hasSiblingNodes() const
check whether the current node has any siblings
Definition: dsrtncsr.h:448
OFCondition setTableTopVerticalPositionTolerance(const OFString &value, const OFBool check=OFTrue)
set TableTopVerticalPositionTolerance (300a,0051)
OFCondition setDoseReferenceDescription(const OFString &value, const OFBool check=OFTrue)
set DoseReferenceDescription (300a,0016)
unsigned int StartLeft
x-coordinate of first pixel in surrounding memory buffer
Definition: diovpln.h:480
DcmLongString SoftwareVersions
Software Version(s): (LO, 1-n, 3)
Definition: dsrdoc.h:1373
@ CarbonMonoxide_C11
(129515006,SCT,"Carbon monoxide C^11^")
Definition: cid4021.h:80
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
void updateAttributes()
update various DICOM attributes
void overridePresentationLUTSettings(DcmUnsignedShort &newIllumination, DcmUnsignedShort &newReflectedAmbientLight, DcmUniqueIdentifier &newReferencedPLUT, DVPSPrintPresentationLUTAlignment newAlignment)
replaces the settings for illumination, reflected ambient light and referenced Presentation LUT in al...
virtual OFCondition setDoubleFloatRealWorldValueLastValueMapped(const Float64 value, const OFBool checkValue=OFTrue)
Set Double Float Real World Value Last Value Mapped.
int getMaxParamCount() const
gets maximum number of parameters which should be accepted.
Definition: ofcmdln.h:457
void setPrivateKeyPasswd(const char *thePasswd)
sets the password string to be used when loading an encrypted private key file in PEM format (ASN....
DcmFileCache()
default constructor
Definition: dcfcache.h:40
const Item & getCurrentItem() const
get current item in the sequence
DcmPersonName ResponsiblePerson
ResponsiblePerson (0010,2297) vr=PN, vm=1, type=2C.
Definition: drtstrct.h:2783
OFBool operator!=(const DSRTemporalCoordinatesValue &coordinatesValue) const
comparison operator "not equal"
DRTOperatorIdentificationSequence OperatorIdentificationSequence
OperatorIdentificationSequence (0008,1072) vr=SQ, vm=1, type=3.
Definition: drtos.h:208
virtual void handleAssociation()
This function takes care of handling the other DICOM application's request.
const DRTPurposeOfReferenceCodeSequence & getPurposeOfReferenceCodeSequence() const
get PurposeOfReferenceCodeSequence (0040,a170)
Definition: drtsis.h:155
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
DSRDocumentTreeNodeHasChildrenFilter(const OFBool hasChildren=OFTrue)
(default) constructor
@ NanocolloidalAlbumin_89Zr
(126753,DCM,"Nanocolloidal albumin ^89^Zr")
Definition: cid4021.h:212
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
DcmCodeString ConsentForDistributionFlag
ConsentForDistributionFlag (0012,0085) vr=CS, vm=1, type=1.
Definition: drtcctus.h:146
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
OFBool isApplicable(const char *instanceUID, unsigned long frame)
checks if this displayed area is applicable to the given image and frame.
OFCondition addQualitativeEvaluation(const DSRCodedEntryValue &conceptName, const OFString &stringValue, const OFBool check=OFTrue)
add a qualitative evaluation related to the entire subject of the report in text form (TID 1500 - Row...
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition setHighBit(const Uint16 value, const unsigned long pos=0)
set HighBit (0028,0102)
OFCondition addImageBox(const char *retrieveaetitle, const char *refsopinstanceuid, const char *requestedimagesize=NULL, const char *patientid=NULL, DVPSPresentationLUT *presentationlut=NULL, OFBool inversePLUT=OFFalse)
creates a new image box object and sets the content of this image box object.
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFBool isEmpty()
check if sequence is empty
T & reference
the type of mutable references on this object
Definition: ofvector.h:66
unsigned int Year
currently stored year value
Definition: ofdate.h:243
OFCondition setBlockNumberOfPoints(const OFString &value, const OFBool check=OFTrue)
set BlockNumberOfPoints (300a,0104)
XMLClear * updateClear_WOSD(XMLClear *newP, XMLClear *oldP)
if the clearTag to update is missing, a new one will be added
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmDate PatientBirthDate
PatientBirthDate (0010,0030) vr=DA, vm=1, type=2.
Definition: drttreat.h:2649
virtual OFCondition setPhysiciansOfRecord(const OFString &value, const OFBool check=OFTrue)
set PhysiciansOfRecord (0008,1048)
int value() const
Obtains the actual error code.
void clear()
clear all internal member variables
OFBool isEmpty()
check if sequence is empty
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrcos.h:148
DRTPersonIdentificationCodeSequence PersonIdentificationCodeSequence
PersonIdentificationCodeSequence (0040,1101) vr=SQ, vm=1, type=1.
Definition: drtprsis.h:208
virtual OFCondition setRTImageName(const OFString &value, const OFBool check=OFTrue)
set RTImageName (3002,0003)
double amplification
factor by which all pixel values of the difference image will be multiplied
Definition: dcmicmph.h:285
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition setPixelPaddingValue(const Uint16 value, const unsigned long pos=0)
set PixelPaddingValue (0028,0120)
virtual OFCondition getRescaleType(OFString &value, const signed long pos=0) const
get RescaleType (0028,1054)
Item & operator=(const Item ©)
assigment operator
@ ECC_lossyRGB
encode color images in RGB unless the source image is YCbCr in which case no color conversion is perf...
Definition: djutils.h:138
virtual DiImage * createImage(const unsigned long fstart, const unsigned long fcount) const =0
create copy of current image object (abstract)
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
CID29_AcquisitionModality(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
Sint16 getTop(const Sint32 top_pos=0) const
get y-coordinate of overlay plane origin
Definition: diovpln.h:134
const Item & getItem(const size_t num) const
get particular item in the sequence
void convertPixelData()
create input pixel data representation from DICOM dataset structures
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
OFCondition setGantryAngleTolerance(const OFString &value, const OFBool check=OFTrue)
set GantryAngleTolerance (300a,0044)
OFCondition setDoseReferenceUID(const OFString &value, const OFBool check=OFTrue)
set DoseReferenceUID (300a,0013)
virtual OFCondition setPatientSexNeutered(const OFString &value, const OFBool check=OFTrue)
set PatientSexNeutered (0010,2203)
virtual OFCondition getSoftwareVersions(OFString &value, const signed long pos=0) const
get SoftwareVersions (0018,1020)
virtual ~DVPSGraphicAnnotation_PList()
destructor
virtual DcmObject * clone() const
clone method
Definition: dcvrss.h:87
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmPolymorphOBOW & operator=(const DcmPolymorphOBOW &obj)
copy assignment operator
DcmFloatingPointSingle IsocenterToWedgeTrayDistance
IsocenterToWedgeTrayDistance (300a,00d9) vr=FL, vm=1, type=1.
Definition: drtiws.h:223
Interface class for ReferencedDoseReferenceSequence (300c,0050) in RTIonBeamsModule.
Definition: drtrdrs6.h:28
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
void getStatusSummary(OFString &summary) const
get some status information on the overall sending process.
OFCondition putAndInsertString(const DcmTag &tag, const char *value, const Uint32 length, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
virtual OFCondition checkCurrentValue() const
check the currently stored numeric measurement value for validity.
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setRespiratoryMotionCompensationTechniqueDescription(const OFString &value, const OFBool check=OFTrue)
set RespiratoryMotionCompensationTechniqueDescription (0018,9185)
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition setPatientName(const OFString &value, const OFBool check=OFTrue)
set PatientName (0010,0010)
~DcmQuantPixelBoxArray()
destructor
void clear()
clear all internal member variables
void flip(const T *pixel[3], const int horz, const int vert)
choose flipping algorithm depending on given parameters
Definition: dicoflt.h:90
OFCondition saveDiffImage(const char *ofname)
save the difference image created during image comparison.
DCMTK_LOG4CPLUS_PRIVATE Logger(spi::LoggerImpl *ptr)
This constructor created a new Logger instance with a pointer to a Logger implementation.
DcmItem * currentItem
pointer to current item if attached, NULL otherwise
Definition: dcsignat.h:242
OFCondition getROIVolume(OFString &value, const signed long pos=0) const
get ROIVolume (3006,002c)
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_CouldNotWriteFG
Could not write functional group.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTPredecessorStructureSetSequence(const DRTPredecessorStructureSetSequence ©)
copy constructor
const DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence() const
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtiontr.h:1293
DcmCodeString annotationDisplayFormatID
Module=Film_Box_Module, VR=CS, VM=1, Type 3.
Definition: dvpssp.h:1010
static void initializeAllContextGroups()
initialize all supported context groups of the "Content Mapping Resource" explicitly.
DcmIntegerString ParameterItemIndex
ParameterItemIndex (3008,0063) vr=IS, vm=1, type=1.
Definition: drtos.h:216
OFCondition getTableTopLateralPosition(OFString &value, const signed long pos=0) const
get TableTopLateralPosition (300a,012a)
virtual OFCondition addFrame(Uint8 *pixData)
Add frame to segmentation object.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition setPerformingPhysicianName(const OFString &value, const OFBool checkValue=OFTrue)
Set Performing Physician Name.
@ EVR_CS
code string
Definition: dcvr.h:132
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
DcmDate StudyDate
StudyDate (0008,0020) vr=DA, vm=1, type=2.
Definition: drtplan.h:3063
OFCondition addDicomFile(const OFFilename &filename, const OFFilename &directory=OFFilename())
add specified DICOM file to the current DICOMDIR.
@ Sonographer
(C1954848,UMLS,"Sonographer")
Definition: cid7452.h:90
void startRow(long &col, long &limitcol)
starts a new row.
Definition: diqtid.h:73
OFCondition readSRDocumentContentModule(DcmItem &dataset, const DSRIODConstraintChecker *constraintChecker, const size_t flags)
read SR document content module
int fwide(int mode)
When mode is zero, the fwide function determines the current orientation of stream.
Definition: offile.h:973
size_t getNumberOfItems() const
get number of items in the sequence
DVPSTextObject & operator=(const DVPSTextObject &)
private undefined assignment operator
int MinParamCount
minimum number of parameters which should be accepted
Definition: ofcmdln.h:1101
DRTSourceImageSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item class.
Definition: drtccs.h:37
DRTFractionGroupSummarySequence & getFractionGroupSummarySequence()
get FractionGroupSummarySequence (3008,0220)
Definition: drttreat.h:1251
DcmShortString RadiationMachineName
RadiationMachineName (3002,0020) vr=SH, vm=1, type=2.
Definition: drtimage.h:5300
virtual OFCondition loadFile(const OFFilename &fileName, const E_FileReadMode readMode=ERM_autoDetect, const E_TransferSyntax readXfer=EXS_Unknown)
Load an object from a file.
virtual void createNewStudy(const OFBool clearEquipment=OFTrue)
Create new study.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmLongString PatientBreedDescription
PatientBreedDescription (0010,2292) vr=LO, vm=1, type=2C.
Definition: drtimage.h:4819
virtual OFCondition addSourceImageItems(const OFVector< OFString > &files, const CodeSequenceMacro &purposeOfReference, OFVector< SourceImageItem * > &resultSourceImageItems, const OFBool skipFileErrors=OFFalse)
Convenience function to add items representing references to some objects which all have the same pur...
DcmDictEntry * insertInList(DcmDictEntryList &lst, DcmDictEntry *entry)
inserts new entry into given list
@ _73_Selenium
(87437000,SCT,"^73^Selenium")
Definition: cid4020.h:92
OFCondition setReferencedFrameNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFrameNumber (0008,1160)
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtics.h:329
DRTReferencedInstanceSequence ReferencedInstanceSequence
ReferencedInstanceSequence (0008,114a) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5117
FGParametricMapFrameType()
Constructor, creates empty Parametric Map Frame Type Functional Group.
static void shutdown()
Calling this method will safely close and remove all appenders in all the loggers including root cont...
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtics.h:341
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence()
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drttreat.h:1299
OFBool isElem(const OFString &uid)
checks whether an item with the specified UID exists in the cache list
Definition: dvcache.h:815
@ Femur
(71341001,SCT,"Femur")
Definition: cid4031.h:104
DRTDICOMRetrievalSequence & getDICOMRetrievalSequence()
get DICOMRetrievalSequence (0040,e021)
Definition: drtrpphs.h:138
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtiws.h:218
Item & operator=(const Item ©)
assigment operator
static DJCodecParameter * cp
pointer to codec parameter shared by all decoders
Definition: djdecode.h:77
OFBool convertToSC_
flag indicating whether image should be converted to Secondary Capture upon compression
Definition: djcparam.h:257
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition setPatientComments(const OFString &value, const OFBool check=OFTrue)
set PatientComments (0010,4000)
DRTProcedureCodeSequence & getProcedureCodeSequence()
get ProcedureCodeSequence (0008,1032)
Definition: drttreat.h:1491
DcmQueryRetrieveIndexDatabaseHandle(const DcmQueryRetrieveIndexDatabaseHandle &other)
private undefined copy constructor
OFString m_ourAETitle
AE title of this application (default: ANY-SCU)
Definition: scu.h:1032
DRTHL7StructuredDocumentReferenceSequence HL7StructuredDocumentReferenceSequence
HL7StructuredDocumentReferenceSequence (0040,a390) vr=SQ, vm=1, type=1C.
Definition: drttreat.h:3014
DRTBeamLimitingDeviceToleranceSequence BeamLimitingDeviceToleranceSequence
BeamLimitingDeviceToleranceSequence (300a,0048) vr=SQ, vm=1, type=3.
Definition: drtitts.h:406
OFCondition addDicomFile(const OFFilename &filename, const E_FileReadMode readMode=ERM_fileOnly, const OFBool checkValues=OFTrue)
add a SOP instance stored as a DICOM file or a number of SOP instances referenced from a DICOMDIR to ...
virtual OFCondition getFrameAcquisitionNumber(Uint16 &value, const signed long pos=0)
Get Frame Acquisition Number.
@ EBO_unknown
unknown
Definition: dcxfer.h:130
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
EJ_Mode modeofOperation
enum for mode of operation (baseline, sequential, progressive etc.)
Definition: djeijg8.h:159
@ HipJoint
(29836001,SCT,"Hip joint")
Definition: cid4031.h:124
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtsptcs.h:211
virtual OFCondition nextObject(DcmStack &stack, const OFBool intoSub)
this method enables a stack based, depth-first traversal of a complete hierarchical DICOM dataset (th...
DSRDateTreeNode(const DSRDateTreeNode &node)
copy constructor.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpfms.h:311
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drttts.h:541
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setTypeOfInstances(const OFString &value, const OFBool check=OFTrue)
set TypeOfInstances (0040,e020)
DiMonoImage(const DiDocument *image, const EI_Status status, const char dummy)
constructor
size_t find(char pattern, size_t pos=0) const
creates a pattern string from the input and determines the earliest occurrence of the pattern in the ...
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcos.h:444
virtual OFBool isClinicalTrialSubjectModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSubjectModule (U) is present.
DcmCodeString ContrastBolusIngredient
ContrastBolusIngredient (0018,1048) vr=CS, vm=1, type=3.
Definition: drtimage.h:5205
virtual OFCondition setContrastFlowRate(const OFString &value, const OFBool check=OFTrue)
set ContrastFlowRate (0018,1046)
virtual OFCondition setClinicalTrialSiteName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteName (0012,0031)
E_FilenameGenerationMode getFilenameGenerationMode() const
get the mode for generating filenames for the received datasets
DcmAttributeTag(const DcmTag &tag)
constructor.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFListIterator(Item *) CurrentItem
currently selected item
DcmLongString ClinicalTrialSiteID
ClinicalTrialSiteID (0012,0030) vr=LO, vm=1, type=2.
Definition: drttreat.h:2722
DcmLongString m_AlgorithmName
Algorithm Name: (LO, VM 1, Typ 1)
Definition: iodmacro.h:945
OFBool findOption(const char *longOpt, const signed int pos=0, const E_FindOptionMode mode=FOM_Normal)
checks whether specified option exists in the command line.
virtual ~DSRSpectaclePrescriptionReportConstraintChecker()
destructor
virtual ~Item()
destructor
Uint16 getWidth() const
get width of overlay plane
Definition: diovpln.h:143
int test_bits
bits/sample to use when processing the test image
Definition: dcmicmph.h:270
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtajcs.h:357
This class is used to produce "Trace" logging.
Definition: tracelog.h:53
OFBool canWriteRandseed
true if there is enough random data to write a new random seed file
Definition: tlslayer.h:432
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual EP_Interpretation getDecompressedColorModel() const
after successful compression, returns the color model of the decompressed image
Definition: djdijg16.h:86
OFCondition setTreatmentDeliveryType(const OFString &value, const OFBool check=OFTrue)
set TreatmentDeliveryType (300a,00ce)
const Item & getItem(const size_t num) const
get particular item in the sequence
Item(const Item ©)
copy constructor
~OFReadWriteLocker()
destructor, unlocks the mutex if necessary
const DRTContentItemModifierSequence & getContentItemModifierSequence() const
get ContentItemModifierSequence (0040,0441)
Definition: drtpcxs.h:231
DRTAdditionalDrugSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFString htmlPState
current presentation state html page
Definition: dvsighdl.h:185
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the spatial coordinates value, is valid
OFString MappingResource
Mapping Resource (VR=CS, type 1C)
Definition: dsrcodvl.h:728
OFString CodingSchemeVersion
Coding Scheme Version (VR=SH, type 1C)
Definition: dsrcodvl.h:715
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTReferencedStudySequence ReferencedStudySequence
ReferencedStudySequence (0008,1110) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4206
void setFilenameExtension(const OFString &extension)
specify the filename extension to be appended to the generated filenames.
DiImage * createScale(const signed long left_pos, const signed long top_pos, const unsigned long clip_width, const unsigned long clip_height, const unsigned long scale_width, const unsigned long scale_height, const int interpolate, const int aspect, const Uint16 pvalue) const
create scaled copy of specified (clipping) area of the current image object.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition setContentQualification(const OFString &value, const OFBool check=OFTrue)
set ContentQualification (0018,9004)
virtual ~Item()
destructor
DiGSDFunction(const double *val_tab, const unsigned long count, const Uint16 max=255, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0)
constructor, use given array of luminance/OD values.
@ MilligramsPerMinutePerMilliliter
(mg/min/ml,UCUM,"Milligrams/minute/milliliter"), included from CID 84
Definition: cid7181.h:106
virtual OFCondition setContrastBolusStartTime(const OFString &value, const OFBool check=OFTrue)
set ContrastBolusStartTime (0018,1042)
virtual void resetRules()
Resets rules to their original values.
int lookup(const DcmQuantPixel &colorP)
searches the list for an entry that equals the given pixel value.
Definition: diqthitl.h:60
DcmTime PatientBirthTime
PatientBirthTime (0010,0032) vr=TM, vm=1, type=3.
Definition: drtplan.h:2989
double getVOIPresetWindowCenter(const char *modality, Uint32 idx)
returns the window center for the given VOI Preset
void setStorageDir(const OFString &storeDir)
Set the directory that should be used by the standard C-GET handler to store objects that come in wit...
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcss.h:536
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFBool isEmpty(const OFBool normalize=OFTrue)
check if this object is empty
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_MissingImageLibraryEntryDescriptorModality
error: the current (most recently added) image library entry has no modality descriptor
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setApplicatorApertureShape(const OFString &value, const OFBool check=OFTrue)
set ApplicatorApertureShape (300a,0432)
void addOutputOptions(OFCommandLine &cmd)
Add command line options specific for output to the OFCommandLine object passed to the constructor.
void doAppend(const log4cplus::spi::InternalLoggingEvent &event)
This method performs threshold checks and invokes filters before delegating actual logging to the sub...
OFCondition getWedgeOrientation(Float64 &value, const unsigned long pos=0) const
get WedgeOrientation (300a,00d8)
OFBool isEmpty()
check if item is empty
const DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence() const
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtimage.h:2848
void filmBoxNDelete(T_DIMSE_Message &rq, T_DIMSE_Message &rsp)
implements the N-DELETE operation for the Basic Film Box SOP Class.
virtual void notifySENDProgress(const unsigned long byteCount)
This function is called while sending DIMSE messages, i.e. on each PDV of a dataset.
TransferEntry(const OFFilename &filename, const E_FileReadMode readMode, const OFString &sopClassUID, const OFString &sopInstanceUID, const OFString &transferSyntaxUID)
constructor.
void removeDataReference()
remove reference to (internally handled) pixel data (abstract)
Definition: dimoopxt.h:183
@ CM_POINTS
Recommended CIELab values are provided as separate colors for each point within track.
Definition: trctypes.h:88
OFCondition write(DcmItem &dataset)
Overwrites DcmIODImage::write()
virtual ~DRTReasonForRequestedProcedureCodeSequence()
destructor
static OFCondition decompress(DcmDataset &dset)
Decompress the given dataset.
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtrrpcs.h:347
virtual OFCondition getIssuerOfPatientID(OFString &value, const signed long pos=0) const
get IssuerOfPatientID (0010,0021)
OFList< DcmBaseSCPWorker * > m_workersBusy
List of all workers running a connection.
Definition: scppool.h:232
DiMonoFlipTemplate(const DiMonoPixel *pixel, const Uint16 columns, const Uint16 rows, const Uint32 frames, const int horz, const int vert)
constructor
Definition: dimoflt.h:58
@ VS_Underflow
converted value falls below minimum
Definition: ofcmdln.h:184
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read data into this module from given item.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrtrs4.h:127
OFCondition write(DcmItem &item)
write elements to sequence item
virtual void resetRules()
Resets rules to their original values.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrses.h:312
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence()
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtionpl.h:1415
virtual void clearData()
Clears all data.
OFBool fdopen(int fd, const char *modes)
associates a stream with the existing file descriptor 'fd'.
Definition: offile.h:406
OFCondition getNumberOfBrachyApplicationSetups(Sint32 &value, const unsigned long pos=0) const
get NumberOfBrachyApplicationSetups (300a,00a0)
DcmStack()
default constructor, creates empty stack
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual ~DVPSReferencedImage_PList()
destructor
void setDumpFile(FILE *f)
dump all data that is fed into the MAC algorithm into the given file, which must be opened and closed...
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item & operator=(const Item ©)
assigment operator
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmLongString ClinicalTrialCoordinatingCenterName
ClinicalTrialCoordinatingCenterName (0012,0060) vr=LO, vm=1, type=2.
Definition: drtionpl.h:3122
virtual OFCondition getDoseImages(OFVector< OFVector< double > > &result) const
get the dose information for the whole image.
Class to manage GSDF LUTs (for calibration)
Definition: digsdfn.h:42
int pclose()
waits for the associated process (created with popen) to terminate and returns the exit status of the...
Definition: offile.h:513
void log(LogLevel ll, const log4cplus::tstring &message, const char *file=NULL, int line=-1) const
This generic form is intended to be used by wrappers.
OFCondition setReferencedFrameNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFrameNumber (0008,1160)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence() const
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtstrct.h:1584
DcmLongString ClinicalTrialProtocolID
ClinicalTrialProtocolID (0012,0020) vr=LO, vm=1, type=1.
Definition: drtdose.h:4155
OFString getCalledAETitle() const
Returns AE title the SCU used as called AE title in association request.
Item(const Item ©)
copy constructor
virtual OFCondition getPatientSexNeutered(OFString &value, const signed long pos=0) const
get PatientSexNeutered (0010,2203)
Definition: dulstruc.h:235
@ EGL_withoutGL
remove group length tags
Definition: dctypes.h:104
const OFConditionConst & condition() const
internal function only, don't use yourself.
Definition: ofcond.h:288
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drttms0.h:197
const Item & getItem(const size_t num) const
get particular item in the sequence
const char * getUserOrganization(const char *userID)
returns the organization for the given user.
@ Ve
(126314,DCM,"ve"), included from CID 4107
Definition: cid7469.h:260
OFCondition setCodeValue(const DSRCodedEntryValue &codeValue, const OFBool check=OFTrue)
set code value.
void clear()
clear all internal member variables
virtual ~Item()
destructor
Item EmptyItem
empty default item
Definition: drttms0.h:395
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Main Class representing a XML node.
Definition: ofxml.h:279
virtual OFCondition setStopTrim(const OFString &value, const OFBool check=OFTrue)
set StopTrim (0008,2143)
virtual OFCondition setImagePositionPatient(const OFString &value, const OFBool check=OFTrue)
set ImagePositionPatient (0020,0032)
DVPSFilmSession(const DVPSFilmSession ©)
copy constructor
@ PerpendicularAxis
(131189007,SCT,"Perpendicular Axis"), included from CID 7470
Definition: cid7469.h:372
OFCondition getTableTopRollRotationDirection(OFString &value, const signed long pos=0) const
get TableTopRollRotationDirection (300a,0146)
DJDecoderSpectralSelection()
default constructor
virtual DcmEVR ident(void) const
get element type identifier
@ Mean
(373098007,SCT,"Mean"), included from CID 3488
Definition: cid7464.h:48
OFCondition write(DcmItem &dset)
writes the series reference managed by this object to a DICOM dataset.
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
OFCondition gotoFirstItem()
goto first item in the sequence
Item(const Item ©)
copy constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
void set(const char *filename, const OFBool convert=OFFalse)
replace currently stored filename by given value
void tokenize(const StringType &s, typename StringType::value_type c, OFVector< StringType > &result, bool collapseTokens=true)
Tokenize s using c as the delimiter and put the resulting tokens in _result.
Definition: strhelp.h:72
OFCondition setFixationLightAzimuthalAngle(const Float32 value, const unsigned long pos=0)
set FixationLightAzimuthalAngle (300a,0356)
void clear()
clear all internal member variables
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition evaluateIncomingAssociation(T_ASC_Association &assoc) const
This method evaluates an incoming association request according presentation context settings maintai...
DcmFileFormat * getFileFormat()
Returns the DcmFileFormat that this MdfDatasetManager handles.
virtual void InsertAt(const T &item, unsigned int idx)
Inserts a new item at a certain position into the set.
Definition: ofoset.h:173
OFBool operator!=(const DSRBasicCodedEntry &basicCodedEntry) const
comparison operator "not equal".
void pop_front()
removes the first element of the list.
Definition: oflist.h:406
DRTReferencedBrachyApplicationSetupSequenceInRTDoseModule & getReferencedBrachyApplicationSetupSequence()
get ReferencedBrachyApplicationSetupSequence (300c,000a)
Definition: drtrfgs.h:127
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtrscs.h:357
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtdcs.h:337
DcmIntegerString ReferencedBeamNumber
ReferencedBeamNumber (300c,0006) vr=IS, vm=1, type=3.
Definition: drtimage.h:5314
DIC_US priorStatus
prior DIMSE status
Definition: dcmqrcbf.h:90
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
DcmStackNode * link
pointer to next stack entry, NULL if last one
Definition: dcstack.h:58
virtual E_DocumentType getDocumentType() const =0
get the associated document type of the SR IOD (abstract)
@ DiameterOfCircumscribedCircle
(131192006,SCT,"Diameter of circumscribed circle"), included from CID 7470
Definition: cid7469.h:380
Item & getItem(const size_t num)
get particular item in the sequence
E_ByteOrder getPixelDataByteOrder() const
return byte order for this transfer syntax
Definition: dcxfer.h:209
int compare(size_t pos1, size_t n1, const OFString &str, size_t pos2, size_t n2) const
constructs a temporary string from this object and another temporary from the input and compares the ...
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtsdcs.h:339
Interface class for ReferencedRTPlanSequence (300c,0002) in RTGeneralPlanModule.
Definition: drtrrtps3.h:28
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeApprovalNumber(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
OFCondition getNumericValue(OFString &value, const signed long pos=0) const
get NumericValue (0040,a30a)
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
DcmList * itemList
the list of items maintained by this sequence object
Definition: dcsequen.h:604
const DSRNumericMeasurementValue & getValue() const
get reference to numeric measurement value
Definition: dsrnumvl.h:221
Item class.
Definition: drtbrdrs.h:36
@ FOM_FirstFromLeft
find first option (from left to right)
Definition: ofcmdln.h:219
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool isEmpty()
check if item is empty
virtual OFCondition getNumberOfFrames(OFString &value, const signed long pos=0) const
get NumberOfFrames (0028,0008)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getBlockNumber(Sint32 &value, const unsigned long pos=0) const
get BlockNumber (300a,00fc)
const char * getUserName(const char *userID)
returns the human readable name for the given user.
OFMutex theMutex
if compiled for multi-thread operation, the Mutex protecting access to the value of this object.
Definition: ofglobal.h:114
OFCondition putString(const char *stringValue)
put list of referenced date/time as a string.
CID244e_Laterality(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
DcmLongString ClinicalTrialProtocolEthicsCommitteeName
ClinicalTrialProtocolEthicsCommitteeName (0012,0081) vr=LO, vm=1, type=1C.
Definition: drtionpl.h:2971
static void configureFromCommandLine(OFCommandLine &cmd, OFConsoleApplication &app, OFLogger::LogLevel defaultLevel=OFLogger::WARN_LOG_LEVEL)
handle the command line options used for logging
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtds.h:533
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence() const
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtimage.h:2716
time_t startTime
Start time.
Definition: scp.h:56
DCMTK_DCMNET_EXPORT OFCondition DIMSE_sendMessageUsingFileData(T_ASC_Association *association, T_ASC_PresentationContextID presID, T_DIMSE_Message *msg, DcmDataset *statusDetail, const char *dataFileName, DIMSE_ProgressCallback callback, void *callbackContext, DcmDataset **commandSet=NULL)
send a DIMSE command and possibly also instance data from a file via network to another DICOM applica...
OFCondition findAndGetFloat64(const DcmTagKey &tagKey, Float64 &value, const unsigned long pos=0, const OFBool searchIntoSub=OFFalse)
find element and get value as a 64-bit floating point.
int subset(const DcmDictEntry &e) const
checks if this entry describes a true subset of tag range described by the given entry.
Definition: dcdicent.h:333
virtual ~OFStackLinkBase()
destructor
Definition: ofstack.h:65
OFCondition getControlPointIndex(OFString &value, const signed long pos=0) const
get ControlPointIndex (300a,0112)
OFBool retired
flag indicating whether this transfer syntax has been retired from DICOM
Definition: dcxfer.h:340
const Item & operator[](const size_t num) const
get particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setPatientSexNeutered(const OFString &value, const OFBool check=OFTrue)
set PatientSexNeutered (0010,2203)
DRTOtherPatientIDsSequence OtherPatientIDsSequence
OtherPatientIDsSequence (0010,1002) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2908
static void lab2Xyz(double &X, double &Y, double &Z, double L, double a, double b)
Convert CIELab color representation to CIE XYZ representation.
void clear()
clear all internal member variables
DRTWADORetrievalSequence(const DRTWADORetrievalSequence ©)
copy constructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
virtual ~DcmPixelItem()
destructor
Class representing a path of DICOM objects.
Definition: dcpath.h:86
virtual OFCondition getMeasuredLateralDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredLateralDimension (0010,1024)
OFBool isKnownKey(const char *key) const
checks if the key is known
virtual OFCondition status() const
returns the status of the producer as an OFCondition object.
OFCondition getReferencedRangeShifterNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedRangeShifterNumber (300c,0100)
OFString VoiExplanation
free text explanation of current VOI transformation
Definition: dimoimg.h:1115
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool hasAdditionalSettings()
checks whether image box has additional settings that are not default.
DcmDirectoryRecord * buildTractRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update tract record and copy required values from dataset
DcmFloatingPointSingle TableTopRollAngle
TableTopRollAngle (300a,0144) vr=FL, vm=1, type=3.
Definition: drtimage.h:5342
virtual OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
Abstract base class to register additional libraries.
Definition: diregbas.h:49
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
DRTDerivationCodeSequence & getDerivationCodeSequence()
get DerivationCodeSequence (0008,9215)
Definition: drtiontr.h:1299
static const char * getString(const EP_Interpretation interpret)
convert photometric interpretation code to interpretation string (defined term)
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtrpcs.h:211
Item & getCurrentItem()
get current item in the sequence
void usec(long us)
Sets the microseconds value.
Definition: timehelp.h:89
Uint16 BitsStored
number of bits stored for each pixel (see 'BitsPerSample')
Definition: diimage.h:639
void push(const log4cplus::tstring &message)
Push new diagnostic context information for the current thread.
void swap(DSRTreeNodeCursor< T > &cursor)
fast, non-throwing swap function.
Definition: dsrtncsr.h:802
DerivationImageItem & operator=(const DerivationImageItem &rhs)
Assignment operator, deletes old data.
void updateAttributes()
update various DICOM attributes
virtual OFCondition getTreatmentProtocols(OFString &value, const signed long pos=0) const
get TreatmentProtocols (300a,0009)
virtual OFCondition nextFindResponse(DcmDataset **findResponseIdentifiers, DcmQueryRetrieveDatabaseStatus *status, const DcmQueryRetrieveCharacterSetOptions &characterSetOptions)=0
return the next available FIND response as a new DICOM dataset.
int compare(const OFString &str) const
determines the effective length rlen of the strings to compare as the smallest of size() and str....
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition getRespiratoryMotionCompensationTechniqueDescription(OFString &value, const signed long pos=0) const
get RespiratoryMotionCompensationTechniqueDescription (0018,9185)
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
DRTStructureSetROISequence & getStructureSetROISequence()
get StructureSetROISequence (3006,0020)
Definition: drtstrct.h:1794
size_t size() const
get number of stored print objects in this list.
Definition: dvpsspl.h:69
EM_Overlay getPlaneMode(unsigned int plane) const
get overlay mode of specified plane
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTOtherPatientIDsSequence OtherPatientIDsSequence
OtherPatientIDsSequence (0010,1002) vr=SQ, vm=1, type=3.
Definition: drtplan.h:2991
virtual OFCondition setAdditionalPatientHistory(const OFString &value, const OFBool check=OFTrue)
set AdditionalPatientHistory (0010,21b0)
const DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence() const
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtionpl.h:1289
virtual ~Item()
destructor
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
a class representing the DICOM value representation 'Unlimited Characters' (UC)
Definition: dcvruc.h:36
OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
void computeClusters()
after a call to medianCut(), this method computes for each entry in the color map the minimum of the ...
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtgmcs.h:324
DCMTK_LOG4CPLUS_EXPORT LayoutFactoryRegistry & getLayoutFactoryRegistry()
Returns the "singleton" LayoutFactoryRegistry.
Item & operator=(const Item ©)
assigment operator
virtual ~Item()
destructor
const char * getVoiLutExplanation(const unsigned long table, OFString &explanation) const
get description of specified VOI LUT (stored in the image file)
Definition: dcmimage.h:834
OFCondition read(DcmItem &dataset, const size_t flags)
read list of referenced SOP instances.
@ English_US
(en-US,RFC5646,"English (US)")
Definition: cid5000.h:50
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtsptcs.h:355
OFListIterator(Item *) CurrentItem
currently selected item
const DRTReferencedInstanceSequence & getReferencedInstanceSequence() const
get ReferencedInstanceSequence (0008,114a)
Definition: drtiontr.h:1641
OFLIST_TYPENAME OFListIterator(DcmKeyValuePair< T > *) end()
return iterator to end of list
Definition: dcmsmap.h:184
@ EVR_IS
integer string
Definition: dcvr.h:150
SiAlgorithm()
default constructor
Definition: sialgo.h:46
OFCondition gotoNextItem()
goto next item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrdros.h:341
DcmDecimalString TableTopLongitudinalSetupDisplacement
TableTopLongitudinalSetupDisplacement (300a,01d4) vr=DS, vm=1, type=3.
Definition: drtpss.h:347
virtual OFCondition getPatientIdentityRemoved(OFString &value, const signed long pos=0) const
get PatientIdentityRemoved (0012,0062)
IODRule(const DcmTagKey &key, const OFString &VM, const OFString &type, const OFString &module, const DcmIODTypes::IOD_IE ie, const OFString &defaultValue="", const OFString &privateCreator="")
Constructor to create a new attribute rule.
OFCondition write(DcmItem &item)
write elements to sequence item
DRTReferencedPatientPhotoSequence ReferencedPatientPhotoSequence
ReferencedPatientPhotoSequence (0010,1100) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2812
OFVector< StudiesOtherInstancesItem * > & getStudiesContainingOtherReferences()
Return reference to content of Studies Containing Other Referenced Instances Sequence.
SOPInstanceReferenceMacro m_SOPInstanceReferenceMacro
SOP Instance Reference Macro.
Definition: iodcontentitemmacro.h:171
DRTTreatmentMachineSequenceInRTTreatmentMachineRecordModule & getTreatmentMachineSequence()
get TreatmentMachineSequence (300a,0206)
Definition: drtiontr.h:1851
@ Keratometry
(KER,DCM,"Keratometry")
Definition: cid29.h:76
DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence()
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drttreat.h:1695
DcmLongString filmSessionLabel
VR=LO, VM=1.
Definition: dvpsfs.h:159
DcmSignedShort & operator=(const DcmSignedShort &obj)
assignment operator
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual ~FGFrameContent()
Virtual destructor.
Implementation of DCMR Context Group: CID 244 - Laterality.
Definition: cid244.h:35
virtual ~Item()
destructor
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getPerformedProcedureStepStartDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartDate (0040,0244)
DRTSourceInstanceSequence SourceInstanceSequence
SourceInstanceSequence (0042,0013) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3067
DcmDate & operator=(const DcmDate &obj)
assignment operator
DcmOutputStream(const DcmOutputStream &)
private unimplemented copy constructor
Implementation of DCMR Template: TID 300 - Measurement (and included template 320).
Definition: tid300.h:53
DcmIntegerString ReferencedFrameNumber
ReferencedFrameNumber (0008,1160) vr=IS, vm=1-n, type=1C.
Definition: drtrsos.h:181
virtual OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
virtual Uint32 getTagAndLengthSize(const E_TransferSyntax oxfer) const
return the number of bytes needed to serialize the tag, VR and length information of the current obje...
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getTextValue(OFString &value, const signed long pos=0) const
get TextValue (0040,a160)
@ FOM_First
find first option
Definition: ofcmdln.h:215
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
DcmFloatingPointSingle MetersetRateSet
MetersetRateSet (3008,0045) vr=FL, vm=1, type=3.
Definition: drticpds.h:834
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getClinicalTrialTimePointID(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointID (0012,0050)
const DSRTemporalCoordinatesValue & getValue() const
get reference to temporal coordinates value
Definition: dsrtcovl.h:152
@ TimeOfLeadingHalfPeakConcentration
(126372,DCM,"Time of Leading Half-Peak Concentration"), included from CID 4109
Definition: cid7469.h:300
virtual OFCondition setTrackingID(const OFString &value, const OFBool checkValue=OFTrue)
Set Tracking ID.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DVIFhierarchyStatus getStudyStatus()
returns the review status of the currently selected study.
EJ_Mode
describes the different modes of operation of a JPEG codec
Definition: djutils.h:59
Definition: dcmqridx.h:210
E_GraphicType3D
SR graphic types (3D).
Definition: dsrtypes.h:681
const OFString & getContextGroupVersion() const
get context group version.
Definition: dsrcodvl.h:461
virtual ~DRTRecordedRangeModulatorSequence()
destructor
IODCommonInstanceReferenceModule & getCommonInstanceReference()
Get Common Instance Reference Module.
virtual OFCondition setStudyDate(const OFString &value, const OFBool check=OFTrue)
set study date
virtual OFCondition setInstanceCreationTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationTime (0008,0013)
virtual OFString getName() const
Get name of module.
@ VolumetricDiffusionDxyComponent
(110811,DCM,"Volumetric Diffusion Dxy Component"), included from CID 7270
Definition: cid7469.h:106
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
void clear()
clear all internal member variables
OFString ContextIdentifier
tbd: Equivalent Code Sequence (VR=SQ, type 3) not yet supported
Definition: dsrcodvl.h:724
virtual OFBool isApprovalModulePresent(const OFBool complete=OFFalse)
check whether ApprovalModule (U) is present.
DRTSnoutSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmDecimalString DeliveredTreatmentTime
DeliveredTreatmentTime (3008,003b) vr=DS, vm=1, type=3.
Definition: drttsibs.h:988
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrris1.h:380
void clear()
clear all internal member variables
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
void setFileName(const char *fn)
set file name under which the image should be stored
Definition: dcmqrcbs.h:72
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
Item & getItem(const size_t num)
get particular item in the sequence
EP_Interpretation decompressedColorModel
color model after decompression
Definition: djdijg16.h:124
@ EVR_US
unsigned short
Definition: dcvr.h:213
@ CM_TRACK
Recommended CIELab value is provided as one color per track.
Definition: trctypes.h:85
@ Autorefraction
(AR,DCM,"Autorefraction")
Definition: cid29.h:44
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtsis.h:216
Item & operator=(const Item ©)
assigment operator
DcmShortText CodingSchemeExternalID
CodingSchemeExternalID (0008,0114) vr=ST, vm=1, type=2C.
Definition: drtcsis.h:217
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcctus.h:324
OFBool correctUIDPadding
flag indicating whether space padded UIDs should be silently corrected
Definition: dcmqrcbs.h:129
virtual OFCondition sendFINDResponse(const T_ASC_PresentationContextID presID, const Uint16 messageID, const OFString &sopClassUID, DcmDataset *rspDataset, const Uint16 rspStatusCode, DcmDataset *statusDetail=NULL)
Respond to the C-FIND request.
E_ParamValueStatus getParamAndCheckMin(const int pos, OFCmdUnsignedInt &value, const OFCmdUnsignedInt low, const OFExplicitBool incl=OFTrue)
gets value of specified parameter as unsigned integer and checks for given boundary.
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getGantryPitchAngle(Float32 &value, const unsigned long pos=0) const
get GantryPitchAngle (300a,014a)
virtual OFCondition getAdmissionID(OFString &value, const signed long pos=0) const
get AdmissionID (0038,0010)
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
const Item & getCurrentItem() const
get current item in the sequence
virtual ~Item()
destructor
const char * getUserCodingSchemeVersion(const char *userID, OFString &value)
returns the coding scheme version of the user code for the given user if present.
static void copyGeneralImageModule(DcmItem &src, DcmItem &dest)
Copy General Image Module attributes.
OFvariant(T t)
Constructs a variant holding the alternative that most closely matches the given argument.
OFCondition setRangeShifterID(const OFString &value, const OFBool check=OFTrue)
set RangeShifterID (300a,0318)
const Item & operator[](const size_t num) const
get particular item in the sequence
@ VolumetricDiffusionDxzComponent
(110812,DCM,"Volumetric Diffusion Dxz Component"), included from CID 7270
Definition: cid7469.h:108
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtpsics.h:331
OFCondition getNumberOfBeams(OFString &value, const signed long pos=0) const
get NumberOfBeams (300a,0080)
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
DRTPatientBreedCodeSequence PatientBreedCodeSequence
PatientBreedCodeSequence (0010,2293) vr=SQ, vm=1, type=2C.
Definition: drtstrct.h:2767
OFBool section_valid(unsigned int level) const
checks if the cursor points to a valid location up to the given level
virtual GeneralAnatomyMacro & getGeneralAnatomyCode()
Get reference to General Anatomy Code.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual void createDerivationDescription(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio, OFString &derivationDescription) const
creates 'derivation description' string after encoding.
DiMono2Image(const DiMonoImage *image, DiMonoOutputPixel *pixel, const unsigned long frame, const int stored, const int alloc)
constructor, createMonoOutput
virtual OFCondition setSpecificCharacterSet(const OFString &value, const OFBool check=OFTrue)
set SpecificCharacterSet (0008,0005)
DcmIntegerString NumberOfRangeModulators
NumberOfRangeModulators (300a,0340) vr=IS, vm=1, type=1.
Definition: drtibs.h:1015
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
virtual OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
virtual EP_Interpretation getInternalColorModel() const
get color model of internal pixel representation.
Definition: dimo2img.h:110
int fflush()
forces a write of all user-space buffered data for the given output or update stream via the stream's...
Definition: offile.h:550
DcmDecimalString TargetMinimumDose
TargetMinimumDose (300a,0025) vr=DS, vm=1, type=3.
Definition: drtrdrs8.h:372
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
DcmLongString PatientBreedDescription
PatientBreedDescription (0010,2292) vr=LO, vm=1, type=2C.
Definition: drtiontr.h:2832
const DRTReferencedRTPlanSequenceInRTImageModule & getReferencedRTPlanSequence() const
get ReferencedRTPlanSequence (300c,0002)
Definition: drtimage.h:2968
virtual OFCondition finalize(unsigned char *result)
finalizes the MAC and writes it to the given output array, which must be at least getSize() bytes lar...
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item class.
Definition: drtgpis.h:37
OFCondition setCertifiedTimestamp(const Uint8 *value, const unsigned long count)
set CertifiedTimestamp (0400,0310)
Uint32 getNumberOfStudies()
returns the number of studies currently contained in the database.
OFBool m_doAuthenticate
If enabled, authentication of client/server is enabled.
Definition: tlsscu.h:212
Item & getCurrentItem()
get current item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getClinicalTrialSponsorName(OFString &value, const signed long pos=0) const
get ClinicalTrialSponsorName (0012,0010)
virtual ~DJCompressIJG8Bit()
destructor
virtual void resetRules()
Resets rules to their original values.
DicomDirInterface & operator=(const DicomDirInterface &obj)
private undefined assignment operator
OFCondition removeItem()
remove the current item from the list of series and instances.
DSRDocumentTreeNodeAnnotationFilter(const DSRTreeNodeAnnotation &annotation)
constructor
OFCondition checkDatasetForReading(DcmItem &dataset)
check the given dataset before reading.
@ DCMSCU_PEER_REQUESTED_RELEASE
Peer requested release (Aborting)
Definition: scu.h:51
@ CLR1404_I124
(126715,DCM,"CLR1404 I^124^")
Definition: cid4021.h:92
void clear()
clear all internal member variables
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
virtual void transferEnd()
finalize the transfer state of this object.
virtual OFCondition createValueFromTempFile(DcmInputStreamFactory *factory, const Uint32 length, const E_ByteOrder byteOrder)
replace the attribute value with the content of the given temporary file.
OFCondition setStorageMediaFileSetID(const OFString &value, const OFBool check=OFTrue)
set the storage media file set ID of the currently selected entry
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getWindowCenter(Float64 &value, const unsigned long pos=0) const
get WindowCenter (0028,1050)
virtual OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0)
Get Coding Scheme Version.
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
Item EmptyItem
empty default item
Definition: drtudis.h:315
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtspccs.h:339
DRTReferencedMeasuredDoseReferenceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition getPresentationLUTShape(OFString &value, const signed long pos=0) const
get PresentationLUTShape (2050,0020)
struct DB_ElementList * next
pointer to next in list
Definition: dcmqridx.h:184
OFCondition getChannelEffectiveLength(Float64 &value, const unsigned long pos=0) const
get ChannelEffectiveLength (300a,0271)
DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule ReferencedTreatmentRecordSequence
ReferencedTreatmentRecordSequence (3008,0030) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3083
const DRTRequestAttributesSequence & getRequestAttributesSequence() const
get RequestAttributesSequence (0040,0275)
Definition: drtimage.h:3016
virtual OFCondition writeMultiFrameDimensionModule(DcmItem &dataset)
Write Multi-Frame Dimension Module.
virtual OFBool isClinicalTrialSubjectModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSubjectModule (U) is present.
virtual int processNextFrames(const unsigned long fcount)
process next couple of frames
int elementLT(const DcmTagKey &key) const
less-than operation comparing only element numbers
Definition: dctagkey.h:366
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setActivitySession(const OFString &session, const OFBool check=OFTrue)
set the value of the 'Activity Session' content item (TID 1411 - Row 1b).
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
const char * getNameOfPhysiciansReadingStudy()
returns the Name Of Physicians Reading Study of the currently selected study.
static void copySOPCommonModule(DcmItem &src, DcmItem &dest)
Copy SOP Common Module attributes.
OFCondition getGantryPitchAngle(Float32 &value, const unsigned long pos=0) const
get GantryPitchAngle (300a,014a)
Interface class for ApplicatorSequence (300a,0107) in RTBeamsModule.
Definition: drtas1.h:29
Interface class for ReferencedVerificationImageSequence (300c,0040)
Definition: drtrvis.h:28
Item & getCurrentItem()
get current item in the sequence
DcmDecimalString ConstraintWeight
ConstraintWeight (300a,0021) vr=DS, vm=1, type=3.
Definition: drtrdrs8.h:354
virtual OFCondition getLongitudinalTemporalEventType(OFString &value, const signed long pos=0) const
get LongitudinalTemporalEventType (0012,0053)
OFBool operator!() const
Negation operator.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
DcmLongString AuthorizationEquipmentCertificationNumber
AuthorizationEquipmentCertificationNumber (0100,0426) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3291
OFCondition getFixationLightAzimuthalAngle(Float32 &value, const unsigned long pos=0) const
get FixationLightAzimuthalAngle (300a,0356)
OFCondition gotoFirstItem()
goto first item in the sequence
DRTReferencedImageSequence ReferencedImageSequence
ReferencedImageSequence (0008,1140) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5115
virtual OFCondition getDimensionOrganizationType(OFString &value, const signed long pos=0) const
Get Dimension Organization Type.
DcmItem & operator=(const DcmItem &obj)
assignment operator.
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
const DRTConceptNameCodeSequence & getConceptNameCodeSequence() const
get ConceptNameCodeSequence (0040,a043)
Definition: drtpcxs.h:219
OFCondition getBlockNumber(OFString &value, const signed long pos=0) const
get BlockNumber (300a,00fc)
OFBool operator!() const
test if a OFPasswd object is invalid.
void clear()
clear all internal member variables
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
DcmDate PatientBirthDate
PatientBirthDate (0010,0030) vr=DA, vm=1, type=2.
Definition: drtstrct.h:2735
virtual OFCondition getTableTopLateralPosition(OFString &value, const signed long pos=0) const
get TableTopLateralPosition (300a,012a)
OFCondition addImageBox(const char *instanceuid, const char *retrieveaetitle, const char *refstudyuid, const char *refseriesuid, const char *refsopclassuid, const char *refsopinstanceuid, const char *requestedimagesize, const char *patientid, const char *presentationlutuid)
creates a new image box object and sets the content of this image box object.
virtual OFCondition setReferringPhysicianName(const OFString &value, const OFBool checkValue=OFTrue)
Set Referring Physician's Name.
OFBool eosflag_
true if setEos has been called before
Definition: dcistrmb.h:138
virtual OFCondition addFrame(Uint8 *pixData, const Uint16 segmentNumber, const OFVector< FGBase * > &perFrameInformation)
Add frame to segmentation object.
Item & operator[](const size_t num)
get particular item in the sequence
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtajcs.h:339
DcmDate StudyDate
StudyDate (0008,0020) vr=DA, vm=1, type=2.
Definition: drtiontr.h:2892
@ PS_Normal
normal, no errors
Definition: ofcmdln.h:153
virtual ~Item()
destructor
Item & operator[](const size_t num)
get particular item in the sequence
OFList< DVPSReferencedImage * > list_
the list maintained by this object
Definition: dvpsril.h:203
OFCondition getCurrentSignatureDateTime(OFString &str)
returns the Signature Date/Time of the current signature.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getPersonAddress(OFString &value, const signed long pos=0) const
get PersonAddress (0040,1102)
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setRangeModulatorGatingStopValue(const Float32 value, const unsigned long pos=0)
set RangeModulatorGatingStopValue (300a,0384)
OFBool isKnownKey(const char *key) const
checks if the key is known
EP_Representation Representation
integer representation
Definition: dimomod.h:248
void setOptionChars(const char *chars)
sets characters used to detect options
virtual ~DiTIFFPlugin()
destructor
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
virtual OFCondition setCommon(const CodeSequenceMacro &typeCode, const CodeSequenceMacro &typeModifierCode, const CodeSequenceMacro &unitsCode)
Set descriptive information of statistic.
DSRCodedEntryValue(const DSRBasicCodedEntry &basicCodedEntry, const OFBool check=OFFalse)
constructor.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getPerformedProcedureStepID(OFString &value, const signed long pos=0) const
get PerformedProcedureStepID (0040,0253)
virtual OFCondition putUint16Array(const Uint16 *vals, const unsigned long num)
replace the element value by a copy of the given Uint16 array (which is possibly multi-valued).
static OFBool checkDigits(const char *string)
checks if a string only contains valid decimal digits, i.e. 0-9.
const DRTXDSRetrievalSequence & getXDSRetrievalSequence() const
get XDSRetrievalSequence (0040,e024)
Definition: drtrpphs.h:192
DcmLongString PerformedProcedureStepDescription
PerformedProcedureStepDescription (0040,0254) vr=LO, vm=1, type=3.
Definition: drtplan.h:3196
DRTReasonForRequestedProcedureCodeSequence & operator=(const DRTReasonForRequestedProcedureCodeSequence ©)
assigment operator
virtual ~FGSegmentation()
Destructor, frees memory.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
const OFString MappingResource
mapping resource to check for
Definition: dsrdnflt.h:496
Class for spatial coordinate values.
Definition: dsrscovl.h:40
DRTConceptNameCodeSequence & operator=(const DRTConceptNameCodeSequence ©)
assigment operator
IODSynchronizationModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
@ RT_hasProperties
DICOM Relationship Type: HAS PROPERTIES.
Definition: dsrtypes.h:569
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
OFBool getTargetPrinterPresentationLUTPreferSCPRendering(const char *targetID)
returns the PRESENTATIONLUTPREFERSCPRENDERING entry for the printer with the given target ID from the...
OFCondition setParameterItemIndex(const OFString &value, const OFBool check=OFTrue)
set ParameterItemIndex (3008,0063)
OFCondition getPrintBitmapRequestedImageSize(OFString &requestedImageSize)
gets requested image size for print bitmap.
OFCondition getRadiationChargeState(Sint16 &value, const unsigned long pos=0) const
get RadiationChargeState (300a,0306)
const TestResult & runAndReturn()
Execute this test case.
Definition: oftest.h:100
OFTempFile & operator=(const OFTempFile &)
private undefined assignment operator
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmDecimalString TransferTubeLength
TransferTubeLength (300a,02a4) vr=DS, vm=1, type=2C.
Definition: drtchs.h:679
OFCondition checkCurrentValue() const
check the currently stored string value for validity.
DcmFloatingPointDouble DoubleFloatRealWorldValueFirstValueMapped
DoubleFloatRealWorldValueFirstValueMapped (0040,9214) vr=FD, vm=1, type=1C.
Definition: drtrwvms.h:256
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmLongString ClinicalTrialProtocolName
ClinicalTrialProtocolName (0012,0021) vr=LO, vm=1, type=2.
Definition: drtstrct.h:2806
virtual int compare(const IODComponent &rhs) const
Comparison operator for IOD Components.
offile_off_t tell_
counter for number of bytes written so far
Definition: dcostrma.h:200
OFFilename(const wchar_t *filename, const OFBool convert=OFTrue)
constructor expecting a wide character string
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmCodeString RTROIInterpretedType
RTROIInterpretedType (3006,00a4) vr=CS, vm=1, type=2.
Definition: drtrros.h:295
DcmUniqueIdentifier StudyInstanceUID
StudyInstanceUID (0020,000d) vr=UI, vm=1, type=1C.
Definition: drtrpphs.h:232
Item class.
Definition: drtibs.h:51
DRTRecordedWedgeSequence & operator=(const DRTRecordedWedgeSequence ©)
assigment operator
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Uint16 Bits
number of bits per entry
Definition: dibaslut.h:282
virtual OFVector< SourceImageItem * > & getSourceImageItems()
Get reference to source image items.
OFCondition write(DcmItem &item)
write elements to sequence item
DRTPatientSizeCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence()
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtplan.h:1640
OFCondition printSCUprintBasicFilmSession(DVPSPrintMessageHandler &printHandler)
Prints the current DICOM Basic Film Session.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
abstract codec class for JPEG decoders.
Definition: djcodecd.h:47
virtual OFCondition setCenterWidthExplanation(const Float64 &windowCenter, const Float64 &windowWidth, const OFString &explanation="", const OFBool checkValue=OFTrue)
Set Window Center and Window Width Explanation.
virtual ~DcmRLECodecDecoder()
destructor
@ AP_MPEG2MPatMLDVD
DVD Interchange with MPEG2 MP@ML (STD-DVD-MPEG2-MPML)
Definition: dcddirif.h:149
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
void clear()
clear all internal member variables
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setPixelPaddingValue(const Uint16 value, const unsigned long pos=0)
set PixelPaddingValue (0028,0120)
virtual OFCondition getMedicalAlerts(OFString &value, const signed long pos=0) const
get MedicalAlerts (0010,2000)
const Item & getCurrentItem() const
get current item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getClinicalTrialSeriesID(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesID (0012,0071)
IODFoRModule & getFrameOfReference()
Get Frame of Reference Module.
OFBool bufferIsEmpty() const
check whether the buffer is currently empty
Definition: dcwcache.h:78
DcmIntegerString ReferencedDoseReferenceNumber
ReferencedDoseReferenceNumber (300c,0051) vr=IS, vm=1, type=3.
Definition: drttscds.h:162
OFCondition write(DcmItem &item)
write elements to sequence item
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrscs.h:533
OFCondition getLateralSpreadingDeviceNumber(OFString &value, const signed long pos=0) const
get LateralSpreadingDeviceNumber (300a,0334)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
DcmLongString PersonTelephoneNumbers
PersonTelephoneNumbers (0040,1103) vr=LO, vm=1-n, type=3.
Definition: drtcpis.h:212
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
DcmUniqueIdentifier IrradiationEventUID
IrradiationEventUID (0008,3010) vr=UI, vm=1-n, type=3.
Definition: drtimage.h:5108
virtual OFCondition setPatientState(const OFString &value, const OFBool check=OFTrue)
set PatientState (0038,0500)
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeApprovalNumber(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
DRTReferencedStructureSetSequence & getReferencedStructureSetSequence()
get ReferencedStructureSetSequence (300c,0060)
Definition: drtdose.h:2524
OFCondition setRangeShifterType(const OFString &value, const OFBool check=OFTrue)
set RangeShifterType (300a,0320)
OFCondition gotoNextItem()
goto next item in the sequence
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtces.h:341
const DRTReferencedInstanceSequence & getReferencedInstanceSequence() const
get ReferencedInstanceSequence (0008,114a)
Definition: drtimage.h:2920
OFCondition setMinimumPrintBitmapWidthHeight(unsigned long width, unsigned long height)
sets the minimum print bitmap width and height.
size_t size() const
returns a count of the number of char-like objects currently in the string.
Definition: ofstring.h:411
OFVector< Float32 * > m_Values
Floating Point Value(s), one for each Track in Track Set (for Track Statistic), or a single value in ...
Definition: trcstatistic.h:119
size_type size_
the number of valid entries in values_.
Definition: ofvector.h:81
DRTTreatmentSummaryMeasuredDoseReferenceSequence & getTreatmentSummaryMeasuredDoseReferenceSequence()
get TreatmentSummaryMeasuredDoseReferenceSequence (3008,00e0)
Definition: drttreat.h:1755
DcmUniqueIdentifier RelatedGeneralSOPClassUID
RelatedGeneralSOPClassUID (0008,001a) vr=UI, vm=1-n, type=3.
Definition: drtionpl.h:3268
Class to handle modality specific transformations (incl.
Definition: dimomod.h:49
OFStack()
default constructor
Definition: ofstack.h:207
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrss.h:132
virtual ~Item()
destructor
void setProgrSupport(const OFBool enabled)
Enable/Disable support for Progressive JPEG Coding.
int isRepeatingElement() const
returns true if entry is has a repeating element
Definition: dcdicent.h:248
virtual OFCondition getMeasurement(const size_t measurementIndex, TrcMeasurement *&measurement)
Get measurement by index.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmTLSTransportLayer * tLayer
pointer to the secure transport layer managed by this object
Definition: tlsopt.h:197
Item(const Item ©)
copy constructor
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition setPatientID(const OFString &value, const OFBool check=OFTrue)
set PatientID (0010,0020)
@ EFG_PATIENTPHYSIOSTATE
Patient Physiological State.
Definition: fgtypes.h:139
OFBool isEmpty()
check if sequence is empty
const DRTPatientBreedCodeSequence & getPatientBreedCodeSequence() const
get PatientBreedCodeSequence (0010,2293)
Definition: drtiontr.h:1509
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
virtual OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
z_streamp zstream_
pointer to struct z_stream object containing the zlib status
Definition: dcostrmz.h:154
virtual ~Item()
destructor
OFCondition write(DcmItem &item)
write elements to sequence item
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtadcs.h:333
definition and handling of transfer syntaxes
OFCondition getReferencedPatientSetupNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedPatientSetupNumber (300c,006a)
OFBool isEmpty()
check if sequence is empty
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtadcs.h:357
virtual void createDerivationDescription(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio, OFString &derivationDescription) const
creates 'derivation description' string after encoding.
virtual ~Item()
destructor
OFCondition setCurrentDate()
set the element value to the current system date.
virtual OFCondition setDoseSummationType(const OFString &value, const OFBool check=OFTrue)
set DoseSummationType (3004,000a)
DSRImageReferenceValue * getValuePtr()
get pointer to image reference value
Definition: dsrimgvl.h:416
DVPSTextObject * getTextObject(size_t idx)
returns a pointer to the text object with the given index or NULL if it does not exist.
virtual void setValidityChecking(OFBool doChecks, OFBool insertMissingType2=OFTrue, OFBool inventMissingType1=OFTrue)
Enable/Disable basic validity checks for output dataset.
Definition: i2doutpl.h:93
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition setPixelRepresentation(const Uint16 value, const unsigned long pos=0)
set PixelRepresentation (0028,0103)
Interface class for PatientBreedCodeSequence (0010,2293)
Definition: drtpbcs.h:29
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
support class for console applications.
Definition: ofconapp.h:44
virtual ~DSRCompositeTreeNode()
destructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrsis.h:363
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
static const OFString m_ModuleName
The name of this module ("DPMParametricMapImageModule")
Definition: dpmmodparametricmapimage.h:301
void addGroup(const char *name, const int longCols=0, const int shortCols=0)
adds a new group (top-level).
OFCondition getReferencedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition getPatientWeight(OFString &value, const signed long pos=0) const
get PatientWeight (0010,1030)
Class for managing included templates (internal)
Definition: dsrtpltn.h:41
OFCondition setMetersetRateSet(const Float32 value, const unsigned long pos=0)
set MetersetRateSet (3008,0045)
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoMeasurementReport
error: there is no measurement report to add content items to
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrsos.h:183
@ DfFK2_89Zr
(126762,DCM,"Df-[FK](2) ^89^Zr")
Definition: cid4021.h:104
DcmFloatingPointSingle FixationLightAzimuthalAngle
FixationLightAzimuthalAngle (300a,0356) vr=FL, vm=1, type=3.
Definition: drtibs.h:975
virtual OFCondition getSmokingStatus(OFString &value, const signed long pos=0) const
get SmokingStatus (0010,21a0)
OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
virtual OFCondition getSeriesNumber(OFString &value, const signed long pos=0) const
get SeriesNumber (0020,0011)
const void * getFullOverlayData(const unsigned int plane, unsigned int &width, unsigned int &height, const unsigned long frame=0, const int bits=8, const Uint16 fore=0xff, const Uint16 back=0x0, const unsigned int idx=0) const
create bitmap for specified overlay plane.
Definition: dcmimage.h:1310
virtual OFCondition selectValue(const OFString &selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its associated defined term as the current value
virtual OFCondition getConsultingPhysicianName(OFString &value, const signed long pos=0) const
get ConsultingPhysicianName (0008,009c)
DVPSVOIWindow()
default constructor
virtual OFCondition encode(const Uint16 *pixelData, const Uint32 length, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
compresses the given uncompressed DICOM image and stores the result in the given pixSeq element.
DiColorImage(const DiColorImage *image, const signed long left_pos, const signed long top_pos, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const int interpolate=0, const int aspect=0)
constructor, scale/clip
@ Tuarine
(10944007,SCT,"Tuarine"), included from CID 4033
Definition: cid7469.h:64
DcmPersonName ResponsiblePerson
ResponsiblePerson (0010,2297) vr=PN, vm=1, type=2C.
Definition: drtimage.h:4837
Definition: dulstruc.h:221
int unlock()
releases the lock on the mutex object.
OFCondition getReferencedFrameNumber(OFString &value, const signed long pos=0) const
get ReferencedFrameNumber (0008,1160)
virtual OFCondition insertSubTree(DSRDocumentSubTree *tree, const E_AddMode addMode=AM_belowCurrent, const E_RelationshipType defaultRelType=RT_unknown, const OFBool deleteIfFail=OFFalse)
insert specified subtree to this tree, i.e. add it to the current content item.
@ R1
(126393,DCM,"R1"), included from CID 7180
Definition: cid7469.h:246
DRTReferencedStructureSetSequence(const DRTReferencedStructureSetSequence ©)
copy constructor
const DRTPrivateDataElementDefinitionSequence & getPrivateDataElementDefinitionSequence() const
get PrivateDataElementDefinitionSequence (0008,0310)
Definition: drtpdecs.h:147
virtual OFCondition setPatientSpeciesDescription(const OFString &value, const OFBool check=OFTrue)
set PatientSpeciesDescription (0010,2201)
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtpcs.h:339
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setLateralSpreadingDeviceWaterEquivalentThickness(const Float32 value, const unsigned long pos=0)
set LateralSpreadingDeviceWaterEquivalentThickness (300a,033c)
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
DcmDecimalString WindowWidth
WindowWidth (0028,1051) vr=DS, vm=1-n, type=1C.
Definition: drtimage.h:5378
Item & operator[](const size_t num)
get particular item in the sequence
A class to handle an instance cache (list of items).
Definition: dvcache.h:64
ReferencedSOPSequenceItem(const ReferencedSOPSequenceItem &rhs)
Copy Constructor, performs deep copy.
OFCondition getEncapsulatedRepresentation(const E_TransferSyntax repType, const DcmRepresentationParameter *repParam, DcmPixelSequence *&pixSeq)
get a specific existing Representation, creates no representation if repParam is NULL,...
@ _52_Iron
(69089000,SCT,"^52^Iron")
Definition: cid4020.h:66
virtual OFCondition setClinicalTrialCoordinatingCenterName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialCoordinatingCenterName (0012,0060)
@ CQ_UNKNOWN
Unkonwn (e.g. not set)
Definition: dpmtypes.h:65
const Item & operator[](const size_t num) const
get particular item in the sequence
int interpolateValues()
interpolate device characteristic curve by means of a cubic spline interpolation
STD_NAMESPACE ostream & print(STD_NAMESPACE ostream &stream, E_Representation representation=ER_RepresentationDefault) const
Write the string representation of this UUID to a stream.
static OFBool renameFile(const OFFilename &oldFilename, const OFFilename &newFilename)
change name of a given file
static const size_t CM_resetReferenceTargetFlag
reset the reference target flag for all nodes
Definition: dsrtypes.h:478
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item & operator=(const Item ©)
assigment operator
virtual OFCondition setIssuerOfPatientID(const OFString &value, const OFBool check=OFTrue)
set IssuerOfPatientID (0010,0021)
DcmDecimalString SliceLocation
SliceLocation (0020,1041) vr=DS, vm=1, type=3.
Definition: drtdose.h:4421
DcmTransportLayer(OFrvalue_ref(DcmTransportLayer) rhs)
move constructor.
Definition: dcmlayer.h:87
pseudo error diffusion class implementing an identity transformation.
Definition: diqtid.h:44
struct sockaddr_in6 * getSockaddr_in6()
access socket address storage object as struct sockaddr_in6 (IPv6 address)
Definition: ofsockad.h:82
OFString & erase(size_t pos=0, size_t n=OFString_npos)
Removes up to n characters from the string starting from position pos.
OFCondition getRTImageOrientation(OFString &value, const signed long pos=0) const
get RTImageOrientation (3002,0010)
OFCondition getDoseReferencePointCoordinates(OFVector< Float64 > &value) const
get DoseReferencePointCoordinates (300a,0018)
Item & operator[](const size_t num)
get particular item in the sequence
DRTApplicatorSequenceInRTIonBeamsSessionRecordModule & operator=(const DRTApplicatorSequenceInRTIonBeamsSessionRecordModule ©)
assigment operator
virtual unsigned long getVM()
get value multiplicity
static OFCondition getOFDateFromString(const OFString &dicomDate, OFDate &dateValue, const OFBool supportOldFormat)
get the specified DICOM date value in OFDate format.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_MissingAttribute
Missing attribute.
WlmDatabaseType
Database types.
Definition: wltypdef.h:59
OFCondition write(DcmItem &item)
Write segment to given item which is usually contained within within the Segment Sequence.
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
double getBoundingBoxTLHC_x()
gets the bounding box TLHC x value.
void clear()
initialize address storage object with memzero
Definition: ofsockad.h:67
OFCondition getFloatingPointRepresentation(Float64 &floatingPoint) const
get floating point representation of the numeric value (optional)
int colors
the number of colors represented by this box
Definition: diqtpbox.h:52
DcmLongString m_WindowCenterWindowWidthExplanation
Window Center & Window Width Explanation (LO, VM 1-n, Required type 3)
Definition: fgframevoilut.h:203
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrpphs.h:419
OFCondition gotoNextItem()
goto next item in the sequence
static OFCondition createPlanarConfigurationByte(Uint8 *imageFrame, Uint16 columns, Uint16 rows)
converts an RGB or YBR frame with 8 bits/sample from color-by-pixel to color-by-plane planar configur...
virtual unsigned long getNumberOfValues()
get number of values (elements) stored in this item.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setOriginalSpecializedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set OriginalSpecializedSOPClassUID (0008,001b)
virtual OFCondition loadAssociationCfgFile(const OFString &assocFile)
Loads association configuration file.
double getFrameTime() const
get nominal time (in milliseconds) between individual frames.
Definition: dcmimage.h:261
base class for DICOM elements with value representation LO, LT, PN, SH, ST, UC and UT
Definition: dcchrstr.h:50
This header defines the logging macros.
OFCondition setPatientID(const OFString &value, const OFBool check=OFTrue)
set PatientID (0010,0020)
virtual OFCondition setPatientBirthDate(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDate (0010,0030)
virtual OFCondition setTree(const DSRDocumentTree &tree)
set document tree.
const DRTRTDoseROISequence & getRTDoseROISequence() const
get RTDoseROISequence (3004,0010)
Definition: drtdose.h:2398
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
DcmCodeString ShieldingDeviceType
ShieldingDeviceType (300a,01a2) vr=CS, vm=1, type=1.
Definition: drtshds.h:180
DcmIntegerString AttachedContours
AttachedContours (3006,0049) vr=IS, vm=1-n, type=3.
Definition: drtcs.h:269
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition insertPerFrame(const Uint32 frameNo, FGBase *group, const OFBool replaceExisting=OFTrue)
Insert per-frame functional group.
OFCondition getSetupDeviceType(OFString &value, const signed long pos=0) const
get SetupDeviceType (300a,01b6)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmRepresentationParameter()
default constructor
Definition: dcpixel.h:47
@ AnomalousExponentParameter
(113299,DCM,"Anomalous Exponent Parameter"), included from CID 7272
Definition: cid7469.h:144
const signed long Top
top coordinate of clipping area
Definition: discalet.h:242
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmDecimalString TableTopLongitudinalPositionTolerance
TableTopLongitudinalPositionTolerance (300a,0052) vr=DS, vm=1, type=3.
Definition: drtitts.h:424
virtual OFBool isCommonInstanceReferenceModulePresent(const OFBool complete=OFFalse)
check whether CommonInstanceReferenceModule (U) is present.
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFCondition read(DcmItem &item)
read elements from sequence item
DcmQuantComponent * table
array of pixel values
Definition: diqtstab.h:108
const OFString & getReferencedContentItem() const
get position string of the referenced node (target content item)
Definition: dsrreftn.h:152
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool globalPresentationLUTValid
flag indicating whether the globalPresentationLUT is currently valid or not
Definition: dvpssp.h:1104
FGFrameAnatomy()
Constructor, creates empty Frame Anatomy Functional Group.
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
DcmUnlimitedText TextValue
TextValue (0040,a160) vr=UT, vm=1, type=1C.
Definition: drtcims.h:361
void clear()
clear all internal member variables
OFBool isNotEncapsulated() const
return true if transfer syntax is native (non-encapsulated), false otherwise
Definition: dcxfer.h:239
static OFBool isinf(Integer i)
Casts the argument to double and calls OFMath::isinf(double) on the result.
DcmLongString BeamName
BeamName (300a,00c2) vr=LO, vm=1, type=1.
Definition: drttsibs.h:976
const Item & getCurrentItem() const
get current item in the sequence
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition setNumericValue(const OFString &value, const OFBool check=OFTrue)
set NumericValue (0040,a30a)
OFCondition setPersonAddress(const OFString &value, const OFBool check=OFTrue)
set PersonAddress (0040,1102)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtdcs.h:533
virtual OFCondition getInstanceCreatorUID(OFString &value, const signed long pos=0) const
get InstanceCreatorUID (0008,0014)
virtual OFCondition putUint8Array(const Uint8 *byteValue, const unsigned long length)
insert an original unencapsulated representation.
const DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence() const
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drttreat.h:1113
virtual ProductPtr createObject(const log4cplus::helpers::Properties &props)=0
Create a "Layout" object.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
void clear()
clear all internal member variables
static const size_t PF_hideIncludedTemplateNodes
do not print internal "included template" nodes (position counter is still increased)
Definition: dsrtypes.h:453
void clear()
clear all internal member variables
DcmShortString BolusID
BolusID (300a,00dc) vr=SH, vm=1, type=3.
Definition: drtrbos1.h:169
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtas5.h:184
const DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence() const
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtimage.h:2860
static const size_t PF_printEmptyCodes
print text "empty code" for empty codes (instead of "invalid code")
Definition: dsrtypes.h:459
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
OFCondition getGeneralAccessoryNumber(Sint32 &value, const unsigned long pos=0) const
get GeneralAccessoryNumber (300a,0424)
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
@ HM_compactAfterSend
compact the dataset after it has been sent
Definition: dstorscu.h:84
virtual OFBool containsUnknownVR() const
returns true if the object contains an element with Unknown VR at any nesting level
DcmDecimalString GantryAngle
GantryAngle (300a,011e) vr=DS, vm=1, type=3.
Definition: drtes.h:532
DcmLongText AdditionalPatientHistory
AdditionalPatientHistory (0010,21b0) vr=LT, vm=1, type=3.
Definition: drtiontr.h:2976
DcmLongString StudyDescription
Study Description: (LO, 1, 3)
Definition: dsrdoc.h:1349
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
void setXferSyntax(E_TransferSyntax xfer)
set the network transfer syntax
Definition: dcmqrtis.h:193
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setLossyImageCompressionRatio(const OFString &value, const OFBool checkValue=OFTrue)
Set Lossy Image Compression Ratio.
OFCondition addSpatialCoordinates(const DSRCodedEntryValue &conceptName, const DSRSpatialCoordinatesValue &coordinatesValue, const DSRImageReferenceValue &imageReference, const OFBool check=OFTrue)
add a 'Spatial Coordinates' content item (TID 320 - Row 3 and 4) referencing the image used as a sour...
DVPSPresentationLUT * findPresentationLUT(const char *instanceUID)
finds a presentation LUT by its SOP instance UID.
Item & operator=(const Item ©)
assigment operator
static unsigned long determineVM(const char *str, const size_t len)
determine the number of values stored in a string, i.e. the value multiplicity (VM)
int unlock()
unlock the read/write lock
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoImageLibraryEntryDescriptorsToBeAdded
normal: there are no image library entry descriptors to be added (copied from the dataset)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getSourceToCompensatorTrayDistance(OFString &value, const signed long pos=0) const
get SourceToCompensatorTrayDistance (300a,00e6)
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition setClinicalTrialProtocolName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolName (0012,0021)
virtual OFCondition setInstanceCreationDate(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationDate (0008,0012)
OFCondition getTableTopLateralPositionTolerance(Float64 &value, const unsigned long pos=0) const
get TableTopLateralPositionTolerance (300a,0053)
OFCondition putAndInsertUint8Array(const DcmTag &tag, const Uint8 *value, const unsigned long count, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
void clear()
clear all internal member variables
OFCondition setApplicatorType(const OFString &value, const OFBool check=OFTrue)
set ApplicatorType (300a,0109)
OFBool loadExternalDictionaries()
loads external dictionaries defined via environment variables
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTBeamDoseVerificationControlPointSequence & getBeamDoseVerificationControlPointSequence()
get BeamDoseVerificationControlPointSequence (300a,008c)
Definition: drtrdrs1.h:121
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getWindowCenterAndWindowWidthExplanation(OFString &value, const unsigned long pos=0)
Get Window Center and Window Width Explanation.
ConversionFlags
Constants to control encoder behavior, e.g. regarding illegal character sequences.
Definition: ofchrenc.h:64
const DRTMeasurementUnitsCodeSequence & getMeasurementUnitsCodeSequence() const
get MeasurementUnitsCodeSequence (0040,08ea)
Definition: drtqds.h:230
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtdimcs.h:335
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
Item(const Item ©)
copy constructor
virtual OFCondition getTableTopRollAngle(Float32 &value, const unsigned long pos=0) const
get TableTopRollAngle (300a,0144)
void removeFrameReference(const char *sopinstanceuid, unsigned long frame, unsigned long numberOfFrames)
update the reference to the given image such that the given frame is not referenced any more.
@ Urethra
(13648007,SCT,"Urethra")
Definition: cid4031.h:248
DRTWedgeSequence & getWedgeSequence()
get WedgeSequence (300a,00d1)
Definition: drtbs.h:522
DcmFloatingPointDouble LongitudinalTemporalOffsetFromEvent
LongitudinalTemporalOffsetFromEvent (0012,0052) vr=FD, vm=1, type=3.
Definition: drtstrct.h:2917
virtual int writeRawPPM(FILE *stream, const unsigned long frame, const int bits)=0
write pixel data to raw PPM file (abstract)
const DRTApplicatorSequenceInRTImageModule & getApplicatorSequence() const
get ApplicatorSequence (300a,0107)
Definition: drtes.h:333
virtual OFCondition pruneInvalidRecords()=0
Prune invalid records from the database.
Definition: lltraits.h:66
Item & operator[](const size_t num)
get particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getCompensatorRows(Sint32 &value, const unsigned long pos=0) const
get CompensatorRows (300a,00e7)
OFCondition read(DcmItem &item)
read elements from sequence item
helper structure for class DcmQuantPixelBoxArray.
Definition: diqtpbox.h:47
virtual ~DiARGBImage()
destructor
void push(const T &x)
inserts a new element on top of the stack.
Definition: ofstack.h:259
Item & getItem(const size_t num)
get particular item in the sequence
DcmUIDHandler(const DcmUIDHandler &arg)
copy constructor
virtual OFCondition setDoubleFloatPixelPaddingRangeLimit(const Float64 value, const OFBool checkValue=OFTrue)
Set Double Float Pixel Padding Range Limit.
int fputs(const char *s)
writes the string s to stream, without its trailing '\0'.
Definition: offile.h:729
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrrtps3.h:148
virtual ~DRTContourSequence()
destructor
DRTOriginalAttributesSequence & getOriginalAttributesSequence()
get OriginalAttributesSequence (0400,0561)
Definition: drttreat.h:1383
virtual OFCondition setApprovalStatus(const OFString &value, const OFBool check=OFTrue)
set ApprovalStatus (300e,0002)
Item & operator=(const Item ©)
assigment operator
const char * getSeriesPerformingPhysiciansName()
returns the Series Performing Physicians Name of the currently selected series.
virtual E_TransferSyntax supportedTransferSyntax() const =0
returns the transfer syntax that this particular codec is able to encode and decode.
int createLUT(const Uint16 *ddl_tab, const double *val_tab, const unsigned long ddl_cnt, const double val_min, const double val_max, const double lum_min, const double lum_max, const OFBool inverse=OFFalse, STD_NAMESPACE ostream *stream=NULL, const OFBool printMode=OFTrue)
create lookup table
size_t getNumberOfItems() const
get number of items in the sequence
DRTReferencedTreatmentRecordSequenceInRTDoseModule ReferencedTreatmentRecordSequence
ReferencedTreatmentRecordSequence (3008,0030) vr=SQ, vm=1, type=1C.
Definition: drtdose.h:4580
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition addItem(Item *&item)
add new item to the end of this sequence
size_t size_type
the type used for sizes and indexes
Definition: ofvector.h:60
virtual OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
virtual OFCondition getIrradiationEventUID(OFString &value, const signed long pos=0) const
get IrradiationEventUID (0008,3010)
virtual DcmObject * nextInContainer(const DcmObject *obj)
this method is only used in container classes derived from this class, that is, DcmItem and DcmSequen...
Class for image frame number list.
Definition: dsrimgfr.h:41
@ NotANumber
(114000,DCM,"Not a number")
Definition: cid42.h:44
OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
OFCondition saveFile()
Saves current dataset back to file using original filename and original parameters like transfer synt...
OFCondition gotoFirstItem()
goto first item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setResponsiblePersonRole(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePersonRole (0010,2298)
void removeImageReference(const char *sopinstanceuid)
checks if an image reference with the given SOP instance UID exists in this ReferencedImageSequence a...
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
DiColorImage(const DiColorImage *image, const int degree)
constructor, rotate
void swap(DSRContentItem &item)
fast, non-throwing swap function.
Item(const Item ©)
copy constructor
DcmDecimalString RTImagePosition
RTImagePosition (3002,0012) vr=DS, vm=2, type=3.
Definition: drtpvis.h:320
DRTExposureSequence(const DRTExposureSequence ©)
copy constructor
void clear()
clear all internal member variables
virtual OFBool isCommonInstanceReferenceModulePresent(const OFBool complete=OFFalse)
check whether CommonInstanceReferenceModule (U) is present.
static OFBool canChangeCoding(const E_TransferSyntax fromRepType, const E_TransferSyntax toRepType)
looks for a codec that claims to be able to convert between the given transfer syntaxes.
DcmCodeString VerificationFlag
Verification Flag: (CS, 1, 1)
Definition: dsrdoc.h:1427
virtual E_KeyType keyType() const =0
returns the type of public key algorithm computed by this object
OFCondition getWedgeNumber(Sint32 &value, const unsigned long pos=0) const
get WedgeNumber (300a,00d2)
OFBool isEmpty()
check if sequence is empty
OFCondition getDoseRateSet(Float64 &value, const unsigned long pos=0) const
get DoseRateSet (300a,0115)
OFoptional_traits()
Requried: default constructor, must initialize the state to "disengaged".
Item & getCurrentItem()
get current item in the sequence
DVPSGraphicObject * clone()
clone method.
Definition: dvpsgr.h:50
OFBool isEmpty()
check if item is empty
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getBlockMountingPosition(OFString &value, const signed long pos=0) const
get BlockMountingPosition (300a,00fb)
virtual OFCondition getMeasuredAPDimension(OFString &value, const signed long pos=0) const
get MeasuredAPDimension (0010,1023)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmDateTime DateTime
DateTime (0040,a120) vr=DT, vm=1, type=1C.
Definition: drtpcxs.h:358
OFCondition setRTBeamLimitingDeviceType(const OFString &value, const OFBool check=OFTrue)
set RTBeamLimitingDeviceType (300a,00b8)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTGeneticModificationsSequence & getGeneticModificationsSequence()
get GeneticModificationsSequence (0010,0221)
Definition: drtplan.h:1460
General purpose class hiding global functions, constants and types in the parametric map context from...
Definition: dpmtypes.h:58
virtual FGBase * get(const Uint32 frameNo, const DcmFGTypes::E_FGType fgType)
Get specific functional group for a frame, no matter whether it is stored per frame or shared.
@ Maximum
(56851009,SCT,"Maximum"), included from CID 3488
Definition: cid7464.h:44
virtual OFCondition getClinicalTrialSubjectReadingID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectReadingID (0012,0042)
@ EVR_UNKNOWN2B
used internally for elements with unknown VR with 2-byte length field in explicit VR
Definition: dcvr.h:273
DcmUnsignedShort ParameterValueNumber
ParameterValueNumber (3008,0067) vr=US, vm=1, type=3.
Definition: drtos.h:220
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
const DRTWedgeSequence & getWedgeSequence() const
get WedgeSequence (300a,00d1)
Definition: drtbs.h:528
void clear()
clear all internal variables
Definition: dsrtlist.h:150
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=2.
Definition: drttms0.h:200
virtual ~DicomImage()
destructor
Uint32 getRealLength()
get length of the stored value.
DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule & getReferencedRTPlanSequence()
get ReferencedRTPlanSequence (300c,0002)
Definition: drtiontr.h:1683
virtual Logger getInstance(const log4cplus::tstring &name)
Return a new logger instance named as the first parameter using the default factory.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrmss6.h:190
DcmTLSTransportLayer(OFrvalue_ref(DcmTLSTransportLayer) rhs)
move constructor.
DcmIntegerString ReferencedRangeModulatorNumber
ReferencedRangeModulatorNumber (300c,0104) vr=IS, vm=1, type=1.
Definition: drtrrms.h:187
virtual OFCondition getStereoPairsPresent(OFString &value, const signed long pos=0) const
get StereoPairsPresent (0022,0028)
DVPSReferencedImage_PList * clone()
clone method.
Definition: dvpsril.h:53
RecognizableVisibleFeatures
Enum for attribute Recognizable Visual Features.
Definition: dpmtypes.h:88
OFCondition setAssociationParameters(const char *profile, T_ASC_Parameters ¶ms) const
this method prepares a T_ASC_Parameters structure according to the settings of a profile maintained b...
void attach(DcmItem *dataset)
attaches a DICOM dataset or item to the signature object.
DRTRangeModulatorSettingsSequenceInRTIonBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
virtual OFCondition getPerformedProcedureStepStartDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartDate (0040,0244)
void nowindow(const DiMonoPixel *inter, const Uint32 start, const DiLookupTable *plut, DiDisplayFunction *disp, const T3 low, const T3 high)
perform linear scaling to the output data (no windowing)
Definition: dimoopxt.h:621
static OFCondition checkStringValue(const OFString &value, const OFString &vm, const OFString &vr, const int vrID, const size_t maxLen=0, const OFString &charset="")
check whether given string value conforms to a certain VR and VM.
DSRCodedEntryValue ConceptName
concept name (VR=SQ, conditional)
Definition: dsrdoctn.h:758
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
virtual unsigned char getReserved() const
Returns reserved field, which is 0 in this implementation (see DICOM standard)
Definition: dcuserid.h:96
offile_off_t bufSize_
size of the buffer, in bytes
Definition: dcostrmb.h:114
~TrcTracksStatistic()
Destructor, frees memory.
const DRTOtherPatientIDsSequence & getOtherPatientIDsSequence() const
get OtherPatientIDsSequence (0010,1002)
Definition: drtionpl.h:1565
void setSampling(const E_SubSampling sampling)
set (sub) sampling for JPEG compression.
E_TrackSetLaterality
Tractography Track Set laterality types.
Definition: trctypes.h:102
@ StandardizedUptakeValueLeanBodyMassJames
(g/ml{SUVlbm},UCUM,"Standardized Uptake Value lean body mass (James)"), included from CID 85
Definition: cid7181.h:82
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition mapModality(const OFString &definedTerm, DSRCodedEntryValue &codedEntryValue, const OFBool enhancedEncodingMode=OFFalse) const
map a defined term for Modality (0008,0060) to the associated coded entry
SiSHA384 & operator=(SiSHA384 &arg)
private undefined copy assignment operator
OFCondition getOperatorsName(OFString &value, const signed long pos=0) const
get OperatorsName (0008,1070)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence()
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtionpl.h:1295
virtual OFCondition getPhysiciansOfRecord(OFString &value, const signed long pos=0) const
get PhysiciansOfRecord (0008,1048)
void clear()
clear all internal member variables
DcmLongString ManufacturerModelName
Manufacturer's Model Name: (LO, 1, 3)
Definition: dsrdoc.h:1369
DSRCodeTreeNode(const DSRCodeTreeNode &node)
copy constructor.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
abstract base class for database handles.
Definition: dcmqrdba.h:47
IODAcquisitionContextModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
OFCondition getCompensatorPosition(Float64 &value, const unsigned long pos=0) const
get CompensatorPosition (300a,00ea)
virtual ~DRTBeamLimitingDeviceToleranceSequence()
destructor
void cleanup()
cleans up cinfo structure, called from destructor and error handlers
DRTRelatedRTROIObservationsSequence & getRelatedRTROIObservationsSequence()
get RelatedRTROIObservationsSequence (3006,00a0)
Definition: drtrros.h:203
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Uint16 bfReserved1
reserved, should be '0'
Definition: diutils.h:165
@ VolumeRatio
(113288,DCM,"Volume Ratio"), included from CID 7271
Definition: cid7469.h:120
virtual ~Item()
destructor
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmLongString TrayAccessoryCode
TrayAccessoryCode (300a,0355) vr=LO, vm=1, type=3.
Definition: drtbl2.h:372
T_ASC_SC_ROLE roleSelect
Role Selection.
Definition: scu.h:1013
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition createSignature(DcmItem &mainDataset, const DcmStack &itemStack, DcmAttributeTag &attributesNotToSignInMainDataset, const char *userID, const char *passwd)
adds one or more new digital signatures to the given dataset.
OFString toString() const
convert tag key to string having the form "(gggg,eeee)".
unsigned int getHour() const
get the currently stored hour value
static OFCondition addElementToDataset(OFCondition &result, DcmItem &dataset, DcmElement *delem, const OFString &vm, const OFString &type, const char *moduleName=NULL)
add given element to the dataset.
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition getStudyTime(OFString &value, const signed long pos=0) const
get StudyTime (0008,0030)
size_t getNumberOfItems() const
get number of items in the sequence
DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence()
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtiontr.h:1671
OFBool hasMeasurementGroup(const OFBool checkChildren=OFFalse) const
check whether the 'Measurement Group' content item (TID 1411 - Row 1) is present.
OFCondition setChannelEffectiveLength(const OFString &value, const OFBool check=OFTrue)
set ChannelEffectiveLength (300a,0271)
virtual OFVector< RWVMItem * > & getRealWorldValueMapping()
Return references to the various items inside the Real World Value Mapping Sequence.
void clear()
clear all internal member variables
DcmIntegerString ToleranceTableNumber
ToleranceTableNumber (300a,0042) vr=IS, vm=1, type=1.
Definition: drtitts.h:434
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition setMeasuredAPDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredAPDimension (0010,1023)
const DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence() const
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtplan.h:1502
DcmOtherByteOtherWord RedPaletteColorLookupTableData
RedPaletteColorLookupTableData (0028,1201) vr=OW, vm=1, type=1C.
Definition: drtimage.h:5166
virtual DcmEVR ident() const
get element type identifier
static OFCondition convertToMarkupStream(STD_NAMESPACE ostream &out, const OFString &sourceString, const OFBool convertNonASCII=OFFalse, const E_MarkupMode markupMode=MM_XML, const OFBool newlineAllowed=OFFalse, const size_t maxLength=0)
convert character string to a HTML/XHTML/XML mnenonic stream.
This class implements client sockets (also called just "sockets").
Definition: socket.h:86
OFCondition gotoNextItem()
goto next item in the sequence
const DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence() const
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drttreat.h:1701
OFvariant & operator=(T t)
Converts the given argument to one of the alternatives and assigns it to *this.
double * LODValue
pointer to array of corresponding luminance/OD values
Definition: didispfn.h:462
void clear()
clear all internal member variables
A class template that represents a type-safe union.
Definition: ofvriant.h:407
@ AreaOfDefinedRegion
(131184002,SCT,"Area of defined region"), included from CID 7471
Definition: cid7469.h:394
void clear()
clear all internal member variables
DcmDecimalString DeliveryWarningDose
DeliveryWarningDose (300a,0022) vr=DS, vm=1, type=3.
Definition: drtdrs.h:483
OFshared_ptr< DcmItem > m_Item
Shared pointer to the data handled by this class.
Definition: modbase.h:200
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtsptcs.h:329
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setQueryRetrieveView(const OFString &value, const OFBool check=OFTrue)
set QueryRetrieveView (0008,0053)
OFBool operator!=(const DSRCodedEntryValue &codedEntryValue) const
comparison operator "not equal".
TID1419_ROIMeasurements_Measurement(const T_Measurement &conceptName, const MeasurementValue &numericValue, const OFBool check=OFTrue)
constructor.
size_t getNumberOfItems() const
get number of items in the sequence
DcmUniqueIdentifier StudyInstanceUID
StudyInstanceUID (0020,000d) vr=UI, vm=1, type=1.
Definition: drtplan.h:3061
virtual OFCondition getPerformedProcedureStepID(OFString &value, const signed long pos=0) const
get PerformedProcedureStepID (0040,0253)
virtual OFCondition importHierarchy(DcmItem &dataset, const OFBool readPatient, const OFBool readStudy, const OFBool readFoR=OFFalse, const OFBool readSeries=OFFalse, const OFBool takeOverCharset=OFTrue)
Import common module attributes from dataset but only read Patient, Study, Series and/or Frame of Ref...
OFCondition setSnoutPositionTolerance(const Float32 value, const unsigned long pos=0)
set SnoutPositionTolerance (300a,004b)
DcmLongString ClinicalTrialTimePointID
ClinicalTrialTimePointID (0012,0050) vr=LO, vm=1, type=2.
Definition: drtdose.h:4264
void notifyReceivedDICOMObject(Uint32 status, const char *txt)
sends ReceivedDICOMObject notification to server.
OFVector< DimensionOrganizationItem * > m_DimensionOrganizationSequence
Vector with all items of the Dimension Organization Sequence.
Definition: modmultiframedimension.h:383
virtual const T * getParentNode() const
get pointer to parent node.
Definition: dsrtncsr.h:462
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTGroupOfPatientsIdentificationSequence GroupOfPatientsIdentificationSequence
GroupOfPatientsIdentificationSequence (0010,0027) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2952
size_t getNumberOfOverlaysInImage()
gets the number of overlays which are embedded in the image currently attached to the presentation st...
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtpics.h:349
OFCondition setAttributeModificationDateTime(const OFString &value, const OFBool check=OFTrue)
set AttributeModificationDateTime (0400,0562)
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getTableTopLateralPosition(Float64 &value, const unsigned long pos=0) const
get TableTopLateralPosition (300a,012a)
OFCondition getBeamLimitingDeviceAngle(OFString &value, const signed long pos=0) const
get BeamLimitingDeviceAngle (300a,0120)
virtual OFCondition getNumericValue(OFString &value, const signed long pos=0) const
Get NumericValue.
Item(const Item ©)
copy constructor
OFCondition setReferencedControlPointIndex(const OFString &value, const OFBool check=OFTrue)
set ReferencedControlPointIndex (300c,00f0)
virtual OFCondition setSeriesNumber(const OFString &value, const OFBool check=OFTrue)
set SeriesNumber (0020,0011)
const char * getPrinterMediumType()
gets the (optional) print medium type.
OFString FrameOfReferenceUID
Referenced Frame of Reference UID (VR=UI, VM=1, type 1)
Definition: dsrsc3vl.h:306
OFCondition gotoNextItem()
goto next item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getBeamDosePointDepth(Float32 &value, const unsigned long pos=0) const
get BeamDosePointDepth (300a,0088)
OFBool assocStarted
true if the association was started
Definition: dcmqrcbg.h:127
unsigned long createDIB(void *&data, const unsigned long size, const unsigned long frame, const int bits, const int upsideDown, const int padding=1)
create true color (24/32 bit) or palette (8 bit) bitmap for MS Windows.
@ EXS_PrivateGE_LEI_WithBigEndianPixelData
Private GE Little Endian Implicit with big endian pixel data.
Definition: dcxfer.h:123
OFCondition getPixelRepresentation(Uint16 &value, const unsigned long pos=0) const
get PixelRepresentation (0028,0103)
Interface class for BeamLimitingDeviceToleranceSequence (300a,0048)
Definition: drtbldts.h:28
DcmUniqueIdentifier InstanceCreatorUID
Instance Creator UID: (UI, 1, 3)
Definition: dsrdoc.h:1324
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtspcs.h:350
DRTReferencedBrachyApplicationSetupSequenceInRTDoseModule(const DRTReferencedBrachyApplicationSetupSequenceInRTDoseModule ©)
copy constructor
virtual IODReference * clone() const
Get (deep) clone copy of this reference.
OFTestTest * curTest_
Currently running test.
Definition: oftest.h:403
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFBool hasCodedEntry(const DSRCodedEntryValue &codedEntryValue) const
check whether a given coded entry is contained in this context group.
@ OphthalmicMapping
(OPM,DCM,"Ophthalmic Mapping")
Definition: cid29.h:94
Item(const Item ©)
copy constructor
Item class.
Definition: drtcsas.h:36
static OFCondition registerCodec(const DcmCodec *aCodec, const DcmRepresentationParameter *aDefaultRepParam, const DcmCodecParameter *aCodecParameter)
registers a codec object in the global list of codecs consulted by dcmdata whenever conversion to/fro...
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition setResponsiblePerson(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePerson (0010,2297)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getClinicalTrialSponsorName(OFString &value, const signed long pos=0) const
get ClinicalTrialSponsorName (0012,0010)
static OFCondition getAndCheckElementFromDataset(DcmItem &dataset, DcmElement &delem, const OFString &vm, const OFString &type, const char *moduleName=NULL)
Get element from dataset and check it for correct value multiplicity and type.
OFString testName_
The unique name of this test.
Definition: oftest.h:130
OFCondition setPatientSupportAngleTolerance(const OFString &value, const OFBool check=OFTrue)
set PatientSupportAngleTolerance (300a,004c)
OFCondition setTreatmentTerminationCode(const OFString &value, const OFBool check=OFTrue)
set TreatmentTerminationCode (3008,002b)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition addImage(const DSRCodedEntryValue &conceptName, const DSRImageReferenceValue &imageReference, const OFBool check=OFTrue)
add an 'Image' content item (TID 320 - Row 1) referencing the image used as a source of the measureme...
int fs_direction
boolean flag indicating in which direction (left to right/right to left) the FS distribution should b...
Definition: diqtfs.h:212
virtual OFCondition finalize(unsigned char *result)
finalizes the MAC and writes it to the given output array, which must be at least getSize() bytes lar...
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFListIterator(Item *) CurrentItem
currently selected item
const char * xferName
transfer syntax name
Definition: dcxfer.h:313
Class for content item TIME.
Definition: dsrtimtn.h:42
OFBool isEmpty()
check if sequence is empty
Item(const Item ©)
copy constructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Item & operator[](const size_t num)
get particular item in the sequence
virtual void removeAppender(SharedAppenderPtr appender)=0
Remove the appender passed as parameter from the list of appenders.
Item(const Item ©)
copy constructor
DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence()
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drttreat.h:1131
OFCondition getPolyShutterVertex(size_t idx, Sint32 &x, Sint32 &y)
get polygonal shutter point.
virtual ~DiMonoScaleTemplate()
destructor
Definition: dimosct.h:94
void updateAttributes(const OFBool updateAll=OFTrue, const OFBool verboseMode=OFTrue)
update various DICOM attributes.
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
OFBool isFixedSingleVM() const
returns true if element has a single valid VM value
Definition: dcdicent.h:170
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrds.h:130
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmTime SeriesTime
SeriesTime (0008,0031) vr=TM, vm=1, type=3.
Definition: drtimage.h:4988
virtual OFCondition getPhysiciansOfRecord(OFString &value, const signed long pos=0) const
get PhysiciansOfRecord (0008,1048)
@ MM_HTML32
HTML 3.2 (Hyper Text Markup Language)
Definition: ofstd.h:85
OFCondition parse24_32BppRow(const Uint8 *row, const Uint16 width, const int bpp, char *pixData) const
Parse a single 24bpp or 32bpp row of BMP data.
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtpscs.h:327
OFBool isEmpty()
check if sequence is empty
Interface class for ProcedureCodeSequence (0008,1032)
Definition: drtpcs.h:29
DcmUIDHandler uid_
abstract syntax UID
Definition: dccfenmp.h:117
DcmTagKey tagKey
the tag key of the private creator element
Definition: dcpcache.h:68
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
OFBool usesPresentationLUT(const char *uid)
checks whether the Presentation LUT with the given UID is referenced by any Stored Print object in th...
DiPNGInterlace interlaceType
PNG interlace type.
Definition: dipipng.h:133
int fputc(int c)
writes the character c, cast to an unsigned char, to stream.
Definition: offile.h:713
OFCondition applyOverrideKeys(DcmDataset *outputDset)
Copy override keys over existing keys in given dataset.
DcmSegment(const DcmSegment &)
Private undefined copy constructor.
DRTRealWorldValueMappingSequence RealWorldValueMappingSequence
RealWorldValueMappingSequence (0040,9096) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5110
virtual Layout * getLayout()
Returns the layout of this appender.
static const size_t HF_currentlyInsideAnnex
internal: content item is rendered fully inside the annex
Definition: dsrtypes.h:341
DcmFloatingPointSingle TotalCompensatorTrayWaterEquivalentThickness
TotalCompensatorTrayWaterEquivalentThickness (300a,02e3) vr=FL, vm=1, type=3.
Definition: drtibs.h:1057
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
void setACSETimeout(const Uint32 acseTimeout)
Set timeout for receiving ACSE messages.
char * m_serverRsp
Buffer for server response.
Definition: dcuserid.h:382
static const char * relationshipTypeToReadableName(const E_RelationshipType relationshipType)
convert relationship type to readable name.
virtual E_DocumentType getDocumentType() const
get the current SR document type
void clear()
clear all internal member variables
OFCondition getTargetMinimumDose(OFString &value, const signed long pos=0) const
get TargetMinimumDose (300a,0025)
void invalidateCache()
invalidates the cached number of columns and rows
OFString & append(const char *s)
constructs a temporary string from the input and appends it to the current string.
@ RepresentativeOfProtocolCommittee
(128676,DCM,"Representative of Protocol Committee")
Definition: cid7452.h:52
DRTIonBeamLimitingDeviceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
void setReqPosResponse(const OFBool &reqPosRsp)
Enables/disables requesting a positive response from the server.
const DcmUIDHandler & getAbstractSyntax() const
returns a const reference to the abstract syntax UID maintained by this object
Definition: dccfenmp.h:74
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drttsibs.h:1253
Item & operator=(const Item ©)
assigment operator
DcmShortString FluenceModeID
FluenceModeID (3002,0052) vr=SH, vm=1, type=1C.
Definition: drtpfms.h:132
OFBool isEmpty()
check if sequence is empty
virtual OFCondition getWindowCenterWidthExplanation(OFString &value, const signed long pos=0) const
get WindowCenterWidthExplanation (0028,1055)
virtual OFCondition getStationName(OFString &value, const signed long pos=0) const
get StationName (0008,1010)
virtual OFCondition setInstanceNumber(const OFString &value, const OFBool check=OFTrue)
set instance number
EnumType
available countries (in alphabetical order).
Definition: cid5001.h:41
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmCodeString ResponsiblePersonRole
ResponsiblePersonRole (0010,2298) vr=CS, vm=1, type=1C.
Definition: drttreat.h:2699
void CheckNonSequenceElementInSearchMask(DcmDataset *searchMask, int &invalidMatchingKeyAttributeCount, DcmElement *element, DcmSequenceOfItems *supSequenceElement=NULL)
This function checks if a non-sequence element in the search mask has a correct format.
void renderHTMLReferenceList(STD_NAMESPACE ostream &stream, DSRSOPInstanceReferenceList &refList, const size_t flags)
render list of referenced SOP instances in HTML/XHTML format
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
Definition: jpegint12.h:194
const char * getXferName() const
return name string for this transfer syntax
Definition: dcxfer.h:212
Item(const Item ©)
copy constructor
OFCondition getTotalWedgeTrayWaterEquivalentThickness(Float32 &value, const unsigned long pos=0) const
get TotalWedgeTrayWaterEquivalentThickness (300a,00d7)
virtual int getRoiWindow(const unsigned long left_pos, const unsigned long top_pos, const unsigned long width, const unsigned long height, const unsigned long columns, const unsigned long rows, const unsigned long frame, double &voiCenter, double &voiWidth)=0
get automatically computed Region of Interest (ROI) window (abstract)
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags=0, const DSRPositionCounter *posCounter=NULL)
print current SR document tree to specified output stream
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtws.h:465
void clear()
clear all internal member variables
unsigned long getNumberOfFrames() const
get number of frames
Definition: diovpln.h:278
OFString checkAndInventType1Attrib(const DcmTagKey &key, DcmDataset *targetDset, const OFString &defaultValue="") const
Check whether given type 1 attribute is present and has a length > 0.
virtual ~DRTRTReferencedStudySequence()
destructor
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtmris.h:148
DcmAttributeTag FrameIncrementPointer
FrameIncrementPointer (0028,0009) vr=AT, vm=1-n, type=1.
Definition: drtdose.h:4483
Interface class for PatientSpeciesCodeSequence (0010,2202)
Definition: drtpscs.h:29
virtual OFCondition getFloat64Vector(OFVector< Float64 > &doubleVals)
get stored float values as a vector.
static OFCondition createDirectory(const OFFilename &dirName, const OFFilename &rootDir)
create a directory (including sub-directories) if it does not yet exist.
@ OphthalmicTomographyEnFace
(OPTENF,DCM,"Ophthalmic Tomography En Face")
Definition: cid29.h:100
DRTReferencedBolusSequenceInRTIonBeamsModule & getReferencedBolusSequence()
get ReferencedBolusSequence (300c,00b0)
Definition: drtibs.h:624
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence()
get ContextGroupIdentificationSequence (0008,0123)
Definition: drttreat.h:1167
OFCondition setNumberOfFractionsDelivered(const OFString &value, const OFBool check=OFTrue)
set NumberOfFractionsDelivered (3008,005a)
virtual OFCondition setPatientSpeciesDescription(const OFString &value, const OFBool check=OFTrue)
set PatientSpeciesDescription (0010,2201)
virtual ~DcmTime()
destructor
virtual OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read spatial coordinates value from XML document
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
void clear()
clear all internal member variables
DRTDigitalSignaturesSequence DigitalSignaturesSequence
DigitalSignaturesSequence (fffa,fffa) vr=SQ, vm=1, type=3.
Definition: drttreat.h:3008
virtual OFCondition setAcquisitionDate(const OFString &value, const OFBool check=OFTrue)
set AcquisitionDate (0008,0022)
virtual OFCondition setPixelSpacing(const OFString &value, const OFBool check=OFTrue)
set PixelSpacing (0028,0030)
virtual OFCondition setManufacturerModelName(const OFString &value, const OFBool checkValue=OFTrue)
Set Manufacturer's Model Name.
@ VolumeOfEllipsoid
(121221,DCM,"Volume of ellipsoid"), included from CID 7472
Definition: cid7469.h:408
DiOverlay(const DiOverlay *overlay, const int degree, const Uint16 columns, const Uint16 rows)
constructor, rotate
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_EndOfStream
End of stream.
virtual OFCondition getSmokingStatus(OFString &value, const signed long pos=0) const
get SmokingStatus (0010,21a0)
void SetCalledApplicationEntityTitle(const OFString &value)
Set value in member variable.
virtual void clear()
clear all internal variables.
void clear()
clear all internal member variables
Item EmptyItem
empty default item
Definition: drtcps.h:894
@ EMO_Default
default mode, as stored in the dataset
Definition: diutils.h:252
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtecs.h:328
OFCondition gotoFirstItem()
goto first item in the sequence
RetrieveResponse & operator=(const RetrieveResponse &other)
Private undefined assignment operator.
Class representing an item within the Content Item Macro's Referenced SOP Sequence.
Definition: iodcontentitemmacro.h:76
@ OpticalCoherenceTomography
(OCT,DCM,"Optical Coherence Tomography")
Definition: cid29.h:90
DcmFloatingPointSingle GantryPitchAngle
GantryPitchAngle (300a,014a) vr=FL, vm=1, type=2C.
Definition: drticps.h:777
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getPixelIntensityRelationship(OFString &value, const signed long pos=0) const
get PixelIntensityRelationship (0028,1040)
@ PETCT_FDGImagingOfWholeBody
(443271005,SCT,"PET/CT FDG imaging of whole body")
Definition: cid100.h:68
virtual OFCondition setStrainDescription(const OFString &value, const OFBool check=OFTrue)
set StrainDescription (0010,0212)
DcmCodeString LongitudinalTemporalInformationModified
LongitudinalTemporalInformationModified (0028,0303) vr=CS, vm=1, type=3.
Definition: drtdose.h:4687
DcmDirectoryRecord * buildCurveRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update curve record and copy required values from dataset
void swap(OFString &s)
swaps the contents of the two strings.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtfgs.h:321
virtual OFCondition getPixelDataProviderURL(OFString &value, const signed long pos=0) const
get PixelDataProviderURL (0028,7fe0)
virtual OFCondition getGreenPaletteColorLookupTableDescriptor(Uint16 &value, const unsigned long pos=0) const
get GreenPaletteColorLookupTableDescriptor (0028,1102)
T_ASC_PresentationContextID findAnyPresentationContextID(const OFString &abstractSyntax, const OFString &transferSyntax)
After a successful association negotiation, this function is called to return the presentation contex...
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
get modality
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setRows(const Uint16 value, const unsigned long pos=0)
set Rows (0028,0010)
DcmKeyValuePair(const OFString &k, const T &v)
constructor
Definition: dcmsmap.h:45
static void initialize()
initialize this context group explicitly.
@ Ileum
(34516001,SCT,"Ileum")
Definition: cid4031.h:128
OFCondition write(DcmItem &item)
write elements to sequence item
void setUpperGroup(Uint16 ug)
converts entry into repeating tag entry by defining an upper limit for tag group
Definition: dcdicent.h:203
OFCondition setRealWorldValueMap(DcmItem &dataset, const OFBool check=OFTrue)
set the value of the 'Real World Value Map used for measurement' content item (TID 1419 - Row 19).
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getSOPAuthorizationDateTime(OFString &value, const signed long pos=0) const
get SOPAuthorizationDateTime (0100,0420)
DRTCodingSchemeIdentificationSequence CodingSchemeIdentificationSequence
CodingSchemeIdentificationSequence (0008,0110) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5416
DVPSDisplayedArea_PList()
default constructor
DcmTransportConnection(DcmNativeSocketType openSocket)
constructor.
const OFString MappingResource
mapping resource (VR=CS, mandatory)
Definition: dsrctxgr.h:267
OFCondition setWedgePosition(const OFString &value, const OFBool check=OFTrue)
set WedgePosition (300a,0118)
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setInstanceCoercionDateTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCoercionDateTime (0008,0015)
Item(const Item ©)
copy constructor
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
OFCondition setPETImageRadionuclideTotalDose(const CMR_SRNumericMeasurementValue &totalDose, const OFBool check=OFTrue)
set the value of the descriptor 'Radiopharmaceutical Total Dose' (TID 1607 - Row 7) for the current (...
virtual ~Item()
destructor
Item EmptyItem
empty default item
Definition: drtrrtps.h:332
virtual ~DRTIonRangeCompensatorSequence()
destructor
OFCondition setSourceToExternalContourDistance(const Float32 value, const unsigned long pos=0)
set SourceToExternalContourDistance (300a,0132)
DcmLongText SOPAuthorizationComment
SOPAuthorizationComment (0100,0424) vr=LT, vm=1, type=3.
Definition: drtplan.h:3385
UserIdentityNegotiationSubItem(const unsigned char itemType)
Constructor.
DcmUnsignedLongOffset(const DcmTag &tag)
constructor.
virtual const char * className() const
returns the class name as string.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition setCompensatorID(const OFString &value, const OFBool check=OFTrue)
set CompensatorID (300a,00e5)
abstract codec class for JPEG encoders.
Definition: djcodece.h:51
unsigned long AutoPatientNumber
current patient number used to invent missing attribute values
Definition: dcddirif.h:1608
int setWindow(const double center, const double width, const char *explanation=NULL)
set specified window (given by window width and center).
OFCondition getControlPoint3DPosition(OFString &value, const signed long pos=0) const
get ControlPoint3DPosition (300a,02d4)
virtual ~DVPSImageBoxContent()
destructor
DcmDecimalString TargetMinimumDose
TargetMinimumDose (300a,0025) vr=DS, vm=1, type=3.
Definition: drtdrs.h:511
virtual OFCondition setSeriesDate(const OFString &value, const OFBool check=OFTrue)
set SeriesDate (0008,0021)
OFBool dicomPhotometricInterpretationIsYCbCr
Flag indicating if DICOM photometric interpretation is YCbCr.
Definition: djdijg16.h:121
~I2DJpegSource()
Destructor, frees some memory.
DSRTree(const DSRTreeNodeCursor< T > &startCursor, size_t stopAfterNodeID)
special copy constructor that clones a particular subtree only
Definition: dsrtree.h:469
OFCondition read(DcmItem &item)
read elements from sequence item
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmDecimalString SourceToBlockTrayDistance
SourceToBlockTrayDistance (300a,00f6) vr=DS, vm=1, type=2.
Definition: drtbl2.h:370
const DRTEncryptedAttributesSequence & getEncryptedAttributesSequence() const
get EncryptedAttributesSequence (0400,0500)
Definition: drtiontr.h:1329
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
void copyStringWithDefault(DcmItem *dataset, const DcmTagKey &key, DcmDirectoryRecord *record, const OFFilename &sourceFilename, const char *defaultValue="", const OFBool printWarning=OFFalse)
copy optional string value from given dataset to directory record
OFCmdParam::E_ParamMode LastParamMode
mode of last added parameter (used for debug checking)
Definition: ofcmdln.h:1106
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtrics.h:358
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getStudyDate(OFString &value, const signed long pos=0) const
get StudyDate (0008,0020)
void rotate(const T *pixel[3], const int degree)
rotate pixel data
Definition: dicorot.h:91
Item & operator=(const Item ©)
assigment operator
DcmCodeString PatientOrientation
PatientOrientation (0020,0020) vr=CS, vm=2, type=2C.
Definition: drtdose.h:4368
DcmDecimalString WedgeOrientation
WedgeOrientation (300a,00d8) vr=DS, vm=1, type=2.
Definition: drtws.h:284
DRTReferencedBeamSequenceInRTDoseModule(const DRTReferencedBeamSequenceInRTDoseModule ©)
copy constructor
virtual OFCondition setPatientBreedDescription(const OFString &value, const OFBool check=OFTrue)
set PatientBreedDescription (0010,2292)
OFStackLinkBase(const OFStackLinkBase &)
private undefined copy constructor
Item & getCurrentItem()
get current item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item(const Item ©)
copy constructor
virtual OFCondition getNormalizationPoint(OFVector< Float64 > &value) const
get NormalizationPoint (3004,0008)
EP_Interpretation decompressedColorModel
color model after decompression
Definition: djdijg12.h:124
a class representing the DICOM value representation 'Short Text' (ST)
Definition: dcvrst.h:35
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_InvalidTag
Invalid tag.
Structure used to obtain error details if the parse fails.
Definition: ofxml.h:246
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
DcmLongText PatientComments
PatientComments (0010,4000) vr=LT, vm=1, type=3.
Definition: drtimage.h:4813
virtual ~DSRImageTreeNode()
destructor
static OFCondition addStringContentItemFromDataset(DSRDocumentSubTree &tree, DcmItem &dataset, const DcmTagKey &tagKey, const signed long pos, const E_ValueType valueType, const DSRCodedEntryValue &conceptName, const OFString &annotationText, const OFBool check)
add a content item with a string value copied from the given dataset.
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setRadiationMassNumber(const OFString &value, const OFBool check=OFTrue)
set RadiationMassNumber (300a,0302)
OFCondition getNumberOfWedges(Sint32 &value, const unsigned long pos=0) const
get NumberOfWedges (300a,00d0)
virtual void deleteObject(void *object) const =0
Deletes object.
DRTMeasuredDoseReferenceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeApprovalNumber(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
@ EUC_default
Upon compression, assign new SOP instance UID if compression is lossy.
Definition: djutils.h:97
Class representing a list of functional groups where each type of group can only be once in the list.
Definition: fg.h:40
OFCondition findAndGetUint32(const DcmTagKey &tagKey, Uint32 &value, const unsigned long pos=0, const OFBool searchIntoSub=OFFalse)
find element and get value as an unsigned 32-bit integer.
virtual OFCondition getPatientBirthDate(OFString &value, const signed long pos=0) const
get patient's birth date
OFCondition setCode(const OFString &codeValue, const OFString &codingSchemeDesignator, const OFString &codingSchemeVersion, const OFString &codeMeaning, const DSRTypes::E_CodeValueType codeValueType=DSRTypes::CVT_auto, const OFBool check=OFTrue)
set code.
OFCondition getBrachyApplicationSetupDose(Float64 &value, const unsigned long pos=0) const
get BrachyApplicationSetupDose (300a,00a4)
DcmCodeString Modality
Modality (0008,0060) vr=CS, vm=1, type=1.
Definition: drttreat.h:2840
OFCondition createPreviewImage(unsigned long maxWidth, unsigned long maxHeight, OFBool clipMode=OFFalse)
creates a new preview image based on the current image and pstate.
virtual Uint32 getLength(const E_TransferSyntax xfer=EXS_LittleEndianImplicit, const E_EncodingType enctype=EET_UndefinedLength)
calculate the value length (without attribute tag, VR and length field) of this DICOM element when en...
DRTIssuerOfAdmissionIDSequence & operator=(const DRTIssuerOfAdmissionIDSequence ©)
assigment operator
DRTROIElementalCompositionSequence(const DRTROIElementalCompositionSequence ©)
copy constructor
OFCondition getNumberOfLeafJawPairs(Sint32 &value, const unsigned long pos=0) const
get NumberOfLeafJawPairs (300a,00bc)
DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence()
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtimage.h:2818
IODSOPCommonModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
OFBool checkReferencedSOPInstance(DcmDirectoryRecord *record, DcmItem *dataset, const OFString &referencedFileID, const OFFilename &sourceFilename)
check referenced SOP instance for consistency with a new directory record
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtcbars.h:224
virtual OFBool apply(const OFString &value)=0
apply the actual filter.
Class representing the Tractography Results Module.
Definition: trcmodtractresults.h:36
DcmLongString GantryID
GantryID (0018,1008) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2992
OFCondition setStorageMediaFileSetUID(const OFString &value, const OFBool check=OFTrue)
set the storage media file set UID of the currently selected entry
size_t getNumberOfItems() const
get number of items in the sequence
const DcmPixelData & getPixelData() const
get PixelData (7fe0,0010)
Definition: drtiis.h:252
Item & operator[](const size_t num)
get particular item in the sequence
DRTPatientSizeCodeSequence & getPatientSizeCodeSequence()
get PatientSizeCodeSequence (0010,1021)
Definition: drtstrct.h:1458
OFCondition setValue(const DSRImageReferenceValue &referenceValue, const OFBool check=OFTrue)
set image reference value.
DiMonoModality(const DiDocument *docu, DiInputPixel *pixel, const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation)
constructor, LUT
Base RSA Digital Signature Profile.
Definition: sibrsapr.h:36
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
DVPSInstanceType getType() const
gets type of the instance
Definition: dvcache.h:289
DSRImageReferenceValue(const DSRImageReferenceValue &referenceValue)
copy constructor
virtual ~DRTProtocolContextSequence()
destructor
DRTTreatmentSummaryCalculatedDoseReferenceSequence TreatmentSummaryCalculatedDoseReferenceSequence
TreatmentSummaryCalculatedDoseReferenceSequence (3008,0050) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2947
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
virtual OFCondition setMeasuredLateralDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredLateralDimension (0010,1024)
OFCondition getCompensatorThicknessData(OFVector< Float64 > &value) const
get CompensatorThicknessData (300a,00ec)
size_t getNumberOfItems() const
get number of items in the sequence
Template class to handle YCbCr pixel data.
Definition: diybrpxt.h:41
virtual OFCondition setWindowCenter(const OFString &value, const OFBool checkValue=OFTrue)
Set Window Center.
OFCondition getMetersetRateSet(Float32 &value, const unsigned long pos=0) const
get MetersetRateSet (3008,0045)
XMLNode & operator=(const XMLNode &A)
to allow shallow/fast copy:
const Item & getCurrentItem() const
get current item in the sequence
virtual ~DRTBlockSlabSequence()
destructor
virtual OFCondition getSpecificCharacterSet(OFString &value, const signed long pos=0) const
get SpecificCharacterSet (0008,0005)
Uint32 biCompression
type of compression, support value: 0 = BI_RGB, no compression
Definition: diutils.h:188
OFString & toString(OFString &result, E_Representation representation=ER_RepresentationDefault) const
Get the string representation of this UUID.
OFCondition read(DcmItem &dataset, const size_t flags)
read series and instance level from dataset
const DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence() const
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtimage.h:2668
Frames(DPMParametricMapIOD &map)
Create Frames object in DPMParametricMapIOD (see friend declaration above)
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_RepresentationNotFound
Compressed/uncompressed pixel representation not found.
OFVector< TrcTrackSetStatistic * > m_TrackSetStatistics
Statistics for Track Set.
Definition: trctrackset.h:458
OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags=0, const char separator=',') const
print list of referenced segment numbers.
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
@ SpiralAcquisition
(116152004,SCT,"Spiral Acquisition")
Definition: cid10013.h:46
Item & operator[](const size_t num)
get particular item in the sequence
Definition: jlossy12.h:17
const Uint16 Rows
height of source image
Definition: discalet.h:246
unsigned long getVM(const DcmTagKey &tag) const
get value multiplicity (VM) of given tag
OFCondition findAndGetUint8Array(const DcmTagKey &tagKey, const Uint8 *&value, unsigned long *count=NULL, const OFBool searchIntoSub=OFFalse)
find element and get value as an array of unsigned 8-bit integers.
OFCondition setHeadFixationAngle(const Float32 value, const unsigned long pos=0)
set HeadFixationAngle (300a,0148)
DcmPersonName PatientName
Patient's Name: (PN, 1, 2)
Definition: dsrdoc.h:1354
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool wfopen(const wchar_t *filename, const wchar_t *modes)
opens the file whose name is the wide character string pointed to by path and associates a stream wit...
Definition: offile.h:352
DRTWedgePositionSequence & operator=(const DRTWedgePositionSequence ©)
assigment operator
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item EmptyItem
empty default item
Definition: drtws.h:469
OFCondition setFixationDeviceDescription(const OFString &value, const OFBool check=OFTrue)
set FixationDeviceDescription (300a,0196)
OFCondition gotoNextItem()
goto next item in the sequence
static OFBool cqValid(const ContentQualification cq)
Check whether Content Qualification enum value is valid.
OFCondition setIsocenterPosition(const OFString &value, const OFBool check=OFTrue)
set IsocenterPosition (300a,012c)
OFCondition getDeviceVolume(OFString &value, const signed long pos=0) const
get DeviceVolume (0050,0018)
virtual TYPE getType() const
Get type (always returns SEGMENT type)
Definition: iodreferences.h:251
@ CubicDecimeter
(dm3,UCUM,"cubic decimeter"), included from CID 7462
Definition: cid7181.h:72
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrrtps3.h:324
virtual OFString ident()=0
Virtual function that returns a short name of the plugin.
OFListIterator(Item *) CurrentItem
currently selected item
Interface class for TreatmentMachineSequence (300a,0206) in RTTreatmentMachineRecordModule.
Definition: drttms0.h:28
Interface class for IonToleranceTableSequence (300a,03a0)
Definition: drtitts.h:29
virtual ~DcmUnlimitedText()
destructor
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
const Item & getCurrentItem() const
get current item in the sequence
DcmLongString ClinicalTrialSubjectID
ClinicalTrialSubjectID (0012,0040) vr=LO, vm=1, type=1C.
Definition: drtdose.h:4163
@ TSP_Profile_IHE_ATNA_Unencrypted
IHE ATNA Profile for Unencrypted In-house Communication (retired).
Definition: tlsciphr.h:106
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
virtual OFCondition getOperatorsName(OFString &value, const signed long pos=0) const
get OperatorsName (0008,1070)
virtual ~Item()
destructor
OFdirectory_iterator()
Construct a past-the-end OFdirectory_iterator for being used as the sentinel when iterating.
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the stored time value, is valid
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFBool isGeneralImageModulePresent(const OFBool complete=OFFalse)
check whether GeneralImageModule (C) is present.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
size_t size() const
gets the number of image references in this list.
Definition: dvpsril.h:164
OFBool matchNode(const DSRXMLCursor &cursor, const char *name) const
check whether particular node matches a given name
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
DVPSReferencedSeries_PList & operator=(const DVPSReferencedSeries_PList &)
private undefined assignment operator
virtual void notifyAbortRequest()
Overwrite this function to be notified about an incoming association abort request.
DcmLongString SourceDescription
SourceDescription (300a,021c) vr=LO, vm=1, type=3.
Definition: drtss.h:418
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
void clear()
clear all internal member variables
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTOtherPatientIDsSequence & getOtherPatientIDsSequence()
get OtherPatientIDsSequence (0010,1002)
Definition: drtstrct.h:1434
OFBool isEmpty()
check if sequence is empty
Item class.
Definition: drtrrtps4.h:36
OFCondition setPrivateDataElementNumberOfItems(const Uint32 value, const unsigned long pos=0)
set PrivateDataElementNumberOfItems (0008,030b)
OFCondition getPulseRepetitionInterval(Float64 &value, const unsigned long pos=0) const
get PulseRepetitionInterval (300a,028c)
DRTPatientSpeciesCodeSequence PatientSpeciesCodeSequence
PatientSpeciesCodeSequence (0010,2202) vr=SQ, vm=1, type=1C.
Definition: drtionpl.h:2918
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmUniqueIdentifier InstanceCreatorUID
InstanceCreatorUID (0008,0014) vr=UI, vm=1, type=3.
Definition: drtstrct.h:3084
DcmRepresentationListIterator original
Iterator to the original representation.
Definition: dcpixel.h:159
OFCondition getReferencedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
void clear()
clear all internal member variables
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence() const
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtplan.h:1382
DcmCodeString activationLayer
VR=CS, VM=1, Type 2c.
Definition: dvpsal.h:110
int getNextBit()
get value of the current overlay plane bit and move 'cursor' to the next position
Definition: diovpln.h:534
flags_type put_event(spi::InternalLoggingEvent const &ev)
Puts event ev into queue, sets QUEUE flag and sets internal event object into signaled state.
@ DT_SpectaclePrescriptionReport
DICOM IOD: Spectacle Prescription Report.
Definition: dsrtypes.h:525
virtual ~Item()
destructor
const OFString & getCodingSchemeName(OFString &stringValue) const
get the coding scheme name of the currently selected item
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
DRTIonRangeCompensatorSequence(const DRTIonRangeCompensatorSequence ©)
copy constructor
OFCondition getIsocenterPosition(OFVector< Float64 > &value) const
get IsocenterPosition (300a,012c)
DcmShortText unformattedTextValue
VR=ST, VM=1, Type 1.
Definition: dvpstx.h:198
@ EFG_FRAMEANATOMY
Frame Anatomy.
Definition: fgtypes.h:121
void endOptionBlock()
ends an option block which can be used to support mutually exclusive options.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcpis.h:197
DVPSPrintPresentationLUTAlignment getAlignment()
gets a description of the Presentation LUT in terms of its restrictions for use with a Print SCP that...
OFCondition loadPState(const char *studyUID, const char *seriesUID, const char *instanceUID, OFBool changeStatus=OFFalse)
loads a presentation state which is contained in the database.
Uint32 getLengthField() const
return the current value of the Length field (which is different from the functionality of the public...
Definition: dcobject.h:633
@ EGL_recalcGL
recalculate values for existing group length tags
Definition: dctypes.h:108
DcmShortString SetupDeviceLabel
SetupDeviceLabel (300a,01b8) vr=SH, vm=1, type=2.
Definition: drtsds.h:197
const OFString & getSOPClassUID(OFString &sopClassUID) const
get the SOP class UID of the currently selected entry
DcmLongText PersonTelecomInformation
PersonTelecomInformation (0040,1104) vr=LT, vm=1, type=3.
Definition: drtois.h:210
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getApprovalStatus(OFString &value, const signed long pos=0) const
get ApprovalStatus (300e,0002)
virtual ~DSRCodeTreeNode()
destructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
virtual OFCondition getOverlayOrigin(Sint16 &value, const unsigned long pos=0) const
get OverlayOrigin (60xx,0050)
OFString m_assocConfigFile
Configuration file containing association parameters.
Definition: scu.h:1020
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition setPatientBirthTime(const OFString &value, const OFBool check=OFTrue)
set PatientBirthTime (0010,0032)
virtual OFCondition getUncompressedFrame(DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel, DcmFileCache *cache=NULL)
access single frame without decompressing or loading a complete multi-frame object.
virtual OFCondition setConceptName(const DSRCodedEntryValue &conceptName, const OFBool check=OFTrue)
set the concept name
void renderPixelData(OFBool display=OFTrue)
prepares pixel data for image and overlays for access.
virtual ~Item()
destructor
DcmCodeString SOPInstanceStatus
SOPInstanceStatus (0100,0410) vr=CS, vm=1, type=3.
Definition: drtdose.h:4669
DSRTemplateCommon(const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="")
constructor
virtual OFCondition setPerformedProcedureStepDescription(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepDescription (0040,0254)
DcmDictEntryList ** hashTab
array of (hash table size) pointers to DcmDictEntryList elements implementing the different buckets o...
Definition: dchashdi.h:288
OFCondition getTransferTubeLength(Float64 &value, const unsigned long pos=0) const
get TransferTubeLength (300a,02a4)
unsigned long card() const
returns cardinality (number of entries) of the stack
XMLNode getChildNodeByPathNonConst(XMLSTR path, char createNodeIfMissing=0, XMLCHAR sep='/')
return the first child node with specific path.
DcmIntegerString CalculatedDoseReferenceNumber
CalculatedDoseReferenceNumber (3008,0072) vr=IS, vm=1, type=1C.
Definition: drtcdrs.h:183
OFCondition setSingleAnnotation(const char *displayformat, const char *text, Uint16 position)
deletes all existing annotations and creates a new one, with given text and position.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const DRTBeamLimitingDevicePositionSequence & getBeamLimitingDevicePositionSequence() const
get BeamLimitingDevicePositionSequence (300a,011a)
Definition: drticps.h:459
OFCondition getBlockThickness(OFString &value, const signed long pos=0) const
get BlockThickness (300a,0100)
virtual OFCondition getAcquisitionDateTime(OFString &value, const signed long pos=0) const
get AcquisitionDateTime (0008,002a)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtpscs.h:205
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
virtual OFCondition getLongitudinalTemporalEventType(OFString &value, const signed long pos=0) const
get LongitudinalTemporalEventType (0012,0053)
OFList< OFString > TestResult
This is the type used for test results.
Definition: oftest.h:65
DcmEVR getVR() const
return the value representation assigned to this object.
Definition: dcobject.h:293
void clear()
clear all internal member variables
virtual DcmItem * getParentItem()
get parent item of this object, i.e. the item/dataset in which the surrounding sequence element is st...
static OFCondition putStringValueToDataset(DcmItem &dataset, const DcmTag &tag, const OFString &stringValue, const OFBool allowEmpty=OFTrue)
put string value to dataset
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item(const Item ©)
copy constructor
@ EVR_UL
unsigned long
Definition: dcvr.h:207
OFBool getCurrentArg(const char *&arg)
gets current command line argument as a C string This is the argument which is currently parsed or ha...
@ Creatine
(14804005,SCT,"Creatine"), included from CID 4033
Definition: cid7469.h:50
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getAcquisitionNumber(Sint32 &value, const unsigned long pos=0) const
get AcquisitionNumber (0020,0012)
OFCondition write(DcmItem &dset, OFBool writeRequestedImageSize, size_t numItems, OFBool ignoreEmptyImages, OFBool writeReferencedPLUTSQ=OFTrue)
writes the list of image boxes managed by this object to a DICOM dataset.
DSRTCoordTreeNode(const DSRTCoordTreeNode &node)
copy constructor.
@ CS_ASCII
ISO 646 (ISO-IR 6): ASCII.
Definition: dsrtypes.h:791
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTIssuerOfServiceEpisodeIDSequence IssuerOfServiceEpisodeIDSequence
IssuerOfServiceEpisodeIDSequence (0038,0064) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4255
const DcmAssociationConfiguration & associationConfiguration_
reference to association configuration
Definition: dcmqrcbm.h:136
Uint16 getPort() const
Returns TCP/IP port number SCP listens for new connection requests.
virtual OFCondition setLossyImageCompressionMethod(const OFString &value, const OFBool checkValue=OFTrue)
Set Lossy Image Compression method.
static void initialize()
initialize this context group explicitly.
DcmShortString PatientSupportID
PatientSupportID (300a,0352) vr=SH, vm=1, type=3.
Definition: drttsibs.h:1020
DcmDecimalString SourceStrength
SourceStrength (300a,022b) vr=DS, vm=1, type=1C.
Definition: drtss.h:436
OFCondition gotoNextItem()
goto next item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
unsigned long determineOptimizationCount(const double count)
determine number of entries for the optimization LUT
Definition: dimoopxt.h:259
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
FGBase * create(const DcmTagKey &fgSequenceKey)
Create new functional group based its unique sequence tag key.
DRTReferencedBolusSequenceInRTIonBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTReferencedSetupImageSequence ReferencedSetupImageSequence
ReferencedSetupImageSequence (300a,0401) vr=SQ, vm=1, type=3.
Definition: drtpss.h:335
DcmOtherByteOtherWord RedPaletteColorLookupTableData
RedPaletteColorLookupTableData (0028,1201) vr=OW, vm=1, type=1C.
Definition: drtdose.h:4462
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 ...
OFpath(const OFString &string)
Constructs an OFpath from an OFString.
OFCondition createNewImageLibrary()
clear the internally stored tree of content items and create the mandatory content item 'Image Librar...
DcmDecimalString PatientWeight
PatientWeight (0010,1030) vr=DS, vm=1, type=3.
Definition: drtplan.h:3110
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTOtherPatientIDsSequence & getOtherPatientIDsSequence()
get OtherPatientIDsSequence (0010,1002)
Definition: drtionpl.h:1559
DRTBreedRegistrationSequence BreedRegistrationSequence
BreedRegistrationSequence (0010,2294) vr=SQ, vm=1, type=2C.
Definition: drtdose.h:4120
OFCondition putAndInsertTagKey(const DcmTag &tag, const DcmTagKey &value, const unsigned long pos=0, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
unsigned long DatasetSize
size of the dataset of the SOP instance (in bytes, 0 = not yet determined).
Definition: dstorscu.h:425
Range(const void *const data, const size_t size, const char separator='-')
Separate the given value into two range components (if possible).
void setLogLevel(LogLevel ll)
Setting a NOT_SET_LOG_LEVEL value to the LogLevel of the root logger may have catastrophic results.
Class implementing a document tree node filter that checks for the presence (or absence) of sibling n...
Definition: dsrdnflt.h:196
OFCondition setApplicatorDescription(const OFString &value, const OFBool check=OFTrue)
set ApplicatorDescription (300a,010a)
OFBool matchesPresentationLUT(DVPSPrintPresentationLUTAlignment align) const
checks whether the given Presentation LUT type could be used together with all image boxes in this fi...
Definition: dvpssp.h:884
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition setAcquisitionDate(const OFString &value, const OFBool check=OFTrue)
set AcquisitionDate (0008,0022)
DcmTime instanceCreationTime
Module=SOP_Common, VR=TM, VM=1, Type 3.
Definition: dvpssp.h:1071
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual void clearData()
Clear all data.
virtual OFCondition readSeriesData(DcmItem &dataset)
read SeriesData from dataset.
static const int MaxBits
constant defining maximum value for number of bits for LUT input (here: 16)
Definition: didispfn.h:472
OFCondition getJFIFImageParameters(const JPEGFileMapEntry &entry, Uint16 &jfifVersion, Uint16 &pixelAspectH, Uint16 &pixelAspectV, Uint16 &unit)
Get JPEG parameters as found at given JFIF marker of the JPEG image.
@ Florbetaben_F18
(712736002,SCT,"Florbetaben F^18^")
Definition: cid4021.h:130
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getBlockData(Float64 &value, const unsigned long pos=0) const
get BlockData (300a,0106)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpdeds.h:423
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
int getdbCount() const
return number of databases
Definition: dcmqrtis.h:175
virtual ~TrcMeasurement()
Destructor, frees memory.
void clear()
clear all internal member variables
Item class.
Definition: drtdrs.h:36
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getTreatmentSites(OFString &value, const signed long pos=0) const
get TreatmentSites (300a,000b)
Implementation of a JPEG plugin for the dcmimgle/dcmimage library.
Definition: dipijpeg.h:47
OFListIterator(Item *) CurrentItem
currently selected item
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtopis.h:344
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFBool matchesApplicability(const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability)
checks if this displayed area matches exactly the applicability defined by the instanceUID,...
DcmUnsignedShort minDensity
Module=Film_Box_Module, VR=US, VM=1, Type 3.
Definition: dvpssp.h:1024
OFCondition setNumberOfControlPoints(const OFString &value, const OFBool check=OFTrue)
set NumberOfControlPoints (300a,0110)
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
Item & operator=(const Item ©)
assigment operator
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getQualityControlImage(OFString &value, const signed long pos=0) const
get QualityControlImage (0028,0300)
DIC_US nRemaining
number of remaining sub-operations
Definition: dcmqrcbm.h:175
OFCondition selectImageFrameNumber(unsigned long frame)
selects one frame of a multiframe image.
virtual ~DSRDocumentTreeNodeAnnotationFilter()
destructor
virtual ContentIdentificationMacro & getContentIdentification()
Return reference to content content identification of this segmentation object.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtwps.h:315
OFCondition getReferencedSegmentNumber(Uint16 &value, const unsigned long pos=0) const
get ReferencedSegmentNumber (0062,000b)
DRTMeasurementUnitsCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual ~DRTContrastBolusAgentSequence()
destructor
static const int min_exponent10
The lowest negative number such that is a valid normalized value of the floating-point type T.
Definition: oflimits.h:595
OFCondition readTrackSetStatistics(DcmItem &source)
Reads Track Set statistics from item into dedicated structures.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpfms.h:308
const DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence() const
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drttreat.h:1293
const DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence() const
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtionpl.h:1817
virtual ~DVPSPresentationLUT_PList()
destructor
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
Content Identification Macro.
Definition: iodmacro.h:961
virtual DcmObject * clone() const
clone method
Definition: dcvrat.h:91
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition setSeriesDate(const OFString &value, const OFBool check=OFTrue)
set SeriesDate (0008,0021)
virtual OFCondition getLossyImageCompressionRatio(OFString &value, const signed long pos=0) const
get LossyImageCompressionRatio (0028,2112)
virtual OFCondition encode(Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint8 *image_buffer, Uint8 *&to, Uint32 &length)
single frame compression routine for 8-bit raw pixel data.
DRTReferencedPatientSequence & getReferencedPatientSequence()
get ReferencedPatientSequence (0008,1120)
Definition: drtiontr.h:1659
DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence()
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtiontr.h:1179
OFCondition chooseRepresentation(const E_TransferSyntax repType, const DcmRepresentationParameter *repParam)
select a specific representation (compressed or uncompressed) of the dataset and create the represent...
OFBool isEmpty()
check if item is empty
virtual OFCondition setSpatialResolution(const OFString &value, const OFBool check=OFTrue)
set SpatialResolution (0018,1050)
DRTContributingEquipmentSequence & getContributingEquipmentSequence()
get ContributingEquipmentSequence (0018,a001)
Definition: drtplan.h:1364
unsigned long correctSignaturesPState
number of correct signatures in current PState
Definition: dvsighdl.h:209
int psv
for lossless compression, defines selection value
Definition: djeijg16.h:147
virtual OFCondition getPixelRepresentation(Uint16 &value, const unsigned long pos=0)
Get Pixel Representation.
virtual ~AlgorithmIdentificationMacro()
Virtual destructor.
@ VS_Normal
normal, no errors
Definition: ofcmdln.h:176
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setLastMenstrualDate(const OFString &value, const OFBool check=OFTrue)
set LastMenstrualDate (0010,21d0)
OFBool getGUIConfigEntryBool(const char *key, OFBool dfl)
returns the value of configuration file entry key=value in the section GENERAL/GUI of the config file...
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrrtps5.h:311
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
virtual OFCondition handleEVENTREPORTRequest(DcmDataset *&reqDataset, Uint16 &eventTypeID, const int timeout=0)
Receives N-EVENT-REPORT request on the currently opened association and sends a corresponding respons...
virtual ~DcmTLSSCU()
Virtual destructor.
CMR_SRNumericMeasurementValue(const OFString &numericValue, const DSRCodedEntryValue &measurementUnit, const OFBool check=OFTrue)
constructor
virtual OFCondition setGantryID(const OFString &value, const OFBool check=OFTrue)
set GantryID (0018,1008)
DVPSSoftcopyVOI_PList * clone()
clone method.
Definition: dvpssvl.h:52
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache, const E_GrpLenEncoding glenc, const E_PaddingEncoding padenc=EPD_noChange, const Uint32 padlen=0, const Uint32 subPadlen=0, Uint32 instanceLength=0)
This function writes data values which are contained in this DcmDataset object to the stream which is...
Item & operator=(const Item ©)
assigment operator
DcmUniqueIdentifier StudyInstanceUID
StudyInstanceUID (0020,000d) vr=UI, vm=1, type=1.
Definition: drtimage.h:4877
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
DcmList * elementList
the list of elements maintained by this object
Definition: dcitem.h:1343
const Item & getCurrentItem() const
get current item in the sequence
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
@ HounsfieldUnit
([hnsf'U],UCUM,"Hounsfield Unit")
Definition: cid7181.h:134
OFCondition gotoNextItem()
goto next item in the sequence
DcmDecimalString NormalizationPoint
NormalizationPoint (3004,0008) vr=DS, vm=3, type=3.
Definition: drtdose.h:4574
Interface class for ConversionSourceAttributesSequence (0020,9172)
Definition: drtcsas.h:28
virtual ~DiYBR422Image()
destructor
DVPSPrintPresentationLUTAlignment referencedPresentationLUTAlignment
The Print SCP can be configured to enforce a rule requiring that the number of entries in a Presentat...
Definition: dvpsfs.h:175
virtual DcmTransportLayerStatus clientSideHandshake()=0
performs client side handshake on established socket.
OFCondition getIsocenterPosition(OFVector< Float64 > &value) const
get IsocenterPosition (300a,012c)
virtual OFCondition setServiceEpisodeDescription(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeDescription (0038,0062)
virtual ~SiMACConstructor()
destructor
Item EmptyItem
empty default item
Definition: drtcss.h:540
Item class.
Definition: drtsptcs.h:37
OFCondition getSourceToGeneralAccessoryDistance(Float32 &value, const unsigned long pos=0) const
get SourceToGeneralAccessoryDistance (300a,0425)
const DRTAdditionalDrugSequence & getAdditionalDrugSequence() const
get AdditionalDrugSequence (0018,002a)
Definition: drtcbars.h:212
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
virtual DcmItem * remove(const unsigned long num)
remove item from list.
OFString & assign(const OFString &str, size_t pos, size_t n)
Assigns characters from the input string str to the current string object.
OFCondition read(DcmItem &item)
read elements from sequence item
Interface class for ReferencedCalculatedDoseReferenceSequence (3008,0090)
Definition: drtrcdrs.h:28
virtual OFCondition setObservationDateTime(const DcmElement &delem, const unsigned long pos=0, const OFBool check=OFTrue)
set observation date/time from element.
E_SubSampling getSampleFactors() const
returns subsampling mode for color image compression
Definition: djcparam.h:162
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read data into this module from given item.
virtual OFCondition clear()
clear (remove) all attributes from item and delete them from memory.
virtual OFBool isValid() const
check whether the content item is valid.
OFCondition getHeadFixationAngle(Float32 &value, const unsigned long pos=0) const
get HeadFixationAngle (300a,0148)
OFBool restrictMoveToSameHost_
restrict MOVE operations to same host
Definition: dcmqropt.h:122
DCMTK_LOG4CPLUS_EXPORT AppenderFactoryRegistry & getAppenderFactoryRegistry()
Returns the "singleton" AppenderFactoryRegistry.
DcmIntegerString ReferencedROINumber
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=1.
Definition: drtrros.h:299
DRTReferencedSOPSequence ReferencedSOPSequence
ReferencedSOPSequence (0008,1199) vr=SQ, vm=1, type=1.
Definition: drtrpphs.h:228
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmShortString BrachyAccessoryDeviceID
BrachyAccessoryDeviceID (300a,0263) vr=SH, vm=1, type=2.
Definition: drtbads.h:242
DPMParametricMapIOD(OFin_place_type_t(ImagePixel))
Constructor, anonymous parameter is the image pixel module to be used.
@ TKE_ECDH_ECDSA
Fixed ECDH with ECDSA-signed certificates.
Definition: tlsciphr.h:139
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setGraphicLayerRecommendedDisplayValueGray(size_t idx, Uint16 gray)
set graphic layer recommended grayscale display value for the given graphic layer.
type definitions and classes for transport connections
const_iterator end() const
get an iterator that points past the last valid object.
Definition: ofvector.h:186
virtual ~DSRContainerTreeNode()
destructor
OFCondition getPatientID(OFString &value, const signed long pos=0) const
get PatientID (0010,0020)
a basic film session object managed by a Print SCP.
Definition: dvpsfs.h:40
virtual OFCondition setSeriesTime(const OFString &value, const OFBool check=OFTrue)
set SeriesTime (0008,0031)
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.
char read_char(FILE *infile)
reads the next character from the input file, maintains the current line number and filters out comme...
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setPatientBodyMassIndex(const OFString &value, const OFBool check=OFTrue)
set PatientBodyMassIndex (0010,1022)
DcmIntegerString ImagesInAcquisition
ImagesInAcquisition (0020,1002) vr=IS, vm=1, type=3.
Definition: drtimage.h:5088
void inventMissingStudyLevelAttributes(DcmDirectoryRecord *parent)
invent missing type 1 attributes for all child records (from study level)
DSRIncludedTemplateNodeCursor(const DSRIncludedTemplateNodeCursor &cursor)
copy constructor
virtual OFCondition getInstanceNumber(OFString &value, const signed long pos=0) const
get instance number
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrrtps5.h:132
Item & getCurrentItem()
get current item in the sequence
DcmShortText ClinicalTrialTimePointDescription
ClinicalTrialTimePointDescription (0012,0051) vr=ST, vm=1, type=3.
Definition: drtdose.h:4266
virtual OFCondition getStudyTime(OFString &value, const signed long pos=0) const
Get Study Time.
virtual ~DiBaseLUT()
destructor
OFCondition setSpatialCoordinates(const DSRSpatialCoordinatesValue &coordinatesValue, const OFBool check=OFTrue)
set spatial coordinates.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item class.
Definition: drtrbos1.h:36
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
void printSCPBasicFilmBoxAction(DVInterface &cfg, const char *cfgname, T_DIMSE_Message &rq, T_DIMSE_Message &rsp, DVPSPresentationLUT_PList &globalPresentationLUTList)
performs a Print SCP Basic Film Box N-ACTION operation.
OFCondition deleteRQ(const char *sopclassUID, const char *sopinstanceUID, Uint16 &status)
sends an N-DELETE-RQ message and receives response.
XMLClear * updateClear(XMLCSTR lpszNewContent, int i=0)
if the clearTag to update is missing, a new one will be added
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getContrastBolusVolume(OFString &value, const signed long pos=0) const
get ContrastBolusVolume (0018,1041)
DcmDirectoryRecord * addRecord(DcmDirectoryRecord *parent, const E_DirRecType recordType, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
add child record to a given parent record.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
const Item & operator[](const size_t num) const
get particular item in the sequence
@ COC_Separate
DICOM enumerated value: SEPARATE.
Definition: dsrtypes.h:733
OFCondition setTimePoint(const OFString &timePoint, const OFBool check=OFTrue)
set the value of the 'Time Point' content item (TID 1502 - Row 3).
OFCondition gotoNextItem()
goto next item in the sequence
IODReference()
Constructor, creates empty reference, default level is "STUDY".
DcmHashDictIterator(const DcmHashDictIterator &i)
copy constructor
Definition: dchashdi.h:134
OFCondition createImageLibrary()
create the mandatory content item 'Image Library' (TID 1600 - Row 1) as the root node of this templat...
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtbl2.h:346
OFCondition setUIDsAndAETitle(DcmUniqueIdentifier &studyUID, DcmUniqueIdentifier &seriesUID, const char *aetitle)
assigns new values for study instance UID, series instance UID and retrieve aetitle.
virtual OFCondition getSeriesNumber(OFString &value, const signed long pos=0) const
Get Series Number.
static void errorstr(OFString &description, int code)
converts any of the error codes returned by the methods of this class into a textual description,...
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
DRTMeasurementUnitsCodeSequence MeasurementUnitsCodeSequence
MeasurementUnitsCodeSequence (0040,08ea) vr=SQ, vm=1, type=1C.
Definition: drtqds.h:347
DRTReferencedBrachyApplicationSetupSequenceInRTFractionSchemeModule & getReferencedBrachyApplicationSetupSequence()
get ReferencedBrachyApplicationSetupSequence (300c,000a)
Definition: drtfgs.h:220
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getStudyID(OFString &value, const signed long pos=0) const
get StudyID (0020,0010)
virtual OFCondition getResponsiblePersonRole(OFString &value, const signed long pos=0) const
get ResponsiblePersonRole (0010,2298)
virtual OFCondition getGantryPitchAngle(Float32 &value, const unsigned long pos=0) const
get GantryPitchAngle (300a,014a)
OFString presentationContextGroup_
symbolic identifier of the presentation context list
Definition: dccfprmp.h:88
Item EmptyItem
empty default item
Definition: drtrtrs2.h:332
OFCondition read(DcmItem &dset)
reads a list of displayed area selections (DisplayedAreaSelectionSequence) from a DICOM dataset.
virtual WlmDataSourceStatusType StartFindRequest(const DcmDataset &findRequestIdentifiers)=0
Based on the search mask which was passed, this function determines all the records in the database w...
@ Thigh
(68367000,SCT,"Thigh")
Definition: cid4031.h:228
Class that encapsulates an SCP configuration that is needed in order to configure the service negotia...
Definition: scpcfg.h:41
DcmCodeString RangeModulatorType
RangeModulatorType (300a,0348) vr=CS, vm=1, type=1.
Definition: drtrms.h:203
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtccs.h:329
static double convertODtoLum(const double value, const double ambient, const double illum)
convert the given OD value to luminance.
const T & back() const
returns a constant reference to the last element in the list.
Definition: oflist.h:394
OFCondition setCumulativeTimeWeight(const OFString &value, const OFBool check=OFTrue)
set CumulativeTimeWeight (300a,02d6)
DcmPixelData PixelData
PixelData (7fe0,0010) vr=OB/OW, vm=1, type=1C.
Definition: drtimage.h:5176
DiDisplayFunction(const double *val_tab, const unsigned long count, const Uint16 max=255, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0)
constructor, use given array of luminance/OD values.
Item class.
Definition: drtbldts.h:36
virtual OFCondition setMeasuredLateralDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredLateralDimension (0010,1024)
offile_off_t backupStart_
index of first valid byte in backup buffer, for putback
Definition: dcistrmb.h:132
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DRTConsultingPhysicianIdentificationSequence(const DRTConsultingPhysicianIdentificationSequence ©)
copy constructor
Interface class for SeriesDescriptionCodeSequence (0008,103f)
Definition: drtsdcs.h:29
@ OF_ok
no error, operation has completed successfully
Definition: ofcond.h:49
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual ~DRTROIElementalCompositionSequence()
destructor
OFCondition setFluenceModeID(const OFString &value, const OFBool check=OFTrue)
set FluenceModeID (3002,0052)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtiwps.h:334
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
virtual OFCondition getCineRate(Sint32 &value, const unsigned long pos=0) const
get CineRate (0018,0040)
unsigned long createHistogram(DcmQuantHistogramItemPointer *&array)
converts the contents of this hash table into a histogram array.
DcmUnsignedShort PixelPaddingRangeLimit
PixelPaddingRangeLimit (0028,0121) vr=US/SS, vm=1, type=1C.
Definition: drtdose.h:4476
virtual OFString getPrivateCreator() const
Get private creator of the related attribute.
virtual OFCondition setPerformedProcedureStepStartDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartDate (0040,0244)
IdxRecord idxRec
record structure of index items (last read entry)
Definition: dviface.h:1668
DRTTreatmentSummaryMeasuredDoseReferenceSequence(const DRTTreatmentSummaryMeasuredDoseReferenceSequence ©)
copy constructor
Item(const Item ©)
copy constructor
Definition: procline.h:19
virtual void removeAllAppenders()
Remove all previously added appenders.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTPatientSizeCodeSequence & getPatientSizeCodeSequence()
get PatientSizeCodeSequence (0010,1021)
Definition: drtplan.h:1628
DcmLongString Allergies
Allergies (0010,2110) vr=LO, vm=1-n, type=3.
Definition: drtimage.h:4938
virtual OFCondition status() const
returns the status of the producer as an OFCondition object.
@ YBR_ICT_CBComponent
(110844,DCM,"YBR ICT CB Component"), included from CID 7180
Definition: cid7469.h:224
virtual OFCondition getPatientSexNeutered(OFString &value, const signed long pos=0) const
get PatientSexNeutered (0010,2203)
OFVector< log4cplus::tstring > propertyNames() const
Returns all the keys in this property list.
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
virtual OFCondition setTrackSetDescription(const OFString &value, const OFBool checkValue=OFTrue)
Set Track Set Description.
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
virtual ~DRTIonControlPointDeliverySequence()
destructor
DRTReferencedPerformedProcedureStepSequence ReferencedPerformedProcedureStepSequence
ReferencedPerformedProcedureStepSequence (0008,1111) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3011
virtual OFCondition getPatientBodyMassIndex(OFString &value, const signed long pos=0) const
get PatientBodyMassIndex (0010,1022)
Interface class for PredecessorStructureSetSequence (3006,0018)
Definition: drtpsss.h:28
virtual OFCondition getPerformedProcedureStepDescription(OFString &value, const signed long pos=0) const
get PerformedProcedureStepDescription (0040,0254)
OFBool matchesPresentationLUT(DVPSPrintPresentationLUTAlignment align) const
checks whether the given Presentation LUT type could be used together with this image box on a Print ...
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setImageComments(const OFString &value, const OFBool check=OFTrue)
set ImageComments (0020,4000)
OFCondition setConceptName(const DSRCodedEntryValue &conceptName, const OFBool check=OFTrue)
set concept name.
DcmDecimalString PatientSupportAngleTolerance
PatientSupportAngleTolerance (300a,004c) vr=DS, vm=1, type=3.
Definition: drttts.h:349
OFCondition getReferencedRangeShifterNumber(OFString &value, const signed long pos=0) const
get ReferencedRangeShifterNumber (300c,0100)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DiDisplayLUT * getDisplayLUT(unsigned long count)
create CIELAB LUT with specified number of entries
OFCondition StartProvidingService()
Starts providing the implemented service for calling SCUs.
TrcTractographyResultsModule()
Constructor.
OFCondition setLocalNamespaceEntityID(const OFString &value, const OFBool check=OFTrue)
set LocalNamespaceEntityID (0040,0031)
const Uint16 * getData() const
get pointer to LUT data
Definition: dibaslut.h:194
virtual const OFVector< TrcTracksStatistic * > & getTrackStatistics()
Get access to all statistics defined for the Tracks in this Track Set.
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition setTrackingUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Tracking UID.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrpcs.h:536
DRTShieldingDeviceSequence ShieldingDeviceSequence
ShieldingDeviceSequence (300a,01a0) vr=SQ, vm=1, type=3.
Definition: drtpss.h:343
void show()
make overlay plane visible
Definition: diovpln.h:201
void setTransferState(E_TransferState newState)
set the current transfer state of this object during serialization/deserialization
Definition: dcobject.h:739
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcpis.h:391
@ SEGMENT
Reference to a segmentation object, see also class IDOSegmentationReference.
Definition: iodreferences.h:68
size_t getNumberOfItems() const
get number of items in the sequence
OFtuple_element< Index, Tuple >::type & OFget(Tuple &tuple)
A function template to access an element of a tuple.
E_TransferSyntax input_xfer_option
denotes the expected transfer syntax
Definition: mdfconen.h:172
@ DCF_Filetype_PEM
PEM (Privacy Enhanced Mail) format.
Definition: tlslayer.h:89
OFBool isEmpty()
check if sequence is empty
OFCondition setChannelInnerLength(const OFString &value, const OFBool check=OFTrue)
set ChannelInnerLength (300a,0272)
DcmDecimalString ROIMean
ROIMean (60xx,1302) vr=DS, vm=1, type=3.
Definition: drtdose.h:4512
@ MonoclonalAntibodymAb_64Cu
(126510,DCM,"Monoclonal Antibody (mAb) ^64^Cu")
Definition: cid4021.h:206
DRTRequestAttributesSequence(const DRTRequestAttributesSequence ©)
copy constructor
DcmDateTime ObservationDateTime
ObservationDateTime (0040,a032) vr=DT, vm=1, type=3.
Definition: drtqds.h:351
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
CID7445_DeviceParticipatingRoles(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
DcmShortString TimezoneOffsetFromUTC
TimezoneOffsetFromUTC (0008,0201) vr=SH, vm=1, type=3.
Definition: drtstrct.h:3096
const DRTToleranceTableSequence & getToleranceTableSequence() const
get ToleranceTableSequence (300a,0040)
Definition: drtplan.h:1982
DcmDecimalString RTImageSID
RTImageSID (3002,0026) vr=DS, vm=1, type=2.
Definition: drtimage.h:5308
const Uint16 Dest_Y
height of destination image
Definition: ditranst.h:129
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
DcmUniqueIdentifier SOPInstanceUID
SOPInstanceUID (0008,0018) vr=UI, vm=1, type=1.
Definition: drtplan.h:3352
int computeIndex(const DcmQuantPixel &px) const
determines for a given color the closest match in the color LUT.
Definition: diqtctab.h:163
virtual OFCondition readUntilTag(DcmInputStream &inStream, const E_TransferSyntax xfer=EXS_Unknown, const E_GrpLenEncoding glenc=EGL_noChange, const Uint32 maxReadLength=DCM_MaxReadLength, const DcmTagKey &stopParsingAtElement=DCM_UndefinedTagKey)
This function reads the information of all attributes which are captured in the input stream and capt...
static const DSRSpatialCoordinatesValue EmptySpatialCoordinates
empty spatial coordinates value.
Definition: dsrcitem.h:609
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
virtual OFCondition setOtherPatientNames(const OFString &value, const OFBool check=OFTrue)
set OtherPatientNames (0010,1001)
DcmUniqueIdentifier imageSeriesInstanceUID
used when creating hardcopy image objects
Definition: dvpssp.h:1074
virtual OFCondition getRescaleIntercept(OFString &value, const signed long pos=0)
Get Rescale Intercept.
virtual ProductPtr createObject(const log4cplus::helpers::Properties &props)=0
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtscs.h:355
OFCondition getReferencedWedgeNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedWedgeNumber (300c,00c0)
DcmDate AcquisitionDate
AcquisitionDate (0008,0022) vr=DA, vm=1, type=3.
Definition: drtdose.h:4380
DRTStrainStockSequence & getStrainStockSequence()
get StrainStockSequence (0010,0216)
Definition: drtdose.h:2632
const Item & operator[](const size_t num) const
get particular item in the sequence
Item class.
Definition: drtrses.h:37
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
virtual OFCondition getRows(Uint16 &value, const unsigned long pos=0) const
get Rows (0028,0010)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrbas2.h:120
OFCondition getTableTopLateralSetupDisplacement(OFString &value, const signed long pos=0) const
get TableTopLateralSetupDisplacement (300a,01d6)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
OFBool isEmpty()
check if item is empty
OFCondition setPersonTelecomInformation(const OFString &value, const OFBool check=OFTrue)
set PersonTelecomInformation (0040,1104)
virtual ~DcmLongString()
destructor
static void initializeOpenSSL()
Initialize OpenSSL Library.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getQualityControlSubject(OFString &value, const signed long pos=0) const
get QualityControlSubject (0010,0200)
E_TransferSyntax networkTransferSyntax
network transfer syntax
Definition: dcmqrtis.h:285
virtual OFCondition setPerformedProcedureStepStartTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartTime (0040,0245)
OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
DcmUnlimitedText StrainAdditionalInformation
StrainAdditionalInformation (0010,0218) vr=UT, vm=1, type=3.
Definition: drttreat.h:2691
OFCondition read(DcmItem &dataset, const size_t flags)
read list of referenced time offsets
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmLongString OverlaySubtype
OverlaySubtype (60xx,0045) vr=LO, vm=1, type=3.
Definition: drtdose.h:4506
const char * getGraphicLayerName(size_t idx)
gets the unique name of the graphic layer with the given index.
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
virtual OFCondition handleIncomingCommand(T_DIMSE_Message *incomingMsg, const DcmPresentationContextInfo &presInfo)
handler that is called for each incoming command message.
E_ParamValueStatus getParamAndCheckMinMax(const int pos, OFCmdUnsignedInt &value, const OFCmdUnsignedInt low, const OFCmdUnsignedInt high)
gets value of specified parameter as unsigned integer and checks for given boundaries.
DSREnhancedSRConstraintChecker()
default constructor
OFCondition getNumberOfControlPoints(OFString &value, const signed long pos=0) const
get NumberOfControlPoints (300a,0110)
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
OFCondition gotoNextItem()
goto next item in the sequence
DRTReferringPhysicianIdentificationSequence ReferringPhysicianIdentificationSequence
ReferringPhysicianIdentificationSequence (0008,0096) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2831
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
DcmSpecificCharacterSet()
constructor.
const LogLevel ALL_LOG_LEVEL
The ALL_LOG_LEVEL LogLevel is used during configuration to turn on all logging.
Definition: loglevel.h:90
DRTReferencedSeriesSequence & getReferencedSeriesSequence()
get ReferencedSeriesSequence (0008,1115)
Definition: drtscris.h:107
OFBool isEmpty()
check if item is empty
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual void notifySOPInstanceToBeSent(const TransferEntry &transferEntry)
this method is called each time before a SOP instance is sent to a peer.
DRTContextGroupIdentificationSequence ContextGroupIdentificationSequence
ContextGroupIdentificationSequence (0008,0123) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3092
double WindowWidth
width of current VOI-window
Definition: dimoimg.h:1105
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
OFCondition gotoFirstItem()
goto first item in the sequence
virtual ~Item()
destructor
virtual OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
OFBool supportPatientRoot_
support for patient root q/r model
Definition: dcmqropt.h:134
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches the filter criterion (concept name)
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual ~DVInstanceCache()
Destructor.
Definition: dvcache.h:134
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
DcmIntegerString NumberOfContourPoints
NumberOfContourPoints (3006,0046) vr=IS, vm=1, type=1.
Definition: drtcs.h:283
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
static OFCondition getStringValueFromElement(const DcmElement &element, OFString &stringValue, const signed long pos=0)
get string value from element
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
OFCondition getTableTopEccentricAngle(OFString &value, const signed long pos=0) const
get TableTopEccentricAngle (300a,0125)
OFBool operator<(const OFConfigFileCursor &) const
dummy comparison operator, needed by MSVC5 with STL.
Definition: ofconfig.h:296
OFCondition setSnoutID(const OFString &value, const OFBool check=OFTrue)
set SnoutID (300a,030f)
OFBool send(DcmTransportConnection &connection)
sends the current message over the given transport connection.
virtual OFCondition getSeriesDescription(OFString &value, const signed long pos=0) const
Get Series Description.
unsigned long Count
number of pixels per frame (intermediate representation)
Definition: dimoopx.h:138
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtdss.h:424
DRTPatientSetupSequence PatientSetupSequence
PatientSetupSequence (300a,0180) vr=SQ, vm=1, type=1.
Definition: drtiontr.h:3088
DcmPresentationContextMap contexts_
map of presentation context lists
Definition: dcasccfg.h:244
DcmTempFileHandler(const DcmTempFileHandler &arg)
private undefined copy constructor
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_InvalidRealWorldValueMappingObject
error: the given DICOM object is not a real world value mapping object
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const OFString StudyUID
Study Instance UID (VR=UI, type 1)
Definition: dsrsoprf.h:556
OFCondition getReferencedToleranceTableNumber(OFString &value, const signed long pos=0) const
get ReferencedToleranceTableNumber (300c,00a0)
DRTStrainSourceRegistryCodeSequence & operator=(const DRTStrainSourceRegistryCodeSequence ©)
assigment operator
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmCodeString TableTopRollRotationDirection
TableTopRollRotationDirection (300a,0146) vr=CS, vm=1, type=1C.
Definition: drtcps.h:707
internal class/struct for a single transfer entry
Definition: dstorscu.h:368
Class representing a stack in the context of an Enhanced DICOM object.
Definition: stack.h:37
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
OFCondition getPersonTelecomInformation(OFString &value, const signed long pos=0) const
get PersonTelecomInformation (0040,1104)
virtual OFCondition handleEVENTREPORTRequest(T_DIMSE_N_EventReportRQ &reqMessage, const T_ASC_PresentationContextID presID, DcmDataset *&reqDataset, Uint16 &eventTypeID)
Receive N-EVENT-REPORT request on the currently opened association and send a corresponding response.
DCMTK_OFSTD_EXPORT const OFConditionConst EC_DirectoryDoesNotExist
condition constant: error, directory does not exist
CMR_SRNumericMeasurementValueWithUnits()
default constructor
Definition: srnumvlu.h:179
DVPSTextObject_PList * clone()
clone method.
Definition: dvpstxl.h:52
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
DcmLongString LUTExplanation
LUTExplanation (0028,3003) vr=LO, vm=1, type=3.
Definition: drtvls.h:148
void clear()
clear all internal member variables
virtual ~Item()
destructor
virtual OFCondition getClinicalTrialTimePointDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointDescription (0012,0051)
OFCondition addImageReference(const char *seriesUID, const char *sopclassUID, const char *instanceUID, const char *frames=NULL, const char *aetitle=NULL, const char *filesetID=NULL, const char *filesetUID=NULL)
add new image reference.
static const size_t HF_renderInlineCodes
external: render codes even if they appear inline
Definition: dsrtypes.h:290
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
SiCertificateVerifier certVerifier
the certificate verifier, available only if compiled with OpenSSL support
Definition: dvsighdl.h:222
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getRelatedGeneralSOPClassUID(OFString &value, const signed long pos=0) const
get RelatedGeneralSOPClassUID (0008,001a)
bool useLockFile
Use lock file for inter-process synchronization of access to log file.
Definition: appender.h:247
OFListIterator(Item *) CurrentItem
currently selected item
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getReferencedROINumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedROINumber (3006,0084)
OFCondition gotoFirstItem()
goto first item in the sequence
DcmUnsignedShort LargestImagePixelValue
LargestImagePixelValue (0028,0107) vr=US/SS, vm=1, type=3.
Definition: drtiis.h:423
DcmLongString ResponsibleOrganization
ResponsibleOrganization (0010,2299) vr=LO, vm=1, type=2C.
Definition: drtimage.h:4841
Interface class for RecordedRangeModulatorSequence (3008,00f6)
Definition: drtrrms.h:28
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtporis.h:388
virtual OFCondition getUint32(Uint32 &uintVal, const unsigned long pos=0)
get particular integer value
virtual OFCondition renderHTML(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, size_t &annexNumber, const size_t flags) const
render image reference value in HTML/XHTML format.
@ Ilium
(22356005,SCT,"Ilium")
Definition: cid4031.h:130
virtual OFCondition setLossyImageCompressionMethod(const OFString &value, const OFBool check=OFTrue)
set LossyImageCompressionMethod (0028,2114)
virtual OFCondition encodeTrueLossless(const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
compresses the given uncompressed DICOM image and stores the result in the given pixSeq element.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getDoseReferenceDescription(OFString &value, const signed long pos=0) const
get DoseReferenceDescription (300a,0016)
virtual OFCondition getOtherPatientNames(OFString &value, const signed long pos=0) const
get OtherPatientNames (0010,1001)
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
virtual ~Item()
destructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format.
OFCondition setTableTopLateralSetupDisplacement(const OFString &value, const OFBool check=OFTrue)
set TableTopLateralSetupDisplacement (300a,01d6)
const Item & getCurrentItem() const
get current item in the sequence
size_t size() const
gets the number of overlays in managed by this object.
Definition: dvpsovl.h:92
DcmLongString StrainNomenclature
StrainNomenclature (0010,0213) vr=LO, vm=1, type=3.
Definition: drtstrct.h:2773
virtual DcmEVR ident() const
get element type identifier
OFCondition getSpecificCharacterSet(OFString &charset)
get value of the SpecificCharacterSet element of the surrounding dataset/item
const DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence() const
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtiontr.h:1581
Interface class for TID 1501 in module dcmsr/cmr.
virtual OFCondition getInstanceNumber(OFString &value, const signed long pos=0) const
get InstanceNumber (0020,0013)
virtual OFCondition setGreenPaletteColorLookupTableData(const Uint16 *value, const unsigned long count)
set GreenPaletteColorLookupTableData (0028,1202)
OFCondition read(DcmItem &dset, Uint8 ovGroup, Uint8 asGroup=0xFF)
reads the specified overlay group from a DICOM dataset.
OFBool CheckSearchMask(DcmDataset *searchMask)
This function checks if the search mask has a correct format.
Implementation of DCMR Template: TID 1204 - Language of Content Item and Descendants.
Definition: tid1204.h:35
virtual ~DRTSnoutSequence()
destructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
WlmConsoleEngineFileSystem & operator=(const WlmConsoleEngineFileSystem &Src)
Protected undefined operator=.
DRTGeneticModificationsSequence & operator=(const DRTGeneticModificationsSequence ©)
assigment operator
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcims.h:334
DcmShortText CommentsOnThePerformedProcedureStep
CommentsOnThePerformedProcedureStep (0040,0280) vr=ST, vm=1, type=3.
Definition: drttreat.h:2876
DcmLongString ClinicalTrialSubjectReadingID
ClinicalTrialSubjectReadingID (0012,0042) vr=LO, vm=1, type=1C.
Definition: drtplan.h:3052
const char * getReferencedPresentationLUTInstanceUID(size_t idx)
gets the referenced Presentation LUT SOP Instance UID for the given registered image box.
virtual DiImage * createImage(const DiDocument *docu, const EI_Status status, const EP_Interpretation photo)=0
create color image representation (abstract)
OFConditionConst theCondition
The condition information.
Definition: ofcond.h:352
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTRequestAttributesSequence & getRequestAttributesSequence()
get RequestAttributesSequence (0040,0275)
Definition: drttreat.h:1635
OFCondition setBeamLimitingDeviceAngle(const OFString &value, const OFBool check=OFTrue)
set BeamLimitingDeviceAngle (300a,0120)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const < unspecified > OFignore
A literal used in conjunction with OFtie to ignore specific elements.
Definition: oftuple.h:688
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence()
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtiontr.h:1731
virtual OFBool isClinicalTrialSubjectModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSubjectModule (U) is present.
virtual OFCondition getCranialThermalIndex(Float64 &value, const unsigned long pos=0)
Get Cranial Thermal Index.
void swapValueField(size_t valueWidth)
swaps the content of the value field (if loaded) from big-endian to little-endian or back
Item & getItem(const size_t num)
get particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtmucs.h:355
const DRTApplicatorSequenceInRTIonBeamsModule & getApplicatorSequence() const
get ApplicatorSequence (300a,0107)
Definition: drtibs.h:498
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
virtual OFCondition setLossyImageCompression(const OFString &value, const OFBool checkValue=OFTrue)
Set Lossy Image Compression.
int setVoiLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation=NULL, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set VOI LUT (given by dcmdata elements).
Definition: dcmimage.h:768
@ MEDI551_89Zr
(126730,DCM,"MEDI-551 ^89^Zr")
Definition: cid4021.h:196
static OFBool writeStringFromElementToXML(STD_NAMESPACE ostream &stream, DcmElement &delem, const OFString &tagName, const OFBool writeEmptyValue=OFFalse)
write string value from DICOM element to XML output stream.
Class for content item COMPOSITE.
Definition: dsrcomtn.h:42
Item & getCurrentItem()
get current item in the sequence
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
void clear()
resets the object to initial state.
Uint16 getnearlosslessDeviation() const
returns the desired NEAR parameter
Definition: djrparam.h:70
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 element to a stream.
virtual OFBool IsSubsetOf(const OFOrderedSet< T > &other) const
Determines if this is an actual subset of other, i.e.
Definition: ofoset.h:380
void getCertValidityNotAfter(OFString &str)
returns the end of validity of the current certificate in human readable form.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
void clear()
clear all internal member variables
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drthsdrs.h:160
DRTFixationDeviceSequence(const DRTFixationDeviceSequence ©)
copy constructor
OFCondition getSourceToBeamLimitingDeviceDistance(Float64 &value, const unsigned long pos=0) const
get SourceToBeamLimitingDeviceDistance (300a,00ba)
Item & operator[](const size_t num)
get particular item in the sequence
CID10013e_CTAcquisitionType(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
OFCondition DB_lock(OFBool exclusive)
create lock on database
OFCondition getContourGeometricType(OFString &value, const signed long pos=0) const
get ContourGeometricType (3006,0042)
DRTEncryptedAttributesSequence EncryptedAttributesSequence
EncryptedAttributesSequence (0400,0500) vr=SQ, vm=1, type=1C.
Definition: drtionpl.h:3297
virtual OFCondition setReviewDate(const OFString &value, const OFBool check=OFTrue)
set ReviewDate (300e,0004)
Definition: dulstruc.h:110
unsigned long cardinality_
current cardinality of the stack
Definition: dcstack.h:148
OFCondition write(DcmItem &item)
write elements to sequence item
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtporcs.h:345
virtual OFCondition getPatientBirthTime(OFString &value, const signed long pos=0) const
get PatientBirthTime (0010,0032)
DcmUniqueIdentifier RelatedGeneralSOPClassUID
RelatedGeneralSOPClassUID (0008,001a) vr=UI, vm=1-n, type=3.
Definition: drtiontr.h:3165
virtual DcmDataset * NextFindResponse(WlmDataSourceStatusType &rStatus)=0
This function will return the next dataset that matches the given search mask, if there is one more r...
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtpsics.h:211
virtual GeneralAnatomyMacro & getAnatomy()
Get Anatomy.
DcmObject * get(E_ListPos pos=ELP_atpos)
get pointer to element in list at given position
DRTReferencedFractionGroupSequence & operator=(const DRTReferencedFractionGroupSequence ©)
assigment operator
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition getStudyID(OFString &value, const signed long pos=0) const
get StudyID (0020,0010)
DRTDoseReferenceSequence::Item & getDoseReference(Sint32 referenceNumber)
find a dose reference by its dose reference number.
Uint32 getFragmentSize() const
returns maximum fragment size (in kbytes) for compression, 0 for unlimited.
Definition: dcrlecp.h:75
WlmFileSystemInteractionManager & operator=(const WlmFileSystemInteractionManager &obj)
Privately defined assignment operator.
virtual OFCondition write(DcmItem &dataset)
write object to dataset
void dumpConnectionParameters(STD_NAMESPACE ostream &out)
prints the characteristics of the current connection on the given output stream.
DiBaseLUT(Uint16 *buffer, const Uint32 count=0, const Uint16 bits=0)
constructor
Item & getItem(const size_t num)
get particular item in the sequence
Interface class for ChannelShieldSequence (300a,02b0)
Definition: drtcshs.h:28
OFCondition getCumulativeDoseReferenceCoefficient(Float64 &value, const unsigned long pos=0) const
get CumulativeDoseReferenceCoefficient (300a,010c)
virtual OFCondition setServiceEpisodeID(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeID (0038,0060)
OFCondition getBlockThickness(OFString &value, const signed long pos=0) const
get BlockThickness (300a,0100)
virtual OFCondition write(DcmItem &dataset)
write object to dataset
virtual ~DJLSRepresentationParameter()
destructor
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_InvalidStream
Invalid stream.
Item & operator=(const Item ©)
assigment operator
OFCondition setUniversalEntityIDType(const OFString &value, const OFBool check=OFTrue)
set UniversalEntityIDType (0040,0033)
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getPatientSex(OFString &value, const signed long pos=0) const
get PatientSex (0010,0040)
OFBool matchesApplicability(const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability)
checks if this displayed area matches exactly the applicability defined by the instanceUID,...
OFCondition setEnableVerification(const OFString &profile="DEFAULT")
Enables negotiation of the Verification SOP Class.
@ Flortaucipir_F18
(C4547429,UMLS,"Flortaucipir F^18^")
Definition: cid4021.h:134
virtual ~DRTIonWedgePositionSequence()
destructor
DRTUDISequence & getUDISequence()
get UDISequence (0018,100a)
Definition: drtimage.h:3118
virtual ~DJ_RPLossless()
destructor
virtual ~DRTRecordedBlockSequence()
destructor
Item & operator=(const Item ©)
assigment operator
OFCondition setPersonTelephoneNumbers(const OFString &value, const OFBool check=OFTrue)
set PersonTelephoneNumbers (0040,1103)
OFCondition getTableTopPitchRotationDirection(OFString &value, const signed long pos=0) const
get TableTopPitchRotationDirection (300a,0142)
void clearData()
Clear all attributes from the data that are handled by this component.
OFCondition createMeasurementGroup()
create the mandatory root content item of this template, i.e. TID 1411 - Row 1.
OFCondition setRangeModulatorID(const OFString &value, const OFBool check=OFTrue)
set RangeModulatorID (300a,0346)
OFCondition selectCharacterSetWithCodeExtensions(const unsigned long sourceVM)
select a particular DICOM character set with code extensions for subsequent conversions.
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtws.h:270
OFCondition getTableTopLateralPositionTolerance(Float64 &value, const unsigned long pos=0) const
get TableTopLateralPositionTolerance (300a,0053)
OFCondition getSetupTechniqueDescription(OFString &value, const signed long pos=0) const
get SetupTechniqueDescription (300a,01b2)
OFCondition getPatientSupportAngle(Float64 &value, const unsigned long pos=0) const
get PatientSupportAngle (300a,0122)
void setDIMSEBlockingMode(const T_DIMSE_BlockingMode blockingMode)
Set whether DIMSE messaging should be blocking or non-blocking.
OFMap< OFString, DcmProfileEntry * >::const_iterator end()
const iterator pointing to end of profile map (behind last profile entry)
virtual const OFFilename & getRecordsOriginFile()
get the filename from which this directory record was read from, empty if not set
const DSRTreeNodeAnnotation Annotation
annotation to check for
Definition: dsrdnflt.h:380
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmOtherByteOtherWord GreenPaletteColorLookupTableData
GreenPaletteColorLookupTableData (0028,1202) vr=OW, vm=1, type=1C.
Definition: drtdose.h:4464
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence()
get PerformedProtocolCodeSequence (0040,0260)
Definition: drttreat.h:1443
DcmFloatingPointDouble LongitudinalTemporalOffsetFromEvent
LongitudinalTemporalOffsetFromEvent (0012,0052) vr=FD, vm=1, type=3.
Definition: drtimage.h:4971
virtual OFCondition getUncompressedFrameSize(DcmItem *dataset, Uint32 &frameSize) const
compute uncompressed frame size of a single frame of this image.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtscris.h:312
DcmSequenceOfItems(const DcmTag &tag, const Uint32 len, OFBool readAsUN=OFFalse)
constructor.
void clear()
clear all internal member variables
DRTPatientBreedCodeSequence(const DRTPatientBreedCodeSequence ©)
copy constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
void setAETitle(const OFString &aetitle)
Set AE title of the server.
static OFCondition newDicomElement(DcmElement *&newElement, const DcmTagKey &tag, const char *privateCreator=NULL)
creates new DICOM element from given attribute tag.
virtual OFCondition putSint32Array(const Sint32 *vals, const unsigned long num)
replace the element value by a copy of the given Sint32 array (which is possibly multi-valued).
OFBool QuietMode
Switch on/off error and warning messages.
Definition: ofconapp.h:229
@ EFG_FRAMEDISPLAYSHUTTER
Frame Display Shutter.
Definition: fgtypes.h:125
OFBool initialized() const
checks whether creation of the object was successful.
DiGSDFLUT(const unsigned long count, const Uint16 max, const Uint16 *ddl_tab, const double *val_tab, const unsigned long ddl_cnt, const double *gsdf_tab, const double *gsdf_spl, const unsigned int gsdf_cnt, const double jnd_min, const double jnd_max, const double lum_min, const double lum_max, const double amb, const double illum, const OFBool inverse=OFFalse, STD_NAMESPACE ostream *stream=NULL, const OFBool printMode=OFTrue)
constructor
Implementation of DCMR Context Group: CID 10033 - CT Reconstruction Algorithm.
Definition: cid10033.h:35
DRTConceptCodeSequence & getConceptCodeSequence()
get ConceptCodeSequence (0040,a168)
Definition: drtpcxs.h:201
@ LATERALITY_UNPAIRED
Unpaired body part.
Definition: fgframeanatomy.h:49
virtual SharedAppenderPtr getAppender(const log4cplus::tstring &name)=0
Get an appender by name.
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtpbcs.h:331
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbss.h:334
OFBool empty() const
return true if the string is empty, false otherwise.
Definition: ofstring.h:428
OFVector< ContentItemMacro * > m_QuantityDefinitionSequence
Quantity Definition Sequence.
Definition: fgrealworldvaluemapping.h:417
@ GT_Point
DICOM Graphic Type: POINT.
Definition: dsrtypes.h:665
DcmFloatingPointDouble BeamDeliveryDurationLimit
BeamDeliveryDurationLimit (300a,00c5) vr=FD, vm=1, type=3.
Definition: drtrbs4.h:273
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtbas.h:339
OFBool isEmpty()
check if item is empty
~OFCRC32()
destructor
Definition: ofcrc32.h:44
OFCondition getPersonAddress(OFString &value, const signed long pos=0) const
get PersonAddress (0040,1102)
void clear()
clear all internal member variables
const DRTSourceImageSequence & getSourceImageSequence() const
get SourceImageSequence (0008,2112)
Definition: drttreat.h:1677
DRTReferencedRTPlanSequenceInRTGeneralPlanModule & operator=(const DRTReferencedRTPlanSequenceInRTGeneralPlanModule ©)
assigment operator
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition setSOPAuthorizationDateTime(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationDateTime (0100,0420)
DcmUniqueIdentifier OriginalSpecializedSOPClassUID
OriginalSpecializedSOPClassUID (0008,001b) vr=UI, vm=1, type=3.
Definition: drtimage.h:5414
OFBool presentationLUTInstanceUIDisUsed(const char *uid)
checks whether the given SOP instance UID is used as referenced Presentation LUT SOP Instance UID ins...
DcmRepresentationListIterator insertRepresentationEntry(DcmRepresentationEntry *repEntry)
insert or replace a representation entry in the list
OFFilename recordsOriginFile
filename (path) of the file from which this directory record was read
Definition: dcdirrec.h:505
OFCondition getNominalPriorDose(Float64 &value, const unsigned long pos=0) const
get NominalPriorDose (300a,001a)
virtual OFCondition saveFile(const OFString &filename, const E_TransferSyntax writeXfer=EXS_LittleEndianExplicit)
Save current object to given filename.
WlmDataSourceStatusType CancelFindRequest()
This function handles a C-CANCEL Request during the processing of a C-FIND Request.
DcmTLSCipherEncryption
This enum describes the symmetric encryption algorithm (bulk cipher) used in a certain TLS ciphersuit...
Definition: tlsciphr.h:177
Item & getCurrentItem()
get current item in the sequence
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition saveFile(DcmFileFormat fileformat)
Attempt to save the output file .
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmUnsignedShort Columns
Columns (0028,0011) vr=US, vm=1, type=1.
Definition: drtimage.h:5138
virtual OFCondition getVolumetricProperties(OFString &value, const signed long pos=0)
Get Volumetric Properties.
DRTGeneticModificationsSequence & getGeneticModificationsSequence()
get GeneticModificationsSequence (0010,0221)
Definition: drtiontr.h:1347
static OFCondition checkElementValue(const DcmElement &delem, const OFString &vm, const OFString &type, const OFCondition &searchCond=EC_Normal, const char *moduleName=NULL, const dcmtk::log4cplus::LogLevel logLevel=dcmtk::log4cplus::WARN_LOG_LEVEL)
Check element value for correct value multiplicity and type.
virtual E_PreliminaryFlag getPreliminaryFlag() const
get document preliminary flag.
Item EmptyItem
empty default item
Definition: drtss.h:627
Item & getItem(const size_t num)
get particular item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
DRTFractionGroupSequence & operator=(const DRTFractionGroupSequence ©)
assigment operator
Item & operator[](const size_t num)
get particular item in the sequence
Definition: dcmqridx.h:132
Implementation of DCMR Template: TID 1411 - Volumetric ROI Measurements (and included templates 1502 ...
Definition: tid1411.h:57
OFCondition setGeneticModificationsDescription(const OFString &value, const OFBool check=OFTrue)
set GeneticModificationsDescription (0010,0222)
General purpose class for condition codes.
Definition: ofcond.h:167
static const size_t HF_renderNoDocumentHeader
external: render no general document information (header)
Definition: dsrtypes.h:308
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
Item(const Item ©)
copy constructor
virtual OFCondition setPixelIntensityRelationshipSign(const Sint16 value, const unsigned long pos=0)
set PixelIntensityRelationshipSign (0028,1041)
const DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence() const
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtimage.h:2656
OFBool receive(DcmTransportConnection &connection)
receives a messages from the given transport connection and stores it in the current object,...
class handling one entry of the Private Tag Cache List
Definition: dcpcache.h:36
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmThreadSCP(const DcmThreadSCP &src)
Private undefined copy constructor.
virtual Uint16 checkSTORERequest(T_DIMSE_C_StoreRQ &reqMessage, DcmDataset *reqDataset)
Check given C-STORE request and dataset for validity.
virtual ~DJDecompressIJG12Bit()
destructor
int writeBMP(FILE *stream, const unsigned long frame, const int bits)
write pixel data to BMP file
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtrpcs.h:357
OFBool isEmpty()
check if item is empty
OFCondition getBlockNumberOfPoints(Sint32 &value, const unsigned long pos=0) const
get BlockNumberOfPoints (300a,0104)
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
virtual OFCondition write(DcmItem &dataset, DcmStack *markedItems=NULL)
write current SR document to DICOM dataset.
DRTSegmentedPropertyTypeModifierCodeSequence & operator=(const DRTSegmentedPropertyTypeModifierCodeSequence ©)
assigment operator
OFBool isEmpty()
check if item is empty
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
DcmIntegerString InstanceNumber
InstanceNumber (0020,0013) vr=IS, vm=1, type=3.
Definition: drtstrct.h:3021
OFCondition write(DcmItem &item)
write elements to sequence item
DRTCompensatorSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition getWindowWidth(Float64 &value, const unsigned long pos=0)
Get Window Width.
virtual OFBool hasTemplateIdentification() const
check whether template identification is set
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setMeasuredDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set MeasuredDoseReferenceNumber (3008,0064)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTCompensatorSequence & getCompensatorSequence()
get CompensatorSequence (300a,00e3)
Definition: drtbs.h:414
T_DIMSE_BlockingMode blockMode_
blocking mode for DIMSE operations
Definition: dcmqrtis.h:288
virtual FGBase * find(const DcmFGTypes::E_FGType fgType)
Find a functional group by its type.
void setThreshold(LogLevel th)
Set the threshold LogLevel.
Definition: appender.h:202
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition setLongitudinalTemporalEventType(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalEventType (0012,0053)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
@ EF_Slow
Slow test which should only be run in exhaustive mode.
Definition: oftest.h:73
Definition: syncimpl.h:137
virtual ~DRTTreatmentSummaryMeasuredDoseReferenceSequence()
destructor
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getRelatedGeneralSOPClassUID(OFString &value, const signed long pos=0) const
get RelatedGeneralSOPClassUID (0008,001a)
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setRationalNumeratorValue(const Sint32 value, const unsigned long pos=0)
set RationalNumeratorValue (0040,a162)
DcmDecimalString DVHData
DVHData (3004,0058) vr=DS, vm=2-2n, type=1.
Definition: drtdvhs.h:305
const Item & getCurrentItem() const
get current item in the sequence
virtual ~DJCodecDecoder()
destructor
OFBool isEmpty()
check if item is empty
Item class.
Definition: drtrsns.h:36
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtgmcs.h:536
const DRTStrainStockSequence & getStrainStockSequence() const
get StrainStockSequence (0010,0216)
Definition: drtiontr.h:1833
virtual OFCondition setReviewDate(const OFString &value, const OFBool check=OFTrue)
set ReviewDate (300e,0004)
virtual OFCondition setImageFrameOrigin(const Uint16 value, const unsigned long pos=0)
set ImageFrameOrigin (60xx,0051)
virtual OFCondition getPatientBirthDate(OFString &value, const signed long pos=0) const
Get Patient's Birth Date.
OFString m_readSeedFile
Random seed file used for initializing Pseudo Random Number Generator (PRNG)
Definition: tlsscu.h:237
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition sendStudy(const char *targetID, const char *studyUID)
sends a complete study over network to a different DICOM peer.
Definition: dviface.h:800
CodeSequenceMacro(const CodeSequenceMacro &rhs)
Copy Constructor, performs deep copy.
virtual OFCondition getAccessionNumber(OFString &value, const signed long pos=0) const
get accession number
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
virtual OFCondition check() const
Check whether this item contains valid data.
OFCondition gotoNextItem()
goto next item in the sequence
DcmDecimalString DeliveredPrimaryMeterset
DeliveredPrimaryMeterset (3008,0036) vr=DS, vm=1, type=3.
Definition: drttsibs.h:984
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual ~Item()
destructor
int showPlane(unsigned int plane)
make specified plane visible
OFCondition findAndGetFloat32(const DcmTagKey &tagKey, Float32 &value, const unsigned long pos=0, const OFBool searchIntoSub=OFFalse)
find element and get value as a 32-bit floating point.
@ Attending
(405279007,SCT,"Attending")
Definition: cid7452.h:78
void clear()
clear all internal member variables
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool disableResolutionCheck(const OFBool newMode=OFFalse)
disable/enable the "spatial resolution check".
OFCondition getNumberOfPaintings(OFString &value, const signed long pos=0) const
get NumberOfPaintings (300a,039a)
const DRTApplicatorGeometrySequence & getApplicatorGeometrySequence() const
get ApplicatorGeometrySequence (300a,0431)
Definition: drtas1.h:141
DcmLongString SeriesDescription
SeriesDescription (0008,103e) vr=LO, vm=1, type=3.
Definition: drtplan.h:3174
void replaceImageBox(DVPSImageBoxContent *newImageBox)
adds the given image box object to the image box list.
Definition: dvpssp.h:867
virtual OFCondition verifyDocument(const OFString &observerName, const OFString &organization, const OFString &dateTime="", const OFBool check=OFTrue)
verify the current document by a specific observer.
@ MajorAxis
(131187009,SCT,"Major Axis"), included from CID 7470
Definition: cid7469.h:368
OFCondition getRangeModulatorGatingStopValue(Float32 &value, const unsigned long pos=0) const
get RangeModulatorGatingStopValue (300a,0384)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
void setConnectionBlockingMode(const DUL_BLOCKOPTIONS blockingMode)
Set whether waiting for a TCP/IP connection should be blocking or non-blocking.
@ Mammography
(MG,DCM,"Mammography")
Definition: cid29.h:82
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drttms0.h:202
OFBool isValid() const
check if item is valid, i.e. not the empty default item
size_t getGraphicLayerIndex(const char *name)
gets the index of the graphic layer with the given unique name.
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSCodecInvalidParameters
error condition constant: The codec was fed with invalid parameters (e.g. height = -1)
virtual OFCondition setPatientBreedDescription(const OFString &value, const OFBool check=OFTrue)
set PatientBreedDescription (0010,2292)
DVPSVOILUT_PList()
default constructor
E_PresentationStateType
Softcopy presentation state types.
Definition: dsrtypes.h:625
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const DRTEncryptedAttributesSequence & getEncryptedAttributesSequence() const
get EncryptedAttributesSequence (0400,0500)
Definition: drttreat.h:1245
DcmLongString StudyDescription
StudyDescription (0008,1030) vr=LO, vm=1, type=3.
Definition: drtdose.h:4194
size_t gotoNode(const T &nodeValue)
set cursor to specified node.
Definition: dsrtncsr.h:751
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTMeasuredDoseReferenceSequence & getMeasuredDoseReferenceSequence()
get MeasuredDoseReferenceSequence (3008,0010)
Definition: drtiontr.h:1455
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
DcmCodeString & operator=(const DcmCodeString &obj)
assignment operator
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=3.
Definition: drtibs.h:999
OFList< unsigned char * > pixelDataList
list of compressed pixel data blocks
Definition: djeijg8.h:162
virtual OFBool checkValuesComplete()
Check whether measurement values for all tracks are set.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item & operator[](const size_t num)
get particular item in the sequence
DcmCodeString ScanSpotReordered
ScanSpotReordered (300a,0393) vr=CS, vm=1, type=3.
Definition: drticpds.h:860
DcmIntegerString CineRate
CineRate (0018,0040) vr=IS, vm=1, type=3.
Definition: drtimage.h:5224
unsigned long length
number of elements in array
Definition: diqtpbox.h:112
OFBool is_absolute() const
Test whether the path is absolute, i.e. refers to a certain location unaffected by which directory is...
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
DcmRoleSelectionItem & operator=(const DcmRoleSelectionItem &arg)
assignment operator
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSUncompressedBufferTooSmall
error condition constant: Too small buffer used for image data (internal error)
virtual OFCondition getDecompressedColorModel(DcmItem *dataset, OFString &decompressedColorModel)
determine color model of the decompressed image
OFCondition setNumberOfCompensators(const OFString &value, const OFBool check=OFTrue)
set NumberOfCompensators (300a,00e0)
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
void setPrivateKeyPasswdFromConsole()
sets the password string to be used when loading an encrypted private key file to be read from the co...
OFCondition gotoFirstItem()
goto first item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFBool activeOverlayIsROI(size_t layer, size_t idx)
checks whether the given activated overlay is a ROI (region of interest) overlay.
~OFVector()
destructor.
Definition: ofvector.h:127
void clear()
clear all internal member variables
OFCondition gotoFirstItem()
goto first item in the sequence
virtual ~DRTIssuerOfAdmissionIDSequence()
destructor
@ EVR_DA
date string
Definition: dcvr.h:135
DRTSegmentedPropertyCategoryCodeSequence(const DRTSegmentedPropertyCategoryCodeSequence ©)
copy constructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
static void addLogEntry(DcmSequenceOfItems *seq, const char *text)
adds an item to the given sequence containing the current date, time and the given text.
DcmIntegerString graphicLayerOrder
VR=IS, VM=1, Type 1.
Definition: dvpsgl.h:157
virtual OFCondition init()
initializes internal object structures.
unsigned int IconSize
size of the optional icon image in pixels
Definition: dcddirif.h:1594
OFCondition getGantryRotationDirection(OFString &value, const signed long pos=0) const
get GantryRotationDirection (300a,011f)
virtual OFCondition sendSTOREResponse(const T_ASC_PresentationContextID presID, const Uint16 messageID, const OFString &sopClassUID, const OFString &sopInstanceUID, const Uint16 rspStatusCode, DcmDataset *statusDetail=NULL)
Respond to the C-STORE request (with given details)
void clearRepresentationList(DcmRepresentationListIterator leaveInList)
This function removes all pixel representations from the list of pixel representations except the one...
virtual ~Item()
destructor
virtual DiDisplayLUT * getDisplayLUT(unsigned long count)=0
create display LUT with specified number of entries (abstract method)
virtual OFCondition putString(const char *val, const Uint32 len)
replace the element value by a copy of the given string (which is possibly multi-valued).
static T quiet_NaN()
The special value quiet not-a-number, as represented by the floating-point type T.
@ DT_ColonCadSR
DICOM IOD: Colon CAD SR.
Definition: dsrtypes.h:519
void clear()
clear all internal member variables
void clear()
clear all internal member variables
virtual OFCondition getSeriesDate(OFString &value, const signed long pos=0) const
get SeriesDate (0008,0021)
virtual OFCondition setSeriesTime(const OFString &value, const OFBool check=OFTrue)
set SeriesTime (0008,0031)
OFBool setDate(const OFDate &dateVal)
set the date component to the specified date.
DcmDataDictionary & operator=(const DcmDataDictionary &)
private undefined assignment operator
int OFBool
the boolean type used throughout the DCMTK project.
Definition: oftypes.h:178
DCMR Context Group with enhanced functionality: CID 4031 - Common Anatomic Regions.
Definition: cid4031e.h:30
@ SAT_UNKNOWN
Unknown (e.g. not initialized)
Definition: segtypes.h:104
OFCondition gotoFirstItem()
goto first item in the sequence
Item EmptyItem
empty default item
Definition: drticps.h:1020
DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence()
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtdose.h:1972
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtssrcs.h:339
void clear()
reset the object to initial state.
virtual ~DJLSDecoderBase()
destructor
DSRPNameTreeNode(const DSRPNameTreeNode &node)
copy constructor.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
const DcmProfileEntry * getProfile(const OFString &name)
return profile entry from profile map by its name
E_PlanarConfiguration planarConfiguration
flag describing how planar configuration of decompressed color images should be handled
Definition: djcparam.h:338
Float32 value_type
Data type of pixels.
Definition: modfloatingpointimagepixel.h:46
void PutErrorElements(const DcmTagKey &tag)
This function inserts the tag of an error element into the corresponding member variable,...
DcmCodeString RTImagePlane
RTImagePlane (3002,000c) vr=CS, vm=1, type=3.
Definition: drtpvis.h:318
OFCondition setScanMode(const OFString &value, const OFBool check=OFTrue)
set ScanMode (300a,0308)
@ DCMSCP_ACTION_UNDEFINED
No action defined.
Definition: scp.h:67
I2DOutputPlugNewSC()
Constructor, initializes member variables with standard values.
const DcmCodecParameter * codecParameter
pointer to codec parameter set
Definition: dccodec.h:500
virtual ~DcmCodec()
destructor
Definition: dccodec.h:85
Item EmptyItem
empty default item
Definition: drtrses.h:316
DcmCodeString ApplicatorApertureShape
ApplicatorApertureShape (300a,0432) vr=CS, vm=1, type=1.
Definition: drtags.h:158
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSUnsupportedColorTransform
error condition constant: The images' color transformation is not supported
DcmOutputFilter * compressionFilter_
pointer to compression filter, NULL if no compression
Definition: dcostrma.h:197
OFBool hasStorageAbility
indicator if process has storage ability
Definition: wltypdef.h:89
OFCondition setRealWorldValueMap(const DSRCompositeReferenceValue &valueMap, const OFBool check=OFTrue)
set the value of the 'Real World Value Map used for measurement' content item (TID 1501 - Row 9).
OFCondition addItem(Item *&item)
add new item to the end of this sequence
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFBool enableIconImageMode(const OFBool newMode=OFTrue)
enable/disable the "create icon images" mode.
OFCondition setDeliveryMaximumDose(const OFString &value, const OFBool check=OFTrue)
set DeliveryMaximumDose (300a,0023)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const DRTOtherPatientIDsSequence & getOtherPatientIDsSequence() const
get OtherPatientIDsSequence (0010,1002)
Definition: drtiontr.h:1497
const DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence() const
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtdose.h:2134
void deleteRelatedMetaheaderTag(const DcmTagKey &key)
If key is the tag for SOPInstanceUID or SOPClassUID, then this function removes the related MediaStor...
OFCondition setEncodingHandler(const char *charset)
set character encoding handler for converting internally stored character strings (UTF-8) to a partic...
OFCondition getCodeValue(DSRCodedEntryValue &codeValue) const
get copy of code value.
OFCondition getOFTime(OFTime &timeValue, const unsigned long pos=0, const OFBool supportOldFormat=OFTrue)
get the current element value in OFTime format.
DRTTreatmentSessionIonBeamSequence(const DRTTreatmentSessionIonBeamSequence ©)
copy constructor
virtual OFCondition setStationName(const OFString &value, const OFBool check=OFTrue)
set StationName (0008,1010)
virtual OFCondition getInstanceNumber(Sint32 &value, const unsigned long pos=0) const
get InstanceNumber (0020,0013)
const DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence() const
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtionpl.h:1757
virtual OFCondition setPlanarConfiguration(const Uint16 value, const OFBool checkValue=OFTrue)
Set Planar Configuration.
virtual T * getRoot() const
get pointer to root node
Definition: dsrtree.h:973
DRTReferencedImageSequence(const DRTReferencedImageSequence ©)
copy constructor
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtrics.h:372
@ OpticalSurfaceScanner
(OSS,DCM,"Optical Surface Scanner")
Definition: cid29.h:104
virtual ~DRTChannelSequence()
destructor
virtual OFCondition setRealWorldValueSlope(const Float64 value, const OFBool checkValue=OFTrue)
Set Real World Value Slope.
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
const char * getTLSFolder()
returns the directory in which TLS related files (certificates, keys, random data,...
void clear()
clear all internal member variables
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmCodeString DoseUnits
DoseUnits (3004,0002) vr=CS, vm=1, type=1.
Definition: drtmdrs.h:207
OFCondition getDVHType(OFString &value, const signed long pos=0) const
get DVHType (3004,0001)
unsigned long GetNumberOfSequenceItemsForMatchingRecord(DcmTagKey sequenceTag, WlmSuperiorSequenceInfoType *superiorSequenceArray, unsigned long numOfSuperiorSequences, unsigned long idx)
For the matching record that is identified through idx, this function returns the number of items tha...
OFCondition getTableTopVerticalPosition(OFString &value, const signed long pos=0) const
get TableTopVerticalPosition (300a,0128)
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFCondition handleNDelete(T_DIMSE_Message &rq, T_ASC_PresentationContextID presID)
handles any incoming N-DELETE-RQ message and sends back N-DELETE-RSP.
long getCertSerialNo()
returns the serial number of the X.509 certificate.
virtual ~DRTStudiesContainingOtherReferencedInstancesSequence()
destructor
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
virtual OFCondition getPatientOrientation(OFString &value, const signed long pos=0) const
get PatientOrientation (0020,0020)
virtual OFCondition setFloatPixelPaddingRangeLimit(const Float32 value, const OFBool checkValue=OFTrue)
Set Float Pixel Padding Range Limit.
OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
OFCondition read(DcmItem &item)
read elements from sequence item
void SetDfPath(const OFString &value)
Set value in member variable.
virtual OFBool isValid() const
check whether the content item is valid.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModule(const DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModule ©)
copy constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n", const OFString &charset="")
check whether given string value conforms to the VR "PN" (Person Name) and to the specified VM.
DiOverlayPlane(const unsigned int group, const Sint16 left_pos, const Sint16 top_pos, const Uint16 columns, const Uint16 rows, const DcmOverlayData &data, const DcmLongString &label, const DcmLongString &description, const EM_Overlay mode)
constructor, additional
OFBool operator!=(const DSRGraphicDataItem &item) const
comparison operator
Definition: dsrscogr.h:67
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getOrganAtRiskFullVolumeDose(Float64 &value, const unsigned long pos=0) const
get OrganAtRiskFullVolumeDose (300a,002a)
DcmOtherFloat(const DcmOtherFloat &old)
copy constructor
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=1C.
Definition: drtrpis.h:204
DcmDecimalString EffectiveDuration
EffectiveDuration (0018,0072) vr=DS, vm=1, type=3.
Definition: drtimage.h:5230
static OFCondition decode(const DcmXfer &fromType, const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, DcmPolymorphOBOW &uncompressedPixelData, DcmStack &pixelStack)
looks for a codec that is able to decode from the given transfer syntax and calls the decode() method...
DRTReferencedBrachyApplicationSetupSequenceInRTDoseModule & operator=(const DRTReferencedBrachyApplicationSetupSequenceInRTDoseModule ©)
assigment operator
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition write(DcmItem &item)
write elements to sequence item
virtual const char * className() const
returns the class name as string.
@ J591_89Zr
(126514,DCM,"J591 ^89^Zr")
Definition: cid4021.h:192
virtual OFCondition getOFStringArray(OFString &stringVal, OFBool normalize=OFTrue)
get the string value (all components)
OFConfigFileNode & operator=(const OFConfigFileNode &arg)
private undefined copy assignment operator
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid11.h:155
SegmentDescriptionMacro m_SegmentDescription
Segment Description Macro.
Definition: segment.h:311
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setCodingSchemeResponsibleOrganization(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeResponsibleOrganization (0008,0116)
long * temperr
temporary pointer used for swapping error vectors
Definition: diqtfs.h:207
DcmLongString ClinicalTrialSiteName
ClinicalTrialSiteName (0012,0031) vr=LO, vm=1, type=2.
Definition: drttreat.h:2724
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n")
check whether given string value conforms to the VR "DS" (Decimal String) and to the specified VM.
DcmDictRangeRestriction getElementRangeRestriction() const
returns element range restriction
Definition: dcdicent.h:272
XMLCSTR addText(XMLCSTR lpszValue, XMLElementPosition pos=-1)
Add a new text content.
virtual CodeSequenceMacro & getSegmentedPropertyTypeCode()
Get Reference to Segmented Property Type Code.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition startQueryRetrieveServer()
starts the query/retrieve server process (Query/Retrieve Service Class SCP).
virtual OFCondition getContentDate(OFString &value, const signed long pos=0)
Get Content Date.
Item & operator=(const Item ©)
assigment operator
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getQueryRetrieveView(OFString &value, const signed long pos=0) const
get QueryRetrieveView (0008,0053)
DcmDecimalString PatientBodyMassIndex
PatientBodyMassIndex (0010,1022) vr=DS, vm=1, type=3.
Definition: drtimage.h:4928
virtual OFCondition getIsocenterPosition(OFString &value, const signed long pos=0) const
get IsocenterPosition (300a,012c)
StudyStruct * getCurrentStudy() const
get pointer to currently selected study structure (if any)
DRTApplicatorGeometrySequence(const DRTApplicatorGeometrySequence ©)
copy constructor
OFBool getWriteYBR422() const
returns flag indicating whether a compressed YBR color stream should be marked as YBR_FULL or YBR_FUL...
Definition: djcparam.h:171
virtual OFCondition getResponsibleOrganization(OFString &value, const signed long pos=0) const
get ResponsibleOrganization (0010,2299)
OFBool m_datasetConversionMode
Dataset conversion mode (default: disabled)
Definition: scu.h:1066
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
virtual ~DRTShieldingDeviceSequence()
destructor
Item & getCurrentItem()
get current item in the sequence
OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
OFLIST_TYPENAME OFListIterator(DcmKeyValuePair< T > *) begin()
return iterator to first element in list
Definition: dcmsmap.h:177
offile_off_t offset_
offset within stream for initial position
Definition: dcfcache.h:105
OFBool ExtensibleMode
mode indicating whether template is extensible (default: false)
Definition: dsrctpl.h:222
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setClinicalTrialSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesDescription (0012,0072)
DcmUIDHandler & operator=(const OFString &arg)
assign from OFString
virtual OFCondition getDerivationDescription(OFString &value, const signed long pos=0) const
Get Derivation Description.
OFBool ownsText
Does theCondition.theText point to our own heap string which must be freed?
Definition: ofcond.h:355
Definition: socketap.h:133
OFCondition getWedgeType(OFString &value, const signed long pos=0) const
get WedgeType (300a,00d3)
~DcmRoleSelectionItem()
destructor
virtual ~DRTPatientSpeciesCodeSequence()
destructor
DRTStrainStockSequence StrainStockSequence
StrainStockSequence (0010,0216) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2934
virtual OFCondition read(DcmItem &item)
Read functional group from given item, i.e. read Parametric Map Frame Type Sequence.
E_DocumentType DocumentType
document type of the associated SR document
Definition: dsrdoctr.h:256
DRTBreedRegistrationSequence BreedRegistrationSequence
BreedRegistrationSequence (0010,2294) vr=SQ, vm=1, type=2C.
Definition: drtstrct.h:2769
OFBool opt_failInvalidQuery
indicates if find shall fail on an invalid query or not
Definition: wlcefs.h:72
OFBool isEmpty() const
check whether list of references is empty
virtual SOPInstanceReferenceMacro & getReferencedPPS()
Reference to the Performed Procedure Step that led to the creation of this segmentation object.
virtual void clear()
clear all internal member variables
a Grayscale Softcopy Presentation State.
Definition: dcmpstat.h:55
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
special write method for creation of digital signatures
DVPSCurve * clone()
clone method.
Definition: dvpscu.h:51
void parseNonJobOptions()
Checks for non-job commandline options like –debug etc.
SiMD5(SiMD5 &arg)
private undefined copy constructor
virtual ~DRTSourceSequence()
destructor
OFCondition gotoNextItem()
goto next item in the sequence
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtbrcss.h:343
void clear()
clear all internal member variables
OFCondition setPatientSupportRotationDirection(const OFString &value, const OFBool check=OFTrue)
set PatientSupportRotationDirection (300a,0123)
void deleteAttribute(int i=0)
Delete the ith attribute of the current XMLNode.
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
size_t getNumberOfItems() const
get number of items in the sequence
DcmOtherByteOtherWord BluePaletteColorLookupTableData
BluePaletteColorLookupTableData (0028,1203) vr=OW, vm=1, type=1C.
Definition: drtimage.h:5170
Uint32 getNumberOfReports()
returns the number of SR "templates" in the configuration file.
int readLong(Sint32 &result)
Read 4 bytes from the byte stream and interpret it as a signed integer.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFString xferSyntaxGroup_
key of the transfer syntax group
Definition: dccfpcmp.h:100
virtual OFCondition getNumberOfFrames(Sint32 &value, const unsigned int pos=0)
Get Number of Frames.
CodeSequenceMacro m_PurposeOfReferenceCode
Describes purpose of reference (single item of Purpose of Reference Code Sequence)
Definition: fgderimg.h:113
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item class.
Definition: drtrmss6.h:36
OFBool isEmpty()
check if item is empty
DicomImage * createRotatedImage(signed int degree) const
create a rotated copy of the current image.
OFString & operator+=(const OFString &rhs)
Appends the input string to the current string.
Class for content item SCOORD.
Definition: dsrscotn.h:42
OFCondition setChannelShieldNominalThickness(const OFString &value, const OFBool check=OFTrue)
set ChannelShieldNominalThickness (300a,02b8)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmLongString DeidentificationMethod
DeidentificationMethod (0012,0063) vr=LO, vm=1-n, type=1C.
Definition: drtimage.h:4845
virtual void supportedSOPClassUIDs(OFList< OFString > &suppSOPs)=0
Virtual function that returns the Storage SOP class UID, the plugin writes.
@ EVR_OverlayData
used internally for overlay data
Definition: dcvr.h:270
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrsis.h:366
const Item & getCurrentItem() const
get current item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
double getAnchorPoint_x()
gets the anchor point x value.
OFCondition setWedgeNumber(const OFString &value, const OFBool check=OFTrue)
set WedgeNumber (300a,00d2)
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format to a stream
static size_t stringToNumber(const char *stringValue)
convert string to unsigned integer number
DPMParametricMapBase()
Constructor; not public since object should be create via factory method in derived class.
static Uint16 readUint16(const Uint8 *data)
reads two bytes from the given array of little endian 16-bit values and returns the value as Uint16 i...
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableOtherLongVRGeneration
Global flag to enable/disable the generation of VR=OL, which has been introduced after the first edit...
OFConsoleApplication(const char *app, const char *desc=NULL, const char *rcsid=NULL)
constructor
OFCondition write(DcmItem &dataset) const
write list of referenced segment numbers
DcmIntegerString NumberOfWedges
NumberOfWedges (300a,00d0) vr=IS, vm=1, type=1.
Definition: drttsibs.h:1016
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrmss6.h:379
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setUniversalEntityID(const OFString &value, const OFBool check=OFTrue)
set UniversalEntityID (0040,0032)
@ IE_IMAGE
Image Entity.
Definition: iodtypes.h:100
static const size_t XF_templateElementEnclosesItems
read/write: template identification element encloses content items
Definition: dsrtypes.h:394
OFCondition addTrustedCertificateDir(const char *pathName, int fileType)
loads all files as certificates from the specified directory and adds them to the pool of trusted cer...
DRTSeriesDescriptionCodeSequence SeriesDescriptionCodeSequence
SeriesDescriptionCodeSequence (0008,103f) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4992
OFBool usesLayerName(const char *name)
checks if the given layer name is used for any of the graphic annotation layers managed by this objec...
@ ESP_Default
default shape (not explicitly set)
Definition: diutils.h:288
@ YBR_ICT_CRComponent
(110845,DCM,"YBR ICT CR Component"), included from CID 7180
Definition: cid7469.h:226
DcmIntegerString NumberOfCompensators
NumberOfCompensators (300a,00e0) vr=IS, vm=1, type=1.
Definition: drttsibs.h:1006
OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
OFCondition write(DcmItem &item)
write elements to sequence item
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtadcs.h:324
const char * getResolutionID()
gets the (optional) requestes resolution ID
void hide()
make overlay plane invisible
Definition: diovpln.h:208
@ DcmLargestDimensionType_luminance
determine dimension by transforming into luminance before comparison
Definition: diqttype.h:61
a class implementing the hash function SHA1
Definition: sisha1.h:41
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtecs.h:334
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
DcmLongString PositionReferenceIndicator
PositionReferenceIndicator (0020,1040) vr=LO, vm=1, type=2.
Definition: drtionpl.h:3133
virtual OFCondition setPerformedProcedureStepEndDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndDate (0040,0250)
virtual void resetRules()
Resets rules to their original values.
DSRTreeNodeCursor(T *node, const DSRPositionCounter *position=NULL)
constructor.
Definition: dsrtncsr.h:343
DRTRequestedProcedureCodeSequence RequestedProcedureCodeSequence
RequestedProcedureCodeSequence (0032,1064) vr=SQ, vm=1, type=3.
Definition: drtras.h:277
virtual OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
const DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence() const
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtdose.h:2362
virtual OFCondition getSeriesDescription(OFString &value, const signed long pos=0) const
get SeriesDescription (0008,103e)
static OFCondition copyElementToDataset(OFCondition &result, DcmItem &dataset, const DcmElement &delem, const OFString &vm, const OFString &type, const char *moduleName=NULL)
Copy given element to the dataset The element is only added if 'result' is EC_Normal.
const Item & getCurrentItem() const
get current item in the sequence
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition gotoNextItem()
goto next item in the sequence
Interface class for ReferencedDoseReferenceSequence (300c,0050) in RTFractionSchemeModule.
Definition: drtrdrs8.h:28
virtual void releaseBuffer()
releases the current buffer.
DcmDirectoryRecord * buildFiducialRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update fiducial record and copy required values from dataset
const Item & getItem(const size_t num) const
get particular item in the sequence
const DRTReferencedDoseReferenceSequenceInRTBeamsModule & getReferencedDoseReferenceSequence() const
get ReferencedDoseReferenceSequence (300c,0050)
Definition: drtbs.h:492
DcmLongString DeidentificationMethod
DeidentificationMethod (0012,0063) vr=LO, vm=1-n, type=1C.
Definition: drttreat.h:2705
OFCondition setColumns(const Uint16 value, const OFBool checkValue=OFTrue)
Set Columns.
Definition: modimagepixelvariant.h:231
void clear()
clear all internal member variables
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
virtual ~DcmQuantPixel()
destructor
Definition: diqtpix.h:61
DRTIonWedgeSequence(const DRTIonWedgeSequence ©)
copy constructor
OFCondition getNumberOfControlPoints(OFString &value, const signed long pos=0) const
get NumberOfControlPoints (300a,0110)
DcmLongString GantryID
GantryID (0018,1008) vr=LO, vm=1, type=3.
Definition: drtdose.h:4350
static const int max_digits10
The number of base-10 digits that are necessary to uniquely represent all distinct values of the type...
Definition: oflimits.h:526
Item & operator[](const size_t num)
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
Class representing the Series and Instance Reference Macro.
Definition: iodmacro.h:403
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item class.
Definition: drtbrcss.h:37
virtual OFCondition createUint32Array(const Uint32 numDoubleWords, Uint32 *&doubleWords)
create an empty Uint32 array of given number of double-words and set it.
static Uint16 getMACIDnumber(DcmItem &item)
searches a given item for the DCM_MACIDnumber element and returns its value if present,...
OFCondition setLUTData(const Uint16 *value, const unsigned long count)
set LUTData (0028,3006)
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition setBlockDivergence(const OFString &value, const OFBool check=OFTrue)
set BlockDivergence (300a,00fa)
virtual OFCondition getPatientSize(OFString &value, const signed long pos=0) const
get PatientSize (0010,1020)
DcmCodeString BurnedInAnnotation
BurnedInAnnotation (0028,0301) vr=CS, vm=1, type=3.
Definition: drtdose.h:4392
void deleteAttribute(XMLCSTR lpszName)
Delete the attribute with the given name (the "strcmp" function is used to find the right attribute)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition gotoFirstItem()
goto first item in the sequence
@ EXS_JPEGProcess16_18
JPEG Extended Sequential, Hierarchical (lossy, 8/12 bit)
Definition: dcxfer.h:67
WlmActivityManager(const WlmActivityManager &Src)
Protected undefined copy-constructor.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getExternalContourEntryPoint(Float32 &value, const unsigned long pos=0) const
get ExternalContourEntryPoint (300a,0133)
Item class.
Definition: drtrrtps.h:37
Item & operator=(const Item ©)
assigment operator
DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence()
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtionpl.h:1847
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtsptcs.h:331
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
int suspension
position of last suspend
Definition: djdijg8.h:115
virtual SOPInstanceReferenceMacro & getReferencedPPS()
Get Referenced Performed Procedure Step.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbrcss.h:533
virtual OFCondition getStructureSetDescription(OFString &value, const signed long pos=0) const
get StructureSetDescription (3006,0006)
DcmShortString Occupation
Occupation (0010,2180) vr=SH, vm=1, type=3.
Definition: drtionpl.h:3049
virtual OFCondition getPerformedProcedureStepDescription(OFString &value, const signed long pos=0) const
get PerformedProcedureStepDescription (0040,0254)
OFBool isEmpty()
check if item is empty
virtual ~DiOverlayImage()
destructor
OFFile bmpFile
The BMP file, if opened.
Definition: i2dbmps.h:224
@ IntraperitonealRoute
(38239002,SCT,"Intraperitoneal route")
Definition: cid11.h:54
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
void setOverlayGroup(Uint8 newGroup)
sets the group number for the overlay repeating group managed by this object.
Definition: dvpsov.h:89
SiCertificate(SiCertificate &arg)
private undefined copy constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrbos6.h:315
DVPSDisplayedArea_PList & operator=(const DVPSDisplayedArea_PList &)
private undefined assignment operator
E_ParseStatus parseLine(int argCount, wchar_t *argValue[], const int flags=0, const int startPos=1)
parses specified command line arguments (argc, argv).
OFList< StudyStruct * > StudyList
list of studies
Definition: dsrsoprf.h:624
OFCondition gotoNextItem()
goto next item in the sequence
OFpath(const OFpath &rhs)
Copy construct a path.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition getClinicalTrialSeriesDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesDescription (0012,0072)
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtadcs.h:345
DRTProcedureCodeSequence ProcedureCodeSequence
ProcedureCodeSequence (0008,1032) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4208
static OFvariant< OFCondition, DPMParametricMapIOD > create(const OFString &modality, const OFString &seriesNumber, const OFString &instanceNumber, const Uint16 rows, const Uint16 columns, const IODEnhGeneralEquipmentModule::EquipmentInfo &equipmentInfo, const ContentIdentificationMacro &contentIdentification, const OFString &imageFlavor, const OFString &derivedPixelContrast, const DPMTypes::ContentQualification &contentQualification)
Create new Parametric Map object.
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition checkSOPInstanceUID(const OFString &sopInstanceUID) const
check the specified SOP instance UID for validity.
OFCondition createMeasurementGroup()
create the mandatory root content item of this template, i.e. TID 1501 - Row 1.
void clear()
clear all internal member variables
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition setBeamDoseMeaning(const OFString &value, const OFBool check=OFTrue)
set BeamDoseMeaning (300a,008b)
@ MicromolePerMilliliter
(umol/ml,UCUM,"Micromole/milliliter"), included from CID 84
Definition: cid7181.h:116
OFCondition getPrivateDataElement(Uint16 &value, const unsigned long pos=0) const
get PrivateDataElement (0008,0308)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition read(DcmItem &dset)
reads a softcopy VOI LUT item from a DICOM dataset.
static OFCondition getStringFromNameComponents(const OFString &lastName, const OFString &firstName, const OFString &middleName, const OFString &namePrefix, const OFString &nameSuffix, OFString &dicomName)
get DICOM Person Name (PN) from specified name components.
OFCondition setLUTExplanation(const OFString &value, const OFBool check=OFTrue)
set LUTExplanation (0028,3003)
OFCondition setModulatedScanModeType(const OFString &value, const OFBool check=OFTrue)
set ModulatedScanModeType (300a,0309)
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrsis.h:183
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setSOPInstanceUID(const char *value)
sets the SOP instance UID.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
virtual OFCondition renderHTML(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item in HTML/XHTML format.
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtsdcs.h:331
static OFCondition parseTransferSyntaxes(DcmAssociationConfiguration &cfg, OFConfigFile &config)
parses the transfer syntax lists in the config file.
an item of the referenced image sequence in a presentation state (internal use only).
Definition: dvpsri.h:38
void createDisplayLUT(const DiDisplayLUT *&dlut, DiDisplayFunction *disp, const int bits)
create a display LUT with the specified number of input bits
Definition: dimoopxt.h:273
void clear()
clear all internal member variables
virtual OFCondition getAllergies(OFString &value, const signed long pos=0) const
get Allergies (0010,2110)
virtual OFCondition getPatientAge(OFString &value, const signed long pos=0) const
get PatientAge (0010,1010)
OFBool checkExistsWithIntegerValue(DcmItem *dataset, const DcmTagKey &key, const long value, const OFFilename &filename=OFFilename(), const OFBool reject=OFTrue)
check whether given tag exists in the DICOM dataset and has the expected integer value
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Default storage traits of OFoptional<T>.
Definition: ofoption.h:126
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
void disableImageAndPState()
disables internal settings for image and presentation state.
OFBool isDisplayTransformPossible(DVPSDisplayTransform transform=DVPSD_GSDF)
checks whether display correction is possible (in principle), i.e.
virtual OFCondition setSOPInstanceUIDOfConcatenationSource(const OFString &value, const OFBool checkValue=OFTrue)
Set SOP Instance UID of Concatenation Source.
virtual DcmObject * clone() const
clone method
Definition: dcvrov.h:71
iterator end()
returns iterator pointer after the last element of this map
Definition: ofmap.h:114
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getImagePositionPatient(Float64 &value, const unsigned long pos=0) const
get ImagePositionPatient (0020,0032)
DcmUnsignedShort Columns
Columns (0028,0011) vr=US, vm=1, type=1.
Definition: drtiis.h:413
DVPSVOILUT(const DVPSVOILUT ©)
copy constructor
DVPSDisplayTransform displayTransform
flag indicating the currently selected display transform DVPSD_none if switched off
Definition: dvpstat.h:1294
STD_NAMESPACE ostream & operator<<(STD_NAMESPACE ostream &out, const OFpath &rhs)
Print a path to an output stream.
@ ProtonDensityWeightedMRSignalIntensity
(110803,DCM,"Proton Density Weighted MR Signal Intensity"), included from CID 7180
Definition: cid7469.h:94
virtual ~DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModule()
destructor
DcmCodeString DeidentificationAction
DeidentificationAction (0008,0307) vr=CS, vm=1, type=1.
Definition: drtdias.h:130
DRTMACParametersSequence & getMACParametersSequence()
get MACParametersSequence (4ffe,0001)
Definition: drtimage.h:2698
Interface class for AssigningAgencyOrDepartmentCodeSequence (0040,003a)
Definition: drtaadcs.h:29
virtual OFCondition setStudyID(const OFString &value, const OFBool check=OFTrue)
set StudyID (0020,0010)
virtual void clear()
clear all internal member variables
DcmQueryRetrieveConfigPeer * Peers
array of peer entries describing remote SCP peers
Definition: dcmqrcnf.h:156
OFCondition getReferencedReferenceImageNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedReferenceImageNumber (300c,0007)
OFCondition convertString(const char *fromString, const size_t fromLength, OFString &toString, const OFBool clearMode=OFTrue)
convert the given string between the selected character encodings.
DSRXMLCursor()
default constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
unsigned long corruptSignaturesPState
number of corrupt signatures in current PState
Definition: dvsighdl.h:212
DVPSTextObject_PList textObjectList
TextObjectSequence, Type 1c.
Definition: dvpsga.h:180
DcmList & operator=(const DcmList &)
private undefined copy constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
T_DIMSE_BlockingMode getDIMSEBlockingMode() const
Returns whether receiving of DIMSE messages is done in blocking or unblocking mode.
STD_NAMESPACE ostream & getCout()
returns a reference to the current cout stream.
Definition: ofconsol.h:106
virtual ~DSRCodedEntryValue()
destructor
OFCondition getModifyingSystem(OFString &value, const signed long pos=0) const
get ModifyingSystem (0400,0563)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setReferencedFrameNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFrameNumber (0008,1160)
Definition: lokuptbl.h:12
DcmRepresentationList repList
List of representations of pixel data.
Definition: dcpixel.h:152
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getROIPhysicalPropertyValue(Float64 &value, const unsigned long pos=0) const
get ROIPhysicalPropertyValue (3006,00b4)
virtual OFBool canWriteXfer(const E_TransferSyntax newXfer, const E_TransferSyntax oldXfer)=0
check if this DICOM object can be encoded in the given transfer syntax.
@ DfCD45_89Zr
(126520,DCM,"Df-CD45 ^89^Zr")
Definition: cid4021.h:108
OFListIterator(Item *) CurrentItem
currently selected item
virtual ~DRTBeamDoseVerificationControlPointSequence()
destructor
DRTRequestAttributesSequence & getRequestAttributesSequence()
get RequestAttributesSequence (0040,0275)
Definition: drtimage.h:3010
virtual OFCondition setVOILUTFunction(const OFString &value, const OFBool check=OFTrue)
set VOILUTFunction (0028,1056)
const char * getCheckToolName()
returns the filename (path) of the application used for dumping DICOM objects, as configured in secti...
DcmPersonName ResponsiblePerson
ResponsiblePerson (0010,2297) vr=PN, vm=1, type=2C.
Definition: drtiontr.h:2850
static OFCondition getOFTimeFromString(const OFString &dicomTime, OFTime &timeValue, const OFBool supportOldFormat)
get the specified DICOM time value in OFTime format.
OFCondition setBlockNumberOfPoints(const OFString &value, const OFBool check=OFTrue)
set BlockNumberOfPoints (300a,0104)
virtual OFCondition getRescaleIntercept(OFString &value, const signed long pos=0) const
get RescaleIntercept (0028,1052)
DCMTK_DCMNET_EXPORT OFCondition DIMSE_ignoreDataSet(T_ASC_Association *assoc, T_DIMSE_BlockingMode blocking, int timeout, DIC_UL *bytesRead, DIC_UL *pdvCount)
receive and discard one data set (of instance data) via network from another DICOM application.
DcmHashDict hashDict
dictionary of normal tags
Definition: dcdict.h:193
OFCondition setNumberOfLeafJawPairs(const OFString &value, const OFBool check=OFTrue)
set NumberOfLeafJawPairs (300a,00bc)
EP_Representation getRepresentation() const
get integer representation
Definition: dimopxt.h:129
void appendFilter(FilterPtr filter)
Appends filter to the end of this filter chain.
DcmLongString PatientSpeciesDescription
PatientSpeciesDescription (0010,2201) vr=LO, vm=1, type=1C.
Definition: drtstrct.h:2761
void * content() const
Required: content access, must return a pointer to the contained object.
OFCondition setShieldingDeviceType(const OFString &value, const OFBool check=OFTrue)
set ShieldingDeviceType (300a,01a2)
size_t getNumberOfItems() const
get number of items in the sequence
DRTOtherPatientIDsSequence & operator=(const DRTOtherPatientIDsSequence ©)
assigment operator
virtual const char * className() const
returns the class name as string.
virtual ~Item()
destructor
OFCondition setBeamNumber(const OFString &value, const OFBool check=OFTrue)
set BeamNumber (300a,00c0)
int PlanarConfiguration
planar configuration of the original pixel data (0 = color-by-pixel, 1 = color-by-plane)
Definition: dicopx.h:163
OFCondition setRepeatFractionCycleLength(const OFString &value, const OFBool check=OFTrue)
set RepeatFractionCycleLength (300a,007a)
T_DIMSE_BlockingMode blockMode_
blocking mode for DIMSE operations
Definition: dcmqropt.h:155
virtual OFCondition setNumericValue(const OFString &value, const OFBool checkValue=OFTrue)
Set NumericValue.
virtual int rotate(const int degree)
rotate current image (by steps of 90 degrees)
DcmElement * search(const DcmTagKey &tag, DcmObject *obj=NULL) const
search for given tag
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtspcs.h:356
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Item & operator[](const size_t num)
get particular item in the sequence
DRTDoseIOD(const DRTDoseIOD ©)
copy constructor
void select_section(const char *key1, const char *key2=NULL, const char *key3=NULL)
sets the cursor to a different section.
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence()
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtplan.h:1520
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
void clear()
clear all internal member variables
OFString opt_requestFileFormat
the format used for the request file names.
Definition: wlmactmg.h:93
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtmucs.h:205
OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
virtual OFCondition getLongitudinalTemporalEventType(OFString &value, const signed long pos=0) const
get LongitudinalTemporalEventType (0012,0053)
CID7452_OrganizationalRoles(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
SiAuthorizationProfile()
default constructor
Definition: siautopr.h:40
DcmFindSCU & operator=(const DcmFindSCU &other)
Private undefined assignment operator.
size_t getNumberOfItems() const
get number of items in the sequence
DRTReferencedInstanceSequence & getReferencedInstanceSequence()
get ReferencedInstanceSequence (0008,114a)
Definition: drtionpl.h:1715
virtual OFCondition getRescaleSlope(Float64 &value, const unsigned long pos=0)
Get Rescale Slope.
void setbuf(char *buf)
The three types of buffering available are unbuffered, block buffered, and line buffered.
Definition: offile.h:662
Item EmptyItem
empty default item
Definition: drtrbas8.h:358
virtual OFCondition setPatientAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientAlternativeCalendar (0010,0035)
DcmLongString(const DcmLongString &old)
copy constructor
static OFCondition convertToOctalStream(STD_NAMESPACE ostream &out, const OFString &sourceString, const size_t maxLength=0)
convert character string to an octal format stream.
@ OFdenorm_indeterminate
Support of subnormal values cannot be determined.
Definition: oflimits.h:114
DSRGraphicData3DList(const DSRGraphicData3DList &lst)
copy constructor
OFCondition setAlternateBeamDose(const OFString &value, const OFBool check=OFTrue)
set AlternateBeamDose (300a,0091)
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
OFCondition setUniversalEntityID(const OFString &value, const OFBool check=OFTrue)
set UniversalEntityID (0040,0032)
Item & getCurrentItem()
get current item in the sequence
const DRTProcedureCodeSequence & getProcedureCodeSequence() const
get ProcedureCodeSequence (0008,1032)
Definition: drtstrct.h:1548
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getRangeModulatorID(OFString &value, const signed long pos=0) const
get RangeModulatorID (300a,0346)
DRTShieldingDeviceSequence(const DRTShieldingDeviceSequence ©)
copy constructor
DcmDecimalString TargetPrescriptionDose
TargetPrescriptionDose (300a,0026) vr=DS, vm=1, type=3.
Definition: drtrdrs8.h:374
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmFileConsumer(FILE *file)
constructor
int wrlock()
gets a write lock.
OFCondition setMeasurementMethod(const T_Method &method, const OFBool check=OFTrue)
set the value of the 'Measurement Method' content item (TID 300 - Row 3).
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
void clear()
clear all internal member variables
DcmUnlimitedText LocalNamespaceEntityID
LocalNamespaceEntityID (0040,0031) vr=UT, vm=1, type=1C.
Definition: drtafs.h:144
OFCondition setTemporalRangeType(const DSRTypes::E_TemporalRangeType temporalRangeType, const OFBool check=OFTrue)
set current temporal range type.
@ Sodium_Na22
(129517003,SCT,"Sodium Na^22^")
Definition: cid4021.h:274
Interface class for ReferencedReferenceImageSequence (300c,0042) in RTIonBeamsModule.
Definition: drtrris6.h:28
OFCondition getNumberOfWedges(OFString &value, const signed long pos=0) const
get NumberOfWedges (300a,00d0)
virtual OFCondition setStrainNomenclature(const OFString &value, const OFBool check=OFTrue)
set StrainNomenclature (0010,0213)
virtual OFBool operator==(const DcmRepresentationParameter &arg) const
compares an object to another DcmRepresentationParameter.
@ Sacrum
(54735007,SCT,"Sacrum")
Definition: cid4031.h:200
OFCondition setActiveSourceLength(const OFString &value, const OFBool check=OFTrue)
set ActiveSourceLength (300a,021a)
DRTLateralSpreadingDeviceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTOtherPatientIDsSequence OtherPatientIDsSequence
OtherPatientIDsSequence (0010,1002) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2820
IODComponent & operator=(const IODComponent &rhs)
Assignment operator, copies contained item and rule set from rhs to "this" attribute set.
virtual ~DcmRLERepresentationParameter()
destructor
OFCondition setValue(const DSRTemporalCoordinatesValue &coordinatesValue, const OFBool check=OFTrue)
set temporal coordinates value.
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition gotoNextItem()
goto next item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpbcs.h:533
DVPSFilmSession(Uint16 illumin, Uint16 reflection)
constructor
OFCondition gotoNextItem()
goto next item in the sequence
void clear()
clear all internal member variables
virtual OFCondition getReviewerName(OFString &value, const signed long pos=0) const
get ReviewerName (300e,0008)
unsigned long maximumPrintBitmapHeight
maximum height of print bitmap (used for implicit scaling)
Definition: dvpstat.h:1318
const char * getTargetPrinterResolutionID(const char *targetID, Uint32 idx, OFString &value)
returns one value from the RESOLUTIONID entry for the printer with the given target ID from the confi...
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CannotUseTemplateIdentification
error: template identification cannot be used, i.e. requirements are not fulfilled
DRTPatientBreedCodeSequence PatientBreedCodeSequence
PatientBreedCodeSequence (0010,2293) vr=SQ, vm=1, type=2C.
Definition: drttreat.h:2681
DRTDeviceSequence & getDeviceSequence()
get DeviceSequence (0050,0010)
Definition: drtimage.h:2530
DcmUnsignedShort m_FrameAcquisitonNumber
Frame Acquisition Number (US, VM 1, Required type 3)
Definition: fgfracon.h:342
virtual void clear()
clear all member variables.
OFVector< AlgorithmIdentificationMacro * > m_TrackingAlgorithmIdentification
Codes for algorithms used to create this Track Set.
Definition: trctrackset.h:467
@ _82_Rubidium
(79197006,SCT,"^82^Rubidium")
Definition: cid4020.h:100
OFBool isEmpty()
check if item is empty
OFCondition getDVHNumberOfBins(Sint32 &value, const unsigned long pos=0) const
get DVHNumberOfBins (3004,0056)
OFCondition handleCEcho(T_DIMSE_Message &rq, T_ASC_PresentationContextID presID)
handles any incoming C-ECHO-RQ message and sends back C-ECHO-RSP.
virtual OFCondition readPatientData(DcmItem &dataset, const size_t flags=0)
read patient data from DICOM dataset.
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmCodeString ContentQualification
ContentQualification (0018,9004) vr=CS, vm=1, type=3.
Definition: drttreat.h:3022
DRTRTReferencedSeriesSequence & getRTReferencedSeriesSequence()
get RTReferencedSeriesSequence (3006,0014)
Definition: drtrsts.h:114
void clear()
clear all internal member variables
virtual ConcatenationInfo & getConcatenationInfo()
Get Concatenation Information.
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
DcmUnsignedShort PregnancyStatus
PregnancyStatus (0010,21c0) vr=US, vm=1, type=3.
Definition: drttreat.h:2802
ReferencedSeriesItem(IODComponent *parent=NULL)
Constructor.
virtual DcmObject * setNextRecord(DcmObject *record)
set stored object reference
DSRDocumentTreeNodeConceptNameFilter(const DSRCodedEntryValue &conceptName)
constructor
DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence()
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtiontr.h:1287
OFCondition refuseAssociation(OFBool isBadContext)
sends A-ASSOCIATION-RQ as the result of an unsuccesful association negotiation.
OFString displayCurrentLUTID
config file identifier of LUT currently selected as Display Presentation LUT
Definition: dviface.h:1783
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtscs.h:331
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtibls.h:542
virtual OFCondition getClinicalTrialProtocolID(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolID (0012,0020)
void notifyThreadExit(DcmBaseSCPWorker *thread, OFCondition result)
Used by thread to tell pool it has terminated.
virtual ~DJEncoderBaseline()
destructor
@ MeasurementFailure
(114006,DCM,"Measurement failure")
Definition: cid42.h:56
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtgmcs.h:351
virtual OFCondition generateSTORERequestFilename(const T_DIMSE_C_StoreRQ &reqMessage, OFString &filename)
generate a directory and file name for a DICOM dataset that will be received.
static OFCondition getFloat64ValuesFromItem(const DcmTagKey &key, DcmItem &item, OFVector< Float64 > &result)
Get Float64 values from item.
static size_t countCharactersInUTF8String(const OFString &utf8String)
count characters in given UTF-8 string and return the resulting number of so-called "code points".
OFString value_
configuration value
Definition: ofconfig.h:178
Definition: syncimpl.h:162
Item & getCurrentItem()
get current item in the sequence
DcmLongString SourceOfPreviousValues
SourceOfPreviousValues (0400,0564) vr=LO, vm=1, type=2.
Definition: drtoas.h:181
DcmDecimalString TableTopLateralPosition
TableTopLateralPosition (300a,012a) vr=DS, vm=1, type=2C.
Definition: drtcps.h:697
virtual OFCondition getEndCumulativeMetersetWeight(OFString &value, const signed long pos=0) const
get EndCumulativeMetersetWeight (300c,0009)
Base class representing a statistic within the "Tractography Results" IOD.
Definition: trcstatistic.h:44
EnumType
types of response criteria
Definition: cid6147.h:42
DRTGeneticModificationsSequence(const DRTGeneticModificationsSequence ©)
copy constructor
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtbas.h:327
virtual OFCondition getPatientComments(OFString &value, const signed long pos=0) const
get PatientComments (0010,4000)
const OFString & getAETitle() const
Returns the SCU's own configured AE title.
OFCondition putAndInsertFloat64Array(const DcmTag &tag, const Float64 *value, const unsigned long count, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
@ TransluminalRoute
(C38306,NCIt,"Transluminal route")
Definition: cid11.h:68
size_t getNumberOfItems() const
get number of items in the sequence
const Item & getCurrentItem() const
get current item in the sequence
DcmShortString RTPlanLabel
RTPlanLabel (300a,0002) vr=SH, vm=1, type=1.
Definition: drtplan.h:3252
Base class for implementing DICOM Service Class User functionality.
Definition: scu.h:193
DRTSourcePatientGroupIdentificationSequence & operator=(const DRTSourcePatientGroupIdentificationSequence ©)
assigment operator
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition getRTImagePosition(OFString &value, const signed long pos=0) const
get RTImagePosition (3002,0012)
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
OFCondition encodeElement(DcmElement *element, SiMAC &mac, E_TransferSyntax oxfer)
feeds a DcmElement into the MAC data stream if is signable.
void clear()
clear all internal member variables
OFCondition getGantryPitchAngle(Float32 &value, const unsigned long pos=0) const
get GantryPitchAngle (300a,014a)
static const char * continuityOfContentToEnumeratedValue(const E_ContinuityOfContent continuityOfContent)
convert continuity of content flag to DICOM enumerated value
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtwrs.h:292
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmUnlimitedCharacters StrainDescription
StrainDescription (0010,0212) vr=UC, vm=1, type=3.
Definition: drtimage.h:4825
int removePlane(const unsigned int group)
remove specified plane from list of additional overlay planes
@ OFround_to_nearest
Rounding toward nearest representable value.
Definition: oflimits.h:101
virtual OFCondition getRTPlanGeometry(OFString &value, const signed long pos=0) const
get RTPlanGeometry (300a,000c)
@ GT3_Ellipse
DICOM Graphic Type: ELLIPSE.
Definition: dsrtypes.h:695
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTIonWedgePositionSequence(const DRTIonWedgePositionSequence ©)
copy constructor
void filmSessionNSet(T_DIMSE_Message &rq, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset)
implements the N-SET operation for the Basic Film Session SOP Class.
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTIonBeamLimitingDeviceSequence IonBeamLimitingDeviceSequence
IonBeamLimitingDeviceSequence (300a,03a4) vr=SQ, vm=1, type=3.
Definition: drtibs.h:987
Interface class for BeamLimitingDeviceSequence (300a,00b6) in RTBeamsModule.
Definition: drtblds1.h:28
virtual OFCondition setMedicalAlerts(const OFString &value, const OFBool check=OFTrue)
set MedicalAlerts (0010,2000)
OFBool operator!=(const OFCharacterEncoding &rhs) const
check whether two OFCharacterEncoding instances do not refer to the same encoder.
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
void setFilenameGenerationMode(const E_FilenameGenerationMode mode)
set the mode for generating filenames for the received datasets.
OFBool isEmpty()
check if item is empty
OFCondition getContributionDescription(OFString &value, const signed long pos=0) const
get ContributionDescription (0018,a003)
OFCondition instanceReviewed(int pos)
modifies the review flag for one instance in the database (see method with three UID parameters)
DcmLongString PatientID
Patient ID: (LO, 1, 2)
Definition: dsrdoc.h:1356
void * current() const
Returns pointer to current element in list.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Implement this interface to create new instances of Logger or a sub-class of Logger.
Definition: logfact.h:47
virtual OFCondition getOFStringArray(OFString &stringVal, OFBool normalize=OFTrue)
get the string value (all components)
virtual DcmItem * getItem(const unsigned long)
method inherited from base class that is useless in this class
Definition: dcpixseq.h:284
@ SignalChange
(113059,DCM,"Signal change"), included from CID 7180
Definition: cid7469.h:340
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item EmptyItem
empty default item
Definition: drtblds6.h:403
virtual ~DRTSetupDeviceSequence()
destructor
DcmOtherByteOtherWord RedPaletteColorLookupTableData
RedPaletteColorLookupTableData (0028,1201) vr=OW, vm=1, type=1C.
Definition: drtiis.h:435
DcmIntegerString ApplicationSetupNumber
ApplicationSetupNumber (300a,0234) vr=IS, vm=1, type=1.
Definition: drtass.h:280
virtual ~IODSeriesAndInstanceReferenceMacro()
Virtual Destructor.
OFCondition checkPurposeOfReference(const DSRCodedEntryValue &purposeOfReference) const
check the specified purpose of reference code for validity.
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
DcmDecimalString CumulativeDoseReferenceCoefficient
CumulativeDoseReferenceCoefficient (300a,010c) vr=DS, vm=1, type=2.
Definition: drtrdrs6.h:144
@ EWT_window_histogram
compute VOI window using Histogram algorithm, ignoring n percent
Definition: diutils.h:340
OFerror_code()
Default constructor.
virtual OFCondition renderHTML(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t flags=0)
render current SR document tree in HTML/XHTML format.
OFCondition setUniversalEntityIDType(const OFString &value, const OFBool check=OFTrue)
set UniversalEntityIDType (0040,0033)
Item(const Item ©)
copy constructor
DVPSOverlay & operator=(const DVPSOverlay &)
private undefined assignment operator
~MdfDatasetManager()
Destructor.
const OFString getSOPClassName(const OFString &defaultName="unknown SOP Class UID") const
get name associated with the SOP class UID (if any)
virtual OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
get StudyInstanceUID (0020,000d)
OFCondition setDisplayedAreaPixelSpacing(const char *spacing)
sets the displayed area pixel spacing and removes any pixel aspect ratio setting.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTStrainCodeSequence StrainCodeSequence
StrainCodeSequence (0010,0219) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4829
Definition: appender.h:72
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFBool ReleaseReadlock()
This function releases a read lock on the LOCKFILE in the given directory.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtics.h:353
virtual OFBool isFlushed() const
returns true if the stream is flushed, i.e.
const Item & getCurrentItem() const
get current item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
DcmTime InstanceCreationTime
InstanceCreationTime (0008,0013) vr=TM, vm=1, type=3.
Definition: drttreat.h:2975
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
DcmIntegerString BlockNumber
BlockNumber (300a,00fc) vr=IS, vm=1, type=1.
Definition: drtbl5.h:335
DcmLongString PatientState
PatientState (0038,0500) vr=LO, vm=1, type=3.
Definition: drtimage.h:4946
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
@ TCS_tlsError
operation failed due to an error within the TLS protocol layer
Definition: dcmlayer.h:58
DcmSignedShort RadiationChargeState
RadiationChargeState (300a,0306) vr=SS, vm=1, type=1C.
Definition: drttsibs.h:1026
OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual ~Item()
destructor
virtual OFString getName() const
Get name of module.
virtual OFCondition getPatientBodyMassIndex(Float64 &value, const unsigned long pos=0) const
get PatientBodyMassIndex (0010,1022)
const DRTUDISequence & getUDISequence() const
get UDISequence (0018,100a)
Definition: drtdose.h:2674
OFCondition setGraphicLayerDescription(size_t idx, const char *descr)
sets a new description to the given graphic layer.
virtual ~DcmAttributeTag()
destructor
OFBool locked
did we successfully lock the lock?
Definition: ofthread.h:552
unsigned long numOfItems
number of items within this sequence element
Definition: wltypdef.h:122
@ ComputedRadiography
(CR,DCM,"Computed Radiography")
Definition: cid29.h:52
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
static OFCondition deregisterCodec(const DcmCodec *aCodec)
deregisters a codec and it's parameter objects from the global list.
const OFerror_category & category() const
Obtains the category linked to this error code.
DSRSpatialCoordinates3DValue(const DSRSpatialCoordinates3DValue &coordinatesValue)
copy constructor
Item(const Item ©)
copy constructor
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setTableTopRollRotationDirection(const OFString &value, const OFBool check=OFTrue)
set TableTopRollRotationDirection (300a,0146)
virtual void SetDbUserName(const OFString &)
Set value in a member variable in a derived class.
Definition: wlds.h:436
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFCondition setRQ(const char *sopclassUID, const char *sopinstanceUID, DcmDataset *modificationList, Uint16 &status, DcmDataset *&attributeListOut)
sends an N-SET-RQ message and receives response.
OFCondition addTransferSyntax(const char *key, const char *transferSyntaxUID)
adds the given transfer syntax UID to the list of transfer syntaxes maintained under the given key.
virtual OFCondition loadFile(const OFFilename &fileName, const E_TransferSyntax readXfer=EXS_Unknown, const E_GrpLenEncoding groupLength=EGL_noChange, const Uint32 maxReadLength=DCM_MaxReadLength)
load object from a DICOM file.
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
DSRSOPInstanceReferenceList PredecessorDocuments
Author Observer Sequence: (SQ, 1-n, 3)
Definition: dsrdoc.h:1441
virtual ~DRTQuantityDefinitionSequence()
destructor
virtual OFCondition getResponsiblePerson(OFString &value, const signed long pos=0) const
get ResponsiblePerson (0010,2297)
virtual OFCondition setPatientSpeciesDescription(const OFString &value, const OFBool check=OFTrue)
set PatientSpeciesDescription (0010,2201)
virtual OFCondition read(DcmInputStream &inStream, const E_TransferSyntax ixfer, const E_GrpLenEncoding glenc, const Uint32 maxReadLength)
This function reads the data value of an attribute which is captured in the input stream and captures...
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getDateOfLastCalibration(OFString &value, const signed long pos=0) const
get DateOfLastCalibration (0018,1200)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFString & operator+=(char s)
constructs a temporary string from the input s and appends it to the current string.
OFBool isEmpty()
check if sequence is empty
Item & getItem(const size_t num)
get particular item in the sequence
void flush()
this method finalizes the compressed RLE stream, i.e.
Definition: dcrleenc.h:190
virtual ~OFTestTest()
Destructor.
Definition: oftest.h:87
OFCondition getReferencedCalculatedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedCalculatedDoseReferenceNumber (3008,0092)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
void updateSpecificCharacterSet(OFCondition &status, const DcmSpecificCharacterSet &converter)
update the SpecificCharacterSet (0008,0005) element depending on the given parameters.
CodeSequenceMacro m_Units
Single item from Unit Code Sequence.
Definition: trcstatistic.h:115
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtrics.h:340
DRTROIContourSequence ROIContourSequence
ROIContourSequence (3006,0039) vr=SQ, vm=1, type=1.
Definition: drtstrct.h:3036
const char * getText()
gets the unformatted text value for this text object.
OFBool isFilmBoxInstance(const char *c)
checks whether the given UID string matches the film box UID.
Definition: dvpssp.h:835
virtual OFCondition receiveMOVERequest(T_DIMSE_C_MoveRQ &reqMessage, const T_ASC_PresentationContextID presID, DcmDataset *&reqDataset, OFString &moveDest)
Receive C-MOVE request on the currently active association.
DicomDirImageImplementation()
constructor
virtual void clearData()
Clear (removes) all attributes handled by the modules of this component.
virtual void * getDataPtr()
get pointer to output pixel data
Definition: dicoopxt.h:143
OFBool checkExistsWithValue(DcmItem *dataset, const DcmTagKey &key, const OFFilename &filename=OFFilename())
check whether given tag exists with a value in the DICOM dataset
DcmSequenceOfItems MACParameters
MAC parameters sequence (VR=SQ, optional)
Definition: dsrdoctn.h:772
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
virtual OFCondition getLossyImageCompressionRatio(OFVector< Float64 > &value) const
get LossyImageCompressionRatio (0028,2112)
DVPSPresentationLUT_PList & operator=(const DVPSPresentationLUT_PList &)
private undefined assignment operator
OFCondition prepareBasicImageBox(size_t idx, DcmItem &dset)
writes the attributes managed by the referenced object that are part of a basic grayscale image box N...
DcmIntegerString ROIArea
ROIArea (60xx,1301) vr=IS, vm=1, type=3.
Definition: drtdose.h:4510
virtual DcmEVR ident() const
get element type identifier
OFCondition setRetrieveLocationUID(const OFString &value, const OFBool check=OFTrue)
set the retrieve location UID of the currently selected entry
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual FGBase * get(const Uint32 frameNo, const DcmFGTypes::E_FGType fgType, OFBool &isPerFrame)
Get specific functional group for a frame, no matter whether it is stored per frame or shared.
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format.
@ WoodU
([wood'U],UCUM,"Wood U"), included from CID 3502
Definition: cid7181.h:50
OFCondition getGantryPitchRotationDirection(OFString &value, const signed long pos=0) const
get GantryPitchRotationDirection (300a,014c)
DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence()
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtplan.h:1388
DVPSVOILUT & operator=(const DVPSVOILUT &)
private undefined assignment operator
OFCondition terminateReceiver()
terminates the network receiver process (Storage Service Class SCP).
virtual Uint16 bytesPerSample() const
returns the number of bytes per sample that will be expected when encoding.
Definition: djeijg16.h:101
Item & getCurrentItem()
get current item in the sequence
Interface class for RecordedCompensatorSequence (3008,00c0)
Definition: drtrcos.h:28
virtual OFCondition setPixelIntensityRelationship(const OFString &value, const OFBool check=OFTrue)
set PixelIntensityRelationship (0028,1040)
@ RadiationPhysicist
(C2985483,UMLS,"Radiation Physicist")
Definition: cid7452.h:92
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtmacds.h:335
@ EVR_OL
other long
Definition: dcvr.h:168
DcmUnsignedShort RealWorldValueLastValueMapped
RealWorldValueLastValueMapped (0040,9211) vr=US/SS, vm=1, type=1C.
Definition: drtrwvms.h:274
OFCondition gotoNextItem()
goto next item in the sequence
DRTRangeModulatorSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getOrganAtRiskFullVolumeDose(OFString &value, const signed long pos=0) const
get OrganAtRiskFullVolumeDose (300a,002a)
virtual OFCondition setStrainDescription(const OFString &value, const OFBool check=OFTrue)
set StrainDescription (0010,0212)
void propagate(const DcmQuantPixel &px, const DcmQuantPixel &mapped, long col)
propagates the Floyd-Steinberg error terms for one pixel.
Definition: diqtfs.h:83
virtual ~OFerror_category()
Virtual destructor, does nothing.
Definition: oferror.h:91
~WlmConsoleEngineFileSystem()
destructor
void clear()
clear all internal member variables
int setNoDisplayFunction()
set no display function.
Definition: dcmimage.h:563
OFBool hasIndividualMeasurements(const OFBool checkChildren=OFFalse) const
check whether there is an included 'Measurement Group' template (TID 1500 - Row 9) in this measuremen...
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
const DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence() const
get RequestingServiceCodeSequence (0032,1034)
Definition: drtplan.h:1874
DiLookupTable * createDiLookupTable()
creates a DiLookupTable instance from the LUT table managed by this object.
T_ASC_SC_ROLE role_
SCP/SCU role.
Definition: dccfrsmp.h:97
double FrameTime
nominal time between individual frames (0 if absent)
Definition: diimage.h:627
static size_t searchDirectoryRecursively(const OFString &directory, OFList< OFString > &fileList, const OFString &pattern="", const OFString &dirPrefix="", const OFBool recurse=OFTrue)
scan a given directory (recursively) and add all filenames found to a list
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
int setPresentationLutShape(const ES_PresentationLut shape)
set shape for presentation transformation.
CodeList ExtendedCodes
extended coded entries (e.g. private or implementation-specific ones)
Definition: dsrctxgr.h:278
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition setOtherPatientNames(const OFString &value, const OFBool check=OFTrue)
set OtherPatientNames (0010,1001)
DVPSSoftcopyVOI(const DVPSSoftcopyVOI ©)
copy constructor
void bilinearPixel(const T *src[], T *dest[])
bilinear interpolation method (only for magnification)
Definition: discalet.h:931
const char * getVRName() const
returns name of VR
Definition: dctag.h:117
OFStack< T * > NodeCursorStack
stack of node pointers. Used to store the cursor position of upper levels.
Definition: dsrtncsr.h:313
DRTChannelShieldSequence & operator=(const DRTChannelShieldSequence ©)
assigment operator
DcmFloatingPointSingle ApplicatorOpeningY
ApplicatorOpeningY (300a,0435) vr=FL, vm=1, type=1C.
Definition: drtags.h:164
OFBool isEmpty()
check if sequence is empty
OFCondition getGreenPaletteColorLookupTableDescriptor(Uint16 &value, const unsigned long pos=0) const
get GreenPaletteColorLookupTableDescriptor (0028,1102)
Item class.
Definition: drtgas.h:36
OFBool getTargetPrinterSupports12BitTransmission(const char *targetID)
returns the SUPPORTS12BIT entry for the printer with the given target ID from the configuration file.
E_GraphicType
SR graphic types.
Definition: dsrtypes.h:659
DRTFixationDeviceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
const DRTSourceInstanceSequence & getSourceInstanceSequence() const
get SourceInstanceSequence (0042,0013)
Definition: drtstrct.h:1752
virtual OFBool readFromItem(DcmItem &item)
Initializes this reference from given item, i.e.
DSRMacularGridThicknessAndVolumeReportConstraintChecker()
default constructor
Item EmptyItem
empty default item
Definition: drtxrs.h:315
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
virtual ~Item()
destructor
DRTROIContourSequence & operator=(const DRTROIContourSequence ©)
assigment operator
OFCondition write(DcmItem &item)
write elements to sequence item
virtual DcmObject * clone() const =0
clone method
OFCondition getPrivateDataElementKeyword(OFString &value, const signed long pos=0) const
get PrivateDataElementKeyword (0008,030d)
DcmShortString AccessionNumber
AccessionNumber (0008,0050) vr=SH, vm=1, type=2.
Definition: drtimage.h:4893
virtual ~FGFrameVOILUT()
Virtual destructor.
virtual E_CompletionFlag getCompletionFlag() const
get document completion flag.
OFBool isEmpty()
check if item is empty
DcmDate PerformedProcedureStepStartDate
PerformedProcedureStepStartDate (0040,0244) vr=DA, vm=1, type=3.
Definition: drttreat.h:2864
int emptyOutputBuffer(jpeg_compress_struct *cinfo)
callback for IJG compress destination manager.
OFCondition getStandardDisplayedArea(Sint32 &tlhcX, Sint32 &tlhcY, Sint32 &brhcX, Sint32 &brhcY)
gets the displayed area top lefthand corner and bottom righthand corner for the current potentially r...
OFCondition savePState(const char *filename, OFBool replaceSOPInstanceUID, OFBool explicitVR=OFTrue)
saves the current presentation state in a file with the given path and filename.
const DcmHashDict * dict
pointer to the hash dictionary this iterator traverses
Definition: dchashdi.h:177
wint_t fgetwc()
reads a wide character from stream and returns it.
Definition: offile.h:984
log4cplus::tstring const & getName() const
Return the logger name.
Definition: logimpl.h:130
@ NasalBone
(74386004,SCT,"Nasal bone")
Definition: cid4031.h:164
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtsptcs.h:536
DcmShortString WedgeID
WedgeID (300a,00d4) vr=SH, vm=1, type=3.
Definition: drtiws.h:227
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
int placeOverlay(const unsigned int plane, const signed int left_pos, const signed int top_pos, const unsigned int idx=0)
move origin of specified overlay plane to given position
Definition: dcmimage.h:1170
Implementation of a PNG plugin for the dcmimgle/dcmimage library.
Definition: dipipng.h:86
E_FGUSFrameType
US Image Description Frame Type (first value)
Definition: fgtypes.h:188
DRTSegmentedPropertyCategoryCodeSequence SegmentedPropertyCategoryCodeSequence
SegmentedPropertyCategoryCodeSequence (0062,0003) vr=SQ, vm=1, type=3.
Definition: drtrros.h:303
OFBool isEmpty()
check if item is empty
size_t getNumberOfItems() const
get number of items stored in the list
OFCondition setMeasurementMethod(const T_Method &method, const OFBool check=OFTrue)
set the value of the 'Measurement Method' content item (TID 1501 - Row 5).
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
Item(const Item ©)
copy constructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item & getCurrentItem()
get current item in the sequence
OFBool isEmpty()
check if sequence is empty
const Item & getItem(const size_t num) const
get particular item in the sequence
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid7445.h:150
DRTBeamLimitingDeviceLeafPairsSequence & getBeamLimitingDeviceLeafPairsSequence()
get BeamLimitingDeviceLeafPairsSequence (3008,00a0)
Definition: drttsibs.h:526
DcmExtendedNegotiationMap extneg_
map of extended negotiation lists
Definition: dcasccfg.h:250
virtual ~DiHSVPixelTemplate()
destructor
Definition: dihsvpxt.h:66
~Image2Dcm()
Destructor, frees plugin memory.
virtual ~DcmOutputFilter()
destructor
Definition: dcostrma.h:95
DSRUIDRefTreeNode(const DSRUIDRefTreeNode &node)
copy constructor.
@ Ureter
(87953007,SCT,"Ureter")
Definition: cid4031.h:246
Item class.
Definition: drtdvhs.h:37
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtas7.h:340
DiMono2Image(const DiMonoImage *image, const int horz, const int vert)
constructor, flip
virtual OFBool isAffectedBySpecificCharacterSet() const
check if this element is affected by SpecificCharacterSet
virtual OFBool operator==(const DcmRepresentationParameter &arg) const
compares an object to another DcmRepresentationParameter.
size_t size_type
type that is used for lengths and offsets
Definition: ofstring.h:810
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
void clear()
clear all internal member variables
static size_t getCipherSuiteEffectiveKeySize(size_t idx)
returns the effective symmetric key size (i.e.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
Item class.
Definition: drtrfors.h:37
virtual OFCondition setCranialThermalIndex(const OFString &value, const OFBool checkValue=OFTrue)
Set Cranial Thermal Index.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool getVerbosePCMode() const
Returns the verbose presentation context mode configured specifying whether details on the presentati...
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format to a stream
virtual OFString getReadSeedFile() const
Get random seed file used for initializing Pseudo Random Number Generator (PRNG)
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmUnsignedShort BitsAllocated
BitsAllocated (0028,0100) vr=US, vm=1, type=1C.
Definition: drtdose.h:4544
OFCondition getUniversalEntityID(OFString &value, const signed long pos=0) const
get UniversalEntityID (0040,0032)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool getConvertToSC() const
returns secondary capture conversion flag
Definition: djcparam.h:114
a class representing a list of DICOM elements in which each element has a different tag and elements ...
Definition: dcitem.h:48
virtual OFCondition setConceptName(const DSRCodedEntryValue &conceptName, const OFBool check=OFTrue)
set the concept name.
virtual ~DRTReferencedRTPlanSequenceInRTGeneralPlanModule()
destructor
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
DRTInstitutionCodeSequence(const DRTInstitutionCodeSequence ©)
copy constructor
const Uint16 Dest_X
width of destination image
Definition: ditranst.h:127
Item(const Item ©)
copy constructor
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
Uint32 m_dimseTimeout
DIMSE timeout (default: unlimited)
Definition: scu.h:1044
virtual OFCondition setProtocolName(const OFString &value, const OFBool check=OFTrue)
set protocol name
size_t getNumberOfItems() const
get number of items in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
DcmLongString PatientState
PatientState (0038,0500) vr=LO, vm=1, type=3.
Definition: drtplan.h:3130
virtual OFCondition getImagesInAcquisition(Sint32 &value, const unsigned long pos=0) const
get ImagesInAcquisition (0020,1002)
virtual spi::LoggerFactory * getLoggerFactory()
Returns the default LoggerFactory instance.
OFCondition getNumberOfLateralSpreadingDevices(OFString &value, const signed long pos=0) const
get NumberOfLateralSpreadingDevices (300a,0330)
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
static OFBool supportsConversionFlags(const unsigned flags)
determine whether the underlying implementation supports the given conversion flags.
const Item & getCurrentItem() const
get current item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
OFBool isEmpty()
check if item is empty
DiColorOutputPixel * OutputData
points to current output data (object)
Definition: dicoimg.h:439
OFPair< K, V > OFMake_pair(const K &first, const V &second)
helper function to create a pair.
Definition: ofutil.h:368
const DSRCodedEntryValue & getCodeValue() const
get code value.
OFCondition read(DcmItem &item)
read elements from sequence item
const DRTPatientBreedCodeSequence & getPatientBreedCodeSequence() const
get PatientBreedCodeSequence (0010,2293)
Definition: drtstrct.h:1452
DcmUniqueIdentifier sOPInstanceUID
Module=Annotation_List, VR=UI, VM=1, Type 1(c)
Definition: dvpsab.h:115
OFBool isEmpty()
check if item is empty
virtual OFCondition getResponsibleOrganization(OFString &value, const signed long pos=0) const
get ResponsibleOrganization (0010,2299)
DcmStorageMode m_storageMode
Set whether bit preserving storage should be enabled, i.e. any objects retrieved via C-STORE should b...
Definition: scu.h:1060
DSRDateTimeTreeNode(const E_RelationshipType relationshipType, const OFString &dateTimeValue, const OFBool check=OFTrue)
constructor
OFBool isEmpty()
check if sequence is empty
DcmDate ReviewDate
ReviewDate (300e,0004) vr=DA, vm=1, type=2C.
Definition: drtstrct.h:3048
Item & operator=(const Item ©)
assigment operator
DcmCodeString QualityControlSubject
QualityControlSubject (0010,0200) vr=CS, vm=1, type=3.
Definition: drtdose.h:4098
OFCondition addPresentationLUTReference(DcmItem &dset)
writes a Referenced Presentation LUT SQ, Illumination and reflected ambient light to the given datase...
void presentationLUTNDelete(T_DIMSE_Message &rq, T_DIMSE_Message &rsp)
implements the N-DELETE operation for the Presentation LUT SOP Class.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const OFString & getSOPClassUID(OFString &stringValue) const
get the SOP class UID of the currently selected entry
static OFString & getValueFromXMLNodeContent(const DSRXMLDocument &doc, DSRXMLCursor cursor, OFString &nameValue)
get DICOM Person Name from XML elements.
Item class.
Definition: drtrrtps5.h:36
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setStrainNomenclature(const OFString &value, const OFBool check=OFTrue)
set StrainNomenclature (0010,0213)
virtual OFCondition getAuthorizationEquipmentCertificationNumber(OFString &value, const signed long pos=0) const
get AuthorizationEquipmentCertificationNumber (0100,0426)
DcmShortText ClinicalTrialTimePointDescription
ClinicalTrialTimePointDescription (0012,0051) vr=ST, vm=1, type=3.
Definition: drtiontr.h:2933
virtual OFCondition setImageType(const OFString &value, const OFBool checkValue=OFTrue)
Set Image Type.
void removeIncompleteItems()
remove empty/incomplete items from the list.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFCondition setLocalNamespaceEntityID(const OFString &value, const OFBool check=OFTrue)
set LocalNamespaceEntityID (0040,0031)
DcmFloatingPointDouble FrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix
FrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix (0070,030b) vr=FD,...
Definition: drtplan.h:3279
DcmLongString AdmittingDiagnosesDescription
AdmittingDiagnosesDescription (0008,1080) vr=LO, vm=1-n, type=3.
Definition: drtionpl.h:3019
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtscs.h:343
Item & operator[](const size_t num)
get particular item in the sequence
const DRTProcedureCodeSequence & getProcedureCodeSequence() const
get ProcedureCodeSequence (0008,1032)
Definition: drtimage.h:2872
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition setStationName(const OFString &value, const OFBool check=OFTrue)
set StationName (0008,1010)
DcmUnsignedShort RedPaletteColorLookupTableDescriptor
RedPaletteColorLookupTableDescriptor (0028,1101) vr=US/SS, vm=3, type=1C.
Definition: drtdose.h:4456
InternalLoggingEvent(const log4cplus::tstring &logger, LogLevel loglevel, const log4cplus::tstring &message, const char *filename, int line)
Instantiate a LoggingEvent from the supplied parameters.
virtual OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
virtual Uint8 * newValueField()
This function creates a byte array of Length bytes and returns this array.
type definitions and constants for the dcmwlm module
OFCondition setValue(const OFString &stringValue, const OFBool check=OFTrue)
set string value.
OFCondition getValue(DSRCompositeReferenceValue &referenceValue) const
get copy of composite reference value
Item(const Item ©)
copy constructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtqds.h:546
DRTApplicatorSequenceInRTIonBeamsModule & operator=(const DRTApplicatorSequenceInRTIonBeamsModule ©)
assigment operator
virtual ~DRTRTROIIdentificationCodeSequence()
destructor
DiImage * createFlip(const int horz, const int vert) const
create a flipped copy of the current image
virtual DcmEVR ident() const
get element type identifier
OFBool gotoFirstArg()
sets first command line argument as the current one.
virtual ~Item()
destructor
OFBool isEmpty()
check if sequence is empty
DcmPersonName OperatorsName
OperatorsName (0008,1070) vr=PN, vm=1-n, type=2.
Definition: drtionpl.h:3095
virtual ~DSRContentItem()
destructor
const DRTDICOMMediaRetrievalSequence & getDICOMMediaRetrievalSequence() const
get DICOMMediaRetrievalSequence (0040,e022)
Definition: drtrpphs.h:132
DRTReferencedBolusSequenceInRTIonBeamsSessionRecordModule(const DRTReferencedBolusSequenceInRTIonBeamsSessionRecordModule ©)
copy constructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
virtual OFCondition getMeasuredLateralDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredLateralDimension (0010,1024)
virtual E_TransferSyntax supportedTransferSyntax() const =0
returns the transfer syntax that this particular codec is able to decode.
OFConfigFileNode * brother_
pointer to next object in tree on same level
Definition: ofconfig.h:169
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getPixelPaddingValue(Uint16 &value, const unsigned long pos=0) const
get PixelPaddingValue (0028,0120)
virtual OFString & dumpConnectionParameters(OFString &str)
dump the characteristics of the current connection
virtual ~DRTPatientSetupSequence()
destructor
OFCondition getNumberOfWedges(Sint32 &value, const unsigned long pos=0) const
get NumberOfWedges (300a,00d0)
EF_VoiLutFunction
VOI LUT functions.
Definition: diutils.h:273
DRTPatientSpeciesCodeSequence PatientSpeciesCodeSequence
PatientSpeciesCodeSequence (0010,2202) vr=SQ, vm=1, type=1C.
Definition: drtiontr.h:2830
virtual OFCondition handleECHORequest(T_DIMSE_C_EchoRQ &reqMessage, const T_ASC_PresentationContextID presID)
Standard handler for Verification Service Class (DICOM Echo).
virtual DcmTransportLayerStatus serverSideHandshake()
performs server side handshake on established socket.
DcmTransportLayerStatus setCertificateFile(const char *fileName, DcmKeyFileFormat fileType)
loads the certificate (public key) used for authentication of this application from a file.
OFCondition setReferencedCalculatedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedCalculatedDoseReferenceNumber (3008,0092)
virtual OFCondition setTimezoneOffsetFromUTC(const OFString &value, const OFBool check=OFTrue)
set TimezoneOffsetFromUTC (0008,0201)
virtual Uint16 getDoseImageWidth() const
get the width in pixel of the dose image
@ EFG_CARDIACSYNC
Cardiac Synchronization.
Definition: fgtypes.h:115
virtual void clearData()
Clear all data.
void clear()
clear all internal member variables
DcmCodeString ResponsiblePersonRole
ResponsiblePersonRole (0010,2298) vr=CS, vm=1, type=1C.
Definition: drtstrct.h:2785
DcmPixelData PixelData
PixelData (7fe0,0010) vr=OB/OW, vm=1, type=1C.
Definition: drtdose.h:4472
OFCondition read(DcmItem &item)
read elements from sequence item
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getTotalBlockTrayWaterEquivalentThickness(Float32 &value, const unsigned long pos=0) const
get TotalBlockTrayWaterEquivalentThickness (300a,00f3)
virtual OFCondition getReferencedFractionGroupNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFractionGroupNumber (300c,0022)
virtual OFCondition setAcquisitionTime(const OFString &value, const OFBool check=OFTrue)
set AcquisitionTime (0008,0032)
virtual OFCondition putString(const char *val)
replace the element value by a copy of the given string (which is possibly multi-valued).
OFCondition getWedgeNumber(OFString &value, const signed long pos=0) const
get WedgeNumber (300a,00d2)
DRTBrachyReferencedDoseReferenceSequence & operator=(const DRTBrachyReferencedDoseReferenceSequence ©)
assigment operator
virtual OFCondition getFrameOfReferenceUID(OFString &value, const signed long pos=0) const
get FrameOfReferenceUID (0020,0052)
DcmPersonName(const DcmTag &tag, const Uint32 len=0)
constructor.
DcmAttributeTag(const DcmTag &tag, const Uint32 len)
constructor.
void setNonSignificantChars(const OFString &characters)
set non-significant characters used to determine whether the value is empty
Definition: dcbytstr.h:411
virtual void setPeerCertVerification(const DcmCertificateVerification cert)
Set whether peer's certificate must be there, only is checked if there or is ignored.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmPersonName PatientName
PatientName (0010,0010) vr=PN, vm=1, type=2.
Definition: drtiontr.h:2794
OFCondition write(DcmItem &dset, OFBool replaceSOPInstanceUID)
writes the presentation state managed by this object to a DICOM dataset.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmApplicationEntity(const DcmApplicationEntity &old)
copy constructor
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableOtherDoubleVRGeneration
Global flag to enable/disable the generation of VR=OD, which has been introduced after the first edit...
OFCondition setSpatialCoordinates3D(const DSRSpatialCoordinates3DValue &coordinatesValue, const OFBool check=OFTrue)
set spatial coordinates 3D.
OFCondition setReferenceAirKermaRate(const OFString &value, const OFBool check=OFTrue)
set ReferenceAirKermaRate (300a,022a)
DRTAssigningJurisdictionCodeSequence(const DRTAssigningJurisdictionCodeSequence ©)
copy constructor
OFCondition readXMLDocumentHeader(DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read XML document header
DRTGroupOfPatientsIdentificationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
void addProcessToTable(int pid, T_ASC_Association *assoc)
adds a new child process to the process table.
const char * getTargetCertificate(const char *targetID)
returns the CERTIFICATE entry for the storage peer with the given target ID from the configuration fi...
Item(const Item ©)
copy constructor
OFCondition gotoFirstItem()
goto first item in the sequence
DcmDecimalString MetersetExposure
MetersetExposure (3002,0032) vr=DS, vm=1, type=2C.
Definition: drtes.h:540
virtual ~DRTBreedRegistrationSequence()
destructor
DSRXMLCursor getRootNode() const
get root node of the document
virtual OFCondition setCompletionFlagDescription(const OFString &value, const OFBool check=OFTrue)
set completion flag description.
OFBool matches(const DcmUIDHandler &arg) const
checks if the given argument matches the abstract syntax UID maintained by this object
Definition: dccfpcmp.h:63
Interface class for ReferencedFractionGroupSequence (300c,0020) in RTDoseModule.
Definition: drtrfgs.h:30
OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
DicomDirInterface()
constructor (default).
OFCondition setReferencedRangeModulatorNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedRangeModulatorNumber (300c,0104)
DSRReferencedDateTimeList DateTimeList
list of referenced date/time (associated DICOM VR=DT, VM=1-n, type 1C)
Definition: dsrtcovl.h:276
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
void clear()
clear all internal member variables
@ DM_never
never decompress datasets
Definition: dstorscu.h:68
OFString m_PrivateCreator
Private Creator (if private attribute)
Definition: iodrules.h:254
int setRoiWindow(const unsigned long left_pos, const unsigned long top_pos, const unsigned long width, const unsigned long height, const unsigned long frame)
set automatically calculated VOI window for the specified Region of Interest (ROI).
Item & operator=(const Item ©)
assigment operator
DRTRTReferencedStudySequence RTReferencedStudySequence
RTReferencedStudySequence (3006,0012) vr=SQ, vm=1, type=3.
Definition: drtrfors.h:133
OFCondition write(DcmItem &item)
write elements to sequence item
const Item & getCurrentItem() const
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtblds6.h:399
OFCondition getBlockNumberOfPoints(OFString &value, const signed long pos=0) const
get BlockNumberOfPoints (300a,0104)
unsigned int size() const
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getClinicalTrialProtocolName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolName (0012,0021)
void ResetEnd()
Resets the iterator to the set's last element.
Definition: ofsetit.h:76
static T max()
The maximum finite value representable by the numeric type T.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtajcs.h:355
DcmPersonName ReferringPhysicianName
ReferringPhysicianName (0008,0090) vr=PN, vm=1, type=2.
Definition: drtiontr.h:2896
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFListIterator(Item *) CurrentItem
currently selected item
DcmCodeString SpatialLocationsPreserved
SpatialLocationsPreserved (0028,135a) vr=CS, vm=1, type=3.
Definition: drtsis.h:220
OFCondition getSourceToBlockTrayDistance(Float64 &value, const unsigned long pos=0) const
get SourceToBlockTrayDistance (300a,00f6)
OFCondition readAndInsertPixelData(I2DImgSource *imageSource, DcmDataset *dset, E_TransferSyntax &outputTS)
Reads pixel data and corresponding attributes like rows etc.
OFBool isEmpty()
check if item is empty
OFCondition findAndGetSequenceItem(const DcmTagKey &seqTagKey, DcmItem *&item, const signed long itemNum=0, const OFBool createCopy=OFFalse)
looks up and returns a given sequence item, if it exists.
DcmOtherByteOtherWord GreenPaletteColorLookupTableData
GreenPaletteColorLookupTableData (0028,1202) vr=OW, vm=1, type=1C.
Definition: drtiis.h:415
DRTDoseReferenceSequence & operator=(const DRTDoseReferenceSequence ©)
assigment operator
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
Interface class for StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtscris.h:29
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
DVPSTextObject * clone()
clone method.
Definition: dvpstx.h:50
@ Palmitate_C11
(129514005,SCT,"Palmitate C^11^")
Definition: cid4021.h:224
DicomImage * di_test
pointer to test image
Definition: dcmicmph.h:256
DRTReasonForRequestedProcedureCodeSequence & getReasonForRequestedProcedureCodeSequence()
get ReasonForRequestedProcedureCodeSequence (0040,100a)
Definition: drtras.h:165
const char * getSOPClassUID()
returns the SOP class UID of the currently selected instance.
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 ...
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmCodeString RespiratorySignalSource
RespiratorySignalSource (0018,9171) vr=CS, vm=1, type=1.
Definition: drtmss.h:162
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtdspcs.h:333
DcmQueryRetrieveConfigPeer * Peers
array of peer entries describing remote SCP peers
Definition: dcmqrcnf.h:181
OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
get SeriesInstanceUID (0020,000e)
DRTBrachyControlPointSequence & operator=(const DRTBrachyControlPointSequence ©)
assigment operator
virtual OFCondition getImagePlanePixelSpacing(Float64 &value, const unsigned long pos=0) const
get ImagePlanePixelSpacing (3002,0011)
virtual OFCondition startMoveRequest(const char *SOPClassUID, DcmDataset *moveRequestIdentifiers, DcmQueryRetrieveDatabaseStatus *status)=0
initiate MOVE operation using the given SOP class UID (which identifies the retrieve model) and DICOM...
DcmDecimalString InterMarkerDistance
InterMarkerDistance (0050,0019) vr=DS, vm=1, type=3.
Definition: drtds.h:531
OFBool isAffectedBySpecificCharacterSet() const
return whether elements of this VR are affected by SpecificCharacterSet
virtual ~DRTReferencedBeamSequenceInRTFractionSchemeModule()
destructor
DcmShortString StudyID
StudyID (0020,0010) vr=SH, vm=1, type=2.
Definition: drtiontr.h:2904
virtual OFCondition getAcquisitionDuration(Float64 &value, const unsigned long pos=0)
Get Acquisition Duration.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
get StudyInstanceUID (0020,000d)
@ SUVlbmJames128
(126406,DCM,"SUVlbm(James128)"), included from CID 7180
Definition: cid7469.h:318
OFCondition setCompensatorDivergence(const OFString &value, const OFBool check=OFTrue)
set CompensatorDivergence (300a,02e0)
DcmListNode * currentNode
pointer to current node in list
Definition: dclist.h:175
OFvariant(const OFvariant &rhs)
Copy constructs a variant holding a copy of the value rhs holds.
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtpscs.h:357
OFCondition read(DcmItem &item)
read elements from sequence item
const char * getUserCertificate(const char *userID)
returns the certificate file name for the given user.
Uint32 getNumberOfUsers()
returns the number of configured users in the USERS section.
DcmLongString m_SegmentLabel
Segment Number: (LO, VM 1, Type 1)
Definition: segtypes.h:342
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drtplan.h:3233
const DRTReferencedStructureSetSequence & getReferencedStructureSetSequence() const
get ReferencedStructureSetSequence (300c,0060)
Definition: drtdose.h:2530
static const OFString m_ComponentName
The name of this item ("ReferencedSOPSequenceItem")
Definition: iodcontentitemmacro.h:168
virtual OFCondition read(DcmItem &itemOfDerivationImageSequence, const OFBool clearOldData=OFTrue)
Read Derivation Image Sequence Item describing derivation from a set of images.
void clear()
clear all internal member variables
const char * getOverlayLabel(const unsigned int plane, const unsigned int idx=0) const
get label of specified overlay plane
Definition: dcmimage.h:1212
DRTTreatmentSessionIonBeamSequence & operator=(const DRTTreatmentSessionIonBeamSequence ©)
assigment operator
virtual OFCondition setRelatedGeneralSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set RelatedGeneralSOPClassUID (0008,001a)
const DRTEncryptedAttributesSequence & getEncryptedAttributesSequence() const
get EncryptedAttributesSequence (0400,0500)
Definition: drtdose.h:2086
the list of referenced images contained in a presentation state (internal use only).
Definition: dvpsril.h:41
Definition: i2dplnsc.h:29
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getROIPhysicalProperty(OFString &value, const signed long pos=0) const
get ROIPhysicalProperty (3006,00b2)
DRTShieldingDeviceSequence & getShieldingDeviceSequence()
get ShieldingDeviceSequence (300a,01a0)
Definition: drtpss.h:243
const Item & operator[](const size_t num) const
get particular item in the sequence
OFString origAETitle
title of requestor
Definition: dcmqrcbg.h:136
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFBool isEmpty()
check if sequence is empty
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getControlPointIndex(OFString &value, const signed long pos=0) const
get ControlPointIndex (300a,0112)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmIntegerString ReferencedFrameNumber
ReferencedFrameNumber (0008,1160) vr=IS, vm=1-n, type=1C.
Definition: drtcsas.h:165
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtaadcs.h:347
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
OFCondition getTreatmentMachineName(OFString &value, const signed long pos=0) const
get TreatmentMachineName (300a,00b2)
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
Item EmptyItem
empty default item
Definition: drtrcs.h:378
OFCondition getReferencedLateralSpreadingDeviceNumber(OFString &value, const signed long pos=0) const
get ReferencedLateralSpreadingDeviceNumber (300c,0102)
OFCondition getTableTopLateralPosition(Float64 &value, const unsigned long pos=0) const
get TableTopLateralPosition (300a,012a)
OFBool operator<=(const DcmTagKey &key) const
'less or equal' operator.
Definition: dctagkey.h:408
T_ASC_NetworkRole opt_networkRole
indicates whether we act as client, server or both
Definition: tlsopt.h:192
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition getStudyDescription(OFString &value, const signed long pos=0) const
get StudyDescription (0008,1030)
virtual OFCondition getPatientSize(OFString &value, const signed long pos=0) const
get PatientSize (0010,1020)
DcmDecimalString RTImagePosition
RTImagePosition (3002,0012) vr=DS, vm=2, type=2.
Definition: drtimage.h:5298
static OFBool isLibraryAvailable()
check whether character set conversion is available, e.g. the underlying encoding library is availabl...
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition setConstraintWeight(const OFString &value, const OFBool check=OFTrue)
set ConstraintWeight (300a,0021)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtfsss.h:350
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtces.h:539
DcmDate AcquisitionDate
AcquisitionDate (0008,0022) vr=DA, vm=1, type=3.
Definition: drtimage.h:5082
DcmDecimalString SpatialResolution
SpatialResolution (0018,1050) vr=DS, vm=1, type=3.
Definition: drtimage.h:5057
unsigned long countEntries() const
counts the number of entries in the hash table
bool immediateFlush
Immediate flush means that the underlying output stream will be flushed at the end of each append ope...
Definition: consap.h:80
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
static OFBool rangeMatchingDateTime(const void *queryData, const size_t querySize, const void *candidateData, const size_t candidateSize)
Match the query date time or date time range and the candidate date time.
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
Item(const Item ©)
copy constructor
CID11_RouteOfAdministration(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
OFBool useLUT
If true, a VOI LUT is set, otherwise a VOI Window is set.
Definition: dvpssv.h:205
static OFString getHostnameByAddress(const char *addr, int len, int type)
This function performs a reverse DNS lookup of a hostname.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtcss.h:331
virtual OFCondition getStackID(OFString &value, const signed long pos=0)
Get Stack ID.
DRTOperatorIdentificationSequence OperatorIdentificationSequence
OperatorIdentificationSequence (0008,1072) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4293
static DcmRLECodecParameter * cp
pointer to codec parameter
Definition: dcrleerg.h:73
XMLAttribute * addAttribute_WOSD(XMLSTR lpszName, XMLSTR lpszValue)
Add a new attribute.
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getSliceThickness(OFString &value, const signed long pos=0) const
get SliceThickness (0018,0050)
DRTReferencedReferenceImageSequenceInRTBeamsModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmCodeString QualityControlSubject
QualityControlSubject (0010,0200) vr=CS, vm=1, type=3.
Definition: drtstrct.h:2747
virtual FGBase * getShared(const DcmFGTypes::E_FGType fgType)
Get shared functional group based on its type.
void setExtensible(const OFBool mode=OFTrue)
change mode specifying whether the context group is extensible or non-extensible
Definition: dsrctxgr.h:68
DRTOverrideSequence & getOverrideSequence()
get OverrideSequence (3008,0060)
Definition: drticpds.h:511
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_CouldNotCreateFG
Could not create functional group.
static void moveMem(const T *src, T *dest, const size_t count)
moves specified number of elements from source to destination.
Definition: ofbmanip.h:80
a class representing the DICOM value representation 'Date Time' (DT)
Definition: dcvrdt.h:35
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
writes a representation conforming to the transfer syntax It does not create a representation.
virtual OFCondition setSynchronizationFrameOfReferenceUID(const OFString &value, const OFBool check=OFTrue)
set synchronization frame of reference UID
DcmIntegerString RepeatFractionCycleLength
RepeatFractionCycleLength (300a,007a) vr=IS, vm=1, type=3.
Definition: drtfgs.h:348
virtual OFCondition setResponsiblePersonRole(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePersonRole (0010,2298)
virtual OFCondition setStackID(const OFString &value, const OFBool checkValue=OFTrue)
Set Stack ID.
DcmUnsignedShort PixelPaddingValue
PixelPaddingValue (0028,0120) vr=US/SS, vm=1, type=1C.
Definition: drtstrct.h:3002
const DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence() const
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtiontr.h:1593
virtual OFCondition write(DcmItem &dataset) const
write spatial coordinates reference value to dataset
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid244.h:152
DRTRecordedRangeModulatorSequence & getRecordedRangeModulatorSequence()
get RecordedRangeModulatorSequence (3008,00f6)
Definition: drttsibs.h:610
OFListIterator(Item *) CurrentItem
currently selected item
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=1.
Definition: drtces.h:347
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFCondition readSubItem(DcmInputStream &inStream, const DcmTag &newTag, const Uint32 newLength, const E_TransferSyntax xfer, const E_GrpLenEncoding glenc, const Uint32 maxReadLength=DCM_MaxReadLength)
helper function for read().
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getRecommendedDisplayGrayscaleValue(Uint16 &value, const unsigned long pos=0) const
get RecommendedDisplayGrayscaleValue (0062,000c)
OFCondition setCurrentPresentationLUT(DVPSPresentationLUTType newType)
sets the current Presentation LUT type.
virtual ~SiMAC()
destructor
Definition: simac.h:44
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getLeafJawPositions(Float64 &value, const unsigned long pos=0) const
get LeafJawPositions (300a,011c)
DiMono2Image(const DiDocument *docu, const EI_Status status, const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation)
constructor, modality (LUT)
T3 * Data[3]
pointer to pixel data (3 components)
Definition: dicopxt.h:589
int yy_bs_column
The column count.
Definition: vrscanl.h:189
OFBool good() const
check if the status is OK.
Definition: ofcond.h:296
@ Nifene_F18
(126714,DCM,"Nifene F^18^")
Definition: cid4021.h:214
const DRTDerivationCodeSequence & getDerivationCodeSequence() const
get DerivationCodeSequence (0008,9215)
Definition: drtimage.h:2524
OFCondition setVOIWindowFromImage(size_t idx, DVPSObjectApplicability applicability=DVPSB_currentImage)
activates one of the VOI Windows from the attached image.
OFListIterator(Item *) CurrentItem
currently selected item
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrsers.h:309
Item(const Item ©)
copy constructor
DcmOutputFileStream(const DcmOutputFileStream &)
private unimplemented copy constructor
interface to DICOM object/dataset handling
OFCondition gotoFirstItem()
goto first item in the sequence
DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence()
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtiontr.h:1275
@ VT_SCoord
DICOM Value Type: SCOORD.
Definition: dsrtypes.h:601
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtrscs.h:343
virtual ~DRTBeamLimitingDeviceSequenceInRTImageModule()
destructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setDeidentificationMethod(const OFString &value, const OFBool check=OFTrue)
set DeidentificationMethod (0012,0063)
virtual OFCondition getLargestImagePixelValue(Uint16 &value, const unsigned long pos=0) const
get LargestImagePixelValue (0028,0107)
Item & getItem(const size_t num)
get particular item in the sequence
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtrscs.h:345
Item class.
Definition: drtshds.h:36
virtual ~DRTReferencedBolusSequenceInRTIonBeamsSessionRecordModule()
destructor
virtual OFCondition setGantryID(const OFString &value, const OFBool check=OFTrue)
set GantryID (0018,1008)
DCMTK_OFSTD_EXPORT const unsigned short EC_CODE_CannotCreateDirectory
status code constant: error, cannot create directory
const DRTControlPointSequence & getControlPointSequence() const
get ControlPointSequence (300a,0111)
Definition: drtbs.h:432
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
DiPixelRepresentationTemplate()
default constructor
Definition: dipxrept.h:53
double getForeground() const
get foreground color of the plane
Definition: diovpln.h:287
@ EDTA_Ga68
(423498000,SCT,"EDTA Ga^68^")
Definition: cid4021.h:122
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getPersonTelephoneNumbers(OFString &value, const signed long pos=0) const
get PersonTelephoneNumbers (0040,1103)
OFBool createOffsetTable
create offset table during image compression
Definition: djcparam.h:353
Item EmptyItem
empty default item
Definition: drtrris1.h:384
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmLongText PatientComments
PatientComments (0010,4000) vr=LT, vm=1, type=3.
Definition: drtstrct.h:2759
DcmUnsignedShort PregnancyStatus
PregnancyStatus (0010,21c0) vr=US, vm=1, type=3.
Definition: drtionpl.h:3043
OFCondition getRetrieveURL(OFString &value, const signed long pos=0) const
get RetrieveURL (0008,1190)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition setBlockName(const OFString &value, const OFBool check=OFTrue)
set BlockName (300a,00fe)
DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence()
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtdose.h:2476
E_UIDCreation uidCreation
mode for SOP Instance UID creation
Definition: djcparam.h:367
@ ERM_fileOnly
read file format only, refuse if no meta-header
Definition: dctypes.h:150
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFCondition getCodingSchemeURL(OFString &value, const signed long pos=0) const
get CodingSchemeURL (0008,010e)
DcmDecimalString presentationPixelSpacing
VR=DS, VM=2, Type 1c (required if presentationSizeMode is "TRUE SIZE")
Definition: dvpsda.h:260
virtual unsigned long getVM()
get value multiplicity
OFBool GetStringValue(const DcmElement *elem, OFString &resultVal)
This function returns the value of the given DICOM string element (attribute) in the parameter result...
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition setSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set SeriesDescription (0008,103e)
OFBool isEmpty()
check if sequence is empty
void clear()
clear all internal member variables
OFCondition getCompensatorPixelSpacing(Float64 &value, const unsigned long pos=0) const
get CompensatorPixelSpacing (300a,00e9)
virtual OFCondition getBitsAllocated(Uint16 &value, const unsigned long pos=0)
Get Bits Allocated.
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
OFCondition getDiaphragmPosition(Float64 &value, const unsigned long pos=0) const
get DiaphragmPosition (3002,0034)
DRTRangeShifterSequence(const DRTRangeShifterSequence ©)
copy constructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool isEmpty()
check if sequence is empty
OFCondition getDeviceDescription(OFString &value, const signed long pos=0) const
get DeviceDescription (0050,0020)
Item class.
Definition: drtrris1.h:36
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmUniqueIdentifier psSeriesInstanceUID
series UID for presentation state objects
Definition: dvpsprt.h:297
virtual OFCondition getImagePositionVolume(Float64 &value, const unsigned long pos=0)
Get Image Position Volume.
Interface class for ScheduledProtocolCodeSequence (0040,0008)
Definition: drtspcs.h:30
T_ASC_PresentationContextID findAcceptedPC(const char *sopclassuid)
looks for an accepted presentation context for the given SOP class.
static OFString getLibraryVersionString()
get version information of the TIFF library.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtccs.h:349
virtual OFCondition getSeriesNumber(OFString &value, const signed long pos=0) const
get SeriesNumber (0020,0011)
static E_FGType tagKey2FGType(const DcmTagKey &key)
Returns functional group type based on tag key.
DcmXfer(const DcmXfer &newXfer)
copy constructor
virtual void clearData()
Clears all data.
Item & operator=(const Item ©)
assigment operator
void removeShutter(DVPSShutterType type)
deactivates display shutter of given type.
DRTGeneticModificationsSequence & getGeneticModificationsSequence()
get GeneticModificationsSequence (0010,0221)
Definition: drtstrct.h:1302
OFCondition write(DcmItem &dset)
writes the annotation box managed by this object to a DICOM dataset.
Helper class encapsulating concatenation information, including Concatenation Frame Offset Number,...
Definition: modmultiframefg.h:170
DcmHashDictIterator()
default constructor
Definition: dchashdi.h:120
void addPDFCommandlineOptions(OFCommandLine &cmd)
Add PDF specific command line options to the OFCommandLine object passed to the constructor.
Item & getCurrentItem()
get current item in the sequence
OFBool isEmpty()
check if sequence is empty
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getApplicatorDescription(OFString &value, const signed long pos=0) const
get ApplicatorDescription (300a,010a)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtdspcs.h:349
DiImage(const DiImage *image, const unsigned long frame, const int stored, const int alloc)
constructor, createMonoOutput
E_FindOptionMode
mode for findOption() method
Definition: ofcmdln.h:211
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtssrcs.h:533
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule & getReferencedRTPlanSequence() const
get ReferencedRTPlanSequence (300c,0002)
Definition: drttreat.h:1581
OFCondition createMeasurement(const T_Measurement &conceptName, const MeasurementValue &numericValue, const OFBool check)
create the mandatory root content item of this template, i.e. TID 300 - Row 1.
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getReferencedBrachyApplicationSetupNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedBrachyApplicationSetupNumber (300c,000c)
virtual ~Item()
destructor
@ EWT_none
use given value
Definition: diutils.h:328
virtual OFBool matches(const DcmElement &candidate, const OFBool enableWildCardMatching=OFTrue) const
perform attribute matching.
virtual OFCondition clear()
clear the currently stored value
OFBool gotoItem(Uint32 idx)
sets internal cursor to specified position in cache list
Definition: dvcache.h:494
codec class for JPEG-LS lossy and lossless TS encoding
Definition: djcodece.h:392
Uint16 getHeight() const
get height of overlay plane
Definition: diovpln.h:152
OFBool hasNextNode() const
check whether the current node has a following sibling
Definition: dsrtncsr.h:441
OFCondition write(DcmItem &item)
write elements to sequence item
DcmCodeString SetupTechnique
SetupTechnique (300a,01b0) vr=CS, vm=1, type=3.
Definition: drtpss.h:339
size_t getNumberOfItems() const
get number of items in the sequence
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid6147.h:113
Item & getItem(const size_t num)
get particular item in the sequence
virtual void emitMessage(void *arg, int msg_level) const
callback function used to report warning messages and the like.
static OFCondition getOFDateFromString(const char *dicomDate, const size_t dicomDateSize, OFDate &dateValue, const OFBool supportOldFormat)
get the specified DICOM date value in OFDate format.
OFBool enableInventPatientIDMode(const OFBool newMode=OFTrue)
enable/disable the "invent new patient ID" mode.
DRTRecordedLateralSpreadingDeviceSequence & getRecordedLateralSpreadingDeviceSequence()
get RecordedLateralSpreadingDeviceSequence (3008,00f4)
Definition: drttsibs.h:598
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual ~DVPSReferencedSeries()
destructor
Item class.
Definition: drtdvrrs.h:36
OFBool isEmpty()
check if item is empty
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFBool isEmpty()
check if sequence is empty
Uint32 NumberOfFrames
number of frames in case of multi-frame images (otherwise '1')
Definition: diimage.h:621
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get particular value as a character string
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
@ IAUCBN
(126324,DCM,"IAUCBN"), included from CID 4109
Definition: cid7469.h:290
virtual OFCondition finalize(unsigned char *result)
finalizes the MAC and writes it to the given output array, which must be at least getSize() bytes lar...
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
DcmDecimalString SetupDeviceParameter
SetupDeviceParameter (300a,01bc) vr=DS, vm=1, type=2.
Definition: drtsds.h:199
Interface class for ReferencedBolusSequence (300c,00b0) in RTIonBeamsModule.
Definition: drtrbos6.h:28
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTTreatmentSummaryCalculatedDoseReferenceSequence & getTreatmentSummaryCalculatedDoseReferenceSequence()
get TreatmentSummaryCalculatedDoseReferenceSequence (3008,0050)
Definition: drtiontr.h:1875
virtual OFCondition setClinicalTrialCoordinatingCenterName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialCoordinatingCenterName (0012,0060)
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
unsigned long create6xxx3000PlaneData(Uint8 *&buffer, unsigned int plane, unsigned int &width, unsigned int &height, unsigned long &frames)
create overlay plane data in (6xxx,3000) format.
WlmFileSystemInteractionManager fileSystemInteractionManager
manager for file system interaction
Definition: wldsfs.h:43
OFCondition putString(const char *stringValue)
put list of graphic data as a string.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Interface class for AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtadcs.h:29
Item & operator=(const Item ©)
assigment operator
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtcbars.h:358
static void writeSubSequence(OFCondition &result, const DcmTagKey &seqKey, Container &source, DcmItem &destination, IODRule *rule)
Write given container into a DICOM sequence that is created within the given item.
Definition: iodutil.h:691
double Illumination
illumination value
Definition: didispfn.h:452
DCMTK_DCMTRACT_EXPORT const OFConditionConst TRC_EC_InvalidStatisticData
Invalid Statistic Data.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtsds.h:193
DRTIonBeamLimitingDeviceSequence(const DRTIonBeamLimitingDeviceSequence ©)
copy constructor
DcmTime PatientBirthTime
PatientBirthTime (0010,0032) vr=TM, vm=1, type=3.
Definition: drtstrct.h:2751
handler for all digital signature related functions in dcmpstat
Definition: dvsighdl.h:46
void clear()
clear all internal member variables
Item EmptyItem
empty default item
Definition: drtrpphs.h:423
Interface class for RequestedProcedureCodeSequence (0032,1064)
Definition: drtrpcs.h:29
DcmIntegerString NumberOfPulses
NumberOfPulses (300a,028a) vr=IS, vm=1, type=1C.
Definition: drtchs.h:649
const DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence() const
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtdose.h:2482
DicomImage * getImage()
Get the DicomImage instance for this RT Image.
Definition: drmimage.h:74
Uint16 getReset() const
returns JPEG-LS parameter RESET
Definition: djcparam.h:187
OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
virtual OFCondition setStudyDate(const OFString &value, const OFBool check=OFTrue)
set StudyDate (0008,0020)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
helper class with static methods used from different dcmjpeg classes (in particular from the encoder ...
Definition: djutils.h:214
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
void clear()
clear all internal member variables
void setRepeatingGroup(Uint16 rGroup)
set repeating group of this activation.
DcmDecimalString RescaleSlope
RescaleSlope (0028,1053) vr=DS, vm=1, type=1C.
Definition: drtdose.h:4530
static void copyFrameOfReferenceModule(DcmItem &src, DcmItem &dest)
Copy Frame of Reference Module attributes.
@ TSP_Profile_BCP195_ND
DICOM Non-downgrading BCP 195 TLS Profile, based on RFC 7525.
Definition: tlsciphr.h:83
OFCondition getSourceAxisDistance(OFString &value, const signed long pos=0) const
get SourceAxisDistance (300a,00b4)
OFBool checkFilesetID(const OFString &filesetID)
check whether given file-set ID is valid
DcmUnsignedShort PlanarConfiguration
PlanarConfiguration (0028,0006) vr=US, vm=1, type=1C.
Definition: drtiis.h:433
Item(const Item ©)
copy constructor
virtual OFCondition setLossyImageCompression(const OFString &value, const OFBool checkValue=OFTrue)
Set Lossy Image Compression.
OFCondition getTableTopLateralPosition(Float64 &value, const unsigned long pos=0) const
get TableTopLateralPosition (300a,012a)
OFCondition gotoFirstItem()
goto first item in the sequence
static OFBool rangeMatchingTemplate(OFCondition(*parse)(const char *, const size_t, T &), const Range &query, const T &candidate)
Helper template function for generically implementing range matching.
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
OFBool isEmpty()
check if sequence is empty
virtual OFCondition getStudyDescription(OFString &value, const signed long pos=0) const
get StudyDescription (0008,1030)
DcmDataset * NextFindResponse(WlmDataSourceStatusType &rStatus)
This function will return the next dataset that matches the given search mask, if there is one more r...
EnumType
types of route of administration
Definition: cid11.h:42
double getIlluminationValue() const
get illumination value
Definition: didislut.h:72
virtual OFBool IsSubsetOf(const OFUnorderedSet< T > &other) const
Determines if this is an actual subset of other, i.e.
Definition: ofuoset.h:319
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTIonControlPointDeliverySequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition setRedPaletteColorLookupTableDescriptor(const Uint16 value, const unsigned long pos=0)
set RedPaletteColorLookupTableDescriptor (0028,1101)
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition setRangeModulatorType(const OFString &value, const OFBool check=OFTrue)
set RangeModulatorType (300a,0348)
OFCondition getReferencedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
virtual OFCondition encode(Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint16 *image_buffer, Uint8 *&to, Uint32 &length)
single frame compression routine for 16-bit raw pixel data.
@ ERM_dataset
read as dataset (assume no meta header present)
Definition: dctypes.h:148
OFCondition getStartCumulativeMetersetWeight(OFString &value, const signed long pos=0) const
get StartCumulativeMetersetWeight (300c,0008)
DcmUnsignedShort GreenPaletteColorLookupTableDescriptor
GreenPaletteColorLookupTableDescriptor (0028,1102) vr=US/SS, vm=3, type=1C.
Definition: drtiis.h:417
DcmShortText m_SegmentDescription
Segment Description: (ST, 1, Type 3)
Definition: segtypes.h:345
Interface class for WADORSRetrievalSequence (0040,e025)
Definition: drtwrsrs.h:28
const char * getLUTFilename(const char *lutID)
returns the FILENAME entry for the LUT with the given ID from the configuration file.
static OFCondition create(const OFString &sopClassUID, const OFString &sopInstanceUID, ImageSOPInstanceReferenceMacro *&result)
Creates an ImageSOPInstanceReferenceMacro object without frame/segment reference from required inform...
A class template that implements generic tuples.
Definition: oftuple.h:668
DcmLongString DoseReferenceDescription
DoseReferenceDescription (300a,0016) vr=LO, vm=1, type=3.
Definition: drttscds.h:160
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getPersonAddress(OFString &value, const signed long pos=0) const
get PersonAddress (0040,1102)
DRTVOILUTSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getSpecifiedPrimaryMeterset(OFString &value, const signed long pos=0) const
get SpecifiedPrimaryMeterset (3008,0032)
OFCondition getOrganAtRiskFullVolumeDose(Float64 &value, const unsigned long pos=0) const
get OrganAtRiskFullVolumeDose (300a,002a)
Interface class for ROIContourSequence (3006,0039)
Definition: drtrcs.h:29
virtual OFCondition getLossyComprInfo(OFBool &srcEncodingLossy, OFString &srcLossyComprMethod) const =0
After reading of pixel data, this function can be used for getting information about lossy compressio...
SiCertificate()
default constructor
Item EmptyItem
empty default item
Definition: drtiwps.h:338
virtual ~DVPSVOIWindow()
destructor
Definition: syncimpl.h:82
DcmLongString PatientBirthDateInAlternativeCalendar
PatientBirthDateInAlternativeCalendar (0010,0033) vr=LO, vm=1, type=3.
Definition: drtiontr.h:2804
DcmLongString voiLUTExplanation
Module=VOI_LUT, VR=LO, VM=1, Type 3.
Definition: dvpssv.h:209
@ FEM_singleXMLFile
extract all C-FIND-RSP datasets to a single XML file.
Definition: dfindscu.h:64
const Item & getCurrentItem() const
get current item in the sequence
virtual DcmCodecParameter * clone() const
this methods creates a copy of type DcmCodecParameter * it must be overweritten in every subclass.
OFString & getStringFromFile(const OFFilename &filename, const DcmTagKey &key, OFString &result, OFBool searchIntoSub=OFFalse)
get string value from file and report an error (if any)
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition getDate(OFString &value, const signed long pos=0) const
Get Date.
OFBool gotoFirst()
sets internal cursor to first position in cache list
Definition: dvcache.h:790
void termDestination(jpeg_compress_struct *cinfo)
callback for IJG compress destination manager.
OFPair< K, V > & operator=(const OFPair< K, V > &other)
assignment operator
Definition: ofutil.h:353
void reset(T *const pt=OFnullptr)
Replaces the managed object with an object pointed to by pt.
Definition: ofmem.h:164
virtual OFCondition getSeriesNumber(Sint32 &value, const unsigned long pos=0) const
get SeriesNumber (0020,0011)
DRTPatientSizeCodeSequence & getPatientSizeCodeSequence()
get PatientSizeCodeSequence (0010,1021)
Definition: drtimage.h:2794
This class aims to provide an easy way for making sure OFReadWriteLocks are unlocked in an exception ...
Definition: ofthread.h:505
void clear()
clear all internal member variables
Item & operator=(const Item ©)
assigment operator
DcmShortString ApplicatorID
ApplicatorID (300a,0108) vr=SH, vm=1, type=1.
Definition: drtas7.h:162
virtual ~FunctionalGroups()
Virtual destructor, cleans up set of functional groups and frees the related memory.
void HandleExistentButEmptyReferencedStudyOrPatientSequenceAttributes(DcmDataset *dataset, const DcmTagKey &sequenceTagKey)
This function performs a check on a sequence attribute in the given dataset.
DSRReferencedTimeOffsetList()
default constructor
DSRNumTreeNode(const DSRNumTreeNode &node)
copy constructor.
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
Get modality (overwrite from DcmIODCommon.
Item EmptyItem
empty default item
Definition: drtrsos.h:370
virtual ~DRTOriginalAttributesSequence()
destructor
OFCondition setDateTime(const OFString &value, const OFBool check=OFTrue)
set DateTime (0040,a120)
OFCondition setApplicatorID(const OFString &value, const OFBool check=OFTrue)
set ApplicatorID (300a,0108)
OFList< ItemStruct * > List
list of series
Definition: dvcache.h:666
T * operator->() const
Dereferences pointer to the managed object.
Definition: ofmem.h:148
DcmLongString GeneticModificationsNomenclature
GeneticModificationsNomenclature (0010,0223) vr=LO, vm=1, type=1.
Definition: drtgms.h:149
virtual OFCondition getPatientBirthTime(OFString &value, const signed long pos=0) const
get PatientBirthTime (0010,0032)
OFCondition changeOverlayGroupInPresentationState(size_t idx, Uint16 newGroup=0)
changes the repeating group used for an overlay in the presentation state.
OFBool isExplicitVR() const
return true if transfer syntax is explicit VR, false otherwise
Definition: dcxfer.h:230
OFCondition setActivitySession(const OFString &session, const OFBool check=OFTrue)
set the value of the 'Activity Session' content item (TID 1501 - Row 1b).
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition gotoFirstItem()
goto first item in the sequence
static OFCondition addElementToDataset(OFCondition &result, DcmItem &dataset, DcmElement *delem, const IODRule *rule)
Add given element to the dataset The element is only added if 'result' is EC_Normal and the 'delem' p...
void * getDataPtr()
get pointer to internal array of pixel data.
Definition: dicopxt.h:164
DcmDate SeriesDate
Series Date: (DA, 1, 3)
Definition: dsrdoc.h:1404
@ AbsoluteRegionalBloodFlow
(126390,DCM,"Absolute Regional Blood Flow"), included from CID 4108
Definition: cid7469.h:266
virtual OFCondition getAcquisitionTime(OFString &value, const signed long pos=0) const
get AcquisitionTime (0008,0032)
OFString m_studySeriesFile
File to read study and series from.
Definition: i2d.h:240
DcmPrivateTagCacheEntry & operator=(const DcmPrivateTagCacheEntry &)
private undefined copy assignment operator
@ Glutamine
(25761002,SCT,"Glutamine"), included from CID 4033
Definition: cid7469.h:62
OFCondition getReferencedToleranceTableNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedToleranceTableNumber (300c,00a0)
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtporcs.h:351
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtads.h:341
IODRules m_IODRules
IOD rules for this data structure.
Definition: iodmacro.h:1209
virtual OFCondition searchSubFromHere(const DcmTagKey &tag, DcmStack &resultStack, const OFBool searchIntoSub)
helper function for search().
DCMTK_DCMTRACT_EXPORT const OFConditionConst TRC_EC_NoSuchMeasurement
No such Measurement.
void filmSessionNCreate(DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset)
implements the N-CREATE operation for the Basic Film Session SOP Class.
virtual OFCondition setRecognizableVisualFeatures(const DPMTypes::RecognizableVisibleFeatures yesOrNo)
Indicates whether or not the image contains sufficiently recognizable visual features to allow the im...
void * getDataPtr()
get pointer to internal pixel data
Definition: dimopxt.h:147
OFSet< T > & ofset
reference to the set instance
Definition: ofsetit.h:48
OFCondition setLUTDescriptor(const Uint16 value, const unsigned long pos=0)
set LUTDescriptor (0028,3002)
const Item & getCurrentItem() const
get current item in the sequence
a curve or overlay activation layer in a presentation state (internal use only).
Definition: dvpsal.h:40
@ EXS_BigEndianImplicit
Implicit VR Big Endian (pseudo transfer syntax that does not really exist)
Definition: dcxfer.h:43
DcmVR getVR() const
returns VR object by value
Definition: dctag.h:111
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Interface class for BeamSequence (300a,00b0) in RTBeamsModule.
Definition: drtbs.h:41
@ DT_MacularGridThicknessAndVolumeReport
DICOM IOD: Macular Grid Thickness and Volume Report.
Definition: dsrtypes.h:527
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CodedEntryInStandardContextGroup
normal: a given coded entry is contained in the context group (i.e. a standard code)
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmDecimalString MeasuredLateralDimension
MeasuredLateralDimension (0010,1024) vr=DS, vm=1, type=3.
Definition: drtstrct.h:2878
virtual OFCondition readPatientData(DcmItem &dataset)
read PatientData from dataset
virtual OFCondition setDoubleFloatPixelPaddingValue(const Float64 value, const OFBool checkValue=OFTrue)
Set Double Float Pixel Pixel Padding Value.
virtual ~DiCIELABLUT()
destructor
virtual OFCondition nextObject(DcmStack &stack, const OFBool intoSub)
this method enables a stack based, depth-first traversal of a complete hierarchical DICOM dataset (th...
void setProperty(const log4cplus::tstring &key, const log4cplus::tstring &value)
Inserts value into this map indexed by key.
size_t gotoRoot()
set internal cursor to root node
Definition: dsrtree.h:621
DcmLongString LUTExplanation
LUTExplanation (0028,3003) vr=LO, vm=1, type=1.
Definition: drtrwvms.h:260
DcmIntegerString NumberOfFrames
NumberOfFrames (0028,0008) vr=IS, vm=1, type=1.
Definition: drtdose.h:4481
virtual OFCondition setDVHNormalizationPoint(const OFString &value, const OFBool check=OFTrue)
set DVHNormalizationPoint (3004,0040)
OFCondition cancelFindRequest(DcmQueryRetrieveDatabaseStatus *status)
cancel the ongoing FIND request, stop and reset every running operation associated with this request,...
OFBool m_verbosePCMode
Verbose PC mode (default: disabled)
Definition: scu.h:1063
DcmXfer(E_TransferSyntax xfer)
constructor
DcmDecimalString DeliveredSecondaryMeterset
DeliveredSecondaryMeterset (3008,0037) vr=DS, vm=1, type=3.
Definition: drttsibs.h:986
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition read(DcmItem &item)
read elements from sequence item
DcmIntegerString NumberOfLeafJawPairs
NumberOfLeafJawPairs (300a,00bc) vr=IS, vm=1, type=1.
Definition: drtblds5.h:216
DRTCodingSchemeIdentificationSequence CodingSchemeIdentificationSequence
CodingSchemeIdentificationSequence (0008,0110) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4656
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtsdcs.h:345
DiDisplayFunction * getDisplayFunction() const
get display function
Definition: dcmimage.h:538
virtual ~Item()
destructor
DRTRecordedCompensatorSequence(const DRTRecordedCompensatorSequence ©)
copy constructor
DiMonoImage * getMonoImagePtr()
get pointer to current monochrome image (this)
Definition: dimoimg.h:484
@ T1WeightedMRSignalIntensity
(110804,DCM,"T1 Weighted MR Signal Intensity"), included from CID 7180
Definition: cid7469.h:96
Item EmptyItem
empty default item
Definition: drtrshs6.h:354
OFCondition setRespiratoryMotionCompensationTechnique(const OFString &value, const OFBool check=OFTrue)
set RespiratoryMotionCompensationTechnique (0018,9170)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item class.
Definition: drtrecs.h:36
const char * getSeriesTime()
returns the Series Time of the currently selected series.
@ RT_hasConceptMod
DICOM Relationship Type: HAS CONCEPT MOD.
Definition: dsrtypes.h:567
size_t index() const
Get the index of alternative that is currently being held.
int getFileHandle() const
gets the file descriptor of the temporary file.
Definition: oftempf.h:76
OFCondition getRangeModulatorID(OFString &value, const signed long pos=0) const
get RangeModulatorID (300a,0346)
virtual EP_Representation getRepresentation() const =0
get integer representation (abstract)
DcmQuantScaleTable & operator=(const DcmQuantScaleTable &src)
private undefined copy assignment operator
virtual DcmEVR ident() const
get element type identifier
const Item & getCurrentItem() const
get current item in the sequence
Item class.
Definition: drtscs.h:37
virtual ~DRTIonToleranceTableSequence()
destructor
Interface class for RTDoseIOD.
Definition: drtdose.h:92
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item class.
Definition: drtds.h:37
DcmCodeString requestedResolutionID
Module=Film_Box_Module (Supplement 38), VR=CS, VM=1, Type 3.
Definition: dvpssp.h:1036
DiMonoPixelTemplate(const DiInputPixel *pixel, DiMonoModality *modality)
constructor
Definition: dimopxt.h:86
virtual OFCondition setOccupation(const OFString &value, const OFBool check=OFTrue)
set Occupation (0010,2180)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual ~DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule()
destructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmIODCommon()
Constructor.
OFBool isEmpty()
check if item is empty
DcmShortText CommentsOnThePerformedProcedureStep
CommentsOnThePerformedProcedureStep (0040,0280) vr=ST, vm=1, type=3.
Definition: drtionpl.h:3117
Uint32 getMinPrintResolutionX()
returns the minimum horizontal bitmap resolution for print, from GENERAL/PRINT/MINPRINTRESOLUTION in ...
DcmOverlayData(const DcmTag &tag, const Uint32 len=0)
constructor
Definition: dcovlay.h:38
virtual OFCondition getOtherPatientNames(OFString &value, const signed long pos=0) const
get OtherPatientNames (0010,1001)
DVPSReferencedImage(const DVPSReferencedImage ©)
copy constructor
size_t find_first_not_of(const char *s, size_t pos=0) const
determines the first location loc, between pos and the end of the current string, such that the chara...
void seed(Uint32 sval)
Re-seed the PRNG with the given parameter.
OFCondition setUniqueDeviceIdentifier(const OFString &value, const OFBool check=OFTrue)
set UniqueDeviceIdentifier (0018,1009)
OFCondition gotoNextItem()
goto next item in the sequence
void clear()
clear all internal member variables
DcmDecimalString PatientSupportAngle
PatientSupportAngle (300a,0122) vr=DS, vm=1, type=1C.
Definition: drtcps.h:677
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition addImageReference(const char *sopclassUID, const char *instanceUID, const char *frames=NULL)
add a new image reference.
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition write(DcmItem &dataset)
Write current Parametric Map's attributes to DICOM dataset.
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoImageLibrary
error: there is no image library to add image groups to
virtual OFCondition getPatientBreedDescription(OFString &value, const signed long pos=0) const
get PatientBreedDescription (0010,2292)
DcmCodeString SourceStrengthUnits
SourceStrengthUnits (300a,0229) vr=CS, vm=1, type=1C.
Definition: drtss.h:442
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getDateTime(OFString &value, const signed long pos=0) const
get DateTime (0040,a120)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtoas.h:360
OFCondition gotoFirstItem()
goto first item in the sequence
static OFCondition getElementFromDataset(DcmItem &dataset, DcmElement &delem)
get element from dataset
DRTPhysiciansReadingStudyIdentificationSequence PhysiciansReadingStudyIdentificationSequence
PhysiciansReadingStudyIdentificationSequence (0008,1062) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4905
int isValueUnused(const unsigned long value)
check whether given output value is unused
Definition: dimoimg.h:168
virtual void clearData()
Clear all data.
IODImageReference(const OFString &patientID, const OFString &studyUID, const OFString &seriesUID, const OFString &sopInstanceUID, const OFString &sopClassUID)
Convenience constructor setting reference data without frame numbers.
const DRTDICOMRetrievalSequence & getDICOMRetrievalSequence() const
get DICOMRetrievalSequence (0040,e021)
Definition: drtrpphs.h:144
Item EmptyItem
empty default item
Definition: drtpdeds.h:427
virtual OFCondition setSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceUID (0008,0018)
OFBool haveShutter(DVPSShutterType type)
checks if a display shutter of given type is active.
@ EVR_AE
application entity title
Definition: dcvr.h:123
OFListIterator(Item *) CurrentItem
currently selected item
Flags
Possible state flags.
Definition: queue.h:104
virtual DSRNumTreeNode * clone() const
clone this tree node.
DSRIncludedTemplateNodeCursor & operator=(DSRDocumentTreeNode *node)
assignment operator.
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtiws.h:221
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getTableTopPitchAngle(Float32 &value, const unsigned long pos=0) const
get TableTopPitchAngle (300a,0140)
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=1.
Definition: drtcgis.h:160
@ AP_UltrasoundIDSF
Ultrasound Single Frame for Image Display (STD-US-ID-SF-xxxx)
Definition: dcddirif.h:161
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbl2.h:551
DcmLongString StructureSetName
StructureSetName (3006,0004) vr=LO, vm=1, type=3.
Definition: drtstrct.h:3016
DcmUniqueIdentifier StudyInstanceUID
StudyInstanceUID (0020,000d) vr=UI, vm=1, type=1.
Definition: drtionpl.h:2978
DcmHashDictIterator end() const
returns iterator to end of hash table
Definition: dchashdi.h:238
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition setGantryPitchRotationDirection(const OFString &value, const OFBool check=OFTrue)
set GantryPitchRotationDirection (300a,014c)
DcmUniqueIdentifier SOPClassUID
SOPClassUID (0008,0016) vr=UI, vm=1, type=1.
Definition: drtiontr.h:3151
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=2.
Definition: drtionpl.h:3138
void setElement(Uint16 e)
set element to given number
Definition: dctagkey.h:283
OFString DestinationCharacterSet
selected destination character set based on a single DICOM defined term
Definition: dcspchrs.h:296
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setIssuerOfPatientID(const OFString &value, const OFBool check=OFTrue)
set IssuerOfPatientID (0010,0021)
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setRationalNumeratorValue(const Sint32 value, const unsigned long pos=0)
set RationalNumeratorValue (0040,a162)
DVPSOverlay_PList(const DVPSOverlay_PList ©)
copy constructor
virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const size_t nestingLevel, size_t &annexNumber, const size_t flags) const
render content item (value) in HTML/XHTML format
DcmTime PerformedProcedureStepStartTime
PerformedProcedureStepStartTime (0040,0245) vr=TM, vm=1, type=3.
Definition: drtionpl.h:3107
OFCondition getPrintBitmap(void *bitmap, unsigned long size, OFBool inversePLUT=OFFalse)
writes the bitmap data into the given buffer.
virtual void resetRules()
Resets rules to their original values.
DiColorImage(const DiColorImage *image, const unsigned long fstart, const unsigned long fcount)
constructor, copy
Item & operator=(const Item ©)
assigment operator
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
virtual int compare(const DerivationImageItem &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
DcmTag()
default constructor
OFCRC32()
constructor
Definition: ofcrc32.h:38
T_ASC_NetworkRole role
network role for this TLS layer
Definition: tlslayer.h:441
virtual OFBool operator==(const DiLookupTable &lut)
compares current LUT with specified LUT
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
DSRCodingSchemeIdentificationList()
constructor (default)
void clear()
clear all internal member variables
OFCondition getDeliveredMeterset(OFString &value, const signed long pos=0) const
get DeliveredMeterset (3008,0044)
const Item & getItem(const size_t num) const
get particular item in the sequence
T_ASC_Network * net_
pointer to network structure
Definition: dfindscu.h:377
log4cplus::tstring const & toString(LogLevel ll) const
This method is called by all Layout classes to convert a LogLevel into a string.
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setPixelAspectRatio(const OFString &verticalPixelSize, const OFString &horizontalPixelSize, const OFBool checkValue=OFTrue)
Set Pixel Aspect Ratio.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual ~DcmStorageSCU()
destructor
OFCondition read(DcmItem &item)
read elements from sequence item
DiColorPixelTemplate(const DiColorPixel *pixel, const unsigned long count)
constructor
Definition: dicopxt.h:535
virtual ~FGUSImageDescription()
Destructor, frees memory.
@ PSMA1007_F18
(126758,DCM,"PSMA-1007 F^18^")
Definition: cid4021.h:236
OFCondition write(DcmItem &item)
write elements to sequence item
Item & operator=(const Item ©)
assigment operator
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setDistributionType(const OFString &value, const OFBool check=OFTrue)
set DistributionType (0012,0084)
virtual OFCondition getRadiationMachineName(OFString &value, const signed long pos=0) const
get RadiationMachineName (3002,0020)
virtual void inventMissing()
Set missing values by inventing "default values".
OFCondition setTableTopRollAngle(const Float32 value, const unsigned long pos=0)
set TableTopRollAngle (300a,0144)
OFBool transmitImagesIn12Bit
transmit images in 12 bit for the current print job
Definition: dvpssp.h:1107
static DJEncoderExtended * encext
pointer to encoder for extended JPEG
Definition: djencode.h:118
virtual OFCondition convertCharacterSet(const OFString &toCharset, const size_t flags=0, const OFBool ignoreCharset=OFFalse)
convert all element values that are contained in this record and that are affected by SpecificCharact...
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
void clear()
clear all internal member variables
virtual OFCondition getInstanceCreationTime(OFString &value, const signed long pos=0) const
get InstanceCreationTime (0008,0013)
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSCompressedBufferTooSmall
error condition constant: Too small buffer used for compressed image data (internal error)
virtual OFCondition write(DcmItem &itemOfSourceImageSequence)
Writes source image item to given item.
virtual void clear()
clear all member variables.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtchs.h:624
virtual PrimaryAnatomicStructureMacro & getPrimaryAnatomicStructure()
Return anatomic structure.
virtual OFCondition getRealWorldValueLUTData(OFVector< Float64 > &values) const
Get Real World Value LUT Data.
DcmAttributeTag(const DcmAttributeTag &old)
copy constructor
virtual OFBool containsExtendedCharacters(const OFBool checkAllStrings=OFFalse)
check if this object contains non-ASCII characters at any nesting level.
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
void clear()
clear all internal member variables
static OFBool checkElementValue(DcmElement &delem, const OFString &vm, const OFString &type, const OFCondition &searchCond=EC_Normal, const char *moduleName=NULL, const OFBool acceptViolation=OFFalse)
check element value for correct value multiplicity and type.
virtual OFCondition setPerformedProcedureStepEndTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndTime (0040,0251)
virtual CodeSequenceMacro * getConceptNameCodeSequence()
Get reference to the ConceptNameCodeSequence.
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrbos6.h:137
DRTConceptNameCodeSequence ConceptNameCodeSequence
ConceptNameCodeSequence (0040,a043) vr=SQ, vm=1, type=1.
Definition: drtqds.h:339
DRTBlockSlabSequence(const DRTBlockSlabSequence ©)
copy constructor
const DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence() const
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtstrct.h:1164
OFString DestinationEncoding
selected destination encoding based on names supported by the underlying character encoding library
Definition: dcspchrs.h:300
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
virtual OFBool isPatientStudyModulePresent(const OFBool complete=OFFalse)
check whether PatientStudyModule (U) is present.
virtual OFCondition check(const OFBool quiet=OFFalse)
Check whether this component's data satisfies the underlying rules.
DcmIntegerString ReferencedBeamNumber
ReferencedBeamNumber (300c,0006) vr=IS, vm=1, type=1.
Definition: drttsibs.h:1046
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const DRTReferencedSeriesSequence & getReferencedSeriesSequence() const
get ReferencedSeriesSequence (0008,1115)
Definition: drttreat.h:1593
const Item & getCurrentItem() const
get current item in the sequence
DcmUnsignedShort voiLUTDescriptor
Module=VOI_LUT, VR=xs, VM=3, Type 1c.
Definition: dvpssv.h:207
virtual void resetRules()
Resets rules to their original values.
DRTReferencedStudySequence & getReferencedStudySequence()
get ReferencedStudySequence (0008,1110)
Definition: drtstrct.h:1674
~OFFile()
destructor. Closes file if still open.
Definition: offile.h:316
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtwrsrs.h:292
virtual OFCondition getPatientID(OFString &value, const signed long pos=0) const
get PatientID (0010,0020)
WlmDataSource()
default constructor.
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmTime instanceCreationTime
Module=SOP_Common, VR=TM, VM=1, Type 3.
Definition: dcmpstat.h:874
const Item & getCurrentItem() const
get current item in the sequence
DcmShortString RespiratorySignalSourceID
RespiratorySignalSourceID (0018,9186) vr=SH, vm=1, type=3.
Definition: drtmss.h:164
Interface class for ReferencedImageSequence (0008,1140)
Definition: drtrims.h:29
OFBool createOffsetTable_
create offset table during image compression
Definition: djcparam.h:251
OFCmdUnsignedInt opt_maxPDU
max PDU size
Definition: wlcefs.h:68
OFCondition getRadiationAtomicNumber(OFString &value, const signed long pos=0) const
get RadiationAtomicNumber (300a,0304)
~FGFactory()
Private undefined destructor (singleton implementation)
Definition: fgfact.h:73
type definitions for the dcmdata module
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
const DcmQueryRetrieveCharacterSetOptions & characterSetOptions
Specific Character Set related options.
Definition: dcmqrcbf.h:96
Uint16 Columns
number of (stored) columns
Definition: diovpln.h:440
int value
integer value assigned to this pixel.
Definition: diqthitm.h:100
void ClearDataset(DcmDataset *idents)
This function removes all elements from the given DcmDataset object.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition makeNewStoreFileName(const char *SOPClassUID, const char *SOPInstanceUID, char *newImageFileName, size_t newImageFileNameLen)=0
create a filename under which a DICOM object that is currently being received through a C-STORE opera...
This Interface is for attaching Appenders to objects.
Definition: apndatch.h:49
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtibls.h:340
DRTContrastBolusAgentSequence & operator=(const DRTContrastBolusAgentSequence ©)
assigment operator
DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence()
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtiontr.h:1359
virtual IODRules & getIODRules()
Get rules for this data structure.
DcmObject(const DcmTag &tag, const Uint32 len=0)
constructor.
const Item & operator[](const size_t num) const
get particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtdcs.h:343
virtual unsigned long getNumberOfValues()
get number of values stored in this element
virtual void transferEnd()
finalize the transfer state of this object.
OFBool isFilenameValid(const OFFilename &filename, const OFBool allowEmpty=OFFalse)
check whether specified filename is valid.
virtual void addTrustedCertDir(const OFString &certDir)
Add directory to list of directories containing trusted certificates (used if authentication is enabl...
OFCondition setReferencedRangeModulatorNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedRangeModulatorNumber (300c,0104)
DcmShortText OverrideReason
OverrideReason (3008,0066) vr=ST, vm=1, type=3.
Definition: drtos.h:214
const DRTStrainCodeSequence & getStrainCodeSequence() const
get StrainCodeSequence (0010,0219)
Definition: drtplan.h:1946
virtual OFCondition setAdmissionID(const OFString &value, const OFBool check=OFTrue)
set AdmissionID (0038,0010)
JLS_PlanarConfiguration getPlanarConfiguration() const
returns mode for handling planar configuration
Definition: djcparam.h:138
virtual void updateImagePixelModuleAttributes(DcmItem &dataset)
update Image Pixel Module attributes in the given dataset.
OFCondition gotoNextItem()
goto next item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const DRTApplicatorSequenceInRTBeamsModule & getApplicatorSequence() const
get ApplicatorSequence (300a,0107)
Definition: drtbs.h:384
DCMR Context Group with enhanced functionality: CID 10013 - CT Acquisition Type.
Definition: cid10013e.h:30
virtual ~Item()
destructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrvis.h:308
OFCondition getObservationDateTime(OFString &value, const signed long pos=0) const
get ObservationDateTime (0040,a032)
virtual void clearData()
Clear all data.
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setCodingSchemeUID(const OFString &value, const OFBool check=OFTrue)
set the coding scheme UID of the currently selected entry
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getImageOrientationPatient(OFVector< Float64 > &value) const
get ImageOrientationPatient (0020,0037)
static void callbackSENDProgress(void *callbackContext, unsigned long byteCount)
Callback function used for sending DIMSE messages.
OFVector< IODSeriesAndInstanceReferenceMacro::ReferencedSeriesItem * > m_ReferenceSeriesItems
Vector with all items of the Referenced Series Sequence.
Definition: modcommoninstanceref.h:140
@ TCA_RSA
RSA.
Definition: tlsciphr.h:167
DcmShortText DerivationDescription
DerivationDescription (0008,2111) vr=ST, vm=1, type=3.
Definition: drttreat.h:2956
Interface class for TreatmentMachineSequence (300a,0206) in RTBrachyApplicationSetupsModule.
Definition: drttms9.h:28
Uint16 findOverlayGroup(Uint16 currentGroup=0)
tries to find an overlay repeating group that is not used in the presentation state or the attached i...
JLS_CompressionBitDepth
describes how the encoder handles the image bit depth upon lossy compression.
Definition: djlsutil.h:94
DcmLongString PatientState
PatientState (0038,0500) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3047
virtual OFCondition getPixelPaddingValue(Uint16 &value, const unsigned long pos=0) const
get PixelPaddingValue (0028,0120)
non-template base class for OFStack.
Definition: ofstack.h:81
virtual OFCondition setClinicalTrialProtocolID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolID (0012,0020)
class reflecting a modify operation (called Job in this context)
Definition: mdfconen.h:40
@ CS_Latin5
ISO-IR 148: Latin alphabet No. 5.
Definition: dsrtypes.h:811
const DRTOperatorIdentificationSequence & getOperatorIdentificationSequence() const
get OperatorIdentificationSequence (0008,1072)
Definition: drtiontr.h:1473
DcmLongText ImageComments
ImageComments (0020,4000) vr=LT, vm=1, type=3.
Definition: drtimage.h:5090
static const size_t HF_renderFullData
external: render the full data of all content items
Definition: dsrtypes.h:314
DcmDecimalString DVHMaximumDose
DVHMaximumDose (3004,0072) vr=DS, vm=1, type=3.
Definition: drtdvhs.h:309
virtual OFCondition getReviewDate(OFString &value, const signed long pos=0) const
get ReviewDate (300e,0004)
DcmDictEntryListIterator iter
iterator for traversing a bucket in the hash table
Definition: dchashdi.h:186
virtual ~OFUnorderedSet()
Destructor.
Definition: ofuoset.h:69
@ Electrocardiography
(ECG,DCM,"Electrocardiography")
Definition: cid29.h:60
virtual OFCondition getPatientAge(OFString &value, const signed long pos=0) const
get PatientAge (0010,1010)
DRTCodingSchemeIdentificationSequence CodingSchemeIdentificationSequence
CodingSchemeIdentificationSequence (0008,0110) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3169
IODRule()
Private undefined default constructor.
static const size_t PF_doNotMapUIDsToNames
do not map well-known UID numbers to UID names (e.g. Transfer Syntax and SOP Class)
Definition: dctypes.h:188
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored string value.
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtpsics.h:355
~DcmQueryRetrieveOptions()
destructor
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition getFrameOfReferenceUID(OFString &value, const signed long pos=0) const
get FrameOfReferenceUID (0020,0052)
Interface class for ContrastBolusAdministrationRouteSequence (0018,0014)
Definition: drtcbars.h:30
virtual void clear()
This call will clear all logger definitions from the internal hashtable.
CID7021_MeasurementReportDocumentTitles(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTBrachyControlPointSequence BrachyControlPointSequence
BrachyControlPointSequence (300a,02d0) vr=SQ, vm=1, type=1.
Definition: drtchs.h:629
IODEnhUSImageModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
int isUnused(const unsigned long value)
check whether specified pixel value is used in the image.
DcmUniqueIdentifier OriginalSpecializedSOPClassUID
OriginalSpecializedSOPClassUID (0008,001b) vr=UI, vm=1, type=3.
Definition: drtplan.h:3366
OFCondition findAndGetUint16Array(const DcmTagKey &tagKey, const Uint16 *&value, unsigned long *count=NULL, const OFBool searchIntoSub=OFFalse)
find element and get value as an array of unsigned 16-bit integers.
DRTRecordedSnoutSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmUnsignedShort MACIDNumber
MACIDNumber (0400,0005) vr=US, vm=1, type=1.
Definition: drtdss.h:243
OFCondition writeDocumentRelationshipMacro(DcmItem &dataset, DcmStack *markedItems)
write document relationship macro
T * get() const
Returns a pointer to the managed object.
Definition: ofmem.h:156
virtual OFCondition getSeriesNumber(Sint32 &value, const unsigned long pos=0) const
get SeriesNumber (0020,0011)
virtual OFString ident()
Virtual function that returns a short name of the plugin.
Image2Dcm()
Constructor, initializes command line options.
OFCondition gotoFirstItem()
goto first item in the sequence
virtual void * getDataPtr()=0
get pointer to output pixel data (abstract)
OFCondition read(DcmItem &item)
read elements from sequence item
DcmSignedLong RationalNumeratorValue
RationalNumeratorValue (0040,a162) vr=SL, vm=1-n, type=1C.
Definition: drtpcxs.h:372
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtcss.h:351
virtual OFCondition setPatientBirthDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDateInAlternativeCalendar (0010,0033)
virtual OFString getName() const
Get name of module ("DimensionIndexPointerSequence")
DiMonoCopyTemplate(const DiMonoPixel *pixel, const unsigned long fstart, const unsigned long fcount, const unsigned long fsize)
constructor
Definition: dimocpt.h:53
void clear()
clear all internal member variables
OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
get StudyInstanceUID (0020,000d)
virtual ~Item()
destructor
virtual void clearData()
Clears all data handled by this component.
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored string value.
virtual ~DRTWADORetrievalSequence()
destructor
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition setClinicalTrialTimePointDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointDescription (0012,0051)
virtual OFCondition getVerifyingObserver(const size_t idx, OFString &dateTime, OFString &observerName, DSRCodedEntryValue &observerCode, OFString &organization)
get information about a verifying observer.
OFCondition getDVHVolumeUnits(OFString &value, const signed long pos=0) const
get DVHVolumeUnits (3004,0054)
const OFString & getString(OFString &position, const char separator='.') const
get string representing the current state of the position counter.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrris6.h:334
const Item & getCurrentItem() const
get current item in the sequence
OFCondition setDeviceDiameter(const OFString &value, const OFBool check=OFTrue)
set DeviceDiameter (0050,0016)
Sint32 getRectShutterLH()
gets rectangular shutter lower horiztonal edge.
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
virtual OFCondition getSeriesNumber(OFString &value, const signed long pos=0) const
get series number
virtual OFCondition getClinicalTrialSubjectReadingID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectReadingID (0012,0042)
virtual OFString message(int code) const =0
Constructs an explanatory string for an error code.
OFCondition write(DcmItem &dset)
writes the activation layer managed by this object to a DICOM dataset.
virtual int getOutputData(void *buffer, const unsigned long size, const unsigned long frame, const int bits, const int planar)=0
get pixel data with specified format (abstract).
const char * getCharsetString()
gets the specific character set string for this presentation state.
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
virtual DcmTransportLayerStatus serverSideHandshake()=0
performs server side handshake on established socket.
OFBool getCreateOffsetTable() const
returns offset table creation flag
Definition: dcrlecp.h:83
DcmLongString SourceApplicatorManufacturer
SourceApplicatorManufacturer (300a,0298) vr=LO, vm=1, type=3.
Definition: drtchs.h:661
const char * getPresentationLabel()
returns a label for the presentation state.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFBool isEmpty()
check if item is empty
OFCondition getSourceApplicatorType(OFString &value, const signed long pos=0) const
get SourceApplicatorType (300a,0292)
unsigned long sum
the number of pixels represented by this box
Definition: diqtpbox.h:55
Uint32 getTargetPrinterNumberOfMaxDensities(const char *targetID)
returns the number of distinct values (separated by backslash characters) in the MAXDENSITY entry for...
virtual ~RetrieveResponse()
Destructor, cleans up internal memory.
Definition: scu.h:145
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence()
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtplan.h:1376
OFString m_assocCfgProfileName
Profile in association configuration that should be used.
Definition: scpcfg.h:339
virtual size_t gotoNextMatchingNode(const DSRDocumentTreeNodeFilter &filter, const OFBool searchIntoSub=OFTrue)
set internal cursor to the next matching node.
void clear()
clear all internal member variables
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTRangeModulatorSequence RangeModulatorSequence
RangeModulatorSequence (300a,0342) vr=SQ, vm=1, type=1C.
Definition: drtibs.h:1037
@ DCM_MachineString
string has internal representation (no padding)
Definition: dcbytstr.h:342
const DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence() const
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtimage.h:3076
OFCondition read(DcmItem &dset)
reads a list of graphic objects from a DICOM dataset.
DCMTK_DCMNET_EXPORT OFCondition DIMSE_receiveDataSetInFile(T_ASC_Association *assoc, T_DIMSE_BlockingMode blocking, int timeout, T_ASC_PresentationContextID *presID, DcmOutputStream *filestream, DIMSE_ProgressCallback callback, void *callbackData)
receive one data set (of instance data) via network from another DICOM application and store in file.
const log4cplus::tstring & getLoggerName() const
The logger of the logging event.
Definition: logevent.h:115
OFCondition gotoItem(const OFString &sopClassUID, const OFString &instanceUID)
select the specified item as the current one
const DSRWaveformReferenceValue & getWaveformReference() const
get waveform reference.
OFCondition getFixationDeviceDescription(OFString &value, const signed long pos=0) const
get FixationDeviceDescription (300a,0196)
OFCondition write(DcmItem &item)
write elements to sequence item
DcmCodeString PatientIdentityRemoved
PatientIdentityRemoved (0012,0062) vr=CS, vm=1, type=3.
Definition: drtplan.h:3027
virtual IODGeneralEquipmentModule & getIODGeneralEquipmentModule()
Get General Equipment Module.
static unsigned int sleep(unsigned int seconds)
makes the current process sleep until seconds seconds have elapsed or a signal arrives which is not i...
Definition: ofstd.h:863
Item EmptyItem
empty default item
Definition: drtshds.h:363
virtual OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
virtual OFCondition setPhysiciansOfRecord(const OFString &value, const OFBool check=OFTrue)
set PhysiciansOfRecord (0008,1048)
DcmLongString SeriesDescription
SeriesDescription (0008,103e) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3091
DJCompressIJG12Bit(const DJCodecParameter &cp, EJ_Mode mode, Uint8 quality)
constructor for lossy JPEG
iterator end()
Return iterator to last rule.
FGInterface()
Constructor, constructs empty sets of per-frame and shared functional groups.
OFCondition getReferencedROINumber(OFString &value, const signed long pos=0) const
get ReferencedROINumber (3006,0084)
OFCondition setOperatorsName(const OFString &value, const OFBool check=OFTrue)
set OperatorsName (0008,1070)
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
char * currentImageSOPInstanceUID
contains the SOP Instance UID of the attached image
Definition: dvpstat.h:1242
OFCondition read(DcmItem &dset)
reads a list of Presentation LUTs (Presentation LUT Content Sequence) from a DICOM dataset.
@ DT_PlannedImagingAgentAdministrationSR
DICOM IOD: Planned Imaging Agent Administration SR.
Definition: dsrtypes.h:545
void clear()
clear all internal member variables
OFBool isEmpty()
check if sequence is empty
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmShortString ChannelShieldID
ChannelShieldID (300a,02b3) vr=SH, vm=1, type=2.
Definition: drtcshs.h:228
OFCondition readBitmapHeader(Uint16 &width, Uint16 &height, Uint16 &bpp, OFBool &isTopDown, Uint16 &colors)
Reads and checks the BMP bitmap header.
virtual void Insert(const T &item)
Inserts a new item into the set.
Definition: ofoset.h:138
DcmCodeString ModulatedScanModeType
ModulatedScanModeType (300a,0309) vr=CS, vm=1, type=1C.
Definition: drttsibs.h:1000
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
void clear()
clear all internal member variables
Item & getCurrentItem()
get current item in the sequence
DcmLongString ServiceEpisodeDescription
ServiceEpisodeDescription (0038,0062) vr=LO, vm=1, type=3.
Definition: drtplan.h:3144
const DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence() const
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtdose.h:2170
DRTBreedRegistrationSequence BreedRegistrationSequence
BreedRegistrationSequence (0010,2294) vr=SQ, vm=1, type=2C.
Definition: drtionpl.h:2924
size_t numberOfPoints
number of points in curve data
Definition: dvpscu.h:122
void resetDatabaseReferenceTime()
resets index file modification time to reference time (yesterday)
virtual OFString getDefaultValue() const
Get default value of this attribute.
NDCContextCreator(const log4cplus::tstring &msg)
Pushes msg onto the NDC stack.
OFCondition readDocumentRelationshipMacro(DcmItem &dataset, const DSRIODConstraintChecker *constraintChecker, const OFString &posString, const size_t flags)
read document relationship macro
Item & operator[](const size_t num)
get particular item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DUL_BLOCKOPTIONS m_connectionBlockingMode
Blocking mode for TCP/IP connection requests.
Definition: scpcfg.h:364
OFString m_Manufacturer
Manufacturer (VM 1)
Definition: modequipment.h:76
@ Perfusion
(110831,DCM,"Perfusion"), included from CID 7180
Definition: cid7469.h:182
OFCondition setROIDescription(const OFString &value, const OFBool check=OFTrue)
set ROIDescription (3006,0028)
virtual OFCondition setNumberOfFrames(const Uint32 value)
Set Number of Frames.
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given country to the associated coded entry
Item(const Item ©)
copy constructor
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFBool isVOILUTModulePresent(const OFBool complete=OFFalse)
check whether VOILUTModule (U) is present.
@ Ammonia_N13
(129508003,SCT,"Ammonia N^13^")
Definition: cid4021.h:56
DIC_US nFailed
number of failed sub-operations
Definition: dcmqrcbg.h:158
Uint16 m_status
The returned DIMSE status (mandatory Response Field)
Definition: scu.h:109
@ German_CH
(de-CH,RFC5646,"German (CH)")
Definition: cid5000.h:64
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
virtual OFCondition setFrameTimeVector(const OFString &value, const OFBool check=OFTrue)
set FrameTimeVector (0018,1065)
virtual OFCondition setClinicalTrialProtocolEthicsCommitteeName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
int good() const
check whether current document is valid
Definition: didocu.h:100
OFBool operator==(const DcmTagKey &key) const
Comparison operator.
Definition: dctagkey.h:384
@ OFdenorm_present
The type allows subnormal values.
Definition: oflimits.h:118
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition error() const
returns current status flag
Definition: dcsequen.h:94
This class encapsulates data structures and operations for connecting to a file-based data source in ...
Definition: wldsfs.h:40
OFBool isEmpty()
check if sequence is empty
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition getSeriesTime(OFString &value, const signed long pos=0) const
get SeriesTime (0008,0031)
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
virtual OFCondition getDepthsOfFocus(Float64 &value, const unsigned long pos=0)
Get Depth(s) of Focus.
virtual OFCondition updateByReferenceRelationships(const OFBool updateIncludedTemplates=OFFalse)
update the position strings used to encode by-reference relationships (if any).
virtual OFCondition getServiceEpisodeDescription(OFString &value, const signed long pos=0) const
get ServiceEpisodeDescription (0038,0062)
DcmExtendedNegotiationMap & operator=(const DcmExtendedNegotiationMap &arg)
Copy assignment operator, performs deep copy.
virtual ~DiMonoModality()
destructor
virtual OFCondition getPerformedProcedureStepEndDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndDate (0040,0250)
OFCondition nextMoveResponse(char *SOPClassUID, size_t SOPClassUIDSize, char *SOPInstanceUID, size_t SOPInstanceUIDSize, char *imageFileName, size_t imageFileNameSize, unsigned short *numberOfRemainingSubOperations, DcmQueryRetrieveDatabaseStatus *status)
Constructs the information required for the next available C-MOVE sub-operation (the image SOP class ...
const char * Name
string (name of the color model without spaces and underscores)
Definition: diutils.h:148
OFCondition checkFiducialUID(const OFString &fiducialUID) const
check the specified fiducial UID for validity
Item EmptyItem
empty default item
Definition: drttts.h:548
DRTReferencedSOPSequence & getReferencedSOPSequence()
get ReferencedSOPSequence (0008,1199)
Definition: drtrpphs.h:150
Item & operator=(const Item ©)
assigment operator
OFCondition getGantryPitchRotationDirection(OFString &value, const signed long pos=0) const
get GantryPitchRotationDirection (300a,014c)
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
virtual ~DRTReferencedDoseSequence()
destructor
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get particular value as a character string
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtgmcs.h:347
virtual OFCondition getAccessionNumber(OFString &value, const signed long pos=0) const
get AccessionNumber (0008,0050)
virtual OFCondition getAcquisitionNumber(OFString &value, const signed long pos=0) const
get AcquisitionNumber (0020,0012)
DVPSSoftcopyVOI * findSoftcopyVOI(const char *instanceUID, unsigned long frame)
checks if a softcopy VOI LUT item exists for the given image and frame.
virtual OFCondition getPerformedProtocolType(OFString &value, const signed long pos=0) const
Get Performed Protocol Type.
int writeRawPPM(FILE *stream, const int bits=0, const unsigned long frame=0)
write pixel data to raw PPM file (specified by open C stream).
OFCondition getOrganAtRiskLimitDose(OFString &value, const signed long pos=0) const
get OrganAtRiskLimitDose (300a,002b)
OFBool isEmpty()
check if item is empty
void clear()
clear all internal member variables
virtual OFCondition getSOPInstanceUID(OFString &value, const signed long pos=0) const
get SOPInstanceUID (0008,0018)
DcmKeyValuePair & operator=(const DcmKeyValuePair &arg)
private undefined copy assignment operator
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setNumberOfWedges(const OFString &value, const OFBool check=OFTrue)
set NumberOfWedges (300a,00d0)
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtecs.h:324
virtual OFCondition getSeriesNumber(OFString &value, const signed long pos=0) const
get SeriesNumber (0020,0011)
virtual Uint16 bytesPerSample() const
returns the number of bytes per sample that will be expected when encoding.
Definition: djeijg12.h:108
DCMTK_LOG4CPLUS_PRIVATE void updateParents(Logger const &logger)
This method loops through all the potential parents of logger'.
virtual OFCondition setNameOfPhysiciansReadingStudy(const OFString &value, const OFBool check=OFTrue)
set NameOfPhysiciansReadingStudy (0008,1060)
virtual OFCondition setRTPlanLabel(const OFString &value, const OFBool check=OFTrue)
set RTPlanLabel (300a,0002)
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
OFCondition getTableTopRollAngle(Float32 &value, const unsigned long pos=0) const
get TableTopRollAngle (300a,0144)
DRTInstitutionCodeSequence & getInstitutionCodeSequence()
get InstitutionCodeSequence (0008,0082)
Definition: drtcpis.h:136
OFBool isEquivalent(const DcmVR &avr) const
check if VRs are equivalent.
OFCondition checkMeasurements()
Check whether measurements have data for all tracks.
DRTAssigningAgencyOrDepartmentCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFBool isClinicalTrialSeriesModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSeriesModule (U) is present.
void clear()
clear all internal member variables
OFCondition setNumberOfFractionsPlanned(const OFString &value, const OFBool check=OFTrue)
set NumberOfFractionsPlanned (300a,0078)
OFCondition abortAssociation()
aborts the current association.
virtual OFBool isValid() const
check whether the content item is valid.
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setIsocenterToBeamLimitingDeviceDistance(const Float32 value, const unsigned long pos=0)
set IsocenterToBeamLimitingDeviceDistance (300a,00bb)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbas.h:324
OFCondition findAndGetOFStringArray(const DcmTagKey &tagKey, OFString &value, const OFBool searchIntoSub=OFFalse)
find element and get value as a C++ string (all components).
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_TooManyBytesRequested
Too many bytes requested.
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition setReferencedROINumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedROINumber (3006,0084)
DcmDate PerformedProcedureStepStartDate
PerformedProcedureStepStartDate (0040,0244) vr=DA, vm=1, type=3.
Definition: drtiontr.h:3017
DRTIssuerOfAdmissionIDSequence IssuerOfAdmissionIDSequence
IssuerOfAdmissionIDSequence (0038,0014) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4251
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_TransferSyntaxDoesNotMatchProfile
Transfer syntax not allowed for the current security profile.
DRTReferencedBeamSequenceInRTGeneralTreatmentRecordModule(const DRTReferencedBeamSequenceInRTGeneralTreatmentRecordModule ©)
copy constructor
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtdcs.h:333
virtual OFBool isContrastBolusModulePresent(const OFBool complete=OFFalse)
check whether ContrastBolusModule (C) is present.
const char * currentPeerTitle
current peer title
Definition: dcmqrtis.h:279
DcmCodeString PatientPosition
PatientPosition (0018,5100) vr=CS, vm=1, type=1C.
Definition: drtpss.h:329
virtual ~DJLSCodecParameter()
destructor
virtual DcmEVR ident() const
get element type identifier
DSRByReferenceTreeNode(const E_RelationshipType relationshipType)
constructor
OFCondition setROIVolume(const OFString &value, const OFBool check=OFTrue)
set ROIVolume (3006,002c)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
DRTFractionStatusSummarySequence & getFractionStatusSummarySequence()
get FractionStatusSummarySequence (3008,0240)
Definition: drtfgss.h:149
DRTCodingSchemeIdentificationSequence(const DRTCodingSchemeIdentificationSequence ©)
copy constructor
Item(const Item ©)
copy constructor
int pt
for lossless compression, defines point transform
Definition: djeijg12.h:160
OFBool abortMode() const
get current status of the "abort on first error" mode.
Definition: dcddirif.h:348
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getSmallestImagePixelValue(Uint16 &value, const unsigned long pos=0) const
get SmallestImagePixelValue (0028,0106)
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
DRTPerformedProtocolCodeSequence PerformedProtocolCodeSequence
PerformedProtocolCodeSequence (0040,0260) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3198
Interface class for ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtcctus.h:28
CID29_AcquisitionModality(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
size_t getNumberOfItems() const
get number of items in the sequence
DRTPatientSpeciesCodeSequence(const DRTPatientSpeciesCodeSequence ©)
copy constructor
OFBool isEmpty()
check if item is empty
DRTReferencedInstanceSequence ReferencedInstanceSequence
ReferencedInstanceSequence (0008,114a) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2954
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmTCPConnection & operator=(const DcmTCPConnection &)
private undefined assignment operator
OFCondition insertItem(const size_t idx, const T &item)
insert item at specified position to the list
Definition: dsrtlist.h:275
void removeSignatures()
remove digital signatures from content item.
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getPatientSize(OFString &value, const signed long pos=0) const
get PatientSize (0010,1020)
virtual DcmObject * clone() const
clone method
Definition: dcvrlo.h:68
OFCondition getSpecifiedSecondaryMeterset(OFString &value, const signed long pos=0) const
get SpecifiedSecondaryMeterset (3008,0033)
@ EPI_PaletteColor
palette color
Definition: diutils.h:125
WlmDataSourceFileSystem(const WlmDataSourceFileSystem &Src)
Protected undefined copy-constructor.
const DRTIonControlPointDeliverySequence & getIonControlPointDeliverySequence() const
get IonControlPointDeliverySequence (3008,0041)
Definition: drttsibs.h:568
OFCondition gotoFirstItem()
goto first item in the sequence
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtdspcs.h:327
OFCondition gotoNextItem()
goto next item in the sequence
@ RGBBComponent
(110836,DCM,"RGB B Component"), included from CID 7180
Definition: cid7469.h:208
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrims.h:177
virtual OFCondition getPregnancyStatus(Uint16 &value, const unsigned long pos=0) const
get PregnancyStatus (0010,21c0)
@ EsophagusStomachAndDuodenum
(110861005,SCT,"Esophagus, stomach and duodenum")
Definition: cid4031.h:94
OFCondition setReferencedFrameNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFrameNumber (0008,1160)
virtual OFCondition loadAllDataIntoMemory()
this method loads all attribute values maintained by this object and all sub-objects (in case of a co...
OFBool JPEGSupport
flag indicating whether JPEG decompression is supported
Definition: dcddirif.h:1603
virtual void createNewSOPInstance()
create a new SOP instance.
Item(const Item ©)
copy constructor
OFCondition getBeamLimitingDeviceAngle(OFString &value, const signed long pos=0) const
get BeamLimitingDeviceAngle (300a,0120)
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtspcs.h:372
DRTContourImageSequence & getContourImageSequence()
get ContourImageSequence (3006,0016)
Definition: drtrses.h:107
IODPatientModule()
Constructor.
DimensionIndexItem(OFshared_ptr< DcmItem > data, OFshared_ptr< IODRules > rules, IODComponent *parent)
Constructor.
DcmLongString ModifyingSystem
ModifyingSystem (0400,0563) vr=LO, vm=1, type=1.
Definition: drtoas.h:177
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
OFCondition setRTImagePosition(const OFString &value, const OFBool check=OFTrue)
set RTImagePosition (3002,0012)
virtual OFCondition setPatientState(const OFString &value, const OFBool check=OFTrue)
set PatientState (0038,0500)
virtual OFCondition getContrastBolusTotalDose(Float64 &value, const unsigned long pos=0) const
get ContrastBolusTotalDose (0018,1044)
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_MacDoesNotMatchProfile
MAC algorithm not allowed for the current security profile.
OFCondition storeRequest(const char *SOPClassUID, const char *SOPInstanceUID, const char *imageFileName, DcmQueryRetrieveDatabaseStatus *status, OFBool isNew=OFTrue)
register the given DICOM object, which has been received through a C-STORE operation and stored in a ...
const unsigned long CIF_AcrNemaCompatibility
compatibility with old ACR-NEMA images
Definition: diutils.h:62
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
virtual OFCondition sign(const unsigned char *inputHash, unsigned long inputHashSize, E_MACType inputHashAlgorithm, unsigned char *outputSignature, unsigned long &outputSignatureSize)
creates a signature.
OFCondition getRTImagePosition(OFString &value, const signed long pos=0) const
get RTImagePosition (3002,0012)
DVPSPresentationLUT & operator=(const DVPSPresentationLUT &)
private undefined assignment operator
int LogLevel
Defines the minimum set of priorities recognized by the system, that is FATAL_LOG_LEVEL,...
Definition: loglevel.h:49
DcmUniqueIdentifier RepositoryUniqueID
RepositoryUniqueID (0040,e030) vr=UI, vm=1, type=1.
Definition: drtxrs.h:132
virtual OFCondition setPatientSexNeutered(const OFString &value, const OFBool check=OFTrue)
set PatientSexNeutered (0010,2203)
Uint16 PValue
P-value used for bitmap shutters.
Definition: diovpln.h:451
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
OFCondition setDateTime(const OFString &value, const OFBool check=OFTrue)
set DateTime (0040,a120)
OFCondition getLeafPositionBoundaries(OFString &value, const signed long pos=0) const
get LeafPositionBoundaries (300a,00be)
Item & operator[](const size_t num)
get particular item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
@ Millisecond
(ms,UCUM,"millisecond")
Definition: cid7181.h:152
DcmUniqueIdentifier SOPInstanceUID
SOPInstanceUID (0008,0018) vr=UI, vm=1, type=1.
Definition: drtionpl.h:3256
OFBool retiredSOPClassSupport() const
get current status of the "retired SOP class support" mode.
Definition: dcddirif.h:384
void clear()
clear all internal member variables
void clear()
clear all internal member variables
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition encode(Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint16 *image_buffer, Uint8 *&to, Uint32 &length)=0
single frame compression routine for 16-bit raw pixel data.
virtual OFCondition getUint64Array(Uint64 *&uintVals)
get reference to stored integer data.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtgmcs.h:533
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual ~DVPSTextObject_PList()
destructor
OFCondition receiveDIMSECommand(T_ASC_PresentationContextID *presID, T_DIMSE_Message *message, DcmDataset **statusDetail, DcmDataset **commandSet=NULL, const Uint32 timeout=0)
Receive DIMSE command (excluding dataset!) over the currently open association.
OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags=0, const char separator=',') const
print list of referenced time offsets.
DcmIntegerString ROINumber
ROINumber (3006,0022) vr=IS, vm=1, type=1.
Definition: drtssrs.h:239
virtual ~DRTFractionStatusSummarySequence()
destructor
OFCondition setReferencedFrameNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFrameNumber (0008,1160)
const Item & getCurrentItem() const
get current item in the sequence
DRTROIContourSequence & getROIContourSequence()
get ROIContourSequence (3006,0039)
Definition: drtdose.h:2380
DVPSPresentationLUT globalPresentationLUT
stores the "global" presentation LUT that overrides the image box LUTs (optional)
Definition: dvpssp.h:1101
DiMono1Image(const DiMonoImage *image, const signed long left_pos, const signed long top_pos, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const int interpolate=0, const int aspect=0, const Uint16 pvalue=0)
constructor, scale/clip
ImageSOPInstanceReferenceMacro m_ImageSOPInstanceReference
Contains the referenced images (as represented by one of the items of "this" Source Image Sequence)
Definition: fgderimg.h:117
OFCondition findOrCreatePath(DcmObject *obj, const OFString &path, OFBool createIfNecessary=OFFalse)
Function that allows for finding and/or inserting a hierarchy of items and attributes as defined by a...
static const char * graphicTypeToEnumeratedValue(const E_GraphicType graphicType)
convert graphic type to DICOM enumerated value
Item & operator=(const Item ©)
assigment operator
DRTSeriesDescriptionCodeSequence SeriesDescriptionCodeSequence
SeriesDescriptionCodeSequence (0008,103f) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2938
OFCondition gotoFirstItem()
goto first item in the sequence
void clear()
clear all internal member variables
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
OFCondition getReferencedROINumber(OFString &value, const signed long pos=0) const
get ReferencedROINumber (3006,0084)
OFString & insert(size_t pos, const char *s, size_t n)
constructs a temporary string from the input and inserts it into the current string.
DRTGeneticModificationsCodeSequence & operator=(const DRTGeneticModificationsCodeSequence ©)
assigment operator
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setPatientSexNeutered(const OFString &value, const OFBool check=OFTrue)
set PatientSexNeutered (0010,2203)
virtual OFCondition getOriginalSpecializedSOPClassUID(OFString &value, const signed long pos=0) const
get OriginalSpecializedSOPClassUID (0008,001b)
DcmFGTypes::E_FGType m_fgType
The type of the functional group.
Definition: fgbase.h:150
OFString & getStringFromNodeContent(const DSRXMLCursor &cursor, OFString &stringValue, const char *name=NULL, const OFBool encoding=OFFalse, const OFBool clearString=OFTrue) const
get string value from particular XML element
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtspccs.h:343
OFBool haveActiveVOIWindow()
check if a VOI window is currently active
T_ASC_Network * net
the network used for establishing associations. Can be NULL.
Definition: dvpspr.h:279
const DcmDictEntry * get(const DcmTagKey &key, const char *privCreator) const
hash table lookup for the given tag key and private creator name
@ Gy
(Gy,UCUM,"Gy"), included from CID 10071
Definition: cid7181.h:126
virtual OFCondition getPatientBirthTime(OFString &value, const signed long pos=0) const
get PatientBirthTime (0010,0032)
OFBool enableMapFilenamesMode(const OFBool newMode=OFTrue)
enable/disable the "map filenames" mode.
OFBool opt_doAuthenticate
flag indicating whether we will authenticate ourselves using a certificate and private key
Definition: tlsopt.h:142
OFBool isEmpty()
check if sequence is empty
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmUniqueIdentifier DoseReferenceUID
DoseReferenceUID (300a,0013) vr=UI, vm=1, type=3.
Definition: drtdrs.h:495
virtual OFCondition getDateOfLastCalibration(OFString &value, const signed long pos=0) const
get DateOfLastCalibration (0018,1200)
void cleanupTemplate(DcmDataset *targetDset)
Cleans up template for future insertion of pixel data information, ie generally removes attributes fr...
OFList< DcmPathNode * > m_path
Internal list representing the nodes in the path.
Definition: dcpath.h:200
@ HeadOfRadiology
(128670,DCM,"Head of Radiology")
Definition: cid7452.h:48
SiNullProfile()
default constructor
Definition: sinullpr.h:42
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
const DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsSessionRecordModule & getLateralSpreadingDeviceSettingsSequence() const
get LateralSpreadingDeviceSettingsSequence (300a,0370)
Definition: drticpds.h:505
DSRReferencedSamplePositionList SamplePositionList
list of referenced sample positions (associated DICOM VR=UL, VM=1-n, type 1C)
Definition: dsrtcovl.h:272
const Item & operator[](const size_t num) const
get particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence()
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtdose.h:2320
OFBool encodingHandlerValid() const
check whether the currently set character encoding handler is valid.
SiPrivateKey()
default constructor
Item & getCurrentItem()
get current item in the sequence
void convert(const T1 *pixel, const int bits)
convert input pixel data to intermediate representation
Definition: diyp2pxt.h:84
DSRCodedEntryValue MeasurementUnit
Measurement Unit (type 1 within a type 2 sequence)
Definition: dsrnumvl.h:541
SiSHA384(SiSHA384 &arg)
private undefined copy constructor
DcmShortString FixationDeviceLabel
FixationDeviceLabel (300a,0194) vr=SH, vm=1, type=2.
Definition: drtfds.h:204
OFCondition getExposureTimeInms(Float64 &value, const unsigned long pos=0) const
get ExposureTimeInms (0018,9328)
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool isEmpty()
check if sequence is empty
DcmDecimalString PatientBodyMassIndex
PatientBodyMassIndex (0010,1022) vr=DS, vm=1, type=3.
Definition: drtplan.h:3112
OFString MoveOriginatorAETitle
AE title of the C-MOVE client that initiated the C-STORE operation (if applicable)
Definition: dstorscu.h:528
virtual OFCondition getBurnedInAnnotation(OFString &value, const signed long pos=0)
Get Burned In Annotation.
@ CM_ERROR
Erroneous setting of color mode, i.e.
Definition: trctypes.h:95
OFCondition getNumberOfRangeShifters(Sint32 &value, const unsigned long pos=0) const
get NumberOfRangeShifters (300a,0312)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
producer class that reads data from a plain file.
Definition: dcistrmf.h:33
Interface class for EncryptedAttributesSequence (0400,0500)
Definition: drteas.h:28
virtual OFCondition setReferencedFrameNumber(const OFVector< Uint16 > &values, const OFBool checkValue=OFTrue)
Set Referenced Frame Number.
Item & getCurrentItem()
get current item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
const DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule & getReferencedTreatmentRecordSequence() const
get ReferencedTreatmentRecordSequence (3008,0030)
Definition: drttreat.h:1617
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtdimcs.h:351
const Item & getCurrentItem() const
get current item in the sequence
@ DCMSCP_NO_PRESENTATION_CONTEXTS
Refusing association because of no acceptable Presentation Contexts.
Definition: scp.h:93
const char * text() const
get a human readable text representation of this error code.
Definition: ofcond.h:280
OFListIterator(Item *) CurrentItem
currently selected item
Item class.
Definition: drtspgis.h:37
OFCondition setValueType(const OFString &value, const OFBool check=OFTrue)
set ValueType (0040,a040)
const Item & getItem(const size_t num) const
get particular item in the sequence
int currentdb
current database index
Definition: dcmqrtis.h:276
OFBool isInstance(const char *uid)
compares the SOP instance UID with the given UID string.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setClinicalTrialProtocolName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolName (0012,0021)
Interface class for HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drthsdrs.h:28
static OFCondition getISOFormattedDateTimeFromString(const OFString &dicomDateTime, OFString &formattedDateTime, const OFBool seconds=OFTrue, const OFBool fraction=OFFalse, const OFBool timeZone=OFTrue, const OFBool createMissingPart=OFFalse, const OFString &dateTimeSeparator=" ", const OFString &timeZoneSeparator=" ")
get the specified DICOM datetime value in ISO format.
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtas6.h:340
DcmLongString ClinicalTrialSeriesDescription
ClinicalTrialSeriesDescription (0012,0072) vr=LO, vm=1, type=3.
Definition: drttreat.h:2885
IODGeneralEquipmentModule()
Constructor.
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset.
virtual OFCondition addChildContentItem(const E_RelationshipType relationshipType, const E_ValueType valueType, const DSRCodedEntryValue &conceptName, const OFBool check=OFTrue)
add specified content item below the current one.
virtual OFCondition setPixelPaddingValue(const Uint16 value, const unsigned long pos=0)
set PixelPaddingValue (0028,0120)
DcmDate LastMenstrualDate
LastMenstrualDate (0010,21d0) vr=DA, vm=1, type=3.
Definition: drtdose.h:4241
OFBool foundUnsupportedOptionalKey
indicates if we encountered an unsupported optional key attribute in the search mask
Definition: wlds.h:70
OFListIterator(Item *) CurrentItem
currently selected item
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtpbcs.h:343
DcmDecimalString DVHDoseScaling
DVHDoseScaling (3004,0052) vr=DS, vm=1, type=1.
Definition: drtdvhs.h:307
OFCondition getDVHNumberOfBins(OFString &value, const signed long pos=0) const
get DVHNumberOfBins (3004,0056)
DRTApplicatorGeometrySequence & operator=(const DRTApplicatorGeometrySequence ©)
assigment operator
virtual OFCondition setPatientIdentityRemoved(const OFString &value, const OFBool check=OFTrue)
set PatientIdentityRemoved (0012,0062)
DRTReasonForPerformedProcedureCodeSequence ReasonForPerformedProcedureCodeSequence
ReasonForPerformedProcedureCodeSequence (0040,1012) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2859
static OFString & normalizeDirName(OFString &result, const OFString &dirName, const OFBool allowEmptyDirName=OFFalse)
normalize the given directory name.
OFCondition write(DcmItem &item)
write elements to sequence item
const DRTIonBlockSequence & getIonBlockSequence() const
get IonBlockSequence (300a,03a6)
Definition: drtibs.h:546
OFCondition getReferencedROINumber(OFString &value, const signed long pos=0) const
get ReferencedROINumber (3006,0084)
virtual OFCondition setRelationshipType(const E_RelationshipType relationshipType)
set relationship type of the current content item (if previously unknown).
virtual ~SiAlgorithm()
destructor
Definition: sialgo.h:49
DcmLongString InstitutionalDepartmentName
InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3.
Definition: drtiontr.h:3051
DVPSReferencedImage * findImageReference(const char *sopinstanceuid)
checks if an image reference with the given SOP instance UID exists in the ReferencedImageSequence of...
virtual OFCondition setQualityControlImage(const OFString &value, const OFBool check=OFTrue)
set QualityControlImage (0028,0300)
virtual int getRoiWindow(const unsigned long left_pos, const unsigned long top_pos, const unsigned long width, const unsigned long height, const unsigned long columns, const unsigned long rows, const unsigned long frame, double &voiCenter, double &voiWidth)
get automatically computed Region of Interest (ROI) window
Definition: dimopxt.h:219
Item(const Item ©)
copy constructor
virtual OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
@ EMO_BitmapShutter
bitmap shutter, used for GSPS objects
Definition: diutils.h:266
virtual OFCondition digest(const unsigned char *data, unsigned long length)=0
feeds data into the MAC algorithm
@ ImagingMeasurementReport
(126000,DCM,"Imaging Measurement Report")
Definition: cid7021.h:44
DcmCodeString BeamDoseMeaning
BeamDoseMeaning (300a,008b) vr=CS, vm=1, type=3.
Definition: drtfgs.h:324
virtual void SetModalityToReturn(const OFString &)
Set value in a member variable in a derived class.
Definition: wlds.h:482
virtual ~DSRDocumentTreeNodeFilterList()
destructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DJCompressIJG16Bit(const DJCompressIJG16Bit &)
private undefined copy constructor
virtual DcmObject * clone() const
clone method
Definition: dcvruv.h:87
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getBreedRegistrationNumber(OFString &value, const signed long pos=0) const
get BreedRegistrationNumber (0010,2295)
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_CannotRead
file cannot be read
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getPatientSupportAngle(OFString &value, const signed long pos=0) const
get PatientSupportAngle (300a,0122)
@ EMO_Complement
complement
Definition: diutils.h:260
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
static OFCondition getSOPInstanceFromDataset(DcmDataset *dataset, const E_TransferSyntax datasetXfer, OFString &sopClassUID, OFString &sopInstanceUID, OFString &transferSyntaxUID)
Get SOP Class UID, SOP Instance UID and Transfer Syntax UID from a DICOM dataset.
virtual OFCondition getSOPInstanceUID(OFString &value, const signed long pos=0) const
get SOPInstanceUID (0008,0018)
virtual OFCondition getSeriesTime(OFString &value, const signed long pos=0) const
get SeriesTime (0008,0031)
OFBool compareDiLookupTable(DiLookupTable *lut)
compares a DiLookupTable instance with the LUT table managed by this object.
virtual const OFString & getDelimiterChars() const
get delimiter characters specifying when to switch back to the default character set (in case code ex...
virtual ~DcmObject()
destructor
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
Item class.
Definition: drtrdrs8.h:36
OFCondition read(DcmItem &item)
read elements from sequence item
DRTFluenceMapSequence(const DRTFluenceMapSequence ©)
copy constructor
static unsigned long maxval(const int mv_bits, const unsigned long mv_pos=1)
calculate maximum value which could be stored in the specified number of bits
Definition: diutils.h:399
OFCondition setSetupDeviceParameter(const OFString &value, const OFBool check=OFTrue)
set SetupDeviceParameter (300a,01bc)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrsns.h:308
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrrpcs.h:533
DiDisplayFunction * DisplayFunction
points to grayscale standard display function (only referenced!)
Definition: dimoimg.h:1140
@ EFG_RADIOPHARAMAUSAGE
Radiopharmaceutical Usage.
Definition: fgtypes.h:156
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
virtual ~DRTAssigningAgencyOrDepartmentCodeSequence()
destructor
DcmPersonName OperatorsName
OperatorsName (0008,1070) vr=PN, vm=1-n, type=2.
Definition: drtdose.h:4291
static double min3(double a, double b, double c)
Get the minimum of three numbers.
virtual OFCondition addImageReference(const IODReference &imageRef)
Add reference to image which was used to create this Tractography Results object.
static void xyz2Rgb(double &R, double &G, double &B, double X, double Y, double Z)
Convert CIE XYZ color representation to sRGB representation.
DcmLargestDimensionType
defines the algorithm used for determining the largest dimension in the Median Cut algorithm
Definition: diqttype.h:56
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getStrainAdditionalInformation(OFString &value, const signed long pos=0) const
get StrainAdditionalInformation (0010,0218)
virtual OFCondition setPatientDeathDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientDeathDateInAlternativeCalendar (0010,0034)
virtual ~DiHSVImage()
destructor
virtual void initIODRules()
Initialize IOD rules for this component.
OFCondition read(DcmItem &item)
read elements from sequence item
DcmCodeString PatientSex
PatientSex (0010,0040) vr=CS, vm=1, type=2.
Definition: drtiontr.h:2810
virtual OFCondition setTimeSource(const OFString &value, const OFBool checkValue=OFTrue)
Set Time Source.
DRTDeidentificationActionSequence(const DRTDeidentificationActionSequence ©)
copy constructor
OFString tempDensity
temporary buffer for getMaxDensity and getMinDensity
Definition: dvpssp.h:1113
OFBool initialized() const
checks whether creation of the object was successful.
DRTContentItemModifierSequence ContentItemModifierSequence
ContentItemModifierSequence (0040,0441) vr=SQ, vm=1, type=3.
Definition: drtpcxs.h:354
virtual OFCondition getReviewerName(OFString &value, const signed long pos=0) const
get ReviewerName (300e,0008)
virtual OFCondition setROIStandardDeviation(const OFString &value, const OFBool check=OFTrue)
set ROIStandardDeviation (60xx,1303)
virtual ~DJEncoderProgressive()
destructor
Sint32 getLastEntry(const Sint32) const
get index of last LUT entry.
Definition: dibaslut.h:130
void convert(const T1 *pixel, const int bits, const OFBool rgb)
convert input pixel data to intermediate representation
Definition: diyf2pxt.h:87
static void initialize()
initialize this context group explicitly.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getTargetUnderdoseVolumeFraction(OFString &value, const signed long pos=0) const
get TargetUnderdoseVolumeFraction (300a,0028)
size_t getNumberOfItems() const
get number of items in the sequence
unsigned int getUsedBits() const
get number of bits actually used to store the output data.
Definition: dimomod.h:138
A class that handles the command line arguments used by applications that support TLS.
Definition: tlsopt.h:44
virtual ~DRTStrainStockSequence()
destructor
DRTScheduledProtocolCodeSequence & getScheduledProtocolCodeSequence()
get ScheduledProtocolCodeSequence (0040,0008)
Definition: drtras.h:201
virtual OFCondition setRescaleType(const OFString &value, const OFBool check=OFTrue)
set RescaleType (0028,1054)
Item class.
Definition: drtrpphs.h:42
OFCondition setPlanarConfiguration(const Uint16 value, const unsigned long pos=0)
set PlanarConfiguration (0028,0006)
OFCondition getValueType(OFString &value, const signed long pos=0) const
get ValueType (0040,a040)
virtual OFCondition getPreferredPlaybackSequencing(Uint16 &value, const unsigned long pos=0) const
get PreferredPlaybackSequencing (0018,1244)
DcmUnsignedLong m_TemporalPositionIndex
Temporal Position Index (UL, 1, 1C)
Definition: fgfracon.h:363
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
Class representing a single rule, that refers to a single attribute.
Definition: iodrules.h:134
static OFCondition getDicomDateFromOFDate(const OFDate &dateValue, OFString &dicomDate)
get the specified OFDate value in DICOM format.
virtual Logger makeNewLoggerInstance(const log4cplus::tstring &name, Hierarchy &h)=0
Creates a new Logger object.
Item & getItem(const size_t num)
get particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTPrivateDataElementCharacteristicsSequence & operator=(const DRTPrivateDataElementCharacteristicsSequence ©)
assigment operator
virtual OFCondition readSeriesData(DcmItem &dataset)
read SeriesData from dataset.
Item & getCurrentItem()
get current item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmLongString PatientID
PatientID (0010,0020) vr=LO, vm=1, type=2.
Definition: drtionpl.h:2884
int tryrdlock()
trys to get a read lock.
virtual OFCondition write(DcmItem &item)=0
writes the current timestamp into an item of the Digital Signatures Sequence and creates the timestam...
virtual OFCondition getPregnancyStatus(Uint16 &value, const unsigned long pos=0) const
get PregnancyStatus (0010,21c0)
virtual DcmObject * clone() const
clone method
Definition: dcbytstr.h:108
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtsptcs.h:343
unsigned long getNumberOfCorruptSignatures(DVPSObjectType objtype) const
returns number of corrupt signatures for given object type.
virtual OFCondition determineDecompressedColorModel(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, OFString &decompressedColorModel) const
determine color model of the decompressed image
DcmPixelItem(const DcmTag &tag, const Uint32 len=0)
constructor.
OFBool open() const
return true if this object is currently associated with a stream, false otherwise
Definition: offile.h:937
virtual ~DSRMammographyCadSRConstraintChecker()
destructor
const FunctionalGroups * getPerFrame(const Uint32 frameNo) const
Return all per-frame functional groups, e.g. to iterate over them.
OFrvalue< OFpath > root_name() const
Return the root name contained in the path (if any) or an empty path.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence()
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drttreat.h:1335
virtual OFCondition getPatientAge(OFString &value, const signed long pos=0) const
get PatientAge (0010,1010)
double getMonitorPixelHeight()
returns the height (in mm) of one pixel on the current monitor
unsigned short getQueryRetrievePort()
returns the PORT entry for the Q/R server from the section GENERAL/QUERY_RETRIEVE in the config file.
Item class.
Definition: drtiwps.h:36
virtual OFCondition setSegmentAlgorithmType(const DcmSegTypes::E_SegmentAlgoType value)
Set Segment Algorithm Type.
void clear()
clear all internal member variables
virtual unsigned long getNumberOfValues()
get number of values (items) stored in this sequence.
static OFBool listOfCiphersRequested(OFCommandLine &cmd)
checks if the command line option –list-ciphers was given.
OFCondition getROIPhysicalPropertyValue(OFString &value, const signed long pos=0) const
get ROIPhysicalPropertyValue (3006,00b4)
an object of this class maintains one compression "version" of a PixelData element within a DICOM dat...
Definition: dcpixel.h:82
abstract base class for codec representation parameter sets.
Definition: dcpixel.h:44
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtajcs.h:327
virtual OFCondition read(DcmItem &item)
Read functional group from given item, i.e. read Plane Orientation (Volume) Sequence.
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setPatientComments(const OFString &value, const OFBool check=OFTrue)
set PatientComments (0010,4000)
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format
DcmIntegerString NumberOfPaintings
NumberOfPaintings (300a,039a) vr=IS, vm=1, type=1C.
Definition: drticpds.h:838
virtual OFCondition getPatientWeight(Float64 &value, const unsigned long pos=0) const
get PatientWeight (0010,1030)
DcmSCPConfig & operator=(const DcmSCPConfig &obj)
assignment operator, performs deep copy.
Item & operator=(const Item ©)
assigment operator
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
virtual OFBool isClinicalTrialSeriesModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSeriesModule (U) is present.
void clear()
clear all internal member variables
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
virtual void resetRules()
Resets rules to their original values.
Template class for cubic spline interpolation.
Definition: displint.h:49
DcmCodeString PatientIdentityRemoved
PatientIdentityRemoved (0012,0062) vr=CS, vm=1, type=3.
Definition: drtdose.h:4140
OFListIterator(ItemStruct *) OldIterator
last visited position in item list
void clear()
clear all internal member variables
DcmCodeString TreatmentTerminationStatus
TreatmentTerminationStatus (3008,002a) vr=CS, vm=1, type=2.
Definition: drtfsss.h:169
const char * getExplanation()
gets the LUT explanation for this VOI LUT.
@ PT_Grayscale
Grayscale Softcopy Presentation State (GSPS)
Definition: dsrtypes.h:631
virtual ~DRTTreatmentSummaryCalculatedDoseReferenceSequence()
destructor
DcmIntegerString ReferencedPatientSetupNumber
ReferencedPatientSetupNumber (300c,006a) vr=IS, vm=1, type=3.
Definition: drtbs.h:781
virtual OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
virtual ~ConcatenationInfo()
Virtual destructor.
OFCondition setRangeModulatorType(const OFString &value, const OFBool check=OFTrue)
set RangeModulatorType (300a,0348)
const OFString & getFiducialUID() const
get fiducial UID.
Definition: dsrsc3vl.h:210
@ Fluorotriopride_F18
(126707,DCM,"Fluorotriopride F^18^")
Definition: cid4021.h:166
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getClinicalTrialTimePointID(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointID (0012,0050)
@ ParotidGland
(45289007,SCT,"Parotid gland")
Definition: cid4031.h:182
OFListIterator(Item *) CurrentItem
currently selected item
const char * getVOIPresetDescription(const char *modality, Uint32 idx)
returns the description string for the given VOI Preset
DcmIODCommon & operator=(const DcmIODCommon &)
Copy assignment disabled.
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
virtual OFCondition getRationalNumeratorValue(Sint32 &value, const signed long pos=0) const
Get RationalNumeratorValue.
DcmDirectoryRecord * buildPresentationRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update presentation state record and copy required values from dataset
OFCondition getDeliveryMaximumDose(OFString &value, const signed long pos=0) const
get DeliveryMaximumDose (300a,0023)
const DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence() const
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtiontr.h:1389
int getMinMaxValues(double &min, double &max, const int mode=0) const
get minimum and maximum pixel values.
Definition: dcmimage.h:310
TestResult results_
The test results, empty for success.
Definition: oftest.h:133
a class representing a private key.
Definition: siprivat.h:44
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
DcmLongString ResponsibleOrganization
ResponsibleOrganization (0010,2299) vr=LO, vm=1, type=2C.
Definition: drtplan.h:3025
OFBool isEmpty()
check if item is empty
DcmIntegerString SeriesNumber
SeriesNumber (0020,0011) vr=IS, vm=1, type=2.
Definition: drtimage.h:4984
virtual OFCondition getInstanceCreationDate(OFString &value, const signed long pos=0) const
get InstanceCreationDate (0008,0012)
DcmUnsignedShort BitsStored
BitsStored (0028,0101) vr=US, vm=1, type=1C.
Definition: drtdose.h:4547
unsigned short getMessagePort()
returns the port on which the GUI application accepts notification messages from the network processe...
virtual ~DiRegister()
destructor
offile_off_t backupIndex_
number of bytes read from the backup buffer
Definition: dcistrmb.h:129
DSRDocumentTreeNode * TreeNode
internal tree node pointer to current content item
Definition: dsrcitem.h:591
DRTReferencedRTPlanSequenceInRTGeneralPlanModule(const DRTReferencedRTPlanSequenceInRTGeneralPlanModule ©)
copy constructor
int convertPValueToDDL(const Uint16 pvalue, Uint16 &ddl, const int bits)
convert P-value to DDL.
static OFBool checkElementValue(DcmElement *delem, const DcmTagKey &tagKey, const OFString &vm, const OFString &type, const OFCondition &searchCond=EC_Normal, const char *moduleName=NULL, const OFBool acceptViolation=OFFalse)
check element value for correct value multiplicity and type.
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition getContentQualification(OFString &value, const signed long pos=0) const
get ContentQualification (0018,9004)
virtual CodeSequenceMacro & getAlgorithmFamilyCode()
Return Algorithm Family Code.
DcmAgeString & operator=(const DcmAgeString &obj)
assignment operator
OFCondition getSourceStrengthUnits(OFString &value, const signed long pos=0) const
get SourceStrengthUnits (300a,0229)
I2DOutputPlugVLP()
Constructor, initializes member variables with standard values.
virtual ~DRTDerivationCodeSequence()
destructor
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
static OFCondition loadFile(DcmFileFormat &dcmff, const OFString &filename, DcmDataset *&dset)
Loads file.
OFCondition getDeliveredMeterset(Float64 &value, const unsigned long pos=0) const
get DeliveredMeterset (3008,0044)
DSRCompositeReferenceValue(const DSRCompositeReferenceValue &referenceValue)
copy constructor
DRTRTROIIdentificationCodeSequence RTROIIdentificationCodeSequence
RTROIIdentificationCodeSequence (3006,0086) vr=SQ, vm=1, type=3.
Definition: drtrros.h:293
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
const DRTContourImageSequence & getContourImageSequence() const
get ContourImageSequence (3006,0016)
Definition: drtcs.h:209
virtual OFCondition setStructureSetName(const OFString &value, const OFBool check=OFTrue)
set StructureSetName (3006,0004)
OFString outputDirectory_
directory used to store the output files (e.g. response datasets).
Definition: dfindscu.h:181
DSRDocumentSubTree(DSRDocumentTreeNode *rootNode)
special constructor that receives a pointer to the root node.
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtssrcs.h:351
base class for all DICOM value representations storing a character string
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition setClinicalTrialTimePointID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointID (0012,0050)
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTStrainStockSequence StrainStockSequence
StrainStockSequence (0010,0216) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2693
DVPSDisplayedArea * createDisplayedArea(DVPSReferencedSeries_PList &allReferences, const char *sopclassUID, const char *instanceUID, unsigned long frame, unsigned long numberOfFrames, DVPSObjectApplicability applicability)
finds or creates a displayed area selection SQ item with an applicability controlled by the applicabi...
IODReferences & operator=(const IODReferences &rhs)
Assignment operator, copies all provided references.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getLUTExplanation(OFString &value, const signed long pos=0) const
Get LUT Explanation.
static OFCondition deleteLastElemFromPath(DcmObject *objSearchedIn, DcmPath *path, DcmPathNode *toDelete)
Helper function that looks at the last node in a given path and deletes the corresponding DICOM objec...
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtspcs.h:340
DcmLongString manufacturer
Module=General_Equipment, VR=LO, VM=1, Type 2.
Definition: dvpssp.h:988
virtual int compare(const SourceImageItem &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtds.h:497
virtual OFCondition setPatientSize(const OFString &value, const OFBool check=OFTrue)
set PatientSize (0010,1020)
virtual OFString toString() const
Returns reference as a one line string.
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Returns that this functional group can be used shared or per-frame, i.e. both.
Definition: fgseg.h:55
OFCondition gotoNextItem()
select the next item in the list.
@ EMT_RIPEMD160
RIPEMD160.
Definition: sitypes.h:97
OFCondition gotoFirstItem()
goto first item in the sequence
Item class.
Definition: drtas6.h:36
const char * StorageArea
name of storage area
Definition: dcmqrcnf.h:144
int read1Byte(Uint8 &result)
Read 1 byte from the byte stream.
OFCondition findAndGetSint32(const DcmTagKey &tagKey, Sint32 &value, const unsigned long pos=0, const OFBool searchIntoSub=OFFalse)
find element and get value as a signed 32-bit integer.
DcmDecimalString FrameDelay
FrameDelay (0018,1066) vr=DS, vm=1, type=3.
Definition: drtimage.h:5226
E_TransferState fTransferState
transfer state during read and write operations
Definition: dcobject.h:804
const DRTReferencedImageSequence & getReferencedImageSequence() const
get ReferencedImageSequence (0008,1140)
Definition: drtionpl.h:1709
@ STOP
Reserved for later use.
Definition: scppool.h:224
OFCondition check() const
Check whether data in this functional group is valid.
@ NumberParticlesPer100GramOfTissue
({Particles}/[100]g{Tissue},UCUM,"number particles per 100 gram of tissue")
Definition: cid7181.h:160
@ LAT_RIGHT_AND_LEFT
Left and right body part.
Definition: trctypes.h:112
OFCondition addItem(const OFString &codingSchemeDesignator, const OFBool check=OFTrue)
add the specified coding scheme to the list.
OFCondition write(DcmItem &item)
write elements to sequence item
static const unsigned int FirstOverlayGroup
constant defining the group number of the first overlay plane (0x6000)
Definition: diovlay.h:393
Item & getCurrentItem()
get current item in the sequence
DRTBrachyReferencedDoseReferenceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DVConfiguration(const DVConfiguration &)
private undefined copy constructor
DcmTransportLayerStatus
this enum represents the result of a transport layer operation which may be a transparent TCP/IP or a...
Definition: dcmlayer.h:46
const Item & getItem(const size_t num) const
get particular item in the sequence
void setAETitle(const char *ae)
set local aetitle
Definition: dcmqrtis.h:145
Item EmptyItem
empty default item
Definition: drtiblds.h:367
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtajcs.h:211
static const double D65_WHITEPOINT_X
D65 standard lightpoint X component for conversion from CIEXYZ to CIELab.
Definition: cielabutil.h:45
virtual void postLoadValue()
method is called after the element value has been loaded.
Item(const Item ©)
copy constructor
OFCondition getLateralSpreadingDeviceSetting(OFString &value, const signed long pos=0) const
get LateralSpreadingDeviceSetting (300a,0372)
virtual OFCondition setSourceToReferenceObjectDistance(const OFString &value, const OFBool check=OFTrue)
set SourceToReferenceObjectDistance (3002,0028)
int writeRawPPM(const char *filename, const int bits=0, const unsigned long frame=0)
write pixel data to raw PPM file (specified by filename).
virtual OFCondition getUint64(Uint64 &val, const unsigned long pos=0)
retrieve a single value of type Uint64.
FGBase(const DcmFGTypes::E_FGType fgType)
Constructor, creates new functional group of given type.
virtual OFCondition status() const
returns the status of the consumer as an OFCondition object.
OFString TemplateIdentifier
template identifier (VR=CS, mandatory in ContentTemplateSequence)
Definition: dsrdoctn.h:765
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtss.h:623
virtual ~DRTConsultingPhysicianIdentificationSequence()
destructor
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
virtual OFBool isAllowableTransferSyntax(E_TransferSyntax xfer) const
checks whether the given transfer syntax can be used with this security profile
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const DRTDepthDoseParametersSequence & getDepthDoseParametersSequence() const
get DepthDoseParametersSequence (300a,0505)
Definition: drtibs.h:510
OFBool isValid() const
check whether position counter is valid (i.e. has been initialized)
Definition: dsrposcn.h:113
DcmIntegerString ROIDisplayColor
ROIDisplayColor (3006,002a) vr=IS, vm=3, type=3.
Definition: drtrcs.h:189
size_t getNumberOfItems() const
get number of items in the sequence
OFvariant & operator=(OFvariant &&rhs)
Move assigns the value rhs holds to *this.
OFIterator(OFListLinkBase *x)
constructor.
Definition: oflist.h:180
virtual void clear()
clear internal member variables.
OFCondition setReferencedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceNumber (300c,0051)
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const char * getOtherPatientID()
returns the Other Patient ID of the currently selected study.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
Item(const Item ©)
copy constructor
OFCondition getValues(Sint16 &originX, Sint16 &originY, Uint16 &sizeX, Uint16 &sizeY)
retrieve origin and size values for this overlay
OFdirectory_iterator(const OFdirectory_iterator &rhs)
Copy construct an OFdirectory_iterator, referring to the same directory entry as the given one.
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
virtual size_t gotoNextAnnotatedNode(const OFString &annotationText)
set internal cursor to the next annotated node.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtmas.h:272
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrrshs.h:151
size_t getNumberOfItems() const
get number of items in the sequence
@ SquareMillimeter
(mm2,UCUM,"square millimeter"), included from CID 7461
Definition: cid7181.h:68
OFCondition setNumberOfRangeShifters(const OFString &value, const OFBool check=OFTrue)
set NumberOfRangeShifters (300a,0312)
DRTRTReferencedStudySequence & getRTReferencedStudySequence()
get RTReferencedStudySequence (3006,0012)
Definition: drtrfors.h:107
DcmLongString ClinicalTrialProtocolEthicsCommitteeApprovalNumber
ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082) vr=LO, vm=1, type=3.
Definition: drtplan.h:3056
DcmDecimalString ConstraintWeight
ConstraintWeight (300a,0021) vr=DS, vm=1, type=3.
Definition: drtdrs.h:479
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition addPresentationContext(const OFString &abstractSyntax, const OFList< OFString > &xferSyntaxes, const T_ASC_SC_ROLE role=ASC_SC_ROLE_DEFAULT)
Add presentation context to be used for association negotiation.
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
DRTVOILUTSequence VOILUTSequence
VOILUTSequence (0028,3010) vr=SQ, vm=1, type=1C.
Definition: drtimage.h:5374
virtual void clearData()
Clear (removes) all attributes handled by the modules of this component.
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
virtual OFCondition loadFile(const OFFilename &fileName, const E_FileReadMode readMode=ERM_autoDetect, const E_TransferSyntax readXfer=EXS_Unknown)
load an object from a file
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getPatientAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientAlternativeCalendar (0010,0035)
virtual OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
void getStatusString(const E_ParamValueStatus status, OFString &statusStr)
returns status of getParam() as a C++ string
@ NAcetylaspartatePerCholineRatio
(113083,DCM,"N-acetylaspartate/Choline Ratio"), included from CID 4033
Definition: cid7469.h:72
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getSint16Array(Sint16 *&sintVals)
get reference to stored integer data
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
DRTRTDoseROISequence & getRTDoseROISequence()
get RTDoseROISequence (3004,0010)
Definition: drtdose.h:2392
virtual OFCondition addContentItem(DSRDocumentTreeNode *node, const E_AddMode addMode=AM_afterCurrent, const OFBool deleteIfFail=OFFalse)
add specified content item to the current one.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=1C.
Definition: drtcpis.h:204
virtual OFCondition setQualityControlSubject(const OFString &value, const OFBool check=OFTrue)
set QualityControlSubject (0010,0200)
DcmOtherByteOtherWord BluePaletteColorLookupTableData
BluePaletteColorLookupTableData (0028,1203) vr=OW, vm=1, type=1C.
Definition: drtdose.h:4466
OFCondition convertToSampleInterleaved(Uint8 *target, const Uint8 *source, Uint16 components, Uint32 width, Uint32 height, Uint16 bitsAllocated) const
Convert an image from uninterleaved to sample interleaved.
DicomImage(DcmObject *object, const E_TransferSyntax xfer, const double slope, const double intercept, const unsigned long flags=0, const unsigned long fstart=0, const unsigned long fcount=0)
constructor, use a given DcmObject with specified rescale/slope.
DcmDecimalString & operator=(const DcmDecimalString &obj)
assignment operator
an item of the text object sequence in a presentation state (internal use only).
Definition: dvpstx.h:38
virtual ~DiRGBImage()
destructor
DRTCorrectedParameterSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition getInstanceNumber(Sint32 &value, const unsigned long pos=0) const
get InstanceNumber (0020,0013)
DcmTransportLayerStatus setPrivateKeyFile(const char *fileName, DcmKeyFileFormat fileType)
loads the private key used for authentication of this application from a file.
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtsdcs.h:205
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getPatientID(OFString &value, const signed long pos=0) const
get PatientID (0010,0020)
OFCondition status_
status
Definition: dcostrmb.h:120
Item EmptyItem
empty default item
Definition: drtgas.h:386
OFCondition getRetrieveURI(OFString &value, const signed long pos=0) const
get RetrieveURI (0040,e010)
DcmIntegerString FractionNumber
FractionNumber (3002,0029) vr=IS, vm=1, type=3.
Definition: drtimage.h:5318
OFCondition setShieldingDeviceLabel(const OFString &value, const OFBool check=OFTrue)
set ShieldingDeviceLabel (300a,01a4)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtiseis.h:324
void removeLayer(const char *name)
deletes all activation belonging to the given activation layer name.
DiImage(const DiImage *image, const Uint16 width, const Uint16 height, const int aspect=0)
constructor, scale/clip
void createDataDict()
create the data dictionary instance for this class.
OFListIterator(Item *) CurrentItem
currently selected item
DcmShortString StationName
StationName (0008,1010) vr=SH, vm=1, type=3.
Definition: drtces.h:361
virtual OFCondition setAdditionalPatientHistory(const OFString &value, const OFBool check=OFTrue)
set AdditionalPatientHistory (0010,21b0)
unsigned long getValue(const DcmTagKey &tag, Uint32 &returnVal, const unsigned long pos=0, DcmItem *item=NULL) const
get value of given tag (Uint32)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getIsocenterPosition(OFString &value, const signed long pos=0) const
get IsocenterPosition (300a,012c)
Item(const Item ©)
copy constructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTMultiplexedAudioChannelsDescriptionCodeSequence & getMultiplexedAudioChannelsDescriptionCodeSequence()
get MultiplexedAudioChannelsDescriptionCodeSequence (003a,0300)
Definition: drtimage.h:2734
Item class.
Definition: drtbs.h:49
void closeFile()
Closes JPEG file.
xmlNodePtr Node
pointer to the associated 'libxml' node
Definition: dsrxmlc.h:153
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpbcs.h:536
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbrs.h:312
void activateFirstPeer()
activate first peer in list of peers
Definition: dcmqrtis.h:160
Class representing the Segment Description Macro.
Definition: segtypes.h:229
OFCondition getTotalBytesRequired(const Uint16 &rows, const Uint16 &cols, const Uint32 &numberOfFrames, size_t &bytesRequired)
Computes the number of total bytes required for the frame data of this segmentation object.
OFBool isEmpty()
check if sequence is empty
virtual ~SiSHA1()
destructor
OFCondition setRetrieveURI(const OFString &value, const OFBool check=OFTrue)
set RetrieveURI (0040,e010)
DRTStrainStockSequence StrainStockSequence
StrainStockSequence (0010,0216) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2779
virtual OFrvalue< OFunique_ptr< InternalLoggingEvent > > clone() const
Returns a copy of this object.
OFCondition getTableTopLateralPositionTolerance(OFString &value, const signed long pos=0) const
get TableTopLateralPositionTolerance (300a,0053)
Item & getCurrentItem()
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drthsdrs.h:343
DRTDeidentificationMethodCodeSequence DeidentificationMethodCodeSequence
DeidentificationMethodCodeSequence (0012,0064) vr=SQ, vm=1, type=1C.
Definition: drtdose.h:4144
WlmActivityManager & operator=(const WlmActivityManager &Src)
Protected undefined operator=.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DCMTK_DCMNET_EXPORT void DUL_DumpParams(DUL_ASSOCIATESERVICEPARAMETERS *params)
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
DRTRequestAttributesSequence RequestAttributesSequence
RequestAttributesSequence (0040,0275) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3101
DcmUniqueIdentifier SeriesInstanceUID
SeriesInstanceUID (0020,000e) vr=UI, vm=1, type=1.
Definition: drtdose.h:4279
OFSockAddr()
Default constructor.
Definition: ofsockad.h:61
virtual E_MACType macType() const
returns the type of MAC algorithm computed by this object
OFCondition getBeamDeliveryDurationLimit(Float64 &value, const unsigned long pos=0) const
get BeamDeliveryDurationLimit (300a,00c5)
OFCondition setTotalBlockTrayWaterEquivalentThickness(const Float32 value, const unsigned long pos=0)
set TotalBlockTrayWaterEquivalentThickness (300a,00f3)
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
DRTReferencedReferenceImageSequenceInRTBeamsModule & getReferencedReferenceImageSequence()
get ReferencedReferenceImageSequence (300c,0042)
Definition: drtbs.h:510
OFCondition setApplicatorID(const OFString &value, const OFBool check=OFTrue)
set ApplicatorID (300a,0108)
@ AP_GeneralPurposeBDMPEG4StereoHPatLV42
General Purpose BD Interchange with MPEG-4 AVC/H.264 Stereo HiP@Level4.2 (STD-GEN-BD-MPEG4-SHPLV42)
Definition: dcddirif.h:141
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtmucs.h:211
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setTableTopEccentricAxisDistance(const OFString &value, const OFBool check=OFTrue)
set TableTopEccentricAxisDistance (300a,0124)
OFCondition setROIPhysicalPropertyValue(const OFString &value, const OFBool check=OFTrue)
set ROIPhysicalPropertyValue (3006,00b4)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmLongString ClinicalTrialSeriesDescription
ClinicalTrialSeriesDescription (0012,0072) vr=LO, vm=1, type=3.
Definition: drtplan.h:3209
virtual OFBool isValid()
check whether the current internal state is valid
int writePPM(FILE *stream) const
write pixel data of selected frame to PPM/ASCII file
Definition: dimoopxt.h:215
E_ByteOrder
enumeration of byte orders
Definition: dcxfer.h:128
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition getMedicalAlerts(OFString &value, const signed long pos=0) const
get MedicalAlerts (0010,2000)
virtual const char * className() const
returns the class name as string.
virtual OFBool isValidAcquisitionTimeSynchronized(const OFString &value)
Check whether given string is a valid value for attribute Acquisition Time Synchronized.
virtual OFCondition getSeriesDescription(OFString &value, const signed long pos=0) const
get series description
@ EKT_none
no key present
Definition: sitypes.h:83
DcmPathNode(DcmObject *obj, Uint32 itemNo)
Constructor.
Definition: dcpath.h:54
@ Trachea
(44567001,SCT,"Trachea")
Definition: cid4031.h:238
@ Blinatumomab_89Zr
(126727,DCM,"Blinatumomab ^89^Zr")
Definition: cid4021.h:72
DcmIntegerString ReferenceImageNumber
ReferenceImageNumber (300a,00c8) vr=IS, vm=1, type=1.
Definition: drtrris6.h:151
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtmucs.h:349
void setlinebuf()
The three types of buffering available are unbuffered, block buffered, and line buffered.
Definition: offile.h:576
OFCondition gotoNextItem()
goto next item in the sequence
DRTPerformedProtocolCodeSequence PerformedProtocolCodeSequence
PerformedProtocolCodeSequence (0040,0260) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3115
virtual OFCondition setXRayImageReceptorTranslation(const OFString &value, const OFBool check=OFTrue)
set XRayImageReceptorTranslation (3002,000d)
@ LAT_ERROR
Error: In case an invalid value is used.
Definition: trctypes.h:106
DcmShortText BeamDescription
BeamDescription (300a,00c3) vr=ST, vm=1, type=3.
Definition: drttsibs.h:972
virtual ~Item()
destructor
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition getSpatialResolution(Float64 &value, const unsigned long pos=0) const
get SpatialResolution (0018,1050)
OFCondition checkDatasetForReading(DcmItem &dataset)
check the given dataset before reading.
DiMonoPixel(const unsigned long count)
constructor
virtual DSRTree< T > * extractSubTree()
extract a subtree, i.e. a fragment from this tree.
Definition: dsrtree.h:941
void writeXMLItemStart(STD_NAMESPACE ostream &stream, const size_t flags, const OFBool closingBracket=OFTrue) const
write common item start (XML tag)
virtual OFCondition setRTImagePosition(const OFString &value, const OFBool check=OFTrue)
set RTImagePosition (3002,0012)
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
OFCondition setReferencedControlPointIndex(const OFString &value, const OFBool check=OFTrue)
set ReferencedControlPointIndex (300c,00f0)
static OFCondition separatePathNodes(const OFString &path, OFList< OFString > &result)
Returns a string representation of each path node separately.
void setParent(DcmObject *parent)
set parent of this object.
Definition: dcobject.h:382
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
virtual OFCondition getClinicalTrialProtocolID(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolID (0012,0020)
DRTMACParametersSequence MACParametersSequence
MACParametersSequence (4ffe,0001) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3190
DcmUnsignedShort LargestImagePixelValue
LargestImagePixelValue (0028,0107) vr=US/SS, vm=1, type=3.
Definition: drtimage.h:5158
const unsigned long FrameSize
number of pixels per frame (memory buffer size)
Definition: dimoopx.h:140
DcmShortString WedgeID
WedgeID (300a,00d4) vr=SH, vm=1, type=3.
Definition: drtws.h:280
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition getReferencedSegmentNumber(Uint16 &value, const unsigned long pos=0) const
get ReferencedSegmentNumber (0062,000b)
DcmCodeString ImageType
ImageType (0008,0008) vr=CS, vm=2-n, type=3.
Definition: drtdose.h:4376
DRTPhysiciansReadingStudyIdentificationSequence PhysiciansReadingStudyIdentificationSequence
PhysiciansReadingStudyIdentificationSequence (0008,1062) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4202
OFCondition getImageMinMaxPixelRange(double &minValue, double &maxValue)
gets smallest and biggest possible pixel value in the attached image.
IODModule(const IODModule &rhs)
Copy constructor, creates shallow copy.
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
DcmCodeString SmokingStatus
SmokingStatus (0010,21a0) vr=CS, vm=1, type=3.
Definition: drtiontr.h:2966
virtual OFCondition setImageType(const OFString &value, const OFBool check=OFTrue)
set ImageType (0008,0008)
virtual OFCondition getPregnancyStatus(Uint16 &value, const unsigned long pos=0) const
get PregnancyStatus (0010,21c0)
const char * getStandardVersion() const
returns standard version string, may be NULL
Definition: dcdicent.h:117
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmCodeString PatientIdentityRemoved
PatientIdentityRemoved (0012,0062) vr=CS, vm=1, type=3.
Definition: drtiontr.h:2856
int isEmbedded() const
check whether overlay plane is embedded in the pixel data
Definition: diovpln.h:324
Uint16 getMaxDDLValue() const
get maximum DDL value.
Definition: didispfn.h:168
long * thisrerr
current red error vector. Points to an array of (columns + 2) entries.
Definition: diqtfs.h:189
virtual OFCondition getRTPlanTime(OFString &value, const signed long pos=0) const
get RTPlanTime (300a,0007)
OFBool isEmpty()
check if sequence is empty
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
DRTContextGroupIdentificationSequence ContextGroupIdentificationSequence
ContextGroupIdentificationSequence (0008,0123) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3171
OFCondition getDeliveredTreatmentTime(OFString &value, const signed long pos=0) const
get DeliveredTreatmentTime (3008,003b)
unsigned int StartTop
y-coordinate of first pixel in surrounding memory buffer
Definition: diovpln.h:482
E_PlanarConfiguration getPlanarConfiguration() const
returns planar configuration flag
Definition: djcparam.h:239
UserIdentityNegotiationSubItem & operator=(const UserIdentityNegotiationSubItem &)
Undefined private assignment operator.
V second
this is the second value of the pair
Definition: ofutil.h:330
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual ~Item()
destructor
OFBool isEmpty()
check if item is empty
OFListIterator(Item *) CurrentItem
currently selected item
static OFString getLibraryVersionString()
get version information of the PNG library.
int setVoiLut(const unsigned long table, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set VOI LUT (given by index to VOI LUT sequence stored in image file).
Definition: dcmimage.h:786
DcmKeyFileFormat m_certKeyFileFormat
certificate (public key) file format
Definition: tlsscu.h:230
Item & operator=(const Item ©)
assigment operator
virtual OFCondition getClinicalTrialSiteName(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteName (0012,0031)
DiRotateTemplate(const int planes, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames)
constructor.
Definition: dirotat.h:95
OFCondition addItem(Item *&item)
add new item to the end of this sequence
void pushToStringMethod(LogLevelToStringMethod newToString)
When creating a "derived" LogLevel, a LogLevelToStringMethod should be defined and registered with th...
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
DRTSegmentedPropertyTypeModifierCodeSequence & getSegmentedPropertyTypeModifierCodeSequence()
get SegmentedPropertyTypeModifierCodeSequence (0062,0011)
Definition: drtrics.h:218
virtual OFCondition setSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set SOPClassUID (0008,0016)
OFString ftype
Type of file currently being converted.
Definition: dcencdoc.h:292
~WlmFileSystemInteractionManager()
destructor
virtual ~DRTRecordedWedgeSequence()
destructor
OFCondition gotoFirstItem()
goto first item in the sequence
@ Water
(11713004,SCT,"Water"), included from CID 7180
Definition: cid7469.h:346
DcmSegmentation * m_SegmentationDoc
The segmentation document where this segment is located in.
Definition: segment.h:308
DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule(const DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule ©)
copy constructor
DRTTreatmentSessionIonBeamSequence & getTreatmentSessionIonBeamSequence()
get TreatmentSessionIonBeamSequence (3008,0021)
Definition: drtiontr.h:1863
DcmCodeString SpecificCharacterSet
Specific Character Set: (CS, 1-n, 1C)
Definition: dsrdoc.h:1318
Item EmptyItem
empty default item
Definition: drtsptcs.h:540
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getSurfaceEntryPoint(Float64 &value, const unsigned long pos=0) const
get SurfaceEntryPoint (300a,012e)
DcmCodeString TableTopPitchRotationDirection
TableTopPitchRotationDirection (300a,0142) vr=CS, vm=1, type=1C.
Definition: drtcps.h:703
@ Larynx
(4596009,SCT,"Larynx")
Definition: cid4031.h:142
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmDate ReviewDate
ReviewDate (300e,0004) vr=DA, vm=1, type=2C.
Definition: drtimage.h:5389
virtual offile_off_t avail() const
returns the minimum number of bytes that can be written with the next call to write().
DcmLongString ProtocolName
Protocol Name: (LO, 1, 3)
Definition: dsrdoc.h:1408
virtual OFCondition setSmokingStatus(const OFString &value, const OFBool check=OFTrue)
set SmokingStatus (0010,21a0)
Uint16 ResponseStatusCode
DIMSE status of the C-STORE response (0x0000 = success)
Definition: dstorscu.h:433
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtes.h:738
DRTApplicatorSequenceInRTImageModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
DcmTime PerformedProcedureStepEndTime
PerformedProcedureStepEndTime (0040,0251) vr=TM, vm=1, type=3.
Definition: drtstrct.h:2956
DcmLongString PatientBreedDescription
PatientBreedDescription (0010,2292) vr=LO, vm=1, type=2C.
Definition: drtplan.h:3003
virtual OFCondition setStudyDate(const OFString &value, const OFBool check=OFTrue)
set StudyDate (0008,0020)
virtual OFCondition getPositionReferenceIndicator(OFString &value, const signed long pos=0) const
get PositionReferenceIndicator (0020,1040)
OFCondition selectInstance(Uint32 idx)
selects the instance with the given index within the currently selected series.
virtual OFCondition changeDocumentType(const E_DocumentType documentType, const OFBool deleteTree)
change document type.
OFBool usesEnhancedEncodingMode() const
check whether the "Enhanced Encoding Mode" is used for this code.
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
DVPSTextObject(const DVPSTextObject ©)
copy constructor
@ German
(deu,RFC5646,"German")
Definition: cid5000.h:60
OFCondition setDeliveryMaximumDose(const OFString &value, const OFBool check=OFTrue)
set DeliveryMaximumDose (300a,0023)
DRTReferencedReferenceImageSequenceInRTBeamsModule ReferencedReferenceImageSequence
ReferencedReferenceImageSequence (300c,0042) vr=SQ, vm=1, type=3.
Definition: drtbs.h:783
Uint32 getJPEGProcess12Bit() const
return 12-bit JPEG process ID for this transfer syntax.
Definition: dcxfer.h:256
virtual OFCondition getMeasuredLateralDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredLateralDimension (0010,1024)
DRTReasonForRequestedProcedureCodeSequence ReasonForRequestedProcedureCodeSequence
ReasonForRequestedProcedureCodeSequence (0040,100a) vr=SQ, vm=1, type=3.
Definition: drtras.h:271
DcmDecimalString PatientWeight
PatientWeight (0010,1030) vr=DS, vm=1, type=3.
Definition: drttreat.h:2786
virtual OFCondition getAuthorizationEquipmentCertificationNumber(OFString &value, const signed long pos=0) const
get AuthorizationEquipmentCertificationNumber (0100,0426)
Class representing the Plane Position (Patient) Functional Group containing the x,...
Definition: fgplanpo.h:35
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item class.
Definition: drtblds1.h:36
Item & getCurrentItem()
get current item in the sequence
virtual DJDecoder * createDecoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, OFBool isYBR) const =0
creates an instance of the compression library to be used for decoding.
static OFCondition appendStream(STD_NAMESPACE ostream &mainStream, OFOStringStream &tempStream, const char *heading=NULL)
append one output stream to another.
@ CF_Complete
DICOM enumerated value: COMPLETE.
Definition: dsrtypes.h:763
DcmLongString WindowCenterWidthExplanation
WindowCenterWidthExplanation (0028,1055) vr=LO, vm=1-n, type=3.
Definition: drtimage.h:5380
Item EmptyItem
empty default item
Definition: drtags.h:347
OFCondition add(const char *key, const char *abstractSyntaxUID, T_ASC_SC_ROLE role)
add new entry to list within map.
virtual OFString getStackID() const
Get Stack ID uniquely identifying this stack.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtadcs.h:211
DRTSourceInstanceSequence SourceInstanceSequence
SourceInstanceSequence (0042,0013) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3345
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition setSeriesTime(const OFString &value, const OFBool check=OFTrue)
set SeriesTime (0008,0031)
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
CodeSequenceMacro m_TransducerApplication
Item of Transducer Application Code Sequence.
Definition: modenhusimage.h:590
A class representing paths on a filesystem.
Definition: offilsys.h:53
void clear()
clear all internal member variables
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setPPSSOPClassUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Referenced PPS SOP Class UID.
OFCondition changeValue(const void *value, const Uint32 position, const Uint32 num)
insert into the element value a copy of the given raw value.
DRTDeidentificationMethodCodeSequence & operator=(const DRTDeidentificationMethodCodeSequence ©)
assigment operator
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
const DRTReferencedPatientSequence & getReferencedPatientSequence() const
get ReferencedPatientSequence (0008,1120)
Definition: drtplan.h:1778
DcmTag(const DcmTagKey &akey, const char *privCreator=NULL)
constructor.
T & OFrvalue_access(OFrvalue_ref(T) rv)
Obtain an lvalue reference from an rvalue reference.
Definition: ofutil.h:241
virtual DSRTextTreeNode * clone() const
clone this tree node.
virtual OFBool check(const OFBool checkFGStructure=OFTrue)
Perform some basic checking.
OFBool isEmpty()
check if sequence is empty
OFCondition getReferencedWedgeNumber(OFString &value, const signed long pos=0) const
get ReferencedWedgeNumber (300c,00c0)
DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence()
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtstrct.h:1398
DRTReferencedBeamSequenceInRTDoseModule ReferencedBeamSequence
ReferencedBeamSequence (300c,0004) vr=SQ, vm=1, type=1C.
Definition: drtrtrs2.h:145
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
an item of the graphic object sequence in a presentation state (internal use only).
Definition: dvpsgr.h:38
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
DRTSourceImageSequence SourceImageSequence
SourceImageSequence (0008,2112) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2960
virtual OFCondition getAllergies(OFString &value, const signed long pos=0) const
get Allergies (0010,2110)
OFBool isElem(const OFString &uid)
checks whether an item with the specified UID exists in the cache list
Definition: dvcache.h:244
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
virtual OFCondition getQualityControlSubject(OFString &value, const signed long pos=0) const
get QualityControlSubject (0010,0200)
virtual OFCondition readStudyData(DcmItem &dataset)
read StudyData from dataset.
virtual OFCondition getPixelDataProviderURL(OFString &value, const signed long pos=0) const
get PixelDataProviderURL (0028,7fe0)
static const size_t HF_renderItemInline
internal: expand items inline when they are short and have no child nodes
Definition: dsrtypes.h:338
DcmDecimalString BrachyAccessoryDeviceNominalTransmission
BrachyAccessoryDeviceNominalTransmission (300a,026c) vr=DS, vm=1, type=3.
Definition: drtbads.h:248
virtual OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0)
Get Coding Scheme Designator.
virtual OFCondition setSynchronizationTrigger(const OFString &value, const OFBool check=OFTrue)
set synchronization trigger
virtual OFCondition getInstanceCreatorUID(OFString &value, const signed long pos=0) const
get instance creator UID
DcmTransportLayerStatus addTrustedCertificateDir(const char *pathName, DcmKeyFileFormat fileType)
loads all files as certificates from the specified directory and adds them to the pool of trusted cer...
DSRImageReferenceValue()
default constructor
OFCondition getOrganAtRiskMaximumDose(OFString &value, const signed long pos=0) const
get OrganAtRiskMaximumDose (300a,002c)
virtual OFCondition getLongitudinalTemporalOffsetFromEvent(Float64 &value, const unsigned long pos=0) const
get LongitudinalTemporalOffsetFromEvent (0012,0052)
a class representing the DICOM value representation 'Decimal String' (DS)
Definition: dcvrds.h:39
virtual const DSRDocumentSubTree & getTree()
get read-only access to internally stored subtree.
virtual IODCommonInstanceReferenceModule & getIODCommonInstanceReferenceModule()
Get Common Instance Reference Module.
virtual EP_Interpretation getDecompressedColorModel() const
after successful compression, returns the color model of the decompressed image
Definition: djdijg8.h:86
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition removeRepresentation(const E_TransferSyntax repType, const DcmRepresentationParameter *repParam)
delete a representation.
DcmTime Time
Time (0040,a122) vr=TM, vm=1, type=1C.
Definition: drtcims.h:363
virtual OFCondition getUint16Array(Uint16 *&uintVals)
get reference to stored integer data.
int getVMMax() const
returns upper limit for VM (value multiplicity), DcmVariableVM for unlimited
Definition: dcdicent.h:164
virtual OFCondition getAccessionNumber(OFString &value, const signed long pos=0) const
get AccessionNumber (0008,0050)
DcmConsumer * current_
pointer to consumer to which compressed output is written
Definition: dcostrmz.h:151
Class for referenced sample position list.
Definition: dsrtcosp.h:41
Item & operator=(const Item ©)
assigment operator
OFCondition getTableTopPitchAngle(Float32 &value, const unsigned long pos=0) const
get TableTopPitchAngle (300a,0140)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
DVSignatureHandler & operator=(const DVSignatureHandler &)
private undefined assignment operator
OFCondition setDefault()
sets magnification type, smoothing type and configuration information back to default.
OFCondition getFinalCumulativeMetersetWeight(Float64 &value, const unsigned long pos=0) const
get FinalCumulativeMetersetWeight (300a,010e)
OFCondition setNumberOfPulses(const OFString &value, const OFBool check=OFTrue)
set NumberOfPulses (300a,028a)
DcmTime SeriesTime
SeriesTime (0008,0031) vr=TM, vm=1, type=3.
Definition: drtionpl.h:3089
double JNDMax
maximum JND index value for the given display system
Definition: digsdfn.h:211
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtspccs.h:353
virtual OFCondition getImagePositionVolume(Float64 &valueX, Float64 &valueY, Float64 &valueZ)
Retrieve all values of Image Position Volume at the same time.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtmdrs.h:393
void clear()
clear all internal member variables
DcmDate InstanceCreationDate
InstanceCreationDate (0008,0012) vr=DA, vm=1, type=3.
Definition: drtimage.h:5404
DcmLongString ClinicalTrialSiteID
ClinicalTrialSiteID (0012,0030) vr=LO, vm=1, type=2.
Definition: drtimage.h:4862
DB_SerializedCharPtr PValueField
pointer to the value field
Definition: dcmqridx.h:155
T_DIMSE_BlockingMode getDIMSEBlockingMode() const
Returns whether receiving of DIMSE messages is done in blocking or unblocking mode.
DcmDecimalString TableTopVerticalPosition
TableTopVerticalPosition (300a,0128) vr=DS, vm=1, type=3.
Definition: drtes.h:558
OFCondition getCompensatorType(OFString &value, const signed long pos=0) const
get CompensatorType (300a,00ee)
OFBool acceptWrongPaletteTags
Accept wrong palette attribute tags.
Definition: djcparam.h:411
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition getColumns(Uint16 &cols)
Get number of cols.
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getFrameTime(OFString &value, const signed long pos=0) const
get FrameTime (0018,1063)
virtual OFCondition setSOPAuthorizationDateTime(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationDateTime (0100,0420)
OFBool getProgressNotificationMode() const
Returns the mode that specifies whether the progress of sending and receiving DIMSE messages is notif...
virtual OFCondition getPatientWeight(Float64 &value, const unsigned long pos=0) const
Get Patient's Weight (in kilograms)
DiCMYKPixelTemplate(const DiDocument *docu, const DiInputPixel *pixel, EI_Status &status, const unsigned long planeSize, const int bits)
constructor
Definition: dicmypxt.h:53
OFCondition setIconPrefix(const OFFilename &prefix)
set filename prefix for alternative icon images.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpsss.h:311
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmFloatingPointSingle TableTopRollAngleTolerance
TableTopRollAngleTolerance (300a,0050) vr=FL, vm=1, type=3.
Definition: drtitts.h:428
DcmFloatingPointSingle TotalBlockTrayWaterEquivalentThickness
TotalBlockTrayWaterEquivalentThickness (300a,00f3) vr=FL, vm=1, type=3.
Definition: drtibs.h:1055
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtajcs.h:351
the list of curve and overlay activation layers contained in a presentation state (internal use only)...
Definition: dvpsall.h:44
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
DRTReferencedBeamSequenceInRTFractionSchemeModule & getReferencedBeamSequence()
get ReferencedBeamSequence (300c,0004)
Definition: drtfgs.h:208
virtual ~DRTContrastBolusAdministrationRouteSequence()
destructor
DcmApplicationEntity & operator=(const DcmApplicationEntity &obj)
assignment operator
virtual OFCondition getTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource, OFString &mappingResourceUID) const
get template identifier, mapping resource and optional mapping resource UID.
virtual OFCondition getIssuerOfPatientID(OFString &value, const signed long pos=0) const
get issuer of patient ID
void * getOutputBuffer() const
returns pointer to the output buffer
Definition: dcrledec.h:179
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_ContentItemNotFound
error: the specified content item (node) could not be found
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
global singleton dicom dictionary that is used by DCMTK in order to lookup attribute VR,...
Definition: dcdict.h:217
OFCondition HandleFindSCP(T_ASC_Association *assoc, T_DIMSE_C_FindRQ *request, T_ASC_PresentationContextID presID)
This function processes a DIMSE C-FIND-RQ commmand that was received over the network connection.
DRTReferencedBeamSequenceInRTDoseModule & getReferencedBeamSequence()
get ReferencedBeamSequence (300c,0004)
Definition: drtrtrs2.h:114
virtual OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
DcmUnsignedShort numberOfGraphicPoints
VR=US, VM=1, Type 1.
Definition: dvpsgr.h:131
Uint16 time_mid
Octets 4-5 of the time field.
Definition: ofuuid.h:122
OFCondition read(DcmItem &item)
read elements from sequence item
DcmCodeString DeviceDiameterUnits
DeviceDiameterUnits (0050,0017) vr=CS, vm=1, type=2C.
Definition: drtds.h:519
OFBool getTargetPrinterSupportsTrim(const char *targetID)
returns the SUPPORTSTRIM entry for the printer with the given target ID from the configuration file.
static const size_t XF_addDocumentType
add document type definition (DTD). DCMTK-specific format only.
Definition: dctypes.h:206
E_FileReadMode
mode for file reading
Definition: dctypes.h:144
OFCondition getMeasuredDoseValue(OFString &value, const signed long pos=0) const
get MeasuredDoseValue (3008,0016)
virtual ~DRTIconImageSequence()
destructor
Class representing a Code Sequence Macro.
Definition: iodmacro.h:35
virtual OFCondition getUint32Array(Uint32 *&uintVals)
get reference to stored integer data.
virtual void Insert(const OFUnorderedSet< T > &other)
Inserts all items of another set into this set.
Definition: ofuoset.h:159
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrps.h:130
OFCondition getKVP(Float64 &value, const unsigned long pos=0) const
get KVP (0018,0060)
E_VRType vrType
transfer syntax VR encoding (implicit/explicit)
Definition: dcxfer.h:325
DRTBlockSequenceInRTImageModule BlockSequence
BlockSequence (300a,00f4) vr=SQ, vm=1, type=2C.
Definition: drtes.h:524
int setVoiLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set VOI LUT (given by dcmdata elements).
OFStackLinkBase()
default constructor
Definition: ofstack.h:59
DcmFloatingPointSingle TableTopPitchAngle
TableTopPitchAngle (300a,0140) vr=FL, vm=1, type=3.
Definition: drtes.h:554
virtual OFCondition getAdmittingDiagnosesDescription(OFString &value, const signed long pos=0) const
get AdmittingDiagnosesDescription (0008,1080)
virtual OFCondition read(DcmItem &dataset, const E_DocumentType documentType, const size_t flags=0)
read SR document tree from DICOM dataset.
OFCondition getCertificateType(OFString &value, const signed long pos=0) const
get CertificateType (0400,0110)
Item & getItem(const size_t num)
get particular item in the sequence
DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence()
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtiontr.h:1371
const DRTStrainStockSequence & getStrainStockSequence() const
get StrainStockSequence (0010,0216)
Definition: drtionpl.h:1913
Item class.
Definition: drtpss.h:41
E_PaddingEncoding paddingType_
padding algorithm for writing DICOM files
Definition: dcmqropt.h:102
OFReadWriteLock & theLock
the lock on which we are operating
Definition: ofthread.h:549
OFCondition setScanSpotMetersetWeights(const Float32 value, const unsigned long pos=0)
set ScanSpotMetersetWeights (300a,0396)
DRTDigitalSignaturesSequence & getDigitalSignaturesSequence()
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtstrct.h:1278
virtual OFCondition getResponsiblePersonRole(OFString &value, const signed long pos=0) const
get ResponsiblePersonRole (0010,2298)
OFConsoleApplication * app
instance of console application class (for handling command line arguments)
Definition: wlcefs.h:90
DcmCodeString DoseUnits
DoseUnits (3004,0002) vr=CS, vm=1, type=1.
Definition: drtdvhs.h:325
DRTStructureSetROISequence & getStructureSetROISequence()
get StructureSetROISequence (3006,0020)
Definition: drtdose.h:2644
OFCondition getRealWorldValueFirstValueMapped(Uint16 &value, const unsigned long pos=0) const
get RealWorldValueFirstValueMapped (0040,9216)
OFCondition getApplicatorID(OFString &value, const signed long pos=0) const
get ApplicatorID (300a,0108)
DcmShortText configurationInformation
Module=Film_Box_Module, VR=ST, VM=1, Type 2.
Definition: dvpssp.h:1030
virtual OFCondition getPhotometricInterpretation(OFString &value, const signed long pos=0) const
Get Photometric Interpretation.
DCMTK_DCMNET_EXPORT void dumpExtNegList(SOPClassExtendedNegotiationSubItemList &lst)
@ Maxilla
(70925003,SCT,"Maxilla")
Definition: cid4031.h:156
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition read(DcmItem &dset)
reads a list of VOI LUTs from a DICOM dataset.
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
DRTPrivateDataElementDefinitionSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmQuantColorHashTable()
constructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
size_t getNumberOfItems() const
get number of items in the sequence
int psv
for lossless compression, defines selection value
Definition: djeijg12.h:157
OFCondition getCorrectionValue(Float32 &value, const unsigned long pos=0) const
get CorrectionValue (3008,006a)
void setGroupRangeRestriction(DcmDictRangeRestriction rr)
sets group range restriction
Definition: dcdicent.h:266
OFCondition setValue(const DSRNumericMeasurementValue &numericMeasurement, const OFBool check=OFTrue)
set numeric measurement value.
@ Underflow
(114004,DCM,"Underflow")
Definition: cid42.h:52
OFCondition getChannelInnerLength(Float64 &value, const unsigned long pos=0) const
get ChannelInnerLength (300a,0272)
virtual OFBool matches(const DcmElement &candidate, const OFBool enableWildCardMatching=OFTrue) const
perform attribute matching.
OFBool setMonth(const unsigned int month)
set the date value to the specified month.
@ SquareMicrometer
(um2,UCUM,"square micrometer"), included from CID 7461
Definition: cid7181.h:70
DcmCodeString MeasuredDoseType
MeasuredDoseType (3008,0014) vr=CS, vm=1, type=2.
Definition: drtmdrs.h:213
DVPSCurve & operator=(const DVPSCurve &)
private undefined assignment operator
codec parameter for RLE codec
Definition: dcrlecp.h:31
virtual void setLayout(OFunique_ptr< Layout > layout)
Set the layout for this appender.
int currentImageOverlaysValid
a flag describing whether the Overlay settings in currentImage match the ones in the presentation sta...
Definition: dvpstat.h:1271
Uint32 getDIMSETimeout() const
Returns DIMSE timeout in seconds for receiving data.
virtual void removeDataReference()=0
remove reference to (internally handled) pixel data (abstract)
OFBool referenced
flag indicating whether this transfer syntax uses a pixel data URL reference
Definition: dcxfer.h:346
OFBool hasTrackingUniqueIdentifier() const
check whether the 'Tracking Unique Identifier' content item (TID 1501 - Row 3) is present.
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtpics.h:339
void clear()
clear all internal member variables
DcmDecimalString ContrastBolusTotalDose
ContrastBolusTotalDose (0018,1044) vr=DS, vm=1, type=3.
Definition: drtimage.h:5199
virtual OFCondition read(DcmInputStream &inStream, const E_TransferSyntax xfer, 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...
SimpleLayout consists of the LogLevel of the log statement, followed by " - " and then the log messag...
Definition: layout.h:106
DcmCodeString PreliminaryFlag
Preliminary Flag: (CS, 1, 3)
Definition: dsrdoc.h:1421
OFCondition write(DcmItem &dset)
writes the list of softcopy VOI LUTs managed by this object to a DICOM dataset.
@ MilliliterPerMinute
(ml/min,UCUM,"milliliter per minute")
Definition: cid7181.h:148
virtual OFCondition readStudyData(DcmItem &dataset)
read StudyData from dataset.
OFBool operator!=(const OFCondition &arg) const
comparison operator.
Definition: ofcond.h:344
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmDate DateOfLastCalibration
DateOfLastCalibration (0018,1200) vr=DA, vm=1-n, type=3.
Definition: drtstrct.h:2998
virtual double getDose(unsigned int x, unsigned int y, unsigned int frame=0) const
get the dose information for a single pixel.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition getContrastFlowDuration(OFVector< Float64 > &value) const
get ContrastFlowDuration (0018,1047)
OFBool isValid(OFString &sopclassuid)
checks if images are referenced within this ReferencedImageSequence and whether all images share the ...
EnumType
types of measurement report document titles
Definition: cid7021.h:42
OFCondition setSetupImageComment(const OFString &value, const OFBool check=OFTrue)
set SetupImageComment (300a,0402)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
void clear()
clear all internal member variables
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtbas.h:331
const DRTDigitalSignaturesSequence & getDigitalSignaturesSequence() const
get DigitalSignaturesSequence (fffa,fffa)
Definition: drttreat.h:1233
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmDate DateOfLastCalibration
DateOfLastCalibration (0018,1200) vr=DA, vm=1-n, type=3.
Definition: drtplan.h:3243
static void copyClinicalTrialStudyModule(DcmItem &src, DcmItem &dest)
Copy Clinical Trial Study Module attributes.
DcmDecimalString WedgeFactor
WedgeFactor (300a,00d6) vr=DS, vm=1, type=2.
Definition: drtws.h:278
DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence()
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtimage.h:2434
int forcedBitDepth
forced bit depth for image compression, 0 (auto) or 8/12/16
Definition: djcparam.h:347
OFCondition getTableTopEccentricAngleTolerance(OFString &value, const signed long pos=0) const
get TableTopEccentricAngleTolerance (300a,004e)
OFCondition setStrainSource(const OFString &value, const OFBool check=OFTrue)
set StrainSource (0010,0217)
Item class.
Definition: drtsis.h:37
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtrrpcs.h:333
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const DRTStrainStockSequence & getStrainStockSequence() const
get StrainStockSequence (0010,0216)
Definition: drtstrct.h:1788
static OFBool requiresEnhancedEquipmentModule(const E_DocumentType documentType)
check whether SR document type requires Enhanced General Equipment Module
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
const DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence() const
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtionpl.h:1685
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item class.
Definition: drtpscs.h:37
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtpics.h:351
virtual void clear()
clear list of extended coded entries and forget about the currently selected coded entry
OFCondition setPatientSupportAngle(const OFString &value, const OFBool check=OFTrue)
set PatientSupportAngle (300a,0122)
OFCondition setPersonName(const OFString &value, const OFBool check=OFTrue)
set PersonName (0040,a123)
virtual OFCondition setClinicalTrialTimePointID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointID (0012,0050)
void setAETitle(const OFString &aetitle)
Set AE title of the server.
@ ELM_IgnoreValue
ignore given value, use auto detection
Definition: diutils.h:317
virtual OFCondition setPatientID(const OFString &value, const OFBool check=OFTrue)
set PatientID (0010,0020)
const DRTStrainStockSequence & getStrainStockSequence() const
get StrainStockSequence (0010,0216)
Definition: drttreat.h:1725
DcmDate SourceStrengthReferenceDate
SourceStrengthReferenceDate (300a,022c) vr=DA, vm=1, type=1.
Definition: drtss.h:438
DRTStrainCodeSequence StrainCodeSequence
StrainCodeSequence (0010,0219) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4126
OFCondition findOrCreateItemPath(DcmItem *item, OFString &path)
Function that allows for finding and/or inserting a hierarchy of items and attributes as defined by a...
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence()
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtplan.h:1880
DcmUnlimitedText StrainAdditionalInformation
StrainAdditionalInformation (0010,0218) vr=UT, vm=1, type=3.
Definition: drtimage.h:4831
OFBool cornellWorkaroundEnabled() const
returns flag indicating whether the workaround for buggy Cornell JPEG lossless images with Huffman ta...
Definition: djcparam.h:313
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_WrongImageLibraryEntryDescriptorModality
error: the current (most recently added) image library entry has the wrong modality descriptor
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
DcmIntegerString NumberOfLateralSpreadingDevices
NumberOfLateralSpreadingDevices (300a,0330) vr=IS, vm=1, type=1.
Definition: drtibs.h:1013
const DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence() const
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtgpis.h:134
DcmDate PerformedProcedureStepStartDate
PerformedProcedureStepStartDate (0040,0244) vr=DA, vm=1, type=3.
Definition: drtionpl.h:3105
virtual OFCondition setContentQualification(const OFString &value, const OFBool check=OFTrue)
set ContentQualification (0018,9004)
void callbackHandler(OFBool cancelled, T_DIMSE_C_GetRQ *request, DcmDataset *requestIdentifiers, int responseCount, T_DIMSE_C_GetRSP *response, DcmDataset **stDetail, DcmDataset **responseIdentifiers)
callback handler called by the DIMSE_storeProvider callback function.
E_TransferSyntax CurrentXfer
current transfer syntax of the dataset
Definition: dcdatset.h:413
static const size_t RF_ignoreContentItemErrors
do not abort on content item errors (e.g. missing value type specific attributes)
Definition: dsrtypes.h:266
OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
virtual unsigned long getNumberOfValues()
get number of values stored in this element
virtual offile_off_t avail() const =0
returns the minimum number of bytes that can be written with the next call to write().
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const Item & getCurrentItem() const
get current item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
const DcmTagKey m_Tag
a DcmTagKey object determining which attribute of a DcmItem should be compared with the value.
Definition: dcfilter.h:203
SiMAC()
default constructor
Definition: simac.h:41
OFCondition getIsocenterToCompensatorDistances(Float32 &value, const unsigned long pos=0) const
get IsocenterToCompensatorDistances (300a,02e6)
@ Radiographer
(159016003,SCT,"Radiographer")
Definition: cid7452.h:68
const Item & getCurrentItem() const
get current item in the sequence
DcmShortString StudyID
StudyID (0020,0010) vr=SH, vm=1, type=2.
Definition: drtionpl.h:2992
Interface class for MappingResourceIdentificationSequence (0008,0124)
Definition: drtmris.h:28
virtual OFCondition setLongitudinalTemporalInformationModified(const OFString &value, const OFBool check=OFTrue)
set LongitudinalTemporalInformationModified (0028,0303)
DcmUniqueIdentifier RelatedGeneralSOPClassUID
RelatedGeneralSOPClassUID (0008,001a) vr=UI, vm=1-n, type=3.
Definition: drtplan.h:3364
virtual ~DRTReferencedFrameOfReferenceSequence()
destructor
const DRTOverrideSequence & getOverrideSequence() const
get OverrideSequence (3008,0060)
Definition: drticpds.h:517
Uint64 getRND64()
return a random Uint64 value
DcmDate InstanceCreationDate
InstanceCreationDate (0008,0012) vr=DA, vm=1, type=3.
Definition: drtplan.h:3356
OFCondition setPersonTelephoneNumbers(const OFString &value, const OFBool check=OFTrue)
set PersonTelephoneNumbers (0040,1103)
DVPSReferencedSeries(const DVPSReferencedSeries ©)
copy constructor
OFTempFile(unsigned int flags=O_RDWR, const OFString &dir="", const OFString &prefix="", const OFString &postfix=".tmp")
default constructor, create a temporary file with a random name.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtopis.h:156
virtual OFCondition getStudyID(OFString &value, const signed long pos=0) const
get StudyID (0020,0010)
void clear()
clear all internal member variables
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setZeroVelocityPixelValueSS(const Sint16 value)
Set Zero Velocity Pixel Value.
virtual unsigned long getVM()
get the value multiplicity.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_DoubleCompressionFilters
Too many compression filters.
OFCondition checkSOPInstance(const OFString &studyUID, const OFString &seriesUID, const OFString &sopClassUID, const OFString &instanceUID) const
check the four specified UID values for validity.
@ EDC_always
always perform color space conversion from YCbCr to RGB if JPEG data is color image.
Definition: djutils.h:164
DiDocument(const char *filename, const unsigned long flags=0, const unsigned long fstart=0, const unsigned long fcount=0)
constructor, open a DICOM file
@ EFG_REALWORLDVALUEMAPPING
Real World Value Mapping.
Definition: fgtypes.h:158
void replicate(unsigned char ch, unsigned char nbytes)
this method expands a replicate run
Definition: dcrledec.h:204
OFCondition setSpecifiedPrimaryMeterset(const OFString &value, const OFBool check=OFTrue)
set SpecifiedPrimaryMeterset (3008,0032)
DcmUnsignedShort ReferencedSegmentNumber
ReferencedSegmentNumber (0062,000b) vr=US, vm=1-n, type=1C.
Definition: drtrsis.h:185
void cleanChildren()
clean up terminated child processes.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtitts.h:613
DcmLongString GantryID
GantryID (0018,1008) vr=LO, vm=1, type=3.
Definition: drtimage.h:5053
static OFString getLibraryVersionString()
get version information of the TIFF library.
OFCondition getReferencedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
OFBool isEmpty()
check if sequence is empty
OFCondition getApplicatorOpening(Float32 &value, const unsigned long pos=0) const
get ApplicatorOpening (300a,0433)
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
unsigned long creation_time
date/time of creation of this object
Definition: offname.h:66
DVPSPrintMessageHandler(const DVPSPrintMessageHandler ©)
private undefined copy constructor
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to Decode
E_ByteOrder byteOrder_
current output byte order
Definition: dcwcache.h:133
DcmUnlimitedText m_TrackingID
Tracking ID (UT, 1, 1C)
Definition: segment.h:329
OFCondition getScanSpotReorderingAllowed(OFString &value, const signed long pos=0) const
get ScanSpotReorderingAllowed (300a,0395)
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrmss7.h:148
const OFSet< T > & operator=(const OFSet< T > &src)
operator=.
Definition: ofset.h:107
DcmDecimalString SurfaceEntryPoint
SurfaceEntryPoint (300a,012e) vr=DS, vm=3, type=3.
Definition: drtcps.h:689
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
T value_type
Data type of pixels.
Definition: modimagepixel.h:51
virtual DcmEVR ident() const
get type identifier
OFBool isEmpty()
check if item is empty
OFBool isEmpty()
check if sequence is empty
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeName (0012,0081)
DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence()
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtdose.h:2356
DCMTK_DCMDATA_EXPORT const E_ByteOrder gLocalByteOrder
global constant describing the byte order on the machine the application is currently executing on.
void addBlock(const void *ptr, unsigned long size)
add block of raw data to CRC
OFCondition write(DcmItem &dataset) const
write list of referenced time offsets
OFDateTime ToDateTimeValue
end observation date/time to check for (as a converted OFDateTime instance)
Definition: dsrdnflt.h:424
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
virtual OFCondition setNameOfPhysiciansReadingStudy(const OFString &value, const OFBool check=OFTrue)
set NameOfPhysiciansReadingStudy (0008,1060)
const Item & getItem(const size_t num) const
get particular item in the sequence
@ PM_MultiMandatory
parameter is required, more than one value is allowed (# = 1..n), "option..."
Definition: ofcmdln.h:99
OFBool isEmpty()
check if sequence is empty
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpics.h:536
OFunique_ptr< ErrorHandler > errorHandler
It is assumed and enforced that errorHandler is never null.
Definition: appender.h:240
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DRTStrainCodeSequence StrainCodeSequence
StrainCodeSequence (0010,0219) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3013
Item class.
Definition: drtxrs.h:36
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getClinicalTrialProtocolID(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolID (0012,0020)
virtual OFCondition getAccessionNumber(OFString &value, const signed long pos=0) const
get AccessionNumber (0008,0050)
virtual OFCondition getROIStandardDeviation(OFString &value, const signed long pos=0) const
get ROIStandardDeviation (60xx,1303)
void determineUsedValues()
examine which pixel values are actually used
Definition: dimoopxt.h:234
static OFFilename & normalizeDirName(OFFilename &result, const OFFilename &dirName, const OFBool allowEmptyDirName=OFFalse)
normalize the given directory name.
OFBool isEmpty()
check if item is empty
void clear()
clear all internal member variables
void rotateRight(T *data[])
rotate image right and store result in the same storage area
Definition: dirotat.h:281
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format.
OFCondition setPrivateDataElementEncoding(const OFString &value, const OFBool check=OFTrue)
set PrivateDataElementEncoding (0008,030f)
DJDecompressIJG16Bit(const DJDecompressIJG16Bit &)
private undefined copy constructor
OFBool RetiredSOPClassSupport
support retired SOP classes
Definition: dcddirif.h:1572
DRTReferringPhysicianIdentificationSequence ReferringPhysicianIdentificationSequence
ReferringPhysicianIdentificationSequence (0008,0096) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2745
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmLongText FractionPattern
FractionPattern (300a,007b) vr=LT, vm=1, type=3.
Definition: drtfgs.h:330
OFCondition getReferencedROINumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedROINumber (3006,0084)
DcmIntegerString referencedFrameNumber
VR=IS, VM=1-n, Type 1c.
Definition: dvpsri.h:165
@ Germanium_Ge68
(129516007,SCT,"Germanium Ge^68^")
Definition: cid4021.h:178
DRTBeamLimitingDeviceToleranceSequence BeamLimitingDeviceToleranceSequence
BeamLimitingDeviceToleranceSequence (300a,0048) vr=SQ, vm=1, type=3.
Definition: drttts.h:343
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
void InitUint32(DiMonoModality *modality)
initialize internal data structures (for Uint32)
OFCondition setBlockMountingPosition(const OFString &value, const OFBool check=OFTrue)
set BlockMountingPosition (300a,00fb)
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmSignedLong displayedAreaTopLeftHandCorner
VR=SL, VM=2, Type 1.
Definition: dvpsda.h:254
Uint8 * fValue
value of the element
Definition: dcelem.h:998
virtual OFCondition selectValue(const DSRCodedEntryValue &codedEntryValue, const OFBool check=OFTrue, const OFBool definedContextGroup=OFFalse)
select a given coded entry as the current value
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrdrs1.h:149
unsigned long AutoOverlayNumber
current overlay number used to invent missing attribute values
Definition: dcddirif.h:1616
OFBool isEmpty()
check if sequence is empty
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcsrs.h:311
DcmLongString m_AlgorithmVersion
Algorithm Version: (LO, VM 1, Typ 1)
Definition: iodmacro.h:948
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFString opt_rfPath
path to store request files
Definition: wlcefs.h:46
OFBool printerSupportsPresentationLUT()
checks if the remote printer supports the Presentation LUT SOP class.
Item(const Item ©)
copy constructor
virtual OFCondition setOtherPatientNames(const OFString &value, const OFBool check=OFTrue)
set OtherPatientNames (0010,1001)
CodeSequenceMacro m_LanguageCode
Item of Language Code Sequence: (SQ, VM 1, Type 1)
Definition: iodmacro.h:1024
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setBitsAllocated(const Uint16 value, const unsigned long pos=0)
set BitsAllocated (0028,0100)
DVPSReferencedImage * findImageReference(const char *sopinstanceuid)
checks if an image reference with the given SOP instance UID exists in this ReferencedImageSequence.
DRTApplicatorSequenceInRTIonBeamsSessionRecordModule(const DRTApplicatorSequenceInRTIonBeamsSessionRecordModule ©)
copy constructor
DcmDirectoryRecord * buildStudyRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFFilename &sourceFilename)
create or update study record and copy required values from dataset
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
Item EmptyItem
empty default item
Definition: drtrsis.h:370
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setReferringPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ReferringPhysicianName (0008,0090)
OFCondition read(DcmItem &dset)
reads a Stored Print object from a DICOM dataset.
OFList< DVPSGraphicLayer * > list_
the list maintained by this object
Definition: dvpsgll.h:273
Class representing an Alternate Content Description item.
Definition: iodmacro.h:968
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setROIArea(const OFString &value, const OFBool check=OFTrue)
set ROIArea (60xx,1301)
OFFilenameCreator(const OFFilenameCreator ©)
copy constructor
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual ~DRTSegmentedPropertyTypeModifierCodeSequence()
destructor
size_t getNumberOfItems() const
get number of items in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setSourceToApplicatorMountingPositionDistance(const Float32 value, const unsigned long pos=0)
set SourceToApplicatorMountingPositionDistance (300a,0436)
DRTContributingEquipmentSequence ContributingEquipmentSequence
ContributingEquipmentSequence (0018,a001) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5424
OFCondition DB_IdxRemove(int idx)
deactivate index record at given index by setting an empty filename
DVIFhierarchyStatus Status
review status for the series
Definition: dvcache.h:430
void setDatasetStorageMode(const E_DatasetStorageMode mode)
set the mode specifying how to store the received datasets.
OFCondition getHL7InstanceIdentifier(OFString &value, const signed long pos=0) const
get HL7InstanceIdentifier (0040,e001)
OFString UID
instance UID
Definition: dvcache.h:705
@ EVR_LT
long text
Definition: dcvr.h:156
int fail_
this flag indicates a failure of the RLE codec.
Definition: dcrleenc.h:368
OFCondition getConstraintWeight(Float64 &value, const unsigned long pos=0) const
get ConstraintWeight (300a,0021)
Item & getCurrentItem()
get current item in the sequence
OFCondition write(DcmItem &dset)
writes the list of annotations managed by this object to a DICOM dataset.
virtual ~DcmByteString()
destructor
DcmTLSConnection & operator=(const DcmTLSConnection &)
private undefined assignment operator
OFCondition gotoNextItem()
goto next item in the sequence
DcmCodeString PhotometricInterpretation
PhotometricInterpretation (0028,0004) vr=CS, vm=1, type=1.
Definition: drtimage.h:5257
virtual OFCondition setUniversalEntityIDType(const OFString &value, const OFBool checkValue=OFTrue)
Set Universal Entity ID Type.
DcmRLERepresentationParameter()
constructor
DcmUniqueIdentifier SOPClassUID
SOPClassUID (0008,0016) vr=UI, vm=1, type=1.
Definition: drtionpl.h:3254
virtual OFCondition getApprovalStatus(OFString &value, const signed long pos=0) const
get ApprovalStatus (300e,0002)
int entryCount
number of entries in hash table
Definition: dchashdi.h:300
virtual OFBool isValid() const
check whether the current spatial coordinates value is valid.
DVPSGraphicLayer_PList & operator=(const DVPSGraphicLayer_PList &)
private undefined assignment operator
OFFilename filename_
path to temporary file
Definition: dcistrmf.h:284
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
static void alignFrameOnByteBoundary(Uint8 *buf, size_t bufLen, Uint8 numBits)
Aligns 1 bit per pixel frame data starting at a given bit position in the provided buffer with the st...
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmDate PatientBirthDate
PatientBirthDate (0010,0030) vr=DA, vm=1, type=2.
Definition: drtplan.h:2973
static OFCondition insertCodeSequence(DcmItem *dataset, const DcmTagKey &tagKey, const char *codingSchemeDesignator, const char *codeValue, const char *codeMeaning)
insert code sequence into the given dataset
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getContourOffsetVector(Float64 &value, const unsigned long pos=0) const
get ContourOffsetVector (3006,0045)
virtual OFBool isModalityLUTModulePresent(const OFBool complete=OFFalse)
check whether ModalityLUTModule (U) is present.
Item & getCurrentItem()
get current item in the sequence
DcmShortString StationName
StationName (0008,1010) vr=SH, vm=1, type=3.
Definition: drtiontr.h:3049
Interface class for RTImageIOD.
Definition: drtimage.h:93
const DcmQueryRetrieveConfig * config
pointer to Q/R configuration
Definition: dcmqrcbm.h:148
int size() const
counts total number of entries
Definition: dchashdi.h:207
static const size_t PF_printAnnotation
print annotation of a content item (optional, e.g. user-defined information)
Definition: dsrtypes.h:450
virtual OFCondition setClinicalTrialSeriesID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesID (0012,0071)
OFString m_SOPInstanceUID
SOP Instance UID.
Definition: iodreferences.h:137
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_InvalidBasicOffsetTable
Invalid basic offset table.
virtual OFBool isValid() const
check whether the content item is valid.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drticps.h:758
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtadcs.h:329
static DJLSNearLosslessEncoder * nearlosslessencoder_
pointer to encoder for lossy JPEG-LS
Definition: djencode.h:94
void window(const DiMonoPixel *inter, const Uint32 start, const DiLookupTable *plut, DiDisplayFunction *disp, const double center, const double width, const T3 low, const T3 high)
apply the currently active linear VOI window to the output data
Definition: dimoopxt.h:941
OFCondition convertString(const OFString &fromString, OFString &toString, const OFString &delimiters="")
convert the given string from the selected source character set(s) to the selected destination charac...
EnumType
types of CT acquisition type
Definition: cid10013.h:42
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool useFFbitstreamPadding_
When true, a JPEG-LS bitstream of odd length is padded by extending the FF D9 "end of image" marker t...
Definition: djcparam.h:268
virtual OFCondition createRevisedVersion(const OFBool clearList=OFTrue)
create a revised version of the current document.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getPatientBirthDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientBirthDateInAlternativeCalendar (0010,0033)
OFCondition read(DcmItem &dset)
reads all curve groups which can be displayed in a presentation state from a DICOM dataset.
Item EmptyItem
empty default item
Definition: drtrms.h:386
@ DCFBC_F18
(C96234,NCIt,"DCFBC F^18^")
Definition: cid4021.h:100
OFCondition getReferencedFrameNumber(OFString &value, const signed long pos=0) const
get ReferencedFrameNumber (0008,1160)
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtsdcs.h:349
DRTOriginalAttributesSequence & operator=(const DRTOriginalAttributesSequence ©)
assigment operator
virtual OFCondition getPregnancyStatus(Uint16 &value, const unsigned long pos=0) const
get PregnancyStatus (0010,21c0)
Item(const Item ©)
copy constructor
const DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence() const
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtiontr.h:1377
DCMTK_DCMJPEG_EXPORT const OFConditionConst EJ_Suspension
IJG codec suspension return.
Uint32 fieldLength_
length of the current DICOM element, in bytes
Definition: dcwcache.h:127
virtual ~DcmShortText()
destructor
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtcncs.h:205
OFBool getRespondWithCalledAETitle() const
Returns whether SCP uses the called AE title from SCU requests to respond to connection requests inst...
DRTContourSequence ContourSequence
ContourSequence (3006,0040) vr=SQ, vm=1, type=3.
Definition: drtrcs.h:187
const DRTWADORSRetrievalSequence & getWADORSRetrievalSequence() const
get WADORSRetrievalSequence (0040,e025)
Definition: drtrpphs.h:168
OFCondition getDoseReferenceUID(OFString &value, const signed long pos=0) const
get DoseReferenceUID (300a,0013)
virtual OFBool isPatientStudyModulePresent(const OFBool complete=OFFalse)
check whether PatientStudyModule (U) is present.
DcmItem(const DcmItem &old)
copy constructor
OFCondition gotoFirstItem()
goto first item in the sequence
DRTAdmittingDiagnosesCodeSequence AdmittingDiagnosesCodeSequence
AdmittingDiagnosesCodeSequence (0008,1084) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4920
DcmTime PerformedProcedureStepEndTime
PerformedProcedureStepEndTime (0040,0251) vr=TM, vm=1, type=3.
Definition: drtdose.h:4307
void checkAndUpdateVR(DcmItem &item, DcmTag &tag)
check whether the given tag requires some special handling regarding the VR (i.e. in case it is undef...
const LogLevel WARN_LOG_LEVEL
The WARN_LOG_LEVEL LogLevel designates potentially harmful situations.
Definition: loglevel.h:69
void HandleExistentButEmptyDescriptionAndCodeSequenceAttributes(DcmItem *dataset, const DcmTagKey &descriptionTagKey, const DcmTagKey &codeSequenceTagKey)
This function performs a check on two attributes in the given dataset.
OFBool secureConnectionRequested() const
Returns true if a secure connection was requested, false otherwise.
virtual void clear()
clear all internal variables.
DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence()
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtras.h:153
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition putUint16(const Uint16 uintVal, const unsigned long pos=0)
set particular element value to given integer
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getStudyTime(OFString &value, const signed long pos=0) const
get StudyTime (0008,0030)
Decoder class for JPEG Extended Sequential (lossy, 8/12-bit)
Definition: djdecext.h:32
static void convertValue(const T3_ input, Uint8 &output)
helper routine: convert to unsigned 8 bit value
Definition: dicrvfit.h:193
virtual OFCondition read(DcmItem &dataset, const E_DocumentType documentType, const size_t flags=0)
read SR document tree from DICOM dataset
virtual OFCondition selectValue(const OFString &selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its associated defined term as the current value
const char * Access
access type (read-only, read/write)
Definition: dcmqrcnf.h:147
virtual OFString getName() const
Get name of module.
virtual void resetRules()
Resets rules to their original values.
OFCondition setBeamName(const OFString &value, const OFBool check=OFTrue)
set BeamName (300a,00c2)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getWedgeNumber(Sint32 &value, const unsigned long pos=0) const
get WedgeNumber (300a,00d2)
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setCommentsOnThePerformedProcedureStep(const OFString &value, const OFBool check=OFTrue)
set CommentsOnThePerformedProcedureStep (0040,0280)
OFCondition getDVHData(OFString &value, const signed long pos=0) const
get DVHData (3004,0058)
int readDWord(Uint32 &result)
Read 4 bytes from the byte stream.
Item EmptyItem
empty default item
Definition: drttms9.h:395
size_t getNumberOfItems() const
get number of items in the sequence
DJDecoderBaseline()
default constructor
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
DSRBasicTextSRConstraintChecker()
default constructor
DRTReferencedStructureSetSequence & operator=(const DRTReferencedStructureSetSequence ©)
assigment operator
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition setRelatedGeneralSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set RelatedGeneralSOPClassUID (0008,001a)
DcmShortString RangeModulatorID
RangeModulatorID (300a,0346) vr=SH, vm=1, type=1.
Definition: drtrrms.h:183
DVSeriesCache List
list of series within this study
Definition: dvcache.h:709
virtual OFCondition convertCharacterSet(const OFString &fromCharset, const OFString &toCharset, const size_t flags=0, const OFBool updateCharset=OFFalse)
convert all element values that are contained in this record and that are affected by SpecificCharact...
DcmTLSConnection(DcmNativeSocketType openSocket, SSL *newTLSConnection)
constructor.
OFBool hasChildNodes() const
check whether the current node has any children
Definition: dsrtncsr.h:427
OFBool hasImagingMeasurements(const OFBool checkChildren=OFFalse) const
check whether there is an 'Imaging Measurements' content item (TID 1500 - Row 6) in this measurement ...
Interface class for RealWorldValueMappingSequence (0040,9096)
Definition: drtrwvms.h:30
virtual const void * getOutputData(const unsigned long frame, const int bits, const int planar=0)=0
get pixel data with specified format.
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
OFCondition checkMandatoryAttributes(DcmMetaInfo *metainfo, DcmItem *dataset, const OFFilename &filename)
check attributes for compliance with current application profile
@ Methionine_C11
(129510001,SCT,"Methionine C^11^")
Definition: cid4021.h:200
OFBool isEmpty()
check if item is empty
OFCondition getRTImageSID(OFString &value, const signed long pos=0) const
get RTImageSID (3002,0026)
void callbackHandler(OFBool cancelled, T_DIMSE_C_MoveRQ *request, DcmDataset *requestIdentifiers, int responseCount, T_DIMSE_C_MoveRSP *response, DcmDataset **stDetail, DcmDataset **responseIdentifiers)
callback handler called by the DIMSE_storeProvider callback function.
virtual OFCondition setBodyPartExamined(const OFString &value, const OFBool checkValue=OFTrue)
Set Body Part Examined.
DVPSPresentationLUTType presentationLUT
describes active type of presentation LUT.
Definition: dvpspl.h:235
OFCondition loadAssociationConfiguration(const OFString &filename, const OFString &profile)
load an association negotiation profile from a configuration file.
DcmTransportLayer()
constructor.
Definition: dcmlayer.h:81
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSCodecUnsupportedImageType
error condition constant: The image uses some features which the codec does not support
const DRTDigitalSignaturePurposeCodeSequence & getDigitalSignaturePurposeCodeSequence() const
get DigitalSignaturePurposeCodeSequence (0400,0401)
Definition: drtdss.h:162
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool getTargetImplicitOnly(const char *targetID)
returns the IMPLICITONLY entry for the communication partner with the given target ID from the config...
Uint16 getPrimField(char *&resultBuf, Uint16 &resultLen) const
Returns content of primary field.
OFCondition getEncryptedContentTransferSyntaxUID(OFString &value, const signed long pos=0) const
get EncryptedContentTransferSyntaxUID (0400,0510)
virtual OFCondition getSeriesNumber(Sint32 &value, const unsigned long pos=0) const
get SeriesNumber (0020,0011)
virtual int writeImageToDataset(DcmItem &dataset, const int mode=0, const int planar=2)=0
write current image and related attributes to DICOM dataset.
Uint32 getRepresentativeFrame() const
get representative frame
Definition: diimage.h:135
virtual OFCondition getPerformedProcedureStepEndTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndTime (0040,0251)
virtual ErrorHandler * getErrorHandler()
Return the currently set ErrorHandler for this Appender.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmLongString AdmissionID
AdmissionID (0038,0010) vr=LO, vm=1, type=3.
Definition: drtdose.h:4249
static void cleanup()
deregisters encoders.
DRTReferencedBeamSequenceInRTDoseModule & getReferencedBeamSequence()
get ReferencedBeamSequence (300c,0004)
Definition: drtrfgs.h:115
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtpsics.h:337
OFCondition getChairHeadFramePositionTolerance(OFString &value, const signed long pos=0) const
get ChairHeadFramePositionTolerance (300a,0153)
DcmCodeString PatientIdentityRemoved
PatientIdentityRemoved (0012,0062) vr=CS, vm=1, type=3.
Definition: drttreat.h:2703
OFBool alwaysAcceptDefaultRole_
Option to always accept a default role as association acceptor.
Definition: dcasccfg.h:263
static void cleanup()
deregisters decoders.
virtual OFCondition append(DcmItem *item)
insert the given item at the end of the item list maintained by this sequence.
@ TimeCourseOfSignal
(113066,DCM,"Time course of signal"), included from CID 7180
Definition: cid7469.h:344
DRTVOILUTSequence & operator=(const DRTVOILUTSequence ©)
assigment operator
OFBool isEmpty()
check if sequence is empty
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getControlPointIndex(Sint32 &value, const unsigned long pos=0) const
get ControlPointIndex (300a,0112)
OFCondition getMeasuredDoseValue(Float64 &value, const unsigned long pos=0) const
get MeasuredDoseValue (3008,0016)
DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence()
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtstrct.h:1194
DiYBRPart422PixelTemplate(const DiDocument *docu, const DiInputPixel *pixel, EI_Status &status, const int bits)
constructor
Definition: diyp2pxt.h:52
DcmFileProducer & operator=(const DcmFileProducer &)
private unimplemented copy assignment operator
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
@ EVR_UN
unknown value representation
Definition: dcvr.h:264
DSRImageReferenceValue & operator=(const DSRImageReferenceValue &referenceValue)
assignment operator
OFCondition gotoFirstItem()
select the first item in the list
SiSHA384()
default constructor
virtual const char * getDefinedTerm() const
returns the DICOM identifier for this MAC algorithm
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmShortText RespiratoryMotionCompensationTechniqueDescription
RespiratoryMotionCompensationTechniqueDescription (0018,9185) vr=ST, vm=1, type=3.
Definition: drtmss.h:160
Item class.
Definition: drtcpas.h:36
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTConsentForClinicalTrialUseSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
const DRTReferencedPatientSequence & getReferencedPatientSequence() const
get ReferencedPatientSequence (0008,1120)
Definition: drttreat.h:1557
const OFBool DELETE_TRAILING
delete trailing spaces
Definition: dcbytstr.h:473
virtual ~DRTRangeShifterSettingsSequenceInRTIonBeamsModule()
destructor
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
DcmDecimalString BlockThickness
BlockThickness (300a,0100) vr=DS, vm=1, type=3.
Definition: drtbl5.h:339
DcmLongString ClinicalTrialSeriesDescription
ClinicalTrialSeriesDescription (0012,0072) vr=LO, vm=1, type=3.
Definition: drtimage.h:5025
IODGeneralStudyModule & getStudy()
Get General Study Module.
virtual void removeAppender(SharedAppenderPtr appender)
Remove the appender passed as parameter from the list of appenders.
TID300_Measurement(const T_Measurement &conceptName, const MeasurementValue &numericValue, const OFBool check=OFTrue)
constructor.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getCompensatorPosition(OFVector< Float64 > &value) const
get CompensatorPosition (300a,00ea)
DcmLongString PatientDeathDateInAlternativeCalendar
PatientDeathDateInAlternativeCalendar (0010,0034) vr=LO, vm=1, type=3.
Definition: drttreat.h:2653
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getQualityControlSubject(OFString &value, const signed long pos=0) const
get QualityControlSubject (0010,0200)
const DRTOperatorIdentificationSequence & getOperatorIdentificationSequence() const
get OperatorIdentificationSequence (0008,1072)
Definition: drtionpl.h:1541
virtual OFCondition getOverlayRows(Uint16 &value, const unsigned long pos=0) const
get OverlayRows (60xx,0010)
Uint32 applicationID
application ID assigned by the server
Definition: dvpsmsg.h:263
DRTIonBeamSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getSourceApplicatorLength(OFString &value, const signed long pos=0) const
get SourceApplicatorLength (300a,0296)
Uint16 bfReserved2
reserved, should be '0'
Definition: diutils.h:167
void InitSint8(DiMonoModality *modality)
initialize internal data structures (for Sint8)
void setReferenceTarget(const OFBool isTarget=OFTrue)
specify whether the current content item is target of a by-reference relationship
Definition: dsrdoctn.h:270
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool isEmpty()
check if item is empty
virtual ~Item()
destructor
unsigned long getNumberOfCorrectSignatures(DVPSObjectType objtype) const
returns number of correct signatures for given object type.
Uint32 getNumberOfSeries()
returns the number of series within the currently selected study.
static void printSupportedCiphersuites(OFConsoleApplication &app, STD_NAMESPACE ostream &os)
print a list of supported ciphersuites to the given output stream
OFCondition getNumberOfCompensators(Sint32 &value, const unsigned long pos=0) const
get NumberOfCompensators (300a,00e0)
Item & getCurrentItem()
get current item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
OFListIterator(Item *) CurrentItem
currently selected item
DcmUniqueIdentifier sOPInstanceUID
Module=Image_Box_List, VR=UI, VM=1, Type 1(c)
Definition: dvpsib.h:339
general Service Class User (SCU) class
OFCondition setCurrentTime(const OFBool seconds=OFTrue, const OFBool fraction=OFFalse)
set the element value to the current system time.
OFBool operator<=(const OFpath &lhs, const OFpath &rhs)
Lexicographically compare two paths.
@ MeanTransitTime
(113052,DCM,"Mean Transit Time"), included from CID 4108
Definition: cid7469.h:274
OFCondition read(DcmItem &item)
read elements from sequence item
OFListIterator(Item *) CurrentItem
currently selected item
virtual ~DRTDigitalSignaturePurposeCodeSequence()
destructor
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
OFCondition getDateOfLastCalibration(OFString &value, const signed long pos=0) const
get DateOfLastCalibration (0018,1200)
OFshared_ptr< IODRules > getRules()
Get rules handled by this IOD.
E_ContinuityOfContent getContinuityOfContent() const
get continuity of content flag.
Item & operator[](const size_t num)
get particular item in the sequence
void clear()
clear all internal member variables
DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule & getReferencedReferenceImageSequence()
get ReferencedReferenceImageSequence (300c,0042)
Definition: drtass.h:203
virtual OFCondition getLongitudinalTemporalOffsetFromEvent(Float64 &value, const unsigned long pos=0) const
get LongitudinalTemporalOffsetFromEvent (0012,0052)
DRTEncryptedAttributesSequence EncryptedAttributesSequence
EncryptedAttributesSequence (0400,0500) vr=SQ, vm=1, type=1C.
Definition: drtimage.h:5441
a client for IPC message exchange between different processes of the DICOMscope application
Definition: dvpsmsg.h:163
This class encapsulates data structures and operations for basic worklist management service class pr...
Definition: wlmactmg.h:39
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const Item & getItem(const size_t num) const
get particular item in the sequence
static DcmRLECodecEncoder * codec
pointer to RLE encoder
Definition: dcrleerg.h:76
virtual OFCondition createNewDocument()
create a new document.
virtual OFCondition setServiceEpisodeID(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeID (0038,0060)
virtual void clearData()=0
Clear any data in the group.
Uint16 getGTag() const
returns tag group
Definition: dctag.h:122
long getTLSOptions() const
returns the set of flags that need to be activated in OpenSSL depending on the selected TLS profile.
OFCondition read(DcmItem &dataset, const size_t flags)
read list of referenced frame numbers
DcmOtherByteOtherWord CertificateOfSigner
CertificateOfSigner (0400,0115) vr=OB, vm=1, type=1.
Definition: drtdss.h:229
static void shutdownNetwork()
Shutdown the network API (if necessary), e.g. Winsock.
There are many cross-platform C++ Threading libraries.
Definition: threads.h:65
@ Width
(103355008,SCT,"Width"), included from CID 7470
Definition: cid7469.h:358
DRTROIContourSequence & getROIContourSequence()
get ROIContourSequence (3006,0039)
Definition: drtstrct.h:1554
T_ASC_Association * origAssoc
pointer to original association on which the C-MOVE-RQ was received
Definition: dcmqrcbm.h:142
const char * getOtherPatientNames()
returns the Other Patient Names of the currently selected study.
virtual OFCondition sendSTORERequest(const T_ASC_PresentationContextID presID, const OFFilename &dicomFile, DcmDataset *dataset, Uint16 &rspStatusCode, const OFString &moveOriginatorAETitle="", const Uint16 moveOriginatorMsgID=0)
This function sends a C-STORE request on the currently opened association and receives the correspond...
@ EJLSPC_colorByPixel
always create color-by-pixel planar configuration
Definition: djlsutil.h:84
char * m_passwd
password required to open the private key file
Definition: tlsscu.h:233
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
double getFrameTime() const
get frame time
Definition: diimage.h:144
OFCondition setGantryPitchAngle(const Float32 value, const unsigned long pos=0)
set GantryPitchAngle (300a,014a)
@ PSMA11_Ga68
(C118961,NCIt,"PSMA-11 Ga^68^")
Definition: cid4021.h:238
DRTIssuerOfAccessionNumberSequence & operator=(const DRTIssuerOfAccessionNumberSequence ©)
assigment operator
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
ContentIdentificationMacro m_ContentIdentification
Parametric Map Image Module's Content Identification.
Definition: dpmparametricmapiod.h:299
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtbrcss.h:205
virtual OFCondition setImageComments(const OFString &value, const OFBool check=OFTrue)
set ImageComments (0020,4000)
double AmbientLight
(reflected) ambient light value
Definition: didispfn.h:450
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_NoSuchGroup
Specified functional group does not exist.
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM.
static void initialize()
initialize this context group explicitly.
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the coded entry value, is valid
DcmTime PerformedProcedureStepStartTime
PerformedProcedureStepStartTime (0040,0245) vr=TM, vm=1, type=3.
Definition: drtiontr.h:3019
OFCondition readPixelData(Uint16 &rows, Uint16 &cols, Uint16 &samplesPerPixel, OFString &photoMetrInt, Uint16 &bitsAlloc, Uint16 &bitsStored, Uint16 &highBit, Uint16 &pixelRepr, Uint16 &planConf, Uint16 &pixAspectH, Uint16 &pixAspectV, char *&pixData, Uint32 &length, E_TransferSyntax &ts)
Extracts the raw JPEG pixel data stream from a JPEG file and returns some further information about t...
@ T2StarWeightedMRSignalIntensity
(110806,DCM,"T2* Weighted MR Signal Intensity"), included from CID 7180
Definition: cid7469.h:100
@ EntireBody
(38266002,SCT,"Entire body")
Definition: cid4031.h:90
Item & getCurrentItem()
get current item in the sequence
Item(const Item ©)
copy constructor
unsigned long currentItem
currently processed item
Definition: wltypdef.h:124
@ TemporomandibularJoint
(53620006,SCT,"Temporomandibular joint")
Definition: cid4031.h:226
Item(const Item ©)
copy constructor
DRTConceptCodeSequence ConceptCodeSequence
ConceptCodeSequence (0040,a168) vr=SQ, vm=1, type=1C.
Definition: drtqds.h:337
DRTConsentForClinicalTrialUseSequence ConsentForClinicalTrialUseSequence
ConsentForClinicalTrialUseSequence (0012,0083) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2939
OFBool imageInverse
a flag describing whether current image is inverse
Definition: dvpstat.h:1298
DJEncoder()
default constructor
Definition: djencabs.h:37
@ EWM_fileformat
write as fileformat (update only missing information, this is the old behavior)
Definition: dctypes.h:158
virtual ~DRTReferencedRTPlanSequence()
destructor
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=3.
Definition: drttreat.h:2892
OFCondition saveFileFormatToDB(DcmFileFormat &fileformat)
saves a DICOM object into a file in the same directory in which the database index file resides.
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
size_t getNumberOfItems() const
get number of items in the sequence
Interface class for MeasurementUnitsCodeSequence (0040,08ea)
Definition: drtmucs.h:29
OFCondition initializeNetwork(int acse_timeout)
initialize the network structure.
virtual OFCondition getImageComments(OFString &value, const signed long pos=0)
Get Image Comments.
static double getTime()
get current time
virtual OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
OFSemaphore(const OFSemaphore &arg)
unimplemented private copy constructor
static const DSRCompositeReferenceValue EmptyCompositeReference
empty composite reference value.
Definition: dsrcitem.h:618
@ PelvisAndLowerExtremities
(416631005,SCT,"Pelvis and lower extremities")
Definition: cid4031.h:188
OFCondition setNumberOfContourPoints(const OFString &value, const OFBool check=OFTrue)
set NumberOfContourPoints (3006,0046)
const DRTBreedRegistrationSequence & getBreedRegistrationSequence() const
get BreedRegistrationSequence (0010,2294)
Definition: drtstrct.h:1176
DRTOriginalAttributesSequence OriginalAttributesSequence
OriginalAttributesSequence (0400,0561) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3299
virtual OFCondition getCommentsOnThePerformedProcedureStep(OFString &value, const signed long pos=0) const
get CommentsOnThePerformedProcedureStep (0040,0280)
unsigned long getFrameCount() const
Get the number of frames.
Definition: drmimage.h:107
OFBool useModalityRescale
Create Rescale Slope/Intercept to scale back to original pixel range, mode 0 only.
Definition: djcparam.h:408
DcmFileCache FileCache
file cache object used for partial read
Definition: diimage.h:667
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFCondition getFluenceDataSource(OFString &value, const signed long pos=0) const
get FluenceDataSource (3002,0041)
void swap(DSRTree< T > &tree)
fast, non-throwing swap function.
Definition: dsrtree.h:963
DSRImageReferenceValue(const OFString &sopClassUID, const OFString &sopInstanceUID, const OFBool check=OFTrue)
constructor.
TrcStatistic()
Constructor.
void clear()
clear all internal member variables
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbs.h:718
DcmLongString ClinicalTrialSubjectID
ClinicalTrialSubjectID (0012,0040) vr=LO, vm=1, type=1C.
Definition: drtstrct.h:2812
virtual OFCondition getInstanceCreationTime(OFString &value, const signed long pos=0) const
Get Instance Creation Time.
@ PETWholeBody
(44139-4,LN,"PET whole body")
Definition: cid100.h:66
DcmDecimalString ChairHeadFramePosition
ChairHeadFramePosition (300a,0151) vr=DS, vm=1, type=3.
Definition: drticps.h:767
Item & operator[](const size_t num)
get particular item in the sequence
DcmLongString Manufacturer
Manufacturer: (LO, 1, 2)
Definition: dsrdoc.h:1367
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
void clear()
clear all internal member variables
@ EVR_PN
person name
Definition: dcvr.h:177
virtual size_t goDown()
goto first child node (one level down)
Definition: dsrtncsr.h:592
Class implementing a document tree node filter that checks for a given value type.
Definition: dsrdnflt.h:294
DcmIntegerString SeriesNumber
SeriesNumber (0020,0011) vr=IS, vm=1, type=2.
Definition: drtiontr.h:2997
const DRTOriginalAttributesSequence & getOriginalAttributesSequence() const
get OriginalAttributesSequence (0400,0561)
Definition: drtiontr.h:1485
OFBool setTimeZone(const signed int hour, const unsigned int minute)
set the time zone to the specified value.
OFCondition read(DcmItem &item)
read elements from sequence item
virtual ~Item()
destructor
OFCondition getRQ(const char *sopclassUID, const char *sopinstanceUID, const Uint16 *attributeIdentifierList, size_t numShorts, Uint16 &status, DcmDataset *&attributeListOut)
sends an N-GET-RQ message and receives response.
DcmUnsignedShort annotationPosition
Module=Annotation_List, VR=US, VM=1, Type 1(c)
Definition: dvpsab.h:117
OFCondition setTableTopRollAngle(const Float32 value, const unsigned long pos=0)
set TableTopRollAngle (300a,0144)
virtual OFCondition setClinicalTrialTimePointID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialTimePointID (0012,0050)
DRTReferencedStudySequence & getReferencedStudySequence()
get ReferencedStudySequence (0008,1110)
Definition: drtimage.h:2986
void debugDumpJPEGFileMap() const
Dump the internal JPEG file map to a given stream.
virtual offile_off_t avail() const
returns the minimum number of bytes that can be written with the next call to write().
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTBrachyReferencedDoseReferenceSequence & getBrachyReferencedDoseReferenceSequence()
get BrachyReferencedDoseReferenceSequence (300c,0055)
Definition: drtbcps.h:169
virtual OFCondition getContentQualification(OFString &value, const signed long pos=0) const
get ContentQualification (0018,9004)
DcmLongString PatientSupportAccessoryCode
PatientSupportAccessoryCode (300a,0354) vr=LO, vm=1, type=3.
Definition: drttsibs.h:1018
OFCondition addItem(Item *&item)
add new item to the end of this sequence
void clear()
clear all internal member variables
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setOriginalSpecializedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set OriginalSpecializedSOPClassUID (0008,001b)
a class that allows for a lookup of Transfer Syntax properties and readable descriptions
Definition: dcxfer.h:178
DcmUniqueIdentifier SeriesInstanceUID
SeriesInstanceUID (0020,000e) vr=UI, vm=1, type=1.
Definition: drtrses.h:133
OFCondition setPatientSetupLabel(const OFString &value, const OFBool check=OFTrue)
set PatientSetupLabel (300a,0183)
DRTContributingEquipmentSequence ContributingEquipmentSequence
ContributingEquipmentSequence (0018,a001) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2993
DcmTime InstanceCreationTime
InstanceCreationTime (0008,0013) vr=TM, vm=1, type=3.
Definition: drtimage.h:5406
size_t secondSize
The size in bytes of the second value, will be zero if the argument is an open range with no definite...
Definition: dcmatch.h:97
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Template class to rotate images (on pixel data level).
Definition: dirotat.h:43
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtpbcs.h:349
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getApplicatorType(OFString &value, const signed long pos=0) const
get ApplicatorType (300a,0109)
@ Anus
(53505006,SCT,"Anus")
Definition: cid4031.h:52
DRTRTReferencedStudySequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition setReferencedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceNumber (300c,0051)
OFBool setTempDHParameters(const char *filename)
loads a set of Diffie-Hellman parameters from file.
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
@ LongAxis
(103339001,SCT,"Long Axis"), included from CID 7470
Definition: cid7469.h:364
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrrtps.h:147
void updateAttributes()
update various DICOM attributes
virtual ~DcmPixelData()
destructor
time_t startTime
start time
Definition: wltypdef.h:87
ItemStruct(const OFString &sopClassUID, const OFString &instanceUID)
constructor
Definition: dsrrefin.h:194
virtual OFCondition setClinicalTrialSubjectID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectID (0012,0040)
Item & getCurrentItem()
get current item in the sequence
static OFBool isJPEGLSStartOfImage(Uint8 *fragmentData)
check whether the given buffer contains a JPEG-LS start-of-image code
OFString opt_manufacturer
Enhanced general equipment module Manufacturer (VM 1)
Definition: dcencdoc.h:275
virtual OFCondition setContentDate(const OFString &value, const OFBool check=OFTrue)
set ContentDate (0008,0023)
void setDimseLogPath(const char *fname)
activates or deactivates dumping of the DIMSE communication in DICOM file format.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DCMTK_DCMNET_EXPORT OFCondition DIMSE_sendMessageUsingMemoryData(T_ASC_Association *association, T_ASC_PresentationContextID presID, T_DIMSE_Message *msg, DcmDataset *statusDetail, DcmDataset *dataObject, DIMSE_ProgressCallback callback, void *callbackContext, DcmDataset **commandSet=NULL)
send a DIMSE command and possibly also instance data from a data object via network to another DICOM ...
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool isEmpty()
check if sequence is empty
virtual ~DRTMeasurementUnitsCodeSequence()
destructor
@ MaximumDifference
(126376,DCM,"Maximum Difference"), included from CID 4109
Definition: cid7469.h:308
OFListIterator(Item *) CurrentItem
currently selected item
OFBool isEmpty()
check if sequence is empty
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Interface class for AssigningJurisdictionCodeSequence (0040,0039)
Definition: drtajcs.h:29
DRTDigitalSignaturesSequence & getDigitalSignaturesSequence()
get DigitalSignaturesSequence (fffa,fffa)
Definition: drttreat.h:1227
OFBool recordMatchesDataset(DcmDirectoryRecord *record, DcmItem *dataset)
check whether given directory record matches dataset.
virtual void createNewSeries()
create a new series.
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Interface class for ToleranceTableSequence (300a,0040)
Definition: drttts.h:29
void InitSint32(DiMonoModality *modality)
initialize internal data structures (for Sint32)
Alternative * OFget(OFvariant< Alternatives... > *v)
Try to get a pointer to the given alternative from an OFvariant object.
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtsns.h:130
OFCondition getChairHeadFramePositionTolerance(Float64 &value, const unsigned long pos=0) const
get ChairHeadFramePositionTolerance (300a,0153)
void createDicomDirBackup(const OFFilename &filename)
create backup of a given file
void deleteClear(int i=0)
Delete the Ith clear tag inside the current XMLNode.
Values()
Protected constructor, use create() method to create a new track set.
OFBool isKnownKey(const char *key) const
checks if the key is known
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
virtual OFCondition getGantryID(OFString &value, const signed long pos=0) const
get GantryID (0018,1008)
OFBool prependPrinterName
true if printer name should be prepended to annotation text
Definition: dviface.h:1824
OFCondition setCharset(DVPScharacterSet charset)
sets the specific character set for this presentation state.
helper class to print a DcmObject to an ostream using operator<<
Definition: dcobject.h:766
OFString OptionChars
C++ string consisting of all valid characters introducing an option.
Definition: ofcmdln.h:1086
OFCondition setRangeModulatorID(const OFString &value, const OFBool check=OFTrue)
set RangeModulatorID (300a,0346)
const DRTOtherPatientIDsSequence & getOtherPatientIDsSequence() const
get OtherPatientIDsSequence (0010,1002)
Definition: drtplan.h:1598
const DRTIonWedgePositionSequence & getIonWedgePositionSequence() const
get IonWedgePositionSequence (300a,03ac)
Definition: drticpds.h:493
OFCondition gotoFirstItem()
goto first item in the sequence
virtual ~DJEncoderLossless()
destructor
DcmQuantPixelBoxPointer * array
array of pixel boxes
Definition: diqtpbox.h:109
Definition: syncprim.h:72
virtual OFCondition checkPresentationState(const DSRCompositeReferenceValue &referenceValue) const
check the given reference to a presentation state object for validity.
Item & operator[](const size_t num)
get particular item in the sequence
DcmDate LastMenstrualDate
LastMenstrualDate (0010,21d0) vr=DA, vm=1, type=3.
Definition: drtionpl.h:3045
void notifyConnectionAborted(Uint32 status, const char *txt)
sends ConnectionAborted notification to server.
Definition: snprintf.h:44
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
Definition: jpeglib12.h:728
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
virtual ~Item()
destructor
Item & operator=(const Item ©)
assigment operator
void clear()
reset the object to initial state.
double peakSignalToNoiseRatio
result of image comparison: peak signal to noise ratio (PSNR)
Definition: dcmicmph.h:279
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtscs.h:337
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getTableTopPitchAngleTolerance(Float32 &value, const unsigned long pos=0) const
get TableTopPitchAngleTolerance (300a,004f)
Interface class for content items.
Definition: dsrcitem.h:50
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFBool isEmpty()
check if item is empty
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
DRTOtherPatientIDsSequence OtherPatientIDsSequence
OtherPatientIDsSequence (0010,1002) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2753
int dbCount
number of entries in databases we know
Definition: dcmqrtis.h:252
OFCondition firstMarker(E_JPGMARKER &result)
Tries to read the SOI marker.
OFCondition getSourceToBlockTrayDistance(Float64 &value, const unsigned long pos=0) const
get SourceToBlockTrayDistance (300a,00f6)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTIssuerOfPatientIDQualifiersSequence IssuerOfPatientIDQualifiersSequence
IssuerOfPatientIDQualifiersSequence (0010,0024) vr=SQ, vm=1, type=3.
Definition: drtopis.h:161
Item & operator=(const Item ©)
assigment operator
Class representing a reference to an image.
Definition: iodreferences.h:150
virtual OFCondition setStrainAdditionalInformation(const OFString &value, const OFBool check=OFTrue)
set StrainAdditionalInformation (0010,0218)
virtual OFCondition setStrainAdditionalInformation(const OFString &value, const OFBool check=OFTrue)
set StrainAdditionalInformation (0010,0218)
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_CouldNotReadSourceImage
Could not create functional group.
provides an operating system independent abstraction for mutexes (mutual exclusion locks).
Definition: ofthread.h:335
Definition: dcmqrtis.h:70
Uint16 m_numberOfCompletedSubops
Number of successfully completed sub operations (in Q/R: C-STORE calls).
Definition: scu.h:159
virtual DcmRepresentationParameter * clone() const
this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every sub...
void add(const unsigned char *buf, size_t bufcount)
this method adds a block of bytes to the byte stream to be compressed with the RLE compressor.
Definition: dcrleenc.h:176
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
virtual OFCondition initNetwork()
Initialize network, i.e. prepare for association negotiation.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
void clear()
clear all internal member variables
static const size_t CM_updatePositionString
update the position string using the node ID
Definition: dsrtypes.h:472
Item & operator[](const size_t num)
get particular item in the sequence
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtdimcs.h:337
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmCodeString(const DcmTag &tag, const Uint32 len=0)
constructor.
OFBool checkOption(const OFString &option, const OFBool mode=OFTrue) const
checks whether given option is valid (starting with an option char and not followed by a number)
OFCondition getPatientSupportAccessoryCode(OFString &value, const signed long pos=0) const
get PatientSupportAccessoryCode (300a,0354)
int insertEncapsulatedDocument(DcmItem *dataset, OFLogger &logger)
Correctly inserts encapsulated document data.
virtual OFBool isCineModulePresent(const OFBool complete=OFFalse)
check whether CineModule (C) is present.
virtual DcmObject * clone() const
clone method
Definition: dcvrae.h:65
DRTTreatmentSummaryCalculatedDoseReferenceSequence TreatmentSummaryCalculatedDoseReferenceSequence
TreatmentSummaryCalculatedDoseReferenceSequence (3008,0050) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3131
virtual OFCondition getROIStandardDeviation(Float64 &value, const unsigned long pos=0) const
get ROIStandardDeviation (60xx,1303)
static void initialize()
initialize this context group explicitly.
DcmCodeString PhotometricInterpretation
PhotometricInterpretation (0028,0004) vr=CS, vm=1, type=1C.
Definition: drtdose.h:4541
void setPresentationContextID(T_ASC_PresentationContextID presId)
assigns a value to member variable presId_.
int BitsPerSample
actual number of bits per sample (depth)
Definition: diimage.h:644
virtual unsigned long getVM()
get value multiplicity
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
virtual OFCondition setPatientAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientAlternativeCalendar (0010,0035)
~DcmWriteCache()
destructor
Definition: dcwcache.h:62
virtual OFCondition addForAllFrames(const FGBase &group)
Add a functional group for all frames.
void clearIndexRecord(IdxRecord &record, int &recpos)
clears specified index record (and makes pos invalid)
static const char * strerror(const int errnum, char *buf, const size_t buflen)
convert a given error code to a string.
DSRGraphicDataList & getGraphicDataList()
get reference to graphic data list.
Definition: dsrscovl.h:190
OFCondition getBeamDoseSpecificationPoint(OFVector< Float64 > &value) const
get BeamDoseSpecificationPoint (300a,0082)
virtual ~DRTPrivateDataElementCharacteristicsSequence()
destructor
DcmCodeString GantryPitchRotationDirection
GantryPitchRotationDirection (300a,014c) vr=CS, vm=1, type=2C.
Definition: drticpds.h:820
virtual ~DRTAssigningFacilitySequence()
destructor
DRTGeneticModificationsSequence & getGeneticModificationsSequence()
get GeneticModificationsSequence (0010,0221)
Definition: drtionpl.h:1403
DcmShortText TreatmentStatusComment
TreatmentStatusComment (3008,0202) vr=ST, vm=1, type=3.
Definition: drtiontr.h:3121
OFconstexpr xvalue OFmove(T< unspecified > t)
Obtains an rvalue reference to its argument and converts it to an xvalue.
DSRDocumentSubTree()
default constructor
Item class.
Definition: drtrds.h:36
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool isEmpty()
check if item is empty
virtual OFCondition setPatientBirthTime(const OFString &value, const OFBool check=OFTrue)
set PatientBirthTime (0010,0032)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTReferencedPatientSequence & getReferencedPatientSequence()
get ReferencedPatientSequence (0008,1120)
Definition: drtimage.h:2938
OFCondition getSpecifiedSecondaryMeterset(Float64 &value, const unsigned long pos=0) const
get SpecifiedSecondaryMeterset (3008,0033)
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
OFCondition getBrachyAccessoryDeviceName(OFString &value, const signed long pos=0) const
get BrachyAccessoryDeviceName (300a,0266)
DcmPersonName ConsultingPhysicianName
ConsultingPhysicianName (0008,009c) vr=PN, vm=1-n, type=3.
Definition: drtionpl.h:2988
DcmDate PerformedProcedureStepStartDate
PerformedProcedureStepStartDate (0040,0244) vr=DA, vm=1, type=3.
Definition: drtimage.h:5004
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition setContentQualification(const OFString &value, const OFBool check=OFTrue)
set ContentQualification (0018,9004)
virtual OFCondition setDeidentificationMethod(const OFString &value, const OFBool check=OFTrue)
set DeidentificationMethod (0012,0063)
OFCondition terminatePrintServer()
terminates the print server process (Basic Grayscale Print Management SCP).
virtual ~DcmRLECodecParameter()
destructor
static const size_t PF_printConceptNameCodes
print coding scheme designator/version and code value of concept names
Definition: dsrtypes.h:423
@ VolumetricDiffusionDxxComponent
(110810,DCM,"Volumetric Diffusion Dxx Component"), included from CID 7270
Definition: cid7469.h:104
const DRTDeidentificationActionSequence & getDeidentificationActionSequence() const
get DeidentificationActionSequence (0008,0305)
Definition: drtpdecs.h:135
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getSoftTissueThermalIndex(Float64 &value, const unsigned long pos=0)
Get Soft Tissue Thermal Index.
CodeSequenceMacro m_AlgorithmFamilyCode
Code Sequence Macro from Algorithm Family Code Sequence (single item), (SQ, VM 1, Type 1)
Definition: iodmacro.h:938
OFConsole(const OFConsole &arg)
private undefined copy constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getBlockName(OFString &value, const signed long pos=0) const
get BlockName (300a,00fe)
Item(const Item ©)
copy constructor
OFCondition getBlockNumber(Sint32 &value, const unsigned long pos=0) const
get BlockNumber (300a,00fc)
void setPrependDateTime(OFBool value)
sets the Prepend Date/Time annotation flag.
Definition: dviface.h:1421
representation parameter for lossy JPEG
Definition: djrploss.h:32
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getTrayAccessoryCode(OFString &value, const signed long pos=0) const
get TrayAccessoryCode (300a,0355)
@ PS_ExclusiveOption
exclusive option used
Definition: ofcmdln.h:157
int quality
compression quality factor
Definition: djrploss.h:75
OFUnorderedSet< T > SymmetricDifference(const OFUnorderedSet< T > &other) const
Determines the symmetric difference of this and other, i.e.
Definition: ofuoset.h:421
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmCodeString BlockDivergence
BlockDivergence (300a,00fa) vr=CS, vm=1, type=2.
Definition: drtbl5.h:329
virtual OFCondition getContrastBolusStartTime(OFString &value, const signed long pos=0) const
get ContrastBolusStartTime (0018,1042)
IODGeneralSeriesModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
double getPixelWidth() const
get pixel's width
Definition: diimage.h:171
virtual OFCondition setCardiacCyclePosition(const OFString &value, const OFBool checkValue=OFTrue)
Set Cardiac Cycle Position.
OFCondition write(DcmItem &item)
write elements to sequence item
DcmDecimalString KVP
KVP (0018,0060) vr=DS, vm=1, type=1C.
Definition: drticps.h:789
size_t getNumberOfTextObjects()
returns the number of text objects in this annotation.
DcmPathNode(const DcmPathNode &rhs)
Private undefined copy constructor.
virtual OFCondition createExpandedSubTree(DSRDocumentSubTree *&tree) const
created an expanded version of this (sub)tree.
Item EmptyItem
empty default item
Definition: drtrmss6.h:386
size_t getNumberOfItems() const
get number of items in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
DcmQueryRetrieveStoreContext(DcmQueryRetrieveDatabaseHandle &handle, const DcmQueryRetrieveOptions &options, DIC_US s, DcmFileFormat *ff, OFBool correctuidpadding)
constructor
Definition: dcmqrcbs.h:46
MandatoryViewAndSliceProgressionDirectionMacro m_MandatoryViewAndSliceProgressionDirection
Mandatory View and Slice Progression Direction.
Definition: modenhusimage.h:575
OFCondition readColorPalette(Uint16 colors, Uint32 *&palette)
Read the color palette from the file.
DSRIODConstraintChecker()
default constructor
DRTRecordedLateralSpreadingDeviceSequence RecordedLateralSpreadingDeviceSequence
RecordedLateralSpreadingDeviceSequence (3008,00f4) vr=SQ, vm=1, type=1C.
Definition: drttsibs.h:1036
virtual OFCondition setAcquisitionDateTime(const OFString &value, const OFBool check=OFTrue)
set AcquisitionDateTime (0008,002a)
virtual ssize_t read(void *buf, size_t nbyte)
attempts to read nbyte bytes from the transport connection and writes them into the given buffer.
Uint8 * pixData
Array for the pixel data bytes.
Definition: iodtypes.h:76
virtual OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const E_DocumentType documentType, const size_t flags)
read general XML document tree node data
@ _38_Potassium
(423764008,SCT,"^38^Potassium")
Definition: cid4020.h:56
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTOriginalAttributesSequence(const DRTOriginalAttributesSequence ©)
copy constructor
Item & operator=(const Item ©)
assigment operator
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFBool isClinicalTrialSubjectModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSubjectModule (U) is present.
DCMTK_DCMJPEG_EXPORT const OFConditionConst EJ_UnsupportedPhotometricInterpretation
Codec does not support this PhotometricInterpretation.
virtual DcmFGTypes::E_FGSharedType getSharedType() const
Returns shared type of this functional group (can be shared or per-frame, i.e. both)
Definition: fgplanposvol.h:53
void clear()
clear all internal member variables
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drttreat.h:2902
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtlsds.h:179
DRTStrainStockSequence & getStrainStockSequence()
get StrainStockSequence (0010,0216)
Definition: drtionpl.h:1907
virtual OFCondition setNumberOfFrames(const OFString &value, const OFBool check=OFTrue)
set NumberOfFrames (0028,0008)
@ TCM_SHA384
Secure Hash Algorithm SHA-2 in 384 bit mode.
Definition: tlsciphr.h:212
@ Lensometry
(LEN,DCM,"Lensometry")
Definition: cid29.h:78
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
void setOurAETitle(const char *ae)
set the AEtitle under which this application operates
Definition: dcmqrcbg.h:79
virtual OFBool attributeRequired(const DcmTagKey &key) const
checks whether an attribute with the given tag is required to be signed for the current security prof...
OFListIterator(Item *) CurrentItem
currently selected item
virtual ~DRTBeamSequence()
destructor
virtual OFCondition setTime(const OFString &value, const OFBool checkValue=OFTrue)
Set Time.
DcmFloatingPointSingle ROIElementalCompositionAtomicMassFraction
ROIElementalCompositionAtomicMassFraction (3006,00b8) vr=FL, vm=1, type=1.
Definition: drtrecs.h:130
DcmFloatingPointSingle GantryPitchAngle
GantryPitchAngle (300a,014a) vr=FL, vm=1, type=3.
Definition: drtimage.h:5330
virtual OFCondition setContrastBolusRoute(const OFString &value, const OFBool check=OFTrue)
set ContrastBolusRoute (0018,1040)
EquipmentInfo()
Default Constructor.
Definition: modequipment.h:54
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmReplaceWrongDelimitationItem
This flag enables the replacement of a wrong delimitation item at the end of a sequence or item.
OFListIterator(Item *) CurrentItem
currently selected item
int executeJob(const MdfJob &job, const char *filename=NULL)
Executes given modify job.
const DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModule & getLateralSpreadingDeviceSettingsSequence() const
get LateralSpreadingDeviceSettingsSequence (300a,0370)
Definition: drticps.h:483
OFBool gotoItem(Uint32 idx)
sets internal cursor to specified position in cache list
Definition: dvcache.h:768
OFBool getUseFFbitstreamPadding() const
returns flag indicating whether odd-length bitstreams should be padded as FF FF D9
Definition: djcparam.h:219
size_t windowParameter
parameter for VOI transform of monochrome images, used in modes 1, 2, 4, 6
Definition: djcparam.h:384
Item & getItem(const size_t num)
get particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
virtual OFBool isFrameOfReferenceModulePresent(const OFBool complete=OFFalse)
check whether FrameOfReferenceModule (U) is present.
Definition: jlossls12.h:92
virtual OFCondition read(DcmItem &item)
Read Derivation Image Sequence from given item, which can contain zero or more items.
OFCondition getGantryAngle(OFString &value, const signed long pos=0) const
get GantryAngle (300a,011e)
OFCondition getBeamLimitingDevicePositionTolerance(OFString &value, const signed long pos=0) const
get BeamLimitingDevicePositionTolerance (300a,004a)
DJCompressIJG12Bit(const DJCompressIJG12Bit &)
private undefined copy constructor
const char * getTagName() const
returns tag name
Definition: dcdicent.h:123
const DSRCompositeReferenceValue & getCompositeReference() const
get composite reference.
virtual unsigned long getSize() const
returns the size of a MAC in bytes.
virtual OFCondition setDateOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set DateOfLastCalibration (0018,1200)
DRTStrainCodeSequence & getStrainCodeSequence()
get StrainCodeSequence (0010,0219)
Definition: drtstrct.h:1770
static OFCondition readSingleItem(DcmItem &source, const DcmTagKey &seqKey, Container &destination, IODRule *rule=NULL)
Reads single DICOM item from a specific sequence into a destination class.
Definition: iodutil.h:578
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTGeneticModificationsSequence & getGeneticModificationsSequence()
get GeneticModificationsSequence (0010,0221)
Definition: drttreat.h:1263
@ FGM_SOPInstanceUID
generate filename from SOP Instance UID (0008,0018)
Definition: dstorscp.h:73
OFCondition status_
status
Definition: dcostrmz.h:157
static const size_t PF_indicateEnhancedEncodingMode
indicate with a "*" that the "enhanced encoding mode" is used for codes
Definition: dsrtypes.h:447
void clear()
clear all internal member variables
virtual OFCondition search(const DcmTagKey &xtag, DcmStack &resultStack, E_SearchMode mode=ESM_fromHere, OFBool searchIntoSub=OFTrue)
a complex, stack-based, hierarchical search method.
virtual OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read XML document tree
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtccs.h:327
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
Implementation of the plugable image support for the DICOMDIR class.
Definition: ddpiimpl.h:41
static void zeroMem(T *dest, const size_t count)
sets specified number of elements in destination memory to zero
Definition: ofbmanip.h:155
OFString m_ModuleName
Name of the module ("GeneralEquipmentModule")
Definition: modequipment.h:252
virtual DcmObject * clone() const
clone method
Definition: dcvrol.h:71
OFCondition setOrganAtRiskMaximumDose(const OFString &value, const OFBool check=OFTrue)
set OrganAtRiskMaximumDose (300a,002c)
OFCondition write(DcmItem &item)
write elements to sequence item
DVSignatureHandler * pSignatureHandler
pointer to the handler object for digital signatures
Definition: dviface.h:1608
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
OFCondition getCumulativeDoseReferenceCoefficient(Float64 &value, const unsigned long pos=0) const
get CumulativeDoseReferenceCoefficient (300a,010c)
DcmDecimalString MetersetExposure
MetersetExposure (3002,0032) vr=DS, vm=1, type=3.
Definition: drtpvis.h:314
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getSourceToBeamLimitingDeviceDistance(OFString &value, const signed long pos=0) const
get SourceToBeamLimitingDeviceDistance (300a,00ba)
DRTPhysiciansOfRecordIdentificationSequence PhysiciansOfRecordIdentificationSequence
PhysiciansOfRecordIdentificationSequence (0008,1049) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2761
DJEncoderProgressive()
default constructor
E_DecompressionColorSpaceConversion getDecompressionColorSpaceConversion() const
returns color conversion mode for compression
Definition: djcparam.h:255
virtual OFCondition getSint16(Sint16 &val, const unsigned long pos=0)
retrieve a single value of type Sint16.
Class for content item PNAME.
Definition: dsrpnmtn.h:42
LogLevel getLogLevel() const
Returns the assigned LogLevel, if any, for this Logger.
virtual ~DRTCalculatedDoseReferenceSequence()
destructor
DRTReferencedStudySequence ReferencedStudySequence
ReferencedStudySequence (0008,1110) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2855
DRTMACParametersSequence & getMACParametersSequence()
get MACParametersSequence (4ffe,0001)
Definition: drtstrct.h:1386
@ YBR_RCT_CBComponent
(110847,DCM,"YBR RCT CB Component"), included from CID 7180
Definition: cid7469.h:230
OFBool isValid() const
check if item is valid, i.e. not the empty default item
~IODImagePixelVariant()
Destructor.
Definition: modimagepixelvariant.h:90
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition setSamplesPerPixel(const Uint16 value, const unsigned long pos=0)
set SamplesPerPixel (0028,0002)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition read(DcmItem &item)
read elements from sequence item
virtual DcmElement * getIndexElement(DcmSequenceOfItems *perFrameFG, const DcmTagKey &fgPointer, const DcmTagKey &indexPointer, const OFString &fgPrivateCreator, const OFString &privateCreator)
Get specific index pointer element from per-frame functional group sequence.
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition setContentDate(const OFString &value, const OFBool check=OFTrue)
set ContentDate (0008,0023)
@ DCMSCP_FORCED
Refusing association because SCP was forced to do so.
Definition: scp.h:89
IODImagePixelVariant(const T &t)
Constructor, constructs pixel module based on given type.
Definition: modimagepixelvariant.h:82
void printRecordErrorMessage(const OFCondition &error, const E_DirRecType recordType, const char *operation)
print an error message that something went wrong with a given record.
DSRContentItem CurrentContentItem
current content item. Introduced to avoid the external use of pointers.
Definition: dsrdocst.h:813
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual void clearData()
Clear all data.
@ LATERALITY_INVALID
Invalid Laterality, e.g. when invalid value is read from file.
Definition: fgframeanatomy.h:43
@ DT_SimplifiedAdultEchoSR
DICOM IOD: Simplified Adult Echo SR.
Definition: dsrtypes.h:539
OFCondition write(DcmItem &dset)
writes the dsoftcopy VOI LUT item managed by this object to a DICOM dataset.
@ CM_TRACKSET
Recommended CIELab value is provided per track set and not for single tracks.
Definition: trctypes.h:92
void logTLSConnection()
dump TLS connection details to debug logger
DcmLongString ApplicationSetupManufacturer
ApplicationSetupManufacturer (300a,0238) vr=LO, vm=1, type=3.
Definition: drtass.h:276
DRTOriginalAttributesSequence OriginalAttributesSequence
OriginalAttributesSequence (0400,0561) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3395
void setMessageType(Uint32 msgtype)
sets the message type
Definition: dvpsmsg.h:55
DcmCodeString PatientAlternativeCalendar
PatientAlternativeCalendar (0010,0035) vr=CS, vm=1, type=1C.
Definition: drtionpl.h:2896
virtual OFCondition handle1BitSC(DcmDataset *dataset) const
Checks whether Image Pixel module attributes conform to the specification of a a 1 bit Secondary Capt...
FILE * file_
the file maintained by this object
Definition: offile.h:1064
@ VT_Waveform
DICOM Value Type: WAVEFORM.
Definition: dsrtypes.h:611
const Item & getCurrentItem() const
get current item in the sequence
This header defined the NDC class.
size_t getNumberOfItems() const
get number of items in the sequence
virtual ~Item()
destructor
OFBool isUser(void *object) const
checks if the given object is the current user of this cache returns true if so, false otherwise
Definition: dcfcache.h:57
OFCondition setLanguage(const CID5000_Languages &language, const CID5001_Countries &country=CID5001_Countries(), const OFBool check=OFTrue)
set language of this report as defined by TID 1204 (Language of Content Item and Descendants)
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtads.h:335
DcmIntegerString InstanceNumber
InstanceNumber (0020,0013) vr=IS, vm=1, type=3.
Definition: drtionpl.h:3176
OFCondition findAndGetUint32Array(const DcmTagKey &tagKey, const Uint32 *&value, unsigned long *count=NULL, const OFBool searchIntoSub=OFFalse)
find element and get value as an array of unsigned 32-bit integers.
Metafunction to remove the const modifier from a type.
Definition: oftraits.h:438
static const size_t HF_omitGeneratorMetaElement
external: omit generator meta element referring to the DCMTK
Definition: dsrtypes.h:332
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition setTableTopPitchAngle(const Float32 value, const unsigned long pos=0)
set TableTopPitchAngle (300a,0140)
DRTCompensatorSequence & operator=(const DRTCompensatorSequence ©)
assigment operator
OFCondition gotoFirstItem()
goto first item in the sequence
DcmRepresentationEntry & operator=(const DcmRepresentationEntry &)
private undefined copy assignment operator
OFCondition gotoFirstItem()
goto first item in the sequence
virtual ~OFDate()
destructor
OFCondition getTableTopVerticalPositionTolerance(Float64 &value, const unsigned long pos=0) const
get TableTopVerticalPositionTolerance (300a,0051)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool enableAbortMode(const OFBool newMode=OFTrue)
enable/disable the "abort on first error" mode.
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrsos.h:185
virtual OFCondition setTreatmentStatusComment(const OFString &value, const OFBool check=OFTrue)
set TreatmentStatusComment (3008,0202)
OFCondition gotoNextItem()
goto next item in the sequence
DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence()
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtionpl.h:1727
virtual ~DcmQueryRetrieveDatabaseHandleFactory()
Virtual Destructor.
Definition: dcmqrdba.h:230
E_EncodingType enctype_option
write explicit or implicit length encoding
Definition: mdfconen.h:184
void construct(...)
Required: type constructors, construct the contained object.
OFBool MatchSequences(DcmSequenceOfItems &candidate, DcmSequenceOfItems &query, const MatchingKeys &matchingKeys)
This function returns OFTrue, if the matching key attribute values in the one of the items of the can...
OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
OFCondition handleNGet(T_DIMSE_Message &rq, T_ASC_PresentationContextID presID)
handles any incoming N-GET-RQ message and sends back N-GET-RSP.
Item EmptyItem
empty default item
Definition: drtbrs.h:316
DcmCodeString anchorPointAnnotationUnits
VR=CS, VM=1, Type 1c.
Definition: dvpstx.h:196
@ DCFPyL_F18
(C116352,NCIt,"DCFPyL F^18^")
Definition: cid4021.h:102
SiSHA1 & operator=(SiSHA1 &arg)
private undefined copy assignment operator
virtual ~DRTUDISequence()
destructor
OFCondition getRetrieveAETitle(OFString &value, const signed long pos=0) const
get RetrieveAETitle (0008,0054)
OFCondition setSourceMovementType(const OFString &value, const OFBool check=OFTrue)
set SourceMovementType (300a,0288)
OFBool usesWideChars() const
checks whether this object stores a wide character filename
Definition: offile.h:200
OFCondition getSourceIsotopeHalfLife(Float64 &value, const unsigned long pos=0) const
get SourceIsotopeHalfLife (300a,0228)
DRTReferencedDoseSequence(const DRTReferencedDoseSequence ©)
copy constructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual ~DRTContributingEquipmentSequence()
destructor
DcmLongString PatientState
PatientState (0038,0500) vr=LO, vm=1, type=3.
Definition: drtdose.h:4243
DcmCodeString m_VolumeBasedCalculationTechnique
Volume Based Calculation Technique (CS, VM 1, Required Type 1)
Definition: fgusimagedescription.h:179
virtual OFCondition addTrackSetStatistic(const CodeSequenceMacro &typeCode, const CodeSequenceMacro &typeModifierCode, const CodeSequenceMacro &unitsCode, const Float64 value, TrcTrackSetStatistic *&statistic)
Add Track Set Statistic, i.e.
virtual OFCondition setLossyImageCompressionFlag(const OFString &ratios, const OFString &methods, const OFBool checkValues=OFTrue)
Set lossy compression flag of the segmentation object to "01".
OFIterator< T > erase(OFIterator< T > position, OFIterator< T > last)
removes all elements in the range [position,last) from the list.
Definition: oflist.h:449
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtics.h:349
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
int getSmoothingFactor() const
returns smoothing factor for image compression, 0..100
Definition: djcparam.h:130
OFString SpecificCharacterSet
specific character set used for checking purposes
Definition: dsrcsidl.h:357
OFCondition setParameterItemIndex(const OFString &value, const OFBool check=OFTrue)
set ParameterItemIndex (3008,0063)
DRTFractionGroupSummarySequence(const DRTFractionGroupSummarySequence ©)
copy constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setSeriesInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SeriesInstanceUID (0020,000e)
DSRCompositeTreeNode(const E_RelationshipType relationshipType)
constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence()
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtiontr.h:1383
DSRTemporalCoordinatesValue(const DSRTemporalCoordinatesValue &coordinatesValue)
copy constructor
virtual ~DRTReferencedStudySequence()
destructor
virtual OFBool isClinicalTrialSeriesModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSeriesModule (U) is present.
virtual OFCondition setInstitutionAddress(const OFString &value, const OFBool check=OFTrue)
set InstitutionAddress (0008,0081)
DiCMYKImage(const DiDocument *docu, const EI_Status status)
constructor
OFCondition gotoFirstItem()
goto first item in the sequence
Item EmptyItem
empty default item
Definition: drtccs.h:540
virtual OFCondition getRTImageName(OFString &value, const signed long pos=0) const
get RTImageName (3002,0003)
virtual OFBool isClinicalTrialStudyModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialStudyModule (U) is present.
DcmKeyValuePair(const DcmKeyValuePair &arg)
copy constructor
Definition: dcmsmap.h:52
virtual ~DSRImageSegmentList()
destructor
SiSecurityProfile(SiSecurityProfile &arg)
private undefined copy constructor
virtual ~DRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModule()
destructor
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtccs.h:333
Item & operator=(const Item ©)
assigment operator
const DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence() const
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drttreat.h:1509
DcmShortText ClinicalTrialTimePointDescription
ClinicalTrialTimePointDescription (0012,0051) vr=ST, vm=1, type=3.
Definition: drtimage.h:4969
size_t getNumberOfInstances() const
get number of instance stored in the list of references
DcmObject * value()
return pointer to object maintained by this list node
Definition: dclist.h:53
void HandleSequenceElementInResultDataset(DcmElement *element, unsigned long idx)
This function takes care of handling a certain sequence element within the structure of a certain res...
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition setSourceToBeamLimitingDeviceDistance(const OFString &value, const OFBool check=OFTrue)
set SourceToBeamLimitingDeviceDistance (300a,00ba)
OFBool haveActiveVOILUT()
check if a VOI LUT is currently active
OFCondition setRecommendedDisplayGrayscaleValue(const Uint16 value, const unsigned long pos=0)
set RecommendedDisplayGrayscaleValue (0062,000c)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getSOPClassUID(OFString &value, const signed long pos=0) const
get SOPClassUID (0008,0016)
OFIterator< T > insert(OFIterator< T > position, const T &x)
inserts an element into the list before the given position.
Definition: oflist.h:310
static log4cplus::tstring const DISABLE_OVERRIDE_KEY
Property name for disable override.
Definition: configrt.h:337
static const size_t unknownCipherSuiteIndex
constant returned by findOpenSSLCipherSuiteName() if ciphersuite name is unknown
Definition: tlsciphr.h:388
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition removeOverlay(size_t idx)
removes the overlay object with the given index.
static OFCondition saveFileFormat(const char *filename, DcmFileFormat *fileformat, OFBool explicitVR)
helper function which saves a DICOM object to file.
void checkPixelExtension()
check and possibly correct values for pixel spacing, aspect ratio etc.
virtual FGBase * clone() const =0
Returns a deep copy of this object.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drttscds.h:155
DcmCodeString RTBeamLimitingDeviceType
RTBeamLimitingDeviceType (300a,00b8) vr=CS, vm=1, type=1.
Definition: drtbldts.h:139
OFCondition addExtendedNegotiation(const char *key, const char *abstractSyntaxUID, const unsigned char *rawData, Uint32 length)
adds the given abstract syntax UID and extended negotiation data to the list of extended negotiation ...
virtual OFBool addRule(IODRule *rule, const OFBool overwriteExisting=OFFalse)
Adds rule to this rule set.
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual ~DRTGeneralAccessorySequence()
destructor
virtual ~DcmFindSCUCallback()
destructor
Definition: dfindscu.h:88
OFCondition setChannelShieldID(const OFString &value, const OFBool check=OFTrue)
set ChannelShieldID (300a,02b3)
virtual OFCondition getString(char *&stringVal, Uint32 &stringLen)
get a pointer to the current string value.
Uint32 randcnt
number of random bytes still available before isaac() needs to called again
Definition: ofrand.h:77
DcmSignedLong RationalNumeratorValue
Rational Numerator Value (VR=SL, type 1C)
Definition: dsrnumvl.h:547
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
virtual ~Item()
destructor
DcmPixelData PixelData
PixelData (7fe0,0010) vr=OB/OW, vm=1, type=1.
Definition: drtiis.h:429
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual E_CharacterSet getSpecificCharacterSetType() const
get specific character set type.
OFCondition getBeamType(OFString &value, const signed long pos=0) const
get BeamType (300a,00c4)
DcmDecimalString RescaleIntercept
RescaleIntercept (0028,1052) vr=DS, vm=1, type=1C.
Definition: drtdose.h:4528
virtual OFVector< SOPInstanceReferenceMacro > & getEntireReferencedPerformedProcedureStepSequence()
Get a reference to the entire Referenced Performed Procedure Step Sequence, including items exceeding...
virtual OFBool matches(const DSRDocumentTreeNode *node) const =0
check whether given node matches the filter criteria in the list (abstract)
DVPSannotationUnit getBoundingBoxAnnotationUnits()
gets the bounding box annotation units.
DSRCodedEntryValue & operator=(const DSRCodedEntryValue &codedEntryValue)
assignment operator
Item & getCurrentItem()
get current item in the sequence
const DRTDerivationCodeSequence & getDerivationCodeSequence() const
get DerivationCodeSequence (0008,9215)
Definition: drtstrct.h:1272
DcmLongString ServiceEpisodeID
ServiceEpisodeID (0038,0060) vr=LO, vm=1, type=3.
Definition: drtimage.h:4956
OFCondition read(DcmItem &item)
read elements from sequence item
void cleanupLayers()
removes and deletes all graphic layer for which no matching text, graphic, curve or overlay object ex...
OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read list of items from XML document
DcmShortText CodingSchemeResponsibleOrganization
CodingSchemeResponsibleOrganization (0008,0116) vr=ST, vm=1, type=3.
Definition: drtcsis.h:225
void reducePixel(const T *src[], T *dest[])
free scaling method with interpolation (only for reduction)
Definition: discalet.h:814
@ EPI_Monochrome2
monochrome 2
Definition: diutils.h:123
@ T2Star
(113064,DCM,"T2*"), included from CID 7180
Definition: cid7469.h:80
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getPerformedProcedureStepStartTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartTime (0040,0245)
const DRTReferencedRTPlanSequenceInRTGeneralPlanModule & getReferencedRTPlanSequence() const
get ReferencedRTPlanSequence (300c,0002)
Definition: drtionpl.h:1769
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtibs.h:1241
Item(const Item ©)
copy constructor
virtual OFCondition getPatientWeight(Float64 &value, const unsigned long pos=0) const
get PatientWeight (0010,1030)
DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence()
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtimage.h:2386
const DcmQuantPixel & getPixel(unsigned long idx) const
returns the color at index idx.
Definition: diqtctab.h:92
OFCondition setConsentForDistributionFlag(const OFString &value, const OFBool check=OFTrue)
set ConsentForDistributionFlag (0012,0085)
OFBool no_reservation_checks
If true, it is not checked whether there is a corresponding private reservation during insertion of p...
Definition: mdfconen.h:199
OFCondition setFixationLightPolarAngle(const Float32 value, const unsigned long pos=0)
set FixationLightPolarAngle (300a,0358)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTSnoutSequence & operator=(const DRTSnoutSequence ©)
assigment operator
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrecs.h:127
void dump(STD_NAMESPACE ostream &outstream) const
Dump content of this user identity sub item to output stream.
virtual ~DcmRLECodecEncoder()
destructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
void PutOffendingElements(const DcmTagKey &tag)
This function inserts the tag of an offending element into the corresponding member variable,...
int hasImagerPixelSpacing
is 'true' if attribute 'ImagerPixelSpacing' is present
Definition: diimage.h:656
Uint32 getCount() const
get number of LUT entries
Definition: dibaslut.h:69
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition getSOPInstanceUID(OFString &value, const signed long pos=0) const
get SOPInstanceUID (0008,0018)
virtual OFCondition getTimeDistributionProtocol(OFString &value, const signed long pos=0) const
Get Time Distribution Protocol.
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
virtual OFCondition getApprovalStatus(OFString &value, const signed long pos=0) const
get ApprovalStatus (300e,0002)
static OFFilename & getFilenameFromPath(OFFilename &result, const OFFilename &pathName, const OFBool assumeFilename=OFTrue)
get file name component from given path name.
Definition: syncpthr.h:42
virtual OFCondition getContentQualification(OFString &value, const signed long pos=0) const
get ContentQualification (0018,9004)
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
OFCondition getDateTime(OFString &value, const signed long pos=0) const
get DateTime (0040,a120)
virtual OFCondition setPatientAge(const OFString &value, const OFBool check=OFTrue)
set PatientAge (0010,1010)
virtual OFCondition getLossyImageCompressionMethod(OFString &value, const signed long pos=0)
Get Lossy Image Compression Method.
@ AP_CTandMR
CT/MR Studies (STD-CTMR-xxxx)
Definition: dcddirif.h:159
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition getGLRecommendedDisplayValueRGB(Uint16 &r, Uint16 &g, Uint16 &b)
gets the recommended RGB display value.
void swap(DSRDocumentSubTree &tree)
fast, non-throwing swap function.
virtual OFCondition setPrescriptionDescription(const OFString &value, const OFBool check=OFTrue)
set PrescriptionDescription (300a,000e)
void removeAllButOriginalRepresentations()
removes all but the original representation
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
OFCondition getSourceApplicatorManufacturer(OFString &value, const signed long pos=0) const
get SourceApplicatorManufacturer (300a,0298)
virtual OFCondition getDoseImage(OFVector< double > &result, unsigned int frame) const
get the dose information for a single frame of the image.
OFThreadSpecificData(const OFThreadSpecificData &arg)
unimplemented private copy constructor
iterator class for OFList.
Definition: oflist.h:170
OFCondition write(DcmItem &item)
write elements to sequence item
const char * getCurrentImageModality()
gets the modality of the attached image.
OFCondition saveCurrentImage(const char *filename, OFBool explicitVR=OFTrue)
saves the DICOM image that is currently attached to the presentation state in a file with the given p...
virtual int compare(const DcmItem &rhs) const
comparison operator that compares the value of this object with a given object of the same type.
@ NoUnits
(1,UCUM,"no units")
Definition: cid7181.h:130
Item & getCurrentItem()
get current item in the sequence
OFCondition getTableTopVerticalSetupDisplacement(OFString &value, const signed long pos=0) const
get TableTopVerticalSetupDisplacement (300a,01d2)
@ DigitalRadiography
(DX,DCM,"Digital Radiography")
Definition: cid29.h:58
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
DcmLongString ClinicalTrialSponsorName
ClinicalTrialSponsorName (0012,0010) vr=LO, vm=1, type=1.
Definition: drtionpl.h:2957
virtual OFCondition getGridFrameOffsetVector(OFString &value, const signed long pos=0) const
get GridFrameOffsetVector (3004,000c)
DVPSOverlay()
default constructor
Item class.
Definition: drtblds5.h:36
@ CS_Greek
ISO-IR 126: Greek.
Definition: dsrtypes.h:807
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setBeamDeliveryDurationLimit(const Float64 value, const unsigned long pos=0)
set BeamDeliveryDurationLimit (300a,00c5)
OFBool printSCPCreate(DVConfiguration &cfg, const char *cfgname, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, OFBool presentationLUTnegotiated, DVPSPresentationLUT_PList &globalPresentationLUTList, const char *filmSessionUID, DcmUniqueIdentifier &study, DcmUniqueIdentifier &psSeries, DcmUniqueIdentifier &imgSeries)
performs a Print SCP Basic Film Box N-CREATE operation on a newly created instance of this class.
virtual OFCondition setValue(const DSRSharedSubTemplate &referencedTemplate)
set reference to included template, i.e. the value of this content item.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item & operator[](const size_t num)
get particular item in the sequence
DRTBeamDoseVerificationControlPointSequence(const DRTBeamDoseVerificationControlPointSequence ©)
copy constructor
DcmDecimalString XRayImageReceptorTranslation
XRayImageReceptorTranslation (3002,000d) vr=DS, vm=3, type=3.
Definition: drtimage.h:5290
virtual OFCondition setDepthsOfScanField(const OFString &value, const OFBool checkValue=OFTrue)
Set Depth(s) of Scan Field.
unsigned char * buffer_
the buffer we're actually writing to
Definition: dcostrmb.h:111
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFCondition getWedgeOrientation(Float64 &value, const unsigned long pos=0) const
get WedgeOrientation (300a,00d8)
DcmCloseAssociationType
Different types of closing an association.
Definition: scu.h:45
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
DSRStringValue(const DSRStringValue &stringValue)
copy constructor
virtual OFCondition setReviewTime(const OFString &value, const OFBool check=OFTrue)
set ReviewTime (300e,0005)
DcmCodeString filmSizeID
Module=Film_Box_Module, VR=CS, VM=1, Type 2.
Definition: dvpssp.h:1014
OFString opt_measurementUnitsCM
Manufacturing 3D Model Module 3d Model Measurement Units Code Meaning.
Definition: dcencdoc.h:285
@ MinorAxis
(131188004,SCT,"Minor Axis"), included from CID 7470
Definition: cid7469.h:370
DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence()
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtplan.h:1712
virtual OFBool isValid() const
check whether the current internal state is valid.
DRTReferencedBeamSequenceInRTDoseModule ReferencedBeamSequence
ReferencedBeamSequence (300c,0004) vr=SQ, vm=1, type=1C.
Definition: drtrfgs.h:151
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item(const Item ©)
copy constructor
OFCondition setGantryPitchAngle(const Float32 value, const unsigned long pos=0)
set GantryPitchAngle (300a,014a)
OFCondition checkDatasetForReading(DcmItem &dataset)
check the given dataset before reading.
DcmFloatingPointDouble m_ImageOrientationVolume
Image Orientation (Volume) (FD, VM 6, Required type 1)
Definition: fgplanorvol.h:156
virtual DcmEVR ident() const
get element type identifier
void clear()
clear all internal member variables
Item & operator[](const size_t num)
get particular item in the sequence
DVPSImageDepth imageDepth
describes whether the image depth is 8 bit or 12 bit.
Definition: dvpsib.h:379
size_t getLevel() const
get current level of the position counter.
Definition: dsrposcn.h:142
size_t getNumberOfItems() const
get number of items in the sequence
virtual ~DRTRequestAttributesSequence()
destructor
DcmUnsignedShort GreenPaletteColorLookupTableDescriptor
GreenPaletteColorLookupTableDescriptor (0028,1102) vr=US/SS, vm=3, type=1C.
Definition: drtdose.h:4458
virtual ~DcmThreadSCP()
Virtual destructor, frees internal memory.
unsigned long columns
number of columns in image
Definition: diqtid.h:95
size_t gotoNode(const DSRTreeNodeAnnotation &annotation)
set cursor to specified node.
Definition: dsrtncsr.h:734
DRTSetupDeviceSequence & operator=(const DRTSetupDeviceSequence ©)
assigment operator
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtrpcs.h:353
virtual IODImagePixelModule< Uint8 > & getImagePixel()
Hide same function from IODImage since do not want the user to access the image pixel module manually...
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual ~DRTPatientBreedCodeSequence()
destructor
OFBool isEmpty()
check if sequence is empty
OFCondition setCertificateOfSigner(const Uint8 *value, const unsigned long count)
set CertificateOfSigner (0400,0115)
OFBool addPeerName(const char *peerName, const char *configFileName)
add remote peer to list of peers
const OFString & getSOPInstanceUID() const
get SOP instance UID
Definition: dsrcomvl.h:199
OFCondition loadCertificate(const char *filename, int filetype)
loads an X.509 certificate from file.
virtual ~Item()
destructor
virtual OFCondition setStructureSetName(const OFString &value, const OFBool check=OFTrue)
set StructureSetName (3006,0004)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
void referenceSegmentationDoc(DcmSegmentation *doc)
Set reference to the Segmentation object that this segment belongs to.
DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence()
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtstrct.h:1806
OFCondition addImageReference(const char *sopclassUID, const char *instanceUID, const char *frames=NULL)
add image reference to this series reference.
unsigned long numberOfSignatures()
returns the number of signatures in the dataset.
OFCondition setGeneralAccessoryType(const OFString &value, const OFBool check=OFTrue)
set GeneralAccessoryType (300a,0423)
Uint16 BitsAllocated
number of allocated bits per pixel
Definition: diovpln.h:442
DcmShortString LateralSpreadingDeviceID
LateralSpreadingDeviceID (300a,0336) vr=SH, vm=1, type=1.
Definition: drtrlsds.h:153
DcmDecimalString ContourSlabThickness
ContourSlabThickness (3006,0044) vr=DS, vm=1, type=3.
Definition: drtcs.h:281
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
Interface class and error constants for TID 1600 in module dcmsr/cmr.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
DRTDeidentificationMethodCodeSequence(const DRTDeidentificationMethodCodeSequence ©)
copy constructor
virtual OFCondition setContrastBolusAgent(const OFString &value, const OFBool check=OFTrue)
set ContrastBolusAgent (0018,0010)
static OFString getLibraryVersionString()
get version information of the underlying character encoding library.
DRTPatientSizeCodeSequence PatientSizeCodeSequence
PatientSizeCodeSequence (0010,1021) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2880
const DRTPatientBreedCodeSequence & getPatientBreedCodeSequence() const
get PatientBreedCodeSequence (0010,2293)
Definition: drtdose.h:2278
Item & operator[](const size_t num)
get particular item in the sequence
void setServerResponse(const char *rsp, const Uint16 &rspLen)
Sets server response value.
@ UpperArm
(40983000,SCT,"Upper arm")
Definition: cid4031.h:240
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
Item & operator[](const size_t num)
get particular item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcps.h:890
OFCondition setRealWorldValueMap(const DSRCompositeReferenceValue &valueMap, const OFBool check=OFTrue)
set the value of the 'Real World Value Map used for measurement' content item (TID 1419 - Row 19).
DcmUnsignedLong PrivateDataElementValueMultiplicity
PrivateDataElementValueMultiplicity (0008,0309) vr=UL, vm=1-3, type=1.
Definition: drtpdeds.h:240
OFBool isEmpty()
check if item is empty
OFCondition getOrganAtRiskMaximumDose(Float64 &value, const unsigned long pos=0) const
get OrganAtRiskMaximumDose (300a,002c)
virtual ~DSRXMLDocument()
destructor
DRTQuantityDefinitionSequence & getQuantityDefinitionSequence()
get QuantityDefinitionSequence (0040,9220)
Definition: drtrwvms.h:176
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmLongString SeriesDescription
SeriesDescription (0008,103e) vr=LO, vm=1, type=3.
Definition: drttreat.h:2850
int reset(const unsigned long frame)
reset internal 'cursor' to the beginning of the specified frame
Definition: diovpln.h:504
Item EmptyItem
empty default item
Definition: drttscds.h:345
virtual OFCondition getSOPInstanceStatus(OFString &value, const signed long pos=0) const
get SOPInstanceStatus (0100,0410)
this helper class is a presentation context list entry.
Definition: dccfpcmp.h:39
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtrpis.h:200
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
DRTReferencedPatientPhotoSequence ReferencedPatientPhotoSequence
ReferencedPatientPhotoSequence (0010,1100) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4096
@ EXS_MPEG4BDcompatibleHighProfileLevel4_1
MPEG4 BD-compatible High Profile / Level 4.1.
Definition: dcxfer.h:111
virtual ~DSRMacularGridThicknessAndVolumeReportConstraintChecker()
destructor
virtual ~Item()
destructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
DcmSignedLong RationalNumeratorValue
RationalNumeratorValue (0040,a162) vr=SL, vm=1-n, type=1C.
Definition: drtcims.h:357
@ OphthalmicAxialMeasurements
(OAM,DCM,"Ophthalmic Axial Measurements")
Definition: cid29.h:88
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition resetPresentationState()
resets the presentation state object to the status it had immediately after the last successful opera...
@ EVR_metainfo
used internally for meta info datasets
Definition: dcvr.h:240
SOPInstanceReferenceMacro(IODComponent *parent=NULL)
Constructor.
static OFBool isRSTMarker(const E_JPGMARKER &jpegEncoding)
Returns true if marker is one of the RST0 to RST7 markers.
OFCondition getImagingDeviceSpecificAcquisitionParameters(OFString &value, const signed long pos=0) const
get ImagingDeviceSpecificAcquisitionParameters (300a,00cc)
const DRTContributingEquipmentSequence & getContributingEquipmentSequence() const
get ContributingEquipmentSequence (0018,a001)
Definition: drtionpl.h:1313
virtual OFCondition handleSTORERequest(const T_ASC_PresentationContextID presID, DcmDataset *incomingObject, OFBool &continueCGETSession, Uint16 &cStoreReturnStatus)
Function handling a single C-STORE Request.
virtual OFCondition getContentTime(OFString &value, const signed long pos=0)
Get Content Time.
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmTLSCiphersuiteHandler ciphersuites
ciphersuite handler
Definition: tlslayer.h:438
OFBool getISOFormattedDateTime(OFString &formattedDateTime, const OFBool showSeconds=OFTrue, const OFBool showFraction=OFFalse, const OFBool showTimeZone=OFFalse, const OFBool showDelimiter=OFTrue, const OFString &dateTimeSeparator=" ", const OFString &timeZoneSeparator=" ") const
get the current date/time value in ISO format.
virtual OFBool isValid() const
check whether cursor currently points to a valid node
Definition: dsrtncsr.h:393
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence()
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtimage.h:2506
virtual ~OFSet()
Destructor.
Definition: ofset.h:95
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmLongString ClinicalTrialProtocolName
ClinicalTrialProtocolName (0012,0021) vr=LO, vm=1, type=2.
Definition: drttreat.h:2720
DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence()
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtdose.h:1984
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
this class implements an RLE compressor conforming to the DICOM standard.
Definition: dcrleenc.h:60
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
virtual OFVector< CodeSequenceMacro * > & getViewModifierCode()
Get View Modifier Code.
OFCondition setDeviceDescription(const OFString &value, const OFBool check=OFTrue)
set DeviceDescription (0050,0020)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getStartCumulativeMetersetWeight(OFString &value, const signed long pos=0) const
get StartCumulativeMetersetWeight (300c,0008)
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
virtual Uint16 bitsPerSample() const =0
returns the number of bits per sample that will be expected when encoding.
virtual ~IODGeneralSeriesModule()
Destructor.
void getDataSint32(void *buffer, DiDisplayFunction *disp, const int samples, const unsigned long frame, const int bits, const Uint32 low, const Uint32 high)
get pixel data with specified format for Sint32 input (helper function).
virtual OFCondition setSeriesTime(const OFString &value, const OFBool checkValue=OFTrue)
Set Series Time.
virtual DcmObject * clone() const
clone method
Definition: dcchrstr.h:80
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
OFCondition getLateralSpreadingDeviceSetting(OFString &value, const signed long pos=0) const
get LateralSpreadingDeviceSetting (300a,0372)
DRTRequestAttributesSequence RequestAttributesSequence
RequestAttributesSequence (0040,0275) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4297
DRTFrameExtractionSequence & getFrameExtractionSequence()
get FrameExtractionSequence (0008,1164)
Definition: drtdose.h:2092
virtual OFCondition getPatientSpeciesDescription(OFString &value, const signed long pos=0) const
get PatientSpeciesDescription (0010,2201)
Uint32 ValueLength
value length in bytes
Definition: dcmqridx.h:158
@ MRSignalIntensity
(110852,DCM,"MR signal intensity"), included from CID 7180
Definition: cid7469.h:238
Item & getCurrentItem()
get current item in the sequence
DRTConsultingPhysicianIdentificationSequence ConsultingPhysicianIdentificationSequence
ConsultingPhysicianIdentificationSequence (0008,009d) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2749
DcmLongString PerformedProcedureStepDescription
PerformedProcedureStepDescription (0040,0254) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3113
virtual OFCondition read(DcmItem &item)
Read functional group from given item.
virtual OFBool isValid() const
check whether the current code is valid.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setClinicalTrialSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesDescription (0012,0072)
@ DCMSCP_CALLING_HOST_NOT_ALLOWED
Refusing association because of disallowed connecting host.
Definition: scp.h:83
OFCondition openFile(const OFString &filename)
Opens the BMP file specified by the given filename.
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtbas.h:351
virtual OFCondition sendACTIONRequest(const T_ASC_PresentationContextID presID, const OFString &sopInstanceUID, const Uint16 actionTypeID, DcmDataset *reqDataset, Uint16 &rspStatusCode)
This function sends a N-ACTION request on the currently opened association and receives the correspon...
virtual OFCondition waitForAssociationRQ(T_ASC_Network *network)
This function takes care of receiving, negotiating and accepting/refusing an association request.
Item(const Item ©)
copy constructor
DVPSReferencedSeries * findSeriesReference(const char *seriesUID)
find series reference in this list.
OFCondition getBeamDoseSpecificationPoint(OFString &value, const signed long pos=0) const
get BeamDoseSpecificationPoint (300a,0082)
OFCondition gotoNextItem()
goto next item in the sequence
DcmIntegerString NumberOfControlPoints
NumberOfControlPoints (300a,0110) vr=IS, vm=1, type=1.
Definition: drtbs.h:763
DcmLongString ResponsibleOrganization
ResponsibleOrganization (0010,2299) vr=LO, vm=1, type=2C.
Definition: drtdose.h:4138
virtual IODGeneralImageModule & getIODGeneralImageModule()
Get General Image Module.
Item class.
Definition: drtbl2.h:36
DRTReferencedStudySequence & getReferencedStudySequence()
get ReferencedStudySequence (0008,1110)
Definition: drtionpl.h:1799
DPMParametricMapIOD & m_Map
Reference to Parametric Map object in order to access its pixel data.
Definition: dpmparametricmapiod.h:76
static E_PreliminaryFlag enumeratedValueToPreliminaryFlag(const OFString &enumeratedValue)
convert DICOM enumerated value to preliminary flag
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrdros.h:338
virtual OFCondition getSOPClassUID(OFString &value, const signed long pos=0) const
get SOPClassUID (0008,0016)
const DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence() const
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtdose.h:2182
virtual void close()
Closes the transport connection.
DcmExtendedNegotiationItem(const DcmExtendedNegotiationItem &arg)
copy constructor
DcmTLSECFailedToLoadPrivateKeyConst()
Constructor, initializes the OFConditionConst base.
DcmDecimalString CumulativeDoseToDoseReference
CumulativeDoseToDoseReference (3008,0052) vr=DS, vm=1, type=1.
Definition: drttsmds.h:158
DcmUnsignedShort PixelRepresentation
PixelRepresentation (0028,0103) vr=US, vm=1, type=1.
Definition: drtiis.h:431
DcmObject * value() const
return pointer maintained by this entry
virtual OFCondition getContentTime(OFString &value, const signed long pos=0)
Get Content Time.
const Item & getCurrentItem() const
get current item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmCodeString PresentationLUTShape
PresentationLUTShape (2050,0020) vr=CS, vm=1, type=3.
Definition: drtdose.h:4404
@ YBR_PARTIAL_CBComponent
(110841,DCM,"YBR PARTIAL CB Component"), included from CID 7180
Definition: cid7469.h:218
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
void clear()
clear all internal member variables
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTSeriesDescriptionCodeSequence SeriesDescriptionCodeSequence
SeriesDescriptionCodeSequence (0008,103f) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4289
singleton class that registers decoders for all supported JPEG-LS processes.
Definition: djdecode.h:36
virtual OFCondition checkValue(const OFString &vm="", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
DRTHL7StructuredDocumentReferenceSequence & operator=(const DRTHL7StructuredDocumentReferenceSequence ©)
assigment operator
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition checkUltrasoundAttributes(DcmItem *dataset, const OFString &transferSyntax, const OFFilename &filename)
check attributes for compliance with Ultrasound application profiles
OFCondition setRTImagePlane(const OFString &value, const OFBool check=OFTrue)
set RTImagePlane (3002,000c)
OFCondition getBlockData(Float64 &value, const unsigned long pos=0) const
get BlockData (300a,0106)
Interface class for ReferencedRTPlanSequence (300c,0002) in RTGeneralTreatmentRecordModule.
Definition: drtrrtps4.h:28
virtual void append(const log4cplus::spi::InternalLoggingEvent &event)=0
Subclasses of Appender should implement this method to perform actual logging.
OFCondition setNumberOfRangeModulators(const OFString &value, const OFBool check=OFTrue)
set NumberOfRangeModulators (300a,0340)
const DRTPurposeOfReferenceCodeSequence & getPurposeOfReferenceCodeSequence() const
get PurposeOfReferenceCodeSequence (0040,a170)
Definition: drtrims.h:141
OFCondition gotoFirstItem()
goto first item in the sequence
DcmLongString printerName
Module=Printer_Characteristics_Module, VR=LO, VM=1, Type 3.
Definition: dvpssp.h:1000
OFCondition getRangeModulatorType(OFString &value, const signed long pos=0) const
get RangeModulatorType (300a,0348)
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
@ AdministratorOfRadiologyDepartment
(128673,DCM,"Administrator of Radiology Department")
Definition: cid7452.h:58
Item class.
Definition: drtrbs4.h:36
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition useSecureConnection(DcmTransportLayer *tlayer)
Tells DcmSCU to use a secure TLS connection described by the given TLS layer.
DcmProfileMap(const DcmProfileMap &arg)
copy constructor, creates deep copy
~DcmQuantIdent()
destructor
Definition: diqtid.h:54
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
DcmAttributeTag ParameterSequencePointer
ParameterSequencePointer (3008,0061) vr=AT, vm=1, type=1.
Definition: drtcpas.h:171
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmDate StudyDate
StudyDate (0008,0020) vr=DA, vm=1, type=2.
Definition: drtimage.h:4879
OFBool getTargetPrinterSupportsRequestedImageSize(const char *targetID)
returns the SUPPORTSIMAGESIZE entry for the printer with the given target ID from the configuration f...
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
OFCondition setCompensatorNumber(const OFString &value, const OFBool check=OFTrue)
set CompensatorNumber (300a,00e4)
OFCondition gotoFirstItem()
goto first item in the sequence
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drtces.h:339
static IOD::Item & search(IOD &seq, const type &wanted, typename searchType::funcType func)
Find an item in a sequence.
Definition: drmsrch.h:116
ItemStruct(const OFString &uid, const int pos, const DVIFhierarchyStatus status, const DVPSInstanceType type, const int size, const OFString &filename)
Constructor.
Definition: dvcache.h:82
Uint32 m_itemNo
The item number of the item in m_obj; only useful if m_obj is an item.
Definition: dcpath.h:64
OFCondition setEndCumulativeMetersetWeight(const OFString &value, const OFBool check=OFTrue)
set EndCumulativeMetersetWeight (300c,0009)
virtual OFBool canChangeCoding(const E_TransferSyntax oldRepType, const E_TransferSyntax newRepType) const
checks if this codec is able to convert from the given current transfer syntax to the given new trans...
DCMTK_OFSTD_EXPORT const OFConditionConst EC_DirectoryNotWritable
condition constant: error, directory is not writable
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
const DcmQueryRetrieveConfig * config_
pointer to system configuration
Definition: dcmqrdbi.h:456
OFBool m_disableExtSeqTs
If true, JPEGs with extended sequential coding are not supported.
Definition: i2djpgs.h:335
OFCondition setIdentification(const OFString &algorithmName, const OFString &algorithmVersion, const OFBool check=OFTrue)
set mandatory identification of the algorithm (according to TID 4019 Row 1 and 2).
OFCondition read(DcmItem &item)
read elements from sequence item
Item & operator=(const Item ©)
assigment operator
virtual OFCondition negotiateAssociation()
Negotiate association by using presentation contexts and parameters as defined by earlier function ca...
virtual OFBool canChangeCoding(const E_TransferSyntax oldRepType, const E_TransferSyntax newRepType) const
checks if this codec is able to convert from the given current transfer syntax to the given new trans...
int Visible
visibility status
Definition: diovpln.h:469
@ LATERALITY_R
Right body part.
Definition: fgframeanatomy.h:45
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
void fillPixel(T *dest[], const T value)
fill pixel data with specified value
Definition: ditranst.h:99
Item & getCurrentItem()
get current item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
DcmDecimalString PatientWeight
PatientWeight (0010,1030) vr=DS, vm=1, type=3.
Definition: drtionpl.h:3027
Item(const Item ©)
copy constructor
OFBool disableEncodingCheck(const OFBool newMode=OFFalse)
disable/enable the "pixel encoding check".
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const Uint16 * Data
pointer to overlay data (standalone) or pixel data (embedded)
Definition: diovpln.h:492
OFCondition readReferenceImage(const char *ifname, E_TransferSyntax xfer, E_FileReadMode readMode, unsigned long compatibilityMode)
read reference image for image comparison from file
virtual OFCondition loadAllDataIntoMemory(void)
this method loads all attribute values maintained by this object and all sub-objects (in case of a co...
Item & getItem(const size_t num)
get particular item in the sequence
const DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence() const
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtiontr.h:1773
Encoder class for JPEG Progressive (lossy, 8/12-bit)
Definition: djencpro.h:32
OFString CodingSchemeRegistry
Coding Scheme Registry (VR=LO, type 1C)
Definition: dsrcsidl.h:321
OFCmdUnsignedInt opt_port
port on which this application is listening
Definition: wlcefs.h:56
@ PT_MultipleVolumeRendering
Multiple Volume Rendering Volumetric Presentation State (MVR-VPS)
Definition: dsrtypes.h:651
virtual OFCondition getGridFrameOffsetVector(OFVector< Float64 > &value) const
get GridFrameOffsetVector (3004,000c)
virtual OFCondition setAcquisitionDateTime(const OFString &value, const OFBool checkValue=OFTrue)
Set Acquisition DateTime.
Template class to scale color images (on pixel data level).
Definition: dicosct.h:42
LogLevel ll
The assigned LogLevel of this logger.
Definition: logimpl.h:179
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getMeasuredDoseDescription(OFString &value, const signed long pos=0) const
get MeasuredDoseDescription (3008,0012)
DRTModalityLUTSequence ModalityLUTSequence
ModalityLUTSequence (0028,3000) vr=SQ, vm=1, type=1C.
Definition: drtimage.h:5363
OFCmdUnsignedInt filepad_option
internal padding variables
Definition: mdfconen.h:190
@ Fresolimumab_89Zr
(126748,DCM,"Fresolimumab ^89^Zr")
Definition: cid4021.h:174
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
void clear()
clear all internal member variables
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition setInstanceCoercionDateTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCoercionDateTime (0008,0015)
OFBool keepConnectionOpen
flag indicating whether we want to keep the connection open
Definition: dvpsmsg.h:266
static E_SegmentAlgoType OFString2AlgoType(const OFString &algoType)
Return enum representation of algorithm type string as found in segmentation objects.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
void setProgressNotificationMode(const OFBool mode)
Set the mode that specifies whether the progress of sending and receiving DIMSE messages is notified ...
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtajcs.h:335
int setDisplayFunction(DiDisplayFunction *display)
set display function
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTIssuerOfAccessionNumberSequence IssuerOfAccessionNumberSequence
IssuerOfAccessionNumberSequence (0008,0051) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2908
DRTPhysiciansReadingStudyIdentificationSequence PhysiciansReadingStudyIdentificationSequence
PhysiciansReadingStudyIdentificationSequence (0008,1062) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3006
DVPSAnnotationContent_PList & operator=(const DVPSAnnotationContent_PList &)
private undefined assignment operator
virtual OFCondition setVolumetricProperties(const OFString &value, const OFBool checkValue=OFTrue)
Set Volumetric Properties.
DcmTransferSyntaxMap()
constructor
OFString checkAndInventType2Attrib(const DcmTagKey &key, DcmDataset *targetDset) const
Inserts an empty element with the given tag into a dataset.
OFCondition setBlockType(const OFString &value, const OFBool check=OFTrue)
set BlockType (300a,00f8)
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition getOFDateTime(OFDateTime &dateTimeValue, const unsigned long pos=0)
get the current element value in OFDateTime format.
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Reads this macro from given item.
OFBool noSequenceExpansion
indicates if the expansion of empty sequence attributes shall take place or not
Definition: wlds.h:74
DSRSpatialCoordinatesValue * getSpatialCoordinatesPtr()
get pointer to spatial coordinates.
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
OFCondition setLUT(DcmUnsignedShort &lutDescriptor, DcmUnsignedShort &lutData, DcmLongString &lutExplanation)
stores a presentation lookup table and activates it.
OFCondition setGraphicLayerRecommendedDisplayValueRGB(size_t idx, Uint16 r, Uint16 g, Uint16 b)
set graphic layer recommended RGB display value for the given graphic layer.
static const OFString & currentDate(OFString &dateString)
Get current date in DICOM 'DA' format (YYYYMMDD)
size_t refCount_
number of references to temporary file.
Definition: dcistrmf.h:274
DVPSSoftcopyVOI * createSoftcopyVOI(DVPSReferencedSeries_PList &allReferences, const char *sopclassUID, const char *instanceUID, unsigned long frame, unsigned long numberOfFrames, DVPSObjectApplicability applicability)
finds or creates a softcopy VOI LUT SQ item with an applicability controlled by the applicability,...
OFTime getCoordinatedUniversalTime() const
get the currently stored time as Coordinated Universal Time.
OFCondition getSnoutID(OFString &value, const signed long pos=0) const
get SnoutID (300a,030f)
size_t getNumberOfPrintPreviews()
gets the number of Hardcopy Grayscaleimages currently registered by the stored print object.
int rotate(const int degree)
rotate current image (by steps of 90 degrees)
const log4cplus::tstring & getThread() const
The name of thread in which this logging event was generated.
Definition: logevent.h:150
virtual void setExtensible(const OFBool mode=OFTrue)
change mode specifying whether the template is extensible or non-extensible
Definition: dsrctpl.h:123
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &codedEntryValue) const
search for a given coded entry in this context group.
OFCondition write(DcmItem &item)
write elements to sequence item
DRTMotionSynchronizationSequence(const DRTMotionSynchronizationSequence ©)
copy constructor
virtual void clear()
Clear all rules.
static OFCondition getTimeZoneFromString(const OFString &dicomTimeZone, double &timeZone)
get the specified DICOM time zone in number of hours format DICOM standard states that if the "Timezo...
static OFCondition newInstance(DcmItem *dataset, const char *purposeOfReferenceCodingScheme=NULL, const char *purposeOfReferenceCodeValue=NULL, const char *purposeOfReferenceCodeMeaning=NULL)
create new SOP instance UID and Source Image Sequence referencing the old SOP instance (if present)
OFCondition getValue(DSRNumericMeasurementValue &numericMeasurement) const
get copy of numeric measurement value
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_VerificationFailed_Corrupted
signature verification failed because the signature is invalid (document corrupted)
DRTIconImageSequence & getIconImageSequence()
get IconImageSequence (0088,0200)
Definition: drtimage.h:2638
const Item & getCurrentItem() const
get current item in the sequence
const DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence() const
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drttreat.h:1317
virtual DcmFGTypes::E_FGType getType() const
Returns type of this functional group (always "EFG_UNKNOWN")
Definition: fgbase.h:189
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 element to a stream.
DcmPath(const DcmPath &rhs)
Private undefined copy constructor.
OFBool hasImageLibraryGroup() const
check whether there is an image group in this image library (TID 1600 - Row 2)
OFCondition addSubjectContext()
add content items for TID 1006 (Subject Context), and included TID 1007-1010
DRTConversionSourceAttributesSequence ConversionSourceAttributesSequence
ConversionSourceAttributesSequence (0020,9172) vr=SQ, vm=1, type=1C.
Definition: drtdose.h:4691
OFStackBase(const OFStackBase &)
private undefined copy constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
Item(const Item ©)
copy constructor
OFCondition getGantryPitchRotationDirection(OFString &value, const signed long pos=0) const
get GantryPitchRotationDirection (300a,014c)
OFCondition setAllImagesToDefault()
sets magnification type, smoothing type and configuration information back to default for all registe...
virtual OFCondition handleMOVERequest(T_DIMSE_C_MoveRQ &reqMessage, const T_ASC_PresentationContextID presID, DcmDataset *&reqDataset, OFString &moveDest)
Receive C-MOVE request on the currently active association.
Definition: scp.h:828
void printInfoLineStart(STD_NAMESPACE ostream &out, const size_t flags, const int level, DcmTag *tag=NULL)
print beginning of the info line.
virtual ~DVPSPrintSCP()
destructor
DcmIntegerString ExposureTime
ExposureTime (0018,1150) vr=IS, vm=1, type=2C.
Definition: drtes.h:528
size_t getNumberOfItems() const
get number of items in the sequence
DRTStrainCodeSequence StrainCodeSequence
StrainCodeSequence (0010,0219) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2842
virtual size_t addFromFiles(const OFVector< OFString > &dcmFiles, const IODReference::MAX_LEVEL maxLevel=IODReference::LEVEL_STUDY)
Initialize references from set of DICOM files.
E_DocumentType
SR document types.
Definition: dsrtypes.h:501
OFCondition gotoNextItem()
goto next item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
Interface class for IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtians.h:28
Item & getItem(const size_t num)
get particular item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getWedgeNumber(OFString &value, const signed long pos=0) const
get WedgeNumber (300a,00d2)
virtual OFCondition getDerivationDescription(OFString &value, const signed long pos=0) const
get DerivationDescription (0008,2111)
const T * lookup(const OFString &key) const
looks up the given key in the map.
Definition: dcmsmap.h:163
OFString RetrieveAETitle
Retrieve Application Entity Title (VR=AE, VM=1-n, type 3)
Definition: dsrsoprf.h:439
static OFCondition getISOFormattedTimeFromString(const OFString &dicomTime, OFString &formattedTime, const OFBool seconds=OFTrue, const OFBool fraction=OFFalse, const OFBool createMissingPart=OFFalse, const OFBool supportOldFormat=OFTrue)
get the specified DICOM time value in ISO format.
static const OFBool is_signed
OFTrue for all signed arithmetic types T and OFFalse for the unsigned types.
Definition: oflimits.h:175
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setConsultingPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ConsultingPhysicianName (0008,009c)
@ IAUC60
(126321,DCM,"IAUC60"), included from CID 4109
Definition: cid7469.h:284
DRTApplicatorSequenceInRTBeamsModule(const DRTApplicatorSequenceInRTBeamsModule ©)
copy constructor
OFBool doCheckMoveIdentifier
flag indicating whether or not the check function for MOVE requests is enabled
Definition: dcmqrdbi.h:410
Class that represents a reference to another DICOM objects.
Definition: iodreferences.h:44
OFBool isEmpty()
check if sequence is empty
OFCondition negotiateAssociation(T_ASC_Association *assoc)
perform association negotiation for an incoming A-ASSOCIATE request based on the SCP configuration an...
DcmDictEntryListIterator repeatingBegin()
returns an iterator to the start of the repeating tag dictionary
Definition: dcdict.h:150
DcmDecimalString ImageTriggerDelay
ImageTriggerDelay (0018,1067) vr=DS, vm=1, type=3.
Definition: drtimage.h:5228
Uint32 sizeofTagHeader(DcmEVR evr) const
return the number of bytes needed to describe the tag, length, VR and any reserved fields for this tr...
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtws.h:462
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
virtual ~Item()
destructor
DcmTime studyTime
Module=General_Study, VR=TM, VM=1, Type 2.
Definition: dvpssp.h:970
DJDecompressIJG12Bit(const DJCodecParameter &cp, OFBool isYBR)
constructor
OFCondition changeXfer(const E_TransferSyntax newXfer)
changes the transfer syntax of this object to the given one.
OFCondition checkDicomFile(const OFFilename &filename, const OFFilename &directory=OFFilename(), const OFBool checkFilename=OFTrue)
check whether specified DICOM file is suitable to be included into the DICOMDIR.
void initDestination(jpeg_compress_struct *cinfo)
callback for IJG compress destination manager.
Class implementing a tree node cursor.
Definition: dsrtncsr.h:52
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmCodeString PatientAlternativeCalendar
PatientAlternativeCalendar (0010,0035) vr=CS, vm=1, type=1C.
Definition: drtiontr.h:2808
virtual OFCondition getSOPInstanceStatus(OFString &value, const signed long pos=0) const
get SOPInstanceStatus (0100,0410)
OFCondition setOverrideReason(const OFString &value, const OFBool check=OFTrue)
set OverrideReason (3008,0066)
DRTDigitalSignaturesSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
void rotateAndFlip(DVPSRotationType rotationFrom, OFBool isFlippedFrom, DVPSRotationType rotationTo, OFBool isFlippedTo)
adjusts all displayed area coordinates for the rotation and flipping status of the image.
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrrtps.h:142
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrms.h:190
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmDecimalString FinalCumulativeMetersetWeight
FinalCumulativeMetersetWeight (300a,010e) vr=DS, vm=1, type=1C.
Definition: drtbs.h:741
Singleton class which provides thread-safe access to the standard console output and error streams.
Definition: ofconsol.h:73
OFCondition setGantryPitchAngle(const Float32 value, const unsigned long pos=0)
set GantryPitchAngle (300a,014a)
structure for non-single process mode
Definition: wltypdef.h:77
@ Hertz
(Hz,UCUM,"Hertz")
Definition: cid7181.h:156
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtrsis.h:181
OFBool isEmpty()
check if sequence is empty
DcmLongString ServiceEpisodeID
ServiceEpisodeID (0038,0060) vr=LO, vm=1, type=3.
Definition: drtiontr.h:2982
DcmIntegerString RecommendedDisplayFrameRate
RecommendedDisplayFrameRate (0008,2144) vr=IS, vm=1, type=3.
Definition: drtimage.h:5222
const DRTOperatorIdentificationSequence & getOperatorIdentificationSequence() const
get OperatorIdentificationSequence (0008,1072)
Definition: drtdose.h:2242
@ EXS_JPEGLSLossy
JPEG-LS (lossless or near-lossless mode)
Definition: dcxfer.h:91
static const OFBool has_signaling_NaN
OFTrue for all types T capable of representing the special value Signaling Not-A-Number.
Definition: oflimits.h:297
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual ~DVPSFilmSession()
destructor
OFBool currentImageMonochrome1
true if attached image is MONOCHROME1
Definition: dvpstat.h:1289
OFCondition setImageSmoothingType(size_t idx, const char *value)
sets the (optional) smoothing type for the given registered image box.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFCondition getFractionNumber(OFString &value, const signed long pos=0) const
get FractionNumber (3002,0029)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DRTDigitalSignaturePurposeCodeSequence & operator=(const DRTDigitalSignaturePurposeCodeSequence ©)
assigment operator
DcmCodeString imageHorizontalFlip
Module=Spatial_Transform, VR=CS, VM=1, Type 1.
Definition: dcmpstat.h:940
int getPrediction() const
returns the prediction value
Definition: djrplol.h:68
DcmUniqueIdentifier(const DcmTag &tag, const Uint32 len=0)
constructor.
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrsos.h:176
DRTRequestedProcedureCodeSequence & operator=(const DRTRequestedProcedureCodeSequence ©)
assigment operator
DcmLongString LateralSpreadingDeviceSetting
LateralSpreadingDeviceSetting (300a,0372) vr=LO, vm=1, type=1.
Definition: drtlsds6.h:167
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmObject * push(DcmObject *obj)
push new pointer do DcmObject instance on stack
OFBool empty() const
returns whether this map is empty (i.e. whether its size is 0)
Definition: ofmap.h:163
@ TCE_Camellia
Camellia (RFC 3713) in Cipher Block Chaining (CBC) mode.
Definition: tlsciphr.h:191
DSRTimeTreeNode(const DSRTimeTreeNode &node)
copy constructor.
DcmShortText DerivationDescription
DerivationDescription (0008,2111) vr=ST, vm=1, type=3.
Definition: drtionpl.h:3243
virtual ~DVPSOverlay()
destructor
E_RelationshipType getRelationshipType() const
get relationship type of the current content item
Definition: dsrdoctn.h:302
DVPSTextObject * removeTextObject(size_t idx)
returns a pointer to the text object with the given index (or NULL if it does not exist) and removes ...
virtual ~SourceImageItem()
Virtual destructor, cleans up memory.
static unsigned int hashString(const char *str)
creates hash value.
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getReferencedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
OFCondition getPatientPosition(OFString &value, const signed long pos=0) const
get PatientPosition (0018,5100)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
Item(const Item ©)
copy constructor
virtual OFCondition setRealWorldValueLastValueMappedSigned(const Sint16 &value, const OFBool checkValue=OFTrue)
Set Real World Value Last Value Mapped.
OFCondition gotoNextItem()
goto next item in the sequence
DRTMeasuredDoseReferenceSequence(const DRTMeasuredDoseReferenceSequence ©)
copy constructor
OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
DRTDigitalSignaturesSequence DigitalSignaturesSequence
DigitalSignaturesSequence (fffa,fffa) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5439
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format
virtual OFVector< CodeSequenceMacro * > & getEntireConceptCodeSequence()
Get a reference to the entire ConceptCodeSequence, including items exceeding the value multiplicity r...
virtual OFCondition setDerivationDescription(const OFString &value, const OFBool checkValue=OFTrue)
Set Derivation Description.
SiTimeStamp()
default constructor
Definition: sitstamp.h:44
virtual OFCondition getPresentationLUTShape(OFString &value, const signed long pos=0) const
Get Presentation LUT Shape.
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
TID1001_ObservationContext()
default constructor
DRTContributingEquipmentSequence & getContributingEquipmentSequence()
get ContributingEquipmentSequence (0018,a001)
Definition: drtimage.h:2482
virtual void clear()
clear all internal member variables
int setWidthHeightRatio(const double ratio) const
set width height ratio (pixel aspect ratio: x/y)
Definition: dcmimage.h:354
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getContourSlabThickness(Float64 &value, const unsigned long pos=0) const
get ContourSlabThickness (3006,0044)
virtual void emitMessage(int msg_level) const
callback function used to report warning messages and the like.
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtporcs.h:333
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtdspcs.h:329
virtual ~Item()
destructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getImageHeight(unsigned long &height)
gets the height of the attached image.
virtual void inventMissing()
Set missing values by inventing "default values".
virtual OFCondition addTrackSet(const OFString &trackSetLabel, const OFString &trackSetDescription, const CodeWithModifiers &anatomyCode, const CodeSequenceMacro &diffusionModelCode, const AlgorithmIdentificationMacro &algoIdentCode, TrcTrackSet *&trackSet)
Add Track Set to object.
OFListIterator(Item *) CurrentItem
currently selected item
DcmUnlimitedText TextValue
TextValue (0040,a160) vr=UT, vm=1, type=1C.
Definition: drtpcxs.h:376
DRTOverrideSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
const DRTGeneticModificationsSequence & getGeneticModificationsSequence() const
get GeneticModificationsSequence (0010,0221)
Definition: drtplan.h:1466
virtual OFCondition getPerformedProcedureStepStartDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepStartDate (0040,0244)
DB_Private_Handle * handle_
database handle
Definition: dcmqrdbi.h:401
EJ_Mode modeofOperation
enum for mode of operation (baseline, sequential, progressive etc.)
Definition: djeijg12.h:163
OFListIterator(Item *) CurrentItem
currently selected item
virtual ~DRTReferencedFractionGroupSequence()
destructor
void clear()
clear all internal member variables
void clear()
clear all internal member variables
const DRTStructureSetROISequence & getStructureSetROISequence() const
get StructureSetROISequence (3006,0020)
Definition: drtstrct.h:1800
virtual int processNextFrames(const unsigned long fcount)
process next couple of frames
OFCondition addImageEntry(DcmItem &dataset, const AddImageMode mode, const ConceptNameList &descriptors=ConceptNameList(), const OFBool check=OFTrue)
add an image entry to the current image group, i.e. add content items for TID 1601 (Image Library Ent...
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmDecimalString FixationLightAzimuthalAngleTolerance
FixationLightAzimuthalAngleTolerance (300a,0154) vr=DS, vm=1, type=3.
Definition: drtitts.h:410
DcmLongString AdmittingDiagnosesDescription
AdmittingDiagnosesDescription (0008,1080) vr=LO, vm=1-n, type=3.
Definition: drtiontr.h:2944
virtual unsigned long getOutputDataSize(const int bits=0) const
get number of bytes required for the rendered output of a single frame
virtual OFBool canWriteXfer(const E_TransferSyntax newXfer, const E_TransferSyntax oldXfer)
check whether the transfer syntax can be changed as specified
virtual OFCondition getAdmittingDiagnosesDescription(OFString &value, const signed long pos=0) const
Get Admitting Diagnoses Description.
OFunique_ptr()
Constructs an empty OFunique_ptr.
Definition: ofmem.h:300
virtual void clear()
clear all member variables.
virtual const char * getDefinedTerm() const
returns the DICOM identifier for this MAC algorithm
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
OFCondition write(DcmItem &item)
write elements to sequence item
void clear()
clear all internal member variables
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
OFCondition getNumberOfFractionsPlanned(OFString &value, const signed long pos=0) const
get NumberOfFractionsPlanned (300a,0078)
Interface class for GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtgpis.h:29
DcmLongString modalityLUTType
Module=Modality_LUT, VR=LO, VM=1, Type 3.
Definition: dcmpstat.h:962
OFCondition gotoNextItem()
goto next item in the sequence
DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence()
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtstrct.h:1350
virtual const void * getOutputPlane(const int plane) const =0
get pixel data of specified plane (abstract).
OFBool isEmpty()
check if item is empty
Definition: decodstr.h:18
static OFCondition determineDecompressedColorModel(const DcmXfer &fromType, const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, DcmItem *dataset, OFString &decompressedColorModel)
determine color model of the decompressed image
@ NAcetylaspartate
(115391007,SCT,"N-acetylaspartate"), included from CID 4033
Definition: cid7469.h:44
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcsas.h:347
OFBool haveFilmBoxInstance(const char *uid)
checks whether a film box object with the given SOP instance UID already exists.
OFBool isEmpty()
check if item is empty
OFCondition setIdentifyingPrivateElements(const Uint16 value, const unsigned long pos=0)
set IdentifyingPrivateElements (0008,0306)
DcmDecimalString SourceApplicatorWallNominalThickness
SourceApplicatorWallNominalThickness (300a,029c) vr=DS, vm=1, type=3.
Definition: drtchs.h:673
virtual OFCondition setTreeFromRootTemplate(DSRRootTemplate &rootTemplate, const OFBool expandTree=OFTrue)
set document tree from root template.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmTime InstanceCreationTime
InstanceCreationTime (0008,0013) vr=TM, vm=1, type=3.
Definition: drtplan.h:3358
OFCondition loadImage(const char *filename)
loads an image (which need not be contained in the database) and creates a default presentation state...
static const size_t PF_printSOPInstanceUID
print SOP instance UID of referenced objects
Definition: dsrtypes.h:420
OFCondition gotoFirstItem()
goto first item in the sequence
virtual unsigned long getNumberOfValues()
get number of values stored in this element
Uint16 getUpperElement() const
returns upper limit for tag element
Definition: dcdicent.h:224
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrscs.h:536
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Uint32 getNumberOfPStates()
returns number of presentation states referencing the currently selected image.
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence() const
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtplan.h:1538
IODImagePixelBase::DataType getDataType() const
Get pixel data type.
Definition: modimagepixelvariant.h:108
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition getSeriesNumber(Sint32 &value, const unsigned long pos=0) const
get SeriesNumber (0020,0011)
OFCondition removeGraphicLayer(size_t idx)
removes and deletes a graphic layer.
OFCondition setStandardDisplayedArea(DVPSPresentationSizeMode sizeMode, Sint32 tlhcX, Sint32 tlhcY, Sint32 brhcX, Sint32 brhcY, double magnification=1.0, DVPSObjectApplicability applicability=DVPSB_currentImage)
sets the displayed area and size mode (for the current frame, the current image or all images referen...
virtual ~DiCIELABFunction()
destructor
@ EXS_JPEGProcess2_4
JPEG Extended Sequential (lossy, 8/12 bit)
Definition: dcxfer.h:51
OFBool WideCharMode
OFTrue if wide character version of parseLine() has been used, OFFalse otherwise.
Definition: ofcmdln.h:1091
@ IrradiatingDevice
(113859,DCM,"Irradiating Device")
Definition: cid7445.h:44
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
virtual OFCondition setClinicalTrialCoordinatingCenterName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialCoordinatingCenterName (0012,0060)
virtual void removeInvalidGroups(const OFBool cmdSet=OFFalse)
remove all elements with an invalid group number, i.e.
DRTContrastBolusAgentSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
@ IAUC180
(126323,DCM,"IAUC180"), included from CID 4109
Definition: cid7469.h:288
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Interface class for DeviceSequence (0050,0010)
Definition: drtds.h:29
DiScaleTemplate(const int planes, const Uint16 columns, const Uint16 rows, const signed long left_pos, const signed long top_pos, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int bits=0)
constructor, scale clipping area.
Definition: discalet.h:119
virtual OFCondition getSeriesDescription(OFString &value, const signed long pos=0) const
get SeriesDescription (0008,103e)
virtual OFCondition getProcessingFunction(OFString &value, const signed long pos=0)
Get Processing Function.
virtual CodeSequenceMacro * getModifier(const size_t index=0)
Get modifier code denoted by index.
virtual ~DcmOtherFloat()
destructor
virtual size_t getTrackData(const Float32 *&data) const
Get Track Data.
Item class.
Definition: drtrcos.h:36
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
unsigned long maximumPreviewImageHeight
maximum height of (optional) preview image
Definition: dvpstat.h:1326
virtual OFCondition setModality(const OFString &value, const OFBool checkValue=OFTrue)
Set Modality.
OFBool m_progressNotificationMode
Progress notification mode (default: OFTrue)
Definition: scpcfg.h:395
virtual OFCondition check() const
Check whether the current content of this group is consistent and complete.
FGDerivationImage()
Constructor creating an empty functional group.
OFBool parseCommandLine(OFCommandLine &cmd, int argCount, char *argValue[], const int flags=0, const int startPos=1)
parse command line.
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
DRTInstitutionCodeSequence InstitutionCodeSequence
InstitutionCodeSequence (0008,0082) vr=SQ, vm=1, type=1C.
Definition: drtois.h:202
void checkParam(const OFCommandLine::E_ParamValueStatus status, OFCommandLine *cmd=NULL)
check parameter status and print error message if necessary
Item & getItem(const size_t num)
get particular item in the sequence
Interface class for ChannelSourceSequence (003a,0208)
Definition: drtcss.h:29
DiOverlay(const DiOverlay *overlay, const int horz, const int vert, const Uint16 columns, const Uint16 rows)
constructor, flip
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtdias.h:308
DRTDigitalSignaturesSequence DigitalSignaturesSequence
DigitalSignaturesSequence (fffa,fffa) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3391
virtual void createDerivationDescription(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio, OFString &derivationDescription) const
creates 'derivation description' string after encoding.
virtual OFCondition getReferencedSegmentNumber(Uint16 &value, const unsigned long pos=0)
Get Referenced Segment Number.
DRTGeneticModificationsCodeSequence & getGeneticModificationsCodeSequence()
get GeneticModificationsCodeSequence (0010,0229)
Definition: drtgms.h:114
virtual OFCondition setSmokingStatus(const OFString &value, const OFBool check=OFTrue)
set SmokingStatus (0010,21a0)
virtual OFCondition getPatientState(OFString &value, const signed long pos=0) const
get PatientState (0038,0500)
const char * getPresentationContextKey(const char *key) const
returns the presentation context key for the given profile
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition write(DcmItem &dset)
writes the text object managed by this object to a DICOM dataset.
EP_Representation getRepresentation() const
get integer representation
Definition: dicoopxt.h:116
LATERALITY
Enumerated values for attribute "Laterality".
Definition: fgframeanatomy.h:39
OFCondition setSeriesInstanceUID(const OFString &value, const OFBool check=OFTrue)
set SeriesInstanceUID (0020,000e)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtporcs.h:533
DcmDecimalString SourceApplicatorLength
SourceApplicatorLength (300a,0296) vr=DS, vm=1, type=1C.
Definition: drtchs.h:659
template stack class.
Definition: ofstack.h:202
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
OFCondition getReferencedReferenceImageNumber(OFString &value, const signed long pos=0) const
get ReferencedReferenceImageNumber (300c,0007)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmLongString ResponsibleOrganization
ResponsibleOrganization (0010,2299) vr=LO, vm=1, type=2C.
Definition: drtstrct.h:2787
DcmUniqueIdentifier OriginalSpecializedSOPClassUID
OriginalSpecializedSOPClassUID (0008,001b) vr=UI, vm=1, type=3.
Definition: drtionpl.h:3270
OFBool currentImagePLUTValid
a flag describing whether the presentation LUT settings in currentImage match the ones in the present...
Definition: dvpstat.h:1260
virtual OFCondition getPatientSex(OFString &value, const signed long pos=0) const
Get Patient's Sex.
virtual ~DcmBufferConsumer()
destructor
XMLNode(const XMLNode &A)
to allow shallow/fast copy:
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence()
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drttreat.h:1155
virtual void clear()=0
Clears member variables and frees memory.
OFshared_ptr< IODRules > m_Rules
The rules hold by this class (shared with modules below)
Definition: iodcommn.h:240
virtual OFCondition getDoubleFloatRealWorldValueLastValueMapped(Float64 &value, const unsigned long pos=0) const
Get Double Float Real World Value Last Value Mapped.
@ OxygenWater_O15
(129505000,SCT,"Oxygen-water O^15^")
Definition: cid4021.h:222
DRTAdditionalDrugSequence(const DRTAdditionalDrugSequence ©)
copy constructor
virtual ~DRTTreatmentMachineSequenceInRTBrachyApplicationSetupsModule()
destructor
OFCondition getTotalReferenceAirKerma(Float64 &value, const unsigned long pos=0) const
get TotalReferenceAirKerma (300a,0250)
virtual OFCondition getMeasuredLateralDimension(OFString &value, const signed long pos=0) const
get MeasuredLateralDimension (0010,1024)
virtual OFCondition getClinicalTrialProtocolEthicsCommitteeApprovalNumber(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082)
void init(DcmInputStream *stream, void *user)
initializes the file cache with the given stream object and user.
Definition: dcfcache.h:76
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool useShutterRectangular
if true, a rectangular shutter is in use
Definition: dcmpstat.h:882
Class for checking the relationship content constraints of an SR IOD (abstract)
Definition: dsriodcc.h:40
OFListIterator(Item *) CurrentItem
currently selected item
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
Item & operator[](const size_t num)
get particular item in the sequence
void clear()
clear all internal member variables
Item EmptyItem
empty default item
Definition: drtrmdrs.h:352
Item EmptyItem
empty default item
Definition: drtprsis.h:395
virtual OFCondition setOverlayType(const OFString &value, const OFBool check=OFTrue)
set OverlayType (60xx,0040)
DcmPresentationState & operator=(const DcmPresentationState &obj)
private undefined assignment operator
OFBool writeYBR422
flag indicating whether a compressed YBR color stream should be marked as YBR_FULL or YBR_FULL_422 on...
Definition: djcparam.h:361
virtual DcmCodecParameter * clone() const
this methods creates a copy of type DcmCodecParameter * it must be overwritten in every subclass.
@ RT_contains
DICOM Relationship Type: CONTAINS.
Definition: dsrtypes.h:561
OFCondition gotoFirstItem()
goto first item in the sequence
virtual ~DSRDocumentTreeNodeObservationDateTimeFilter()
destructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition setExposureTime(const OFString &value, const OFBool check=OFTrue)
set ExposureTime (0018,1150)
virtual OFString createStorageFilename(DcmDataset *dataset)
Helper function that generates a storage filename by extracting SOP Class and SOP Instance UID from a...
const DiPixel * getInterData() const
get pointer to intermediate pixel data representation
Definition: dimoimg.h:662
@ YBR_PARTIAL_CRComponent
(110842,DCM,"YBR PARTIAL CR Component"), included from CID 7180
Definition: cid7469.h:220
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setROIElementalCompositionAtomicNumber(const Uint16 value, const unsigned long pos=0)
set ROIElementalCompositionAtomicNumber (3006,00b7)
DcmTime StudyTime
StudyTime (0008,0030) vr=TM, vm=1, type=2.
Definition: drtionpl.h:2982
the list of referenced series contained in a presentation state (internal use only).
Definition: dvpsrsl.h:40
virtual OFCondition check() const
Checks whether this class contains valid data.
static IteratorBasedFilter< Iterator > * createIteratorBasedFilter(const Iterator &begin, const Iterator &end)
helper function to deduce the Iterator type from a container's begin() and end() method.
Definition: dcfilter.h:101
virtual OFCondition write(DcmItem &item)
Writes the data from this class to given item.
virtual ~Item()
destructor
OFCondition gotoFirstItem()
goto first item in the sequence
DcmDecimalString BlockData
BlockData (300a,0106) vr=DS, vm=2-2n, type=2.
Definition: drtbl2.h:348
OFString m_templateFile
If not empty, the DICOM file specified in this variable is used as a base for the DICOM image file to...
Definition: i2d.h:231
static OFCondition removeRootDirFromPathname(OFFilename &result, const OFFilename &rootDir, const OFFilename &pathName, const OFBool allowLeadingPathSeparator=OFTrue)
remove root directory prefix from given path name.
Item(const Item ©)
copy constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getScheduledProcedureStepDescription(OFString &value, const signed long pos=0) const
get ScheduledProcedureStepDescription (0040,0007)
DcmCodeString boundingBoxTextHorizontalJustification
VR=CS, VM=1, Type 1c.
Definition: dvpstx.h:204
void setHaltOnInvalidFileMode(const OFBool haltMode)
set mode that specifies whether to halt if an invalid file is encountered during batch processing (e....
virtual OFBool containsExtendedCharacters(const OFBool checkAllStrings=OFFalse)
check if this object contains non-ASCII characters
int isRepeatingGroup() const
returns true if entry is has a repeating group
Definition: dcdicent.h:242
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbldps.h:324
Class for temporal coordinates values.
Definition: dsrtcovl.h:42
OFBool isEmpty()
check if sequence is empty
virtual OFCondition getAllergies(OFString &value, const signed long pos=0) const
get Allergies (0010,2110)
virtual OFCondition getPatientID(OFString &value, const signed long pos=0) const
get PatientID (0010,0020)
virtual OFCondition getRows(Uint16 &rows)
Get number of rows.
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getColorSpace(OFString &value, const signed long pos=0) const
get ColorSpace (0028,2002)
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFListIterator(Item *) CurrentItem
currently selected item
const char * getStudyUID()
returns the Study Instance UID of the presentation state.
virtual ~DiColorPixel()
destructor
virtual OFCondition getRedPaletteColorLookupTableDescriptor(Uint16 &value, const unsigned long pos=0) const
get RedPaletteColorLookupTableDescriptor (0028,1101)
OFCondition getPoint(size_t idx, double &x, double &y)
gets one point from the curve data.
OFCondition setCodingSchemeRegistry(const OFString &value, const OFBool check=OFTrue)
set the coding scheme registry of the currently selected entry
IODSOPCommonModule m_SOPCommon
SOP Common Module.
Definition: iodcommn.h:261
Class for MONOCHROME2 images.
Definition: dimo2img.h:39
virtual ~DSRImplantationPlanSRDocumentConstraintChecker()
destructor
@ BoneOfLowerLimb
(72001000,SCT,"Bone of lower limb")
Definition: cid4031.h:60
const DRTReferencedSOPSequence & getReferencedSOPSequence() const
get ReferencedSOPSequence (0008,1199)
Definition: drtcims.h:242
DcmCodeString HighDoseTechniqueType
HighDoseTechniqueType (300a,00c7) vr=CS, vm=1, type=1C.
Definition: drtbs.h:745
virtual OFCondition setAccessionNumber(const OFString &value, const OFBool check=OFTrue)
set AccessionNumber (0008,0050)
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
XMLNode addChild_WOSD(XMLSTR lpszName, char isDeclaration=FALSE, XMLElementPosition pos=-1)
Add a new child node.
DcmTransportLayerStatus setTLSProfile(DcmTLSSecurityProfile profile)
replace the current list of ciphersuites by the list of ciphersuites for the given profile.
OFCondition write(DcmItem &dataset, const DcmTagKey &tagKey) const
write string value to dataset
virtual ~DSRImageReferenceValue()
destructor
@ ByInhalation
(446406008,SCT,"By inhalation")
Definition: cid11.h:74
Item class.
Definition: drtbss.h:36
DcmDecimalString SourceApplicatorTipLength
SourceApplicatorTipLength (300a,0274) vr=DS, vm=1, type=2C.
Definition: drtchs.h:669
OFCondition gotoFirstItem()
goto first item in the sequence
OFBool getCurrentOption(OFCmdString &opt)
returns current option as a C++ string.
Class for image reference values.
Definition: dsrimgvl.h:50
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpvis.h:504
DRTBreedRegistryCodeSequence BreedRegistryCodeSequence
BreedRegistryCodeSequence (0010,2296) vr=SQ, vm=1, type=1.
Definition: drtbrs.h:133
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition getResponsibleOrganization(OFString &value, const signed long pos=0) const
get ResponsibleOrganization (0010,2299)
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition read(DcmItem &item)
read elements from sequence item
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtecs.h:326
DcmPersonName ReferringPhysicianName
ReferringPhysicianName (0008,0090) vr=PN, vm=1, type=2.
Definition: drtdose.h:4180
OFString m_assocConfigFilename
Configuration file for presentation contexts (optional)
Definition: scu.h:992
virtual OFCondition setSynchronizationTrigger(const OFString &value, const OFBool checkValue=OFTrue)
Set Synchronization Trigger.
OFBool exhaustive_
Should slow tests be run, too?
Definition: oftest.h:406
OFCondition getReferencedMeasuredDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedMeasuredDoseReferenceNumber (3008,0082)
DcmFloatingPointSingle FixationLightPolarAngle
FixationLightPolarAngle (300a,0358) vr=FL, vm=1, type=3.
Definition: drtibs.h:977
OFCondition getCumulativeTimeWeight(OFString &value, const signed long pos=0) const
get CumulativeTimeWeight (300a,02d6)
@ FEM_xmlFile
extract each C-FIND-RSP dataset to an XML file.
Definition: dfindscu.h:59
virtual void writeXMLStartTag(STD_NAMESPACE ostream &out, const size_t flags, const char *attrText=NULL)
write element start tag in XML format
DSRSpatialCoordinates3DValue()
default constructor
virtual OFBool isFrameExtractionModulePresent(const OFBool complete=OFFalse)
check whether FrameExtractionModule (C) is present.
OFCondition write(DcmItem &item)
write elements to sequence item
void setDescriptionString(OFString &str) const
creates a description string suitable for use as Derivation Description.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DJDecompressIJG12Bit(const DJDecompressIJG12Bit &)
private undefined copy constructor
OFBool enableRejectionOfIncompleteWlFiles
indicates if wl-files which are lacking return type 1 attributes or information in such attributes sh...
Definition: wlfsim.h:64
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
DRTIonBlockSequence & operator=(const DRTIonBlockSequence ©)
assigment operator
T & operator[](size_type i)
access an entry by index.
Definition: ofvector.h:319
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
DcmFloatingPointSingle GantryPitchAngle
GantryPitchAngle (300a,014a) vr=FL, vm=1, type=2C.
Definition: drticpds.h:818
Item & getItem(const size_t num)
get particular item in the sequence
const DRTGeneticModificationsSequence & getGeneticModificationsSequence() const
get GeneticModificationsSequence (0010,0221)
Definition: drtionpl.h:1409
DcmCodeString emptyImageDensity
Module=Film_Box_Module, VR=CS, VM=1, Type 3.
Definition: dvpssp.h:1022
virtual OFCondition setRealWorldValueLastValueMappedUnsigned(const Uint16 value, const OFBool checkValue=OFTrue)
Set Real World Value Last Value Mapped.
OFCondition write(DcmItem &item)
write elements to sequence item
void setPaddingChar(char c)
set the end-of-string padding character
Definition: dcbytstr.h:401
~OFReadWriteLock()
destructor
OFCondition setCumulativeDoseToDoseReference(const OFString &value, const OFBool check=OFTrue)
set CumulativeDoseToDoseReference (3008,0052)
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drtibs.h:1001
size_t getNumberOfItems() const
get number of items in the sequence
DcmUniqueIdentifier SOPInstanceUID
SOPInstanceUID (0008,0018) vr=UI, vm=1, type=1.
Definition: drttreat.h:2969
DcmLongString MedicalAlerts
MedicalAlerts (0010,2000) vr=LO, vm=1-n, type=3.
Definition: drtdose.h:4233
OFCondition convertToUninterleaved(Uint8 *target, const Uint8 *source, Uint16 components, Uint32 width, Uint32 height, Uint16 bitsAllocated) const
Convert an image from sample interleaved to uninterleaved.
DSRPatientRadiationDoseSRConstraintChecker()
default constructor
OFBool isEmpty()
check if sequence is empty
DcmLongString IssuerOfPatientID
IssuerOfPatientID (0010,0021) vr=LO, vm=1, type=3.
Definition: drtopis.h:159
DRTDerivationCodeSequence & getDerivationCodeSequence()
get DerivationCodeSequence (0008,9215)
Definition: drtstrct.h:1266
virtual OFCondition getServiceEpisodeDescription(OFString &value, const signed long pos=0) const
get ServiceEpisodeDescription (0038,0062)
OFCondition getWaveformReference(DSRWaveformReferenceValue &referenceValue) const
get copy of waveform reference.
DcmIntegerString ReferencedFrameNumber
ReferencedFrameNumber (0008,1160) vr=IS, vm=1-n, type=1C.
Definition: drtrsis.h:179
const DRTReferencedInstanceSequence & getReferencedInstanceSequence() const
get ReferencedInstanceSequence (0008,114a)
Definition: drtrsers.h:113
OFCondition setTableTopVerticalPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopVerticalPosition (300a,0128)
DRTStudiesContainingOtherReferencedInstancesSequence StudiesContainingOtherReferencedInstancesSequence
StudiesContainingOtherReferencedInstancesSequence (0008,1200) vr=SQ, vm=1, type=1C.
Definition: drttreat.h:3031
DcmShortString studyID
Module=General_Study, VR=SH, VM=1, Type 2.
Definition: dcmpstat.h:813
@ Stomach
(69695003,SCT,"Stomach")
Definition: cid4031.h:220
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=2.
Definition: drtplan.h:3221
void clear()
reset all member variables to initial state delete all list items.
Definition: dvcache.h:457
int isVisible() const
check whether overlay plane is visible
Definition: diovpln.h:194
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drttms9.h:388
void clear()
clear all internal member variables
DRTReasonForPerformedProcedureCodeSequence ReasonForPerformedProcedureCodeSequence
ReasonForPerformedProcedureCodeSequence (0040,1012) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2926
const DcmRoleSelectionList * getRoleSelectionList(const char *key) const
returns the list of role selection items identified by the given key
virtual OFCondition encode(Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint16 *image_buffer, Uint8 *&to, Uint32 &length)
single frame compression routine for 16-bit raw pixel data.
const Item & getItem(const size_t num) const
get particular item in the sequence
Item class.
Definition: drtsins.h:37
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setStrainAdditionalInformation(const OFString &value, const OFBool check=OFTrue)
set StrainAdditionalInformation (0010,0218)
virtual ~DVPSIPCMessage()
destructor
OFCondition readPixelData(Uint16 &rows, Uint16 &cols, Uint16 &samplesPerPixel, OFString &photoMetrInt, Uint16 &bitsAlloc, Uint16 &bitsStored, Uint16 &highBit, Uint16 &pixelRepr, Uint16 &planConf, Uint16 &pixAspectH, Uint16 &pixAspectV, char *&pixData, Uint32 &length, E_TransferSyntax &ts)
Extracts the raw BMP pixel data stream from a BMP file and returns some further information about thi...
OFCondition deleteSeries(const char *studyUID, const char *seriesUID)
deletes the given series from the database.
virtual void resetRules()
Reset attribute rules to their default values.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition getPrivateDataElementValueRepresentation(OFString &value, const signed long pos=0) const
get PrivateDataElementValueRepresentation (0008,030a)
Item(const Item ©)
copy constructor
virtual OFCondition getRTImageOrientation(Float64 &value, const unsigned long pos=0) const
get RTImageOrientation (3002,0010)
OFCondition getRangeShifterSetting(OFString &value, const signed long pos=0) const
get RangeShifterSetting (300a,0362)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DRTPerformedProtocolCodeSequence PerformedProtocolCodeSequence
PerformedProtocolCodeSequence (0040,0260) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4311
virtual OFCondition getSamplesPerPixel(Uint16 &value, const signed long pos=0)
Get Samples per Pixel.
OFString m_Type
Requirement type: 1, 1C, 2, 2C or 3.
Definition: iodrules.h:240
OFCondition getValue(DSRCodedEntryValue &codedEntryValue) const
get copy of the code
DRTReferencedSeriesSequence(const DRTReferencedSeriesSequence ©)
copy constructor
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtags.h:340
OFBool isValid()
checks whether at least one series is referenced, whether all referenced series contain image referen...
OFCondition setRequestedImageSize(const char *value)
sets the requested image size.
OFCondition removeItem()
remove the current item from the list of instances.
OFListIterator(Item *) CurrentItem
currently selected item
DRTContourImageSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DVPSRotationType getRotation()
gets the current rotation status of the presentation state.
static DJDecoderP14SV1 * decsv1
pointer to decoder for lossless SV1 JPEG
Definition: djdecode.h:92
XMLNode(struct XMLNodeDataTag *p)
Constructors are protected, so use instead one of: XMLNode::parseString, XMLNode::parseFile,...
OFBool isSigned()
check whether content item is digitally signed.
Definition: dsrdoctn.h:233
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTHL7StructuredDocumentReferenceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
int opt_dimse_timeout
timeout for DIMSE operations
Definition: wlmactmg.h:75
DSRGraphicData3DList()
default constructor
DRTReferencedBolusSequenceInRTIonBeamsSessionRecordModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTBlockSlabSequence & operator=(const DRTBlockSlabSequence ©)
assigment operator
virtual OFCondition getPrimaryDosimeterUnit(OFString &value, const signed long pos=0) const
get PrimaryDosimeterUnit (300a,00b3)
DcmDate DateOfLastCalibration
DateOfLastCalibration (0018,1200) vr=DA, vm=1-n, type=3.
Definition: drtdose.h:4356
virtual OFCondition setOverlayDescription(const OFString &value, const OFBool check=OFTrue)
set OverlayDescription (60xx,0022)
OFCondition getNameComponents(OFString &lastName, OFString &firstName, OFString &middleName, OFString &namePrefix, OFString &nameSuffix, const unsigned long pos=0, const unsigned int componentGroup=0)
get name components from the element value.
DRTApplicatorSequenceInRTIonBeamsSessionRecordModule ApplicatorSequence
ApplicatorSequence (300a,0107) vr=SQ, vm=1, type=1C.
Definition: drttsibs.h:970
DRTModalityLUTSequence ModalityLUTSequence
ModalityLUTSequence (0028,3000) vr=SQ, vm=1, type=1C.
Definition: drtdose.h:4526
Encoder class for JPEG Lossless Selection Value 1 (8/12/16-bit)
Definition: djencsv1.h:32
@ Choline
(65123005,SCT,"Choline"), included from CID 4033
Definition: cid7469.h:48
DRTDICOMMediaRetrievalSequence DICOMMediaRetrievalSequence
DICOMMediaRetrievalSequence (0040,e022) vr=SQ, vm=1, type=1C.
Definition: drtrpphs.h:224
virtual OFCondition setNameOfPhysiciansReadingStudy(const OFString &value, const OFBool check=OFTrue)
set NameOfPhysiciansReadingStudy (0008,1060)
void read_entry(FILE *infile)
reads a complete entry from the config file.
@ CS_Latin3
ISO-IR 109: Latin alphabet No. 3.
Definition: dsrtypes.h:799
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
static const OFString m_ModuleName
Name of this module ("SOPCommonModule")
Definition: modsopcommon.h:207
DcmOutputBufferStream(void *buf, offile_off_t bufLen)
constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setRelatedGeneralSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set RelatedGeneralSOPClassUID (0008,001a)
virtual OFCondition setPatientBirthDate(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDate (0010,0030)
DcmDate instanceCreationDate
Module=SOP_Common, VR=DA, VM=1, Type 3.
Definition: dcmpstat.h:872
virtual unsigned long getNumberOfValues()
get number of values stored in this element
virtual OFBool isAllowableAlgorithmType(E_KeyType keyType) const
checks whether the given public/private key algorithm can be used with this security profile.
OFBool isEmpty()
check if sequence is empty
OFCondition getReferencedWedgeNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedWedgeNumber (300c,00c0)
DRTGeneticModificationsSequence GeneticModificationsSequence
GeneticModificationsSequence (0010,0221) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2695
DcmApplicationEntity destination
Module=Printer_Characteristics_Module, VR=AE, VM=1, Type 2.
Definition: dvpssp.h:998
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmLongString StrainNomenclature
StrainNomenclature (0010,0213) vr=LO, vm=1, type=3.
Definition: drtiontr.h:2840
const Item & getCurrentItem() const
get current item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getTemplateType(OFString &value, const signed long pos=0) const
get TemplateType (300a,0242)
virtual OFCondition getHighBit(Uint16 &value, const unsigned long pos=0)
Get High Bit.
virtual offile_off_t read(void *buf, offile_off_t buflen)
reads as many bytes as possible into the given block.
void splice(OFIterator< T > position, OFList< T > &x, OFIterator< T > first, OFIterator< T > last)
inserts elements in the range [first, last) before position and removes the elements from x
Definition: oflist.h:489
DcmTransportLayerStatus addVerificationFlags(unsigned long flags)
appends the given verification flags to the existing ones in this OpenSSL context (using binary or).
void clear()
clear the currently stored annotation text
Definition: dsrtnant.h:87
OFCondition setReferencedSegmentNumber(const Uint16 value, const unsigned long pos=0)
set ReferencedSegmentNumber (0062,000b)
OFCondition setPatientSupportType(const OFString &value, const OFBool check=OFTrue)
set PatientSupportType (300a,0350)
virtual OFCondition setPreferredPlaybackSequencing(const Uint16 value, const unsigned long pos=0)
set PreferredPlaybackSequencing (0018,1244)
void getVOIWindow(double ¢er, double &width) const
returns VOI window center and width for VOI mode 5
Definition: djcparam.h:212
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTContourSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getSourceToSurfaceDistance(Float64 &value, const unsigned long pos=0) const
get SourceToSurfaceDistance (300a,0130)
This helper class manages the list of TLS ciphersuites supported by DCMTK, translates DcmTLSSecurityP...
Definition: tlsciphr.h:228
DcmPixelData & getPixelData()
get PixelData (7fe0,0010)
Definition: drtiis.h:246
DRTPatientBreedCodeSequence PatientBreedCodeSequence
PatientBreedCodeSequence (0010,2293) vr=SQ, vm=1, type=2C.
Definition: drtdose.h:4118
iterator insert(iterator it, const T &v)
insert an entry in this OFVector.
Definition: ofvector.h:232
static OFCondition createFile(OFString &fileName, int *fd_out=NULL, unsigned int flags=O_RDWR, const OFString &dir="", const OFString &prefix="", const OFString &postfix=".tmp")
Create a new temporary file.
virtual OFCondition read(DcmItem &dataset, const DSRIODConstraintChecker *constraintChecker, const size_t flags)
read content item from dataset
OFCondition setIsocenterToRangeShifterDistance(const Float32 value, const unsigned long pos=0)
set IsocenterToRangeShifterDistance (300a,0364)
DRTInstitutionCodeSequence InstitutionCodeSequence
InstitutionCodeSequence (0008,0082) vr=SQ, vm=1, type=1C.
Definition: drtcpis.h:202
virtual OFCondition setResponsiblePerson(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePerson (0010,2297)
virtual OFCondition setMeasuredAPDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredAPDimension (0010,1023)
This file contains implementations of synchronization primitives using the POSIX threads.
OFCondition addDeviceObserver(const OFString &deviceUID, const OFString &deviceName="", const OFString &manufacturer="", const OFString &modelName="", const OFString &serialNumber="", const OFString &physicalLocation="", const DeviceParticipatingRolesList &procedureRoles=DeviceParticipatingRolesList(), const OFString &stationAEtitle="", const OFBool check=OFTrue)
add content items for TID 1002 (Observer Context) with Observer Type being "Device".
DcmDecimalString TotalReferenceAirKerma
TotalReferenceAirKerma (300a,0250) vr=DS, vm=1, type=1.
Definition: drtass.h:296
virtual OFCondition setStudyDescription(const OFString &value, const OFBool check=OFTrue)
set StudyDescription (0008,1030)
virtual OFCondition setSpecificCharacterSet(const OFString &value, const OFBool checkValue=OFTrue)
Set Specific Character Set.
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
char ** command_argv
complete command line, needed for multiprocess mode on WIN32
Definition: wlcefs.h:96
OFCondition write(DcmItem &item)
write elements to sequence item
static OFBool check(const char *dicomDate, const size_t dicomDateSize, const OFBool supportOldFormat)
check whether the given string conforms to a single value of VR "DA" (Date).
Item EmptyItem
empty default item
Definition: drttsmds.h:345
virtual OFCondition setInstanceNumber(const OFString &value, const OFBool check=OFTrue)
set InstanceNumber (0020,0013)
OFCondition createFromImage(DcmItem &dset, DVPSGraphicLayer_PList &gLayerList, DVPSOverlay_PList &overlayList, DVPSoverlayActivation overlayActivation, OFBool curveActivation, DVPSGraphicLayering layering)
create graphic layers and activations for DICOM image.
DRTDerivationCodeSequence & operator=(const DRTDerivationCodeSequence ©)
assigment operator
OFCondition setReferencedSegmentNumber(const Uint16 value, const unsigned long pos=0)
set ReferencedSegmentNumber (0062,000b)
DcmTime StudyTime
StudyTime (0008,0030) vr=TM, vm=1, type=2.
Definition: drtplan.h:3065
DSRIncludedTemplateTreeNode(const DSRSharedSubTemplate &referencedTemplate, const E_RelationshipType defaultRelType)
constructor.
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtccs.h:337
DRTPatientBreedCodeSequence & getPatientBreedCodeSequence()
get PatientBreedCodeSequence (0010,2293)
Definition: drttreat.h:1407
const DRTOperatorIdentificationSequence & getOperatorIdentificationSequence() const
get OperatorIdentificationSequence (0008,1072)
Definition: drtplan.h:1574
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtspcs.h:364
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtrrpcs.h:353
virtual OFCondition getOccupation(OFString &value, const signed long pos=0) const
get Occupation (0010,2180)
virtual OFCondition check() const
Check whether this reference is valid, i.e.
int fclose()
dissociates the named stream from its underlying file or set of functions.
Definition: offile.h:483
virtual size_t removeNode()
remove current node from tree.
DcmCodeString TreatmentTerminationStatus
TreatmentTerminationStatus (3008,002a) vr=CS, vm=1, type=1.
Definition: drttsibs.h:1072
void clear()
clear all internal member variables
virtual OFCondition readPatientData(DcmItem &dataset)
read PatientData from dataset
DcmWriteCache & operator=(const DcmWriteCache &arg)
private undefined copy assignment operator
OFCondition setSourceIsotopeHalfLife(const OFString &value, const OFBool check=OFTrue)
set SourceIsotopeHalfLife (300a,0228)
OFBool isEmpty()
check if sequence is empty
OFCondition getScheduledProcedureStepID(OFString &value, const signed long pos=0) const
get ScheduledProcedureStepID (0040,0009)
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtpbcs.h:357
const Item & getItem(const size_t num) const
get particular item in the sequence
DRTStrainStockSequence & getStrainStockSequence()
get StrainStockSequence (0010,0216)
Definition: drtstrct.h:1782
int isRepeating() const
returns true if entry is repeating (group or element)
Definition: dcdicent.h:254
DRTStrainCodeSequence & operator=(const DRTStrainCodeSequence ©)
assigment operator
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
OFCondition setBeamCurrentModulationID(const OFString &value, const OFBool check=OFTrue)
set BeamCurrentModulationID (300a,034c)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrcps.h:322
Item & getCurrentItem()
get current item in the sequence
DRTIonBeamLimitingDeviceSequence & getIonBeamLimitingDeviceSequence()
get IonBeamLimitingDeviceSequence (300a,03a4)
Definition: drtibs.h:528
OFBool isEmpty()
check if item is empty
OFCondition setPatientPosition(const OFString &value, const OFBool check=OFTrue)
set PatientPosition (0018,5100)
unsigned long currentNumCols
current number of columns
Definition: dvpssp.h:1079
OFOrderedSet< T > SymmetricDifference(const OFOrderedSet< T > &other) const
Determines the symmetric difference of this and other, i.e.
Definition: ofoset.h:482
OFCondition DisconnectFromDataSource()
Disconnects from the data source.
Definition: pointer.h:101
DRTDVHSequence(const DRTDVHSequence ©)
copy constructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setTimeOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set TimeOfLastCalibration (0018,1201)
virtual OFCondition getAdmittingDiagnosesDescription(OFString &value, const signed long pos=0) const
get AdmittingDiagnosesDescription (0008,1080)
DcmCodeString TissueHeterogeneityCorrection
TissueHeterogeneityCorrection (3004,0014) vr=CS, vm=1-3, type=3.
Definition: drtdose.h:4586
static const OFString m_ModuleName
Name of this module ("SegmentationSeriesModule")
Definition: modsegmentationseries.h:137
RWVMItem(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL)
Constructor.
OFBool operator==(const DcmRepresentationEntry &x) const
comparison operator
void SetEnableRejectionOfIncompleteWlFiles(OFBool value)
Set value in member variable.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition setGraphicLayerRecommendedDisplayValueGray(size_t idx, Uint16 gray)
set graphic layer recommended grayscale display value for the given graphic layer.
E_DecompressionMode DecompressionMode
decompression mode, i.e. whether a dataset is decompressed for transmission
Definition: dstorscu.h:518
char commentChar_
character starting comment lines
Definition: ofconfig.h:537
static const size_t HF_copyStyleSheetContent
external: copy Cascading Style Sheet (CSS) content to HTML file
Definition: dsrtypes.h:320
a class representing the DICOM value representation 'Other Long' (OL)
Definition: dcvrol.h:39
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition getVirtualSourceAxisDistances(Float32 &value, const unsigned long pos=0) const
get VirtualSourceAxisDistances (300a,030a)
DcmSignedShort overlayOrigin
VR=SS, VM=2, Type=1.
Definition: dvpsov.h:153
DcmUniqueIdentifier seriesInstanceUID
Module=General_Series, VR=UI, VM=1, Type 1.
Definition: dcmpstat.h:820
DCMTK_DCMNET_EXPORT OFGlobal< OFBool > dcmDisableGethostbyaddr
Global flag to enable/disable reverse DNS lookup when accepting associations.
#define OFalignof
Determine the alignment of a type T.
Definition: ofalign.h:83
OFBool isEmpty()
check if item is empty
OFListIterator(Item *) CurrentItem
currently selected item
DcmDateTime AcquisitionDateTime
AcquisitionDateTime (0008,002a) vr=DT, vm=1, type=3.
Definition: drtdose.h:4384
virtual OFCondition getTemporalPositionIndex(Uint32 &value, const signed long pos=0)
Get Temporal Position Index.
virtual void putback(offile_off_t num)
resets the stream to the position by the given number of bytes.
OFCondition checkConsistency(const char *key, const DcmPresentationContextMap &pclist, const char *pckey) const
checks if each abstract syntax in the extended negotiation list identified by key is also contained i...
int run(int argc, char *argv[], const char *module)
Handle the given arguments and run the requested test case.
Definition: oftest.h:220
void printMissingAttributeError(const DSRXMLCursor &cursor, const char *name) const
print error message for missing attribute
OFCondition getTableTopLongitudinalPosition(Float64 &value, const unsigned long pos=0) const
get TableTopLongitudinalPosition (300a,0129)
size_t theCapacity
the capacity of str
Definition: ofstring.h:842
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrwvms.h:452
DRTOtherPatientIDsSequence(const DRTOtherPatientIDsSequence ©)
copy constructor
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmCodeString ColorSpace
ColorSpace (0028,2002) vr=CS, vm=1, type=3.
Definition: drtdose.h:4470
DcmTempFileHandler(const OFFilename &filename)
private constructor.
bool acceptOnMatch
Do we return ACCEPT when a match occurs.
Definition: filter.h:244
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
virtual DcmRepresentationParameter * clone() const
this methods creates a copy of type DcmRepresentationParameter * it must be overweritten in every sub...
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getMetersetExposure(Float64 &value, const unsigned long pos=0) const
get MetersetExposure (3002,0032)
DcmSigned64bitVeryLong(const DcmSigned64bitVeryLong &old)
copy constructor
DRTReferencedSeriesSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual ~ContentItemMacro()
Destructor.
OFCondition getReasonForTheRequestedProcedure(OFString &value, const signed long pos=0) const
get ReasonForTheRequestedProcedure (0040,1002)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition createFromImage(DcmItem &dset, DVPSReferencedSeries_PList &allReferences, const char *sopclassUID, const char *instanceUID, DVPSVOIActivation voiActivation)
creates a default softcopy VOI LUT sequence for a presentation state from a DICOM image.
OFCondition getSamplesPerPixel(Uint16 &value, const signed long pos=0)
Get Samples per Pixel.
Definition: modimagepixelvariant.h:132
DCMTK_OFSTD_EXPORT const OFConditionConst EC_NoEncodingSelected
condition constant: error, no character encoding selected
DcmLongString RangeShifterDescription
RangeShifterDescription (300a,0322) vr=LO, vm=1, type=3.
Definition: drtrshs.h:181
DRTBeamLimitingDevicePositionSequence BeamLimitingDevicePositionSequence
BeamLimitingDevicePositionSequence (300a,011a) vr=SQ, vm=1, type=1C.
Definition: drtcps.h:653
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
virtual ~CodeSequenceMacro()
Virtual Destructor.
@ _7D12_89Zr
(126751,DCM,"7D12 ^89^Zr")
Definition: cid4021.h:48
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
const char * getExplanation() const
get modality LUT explanation
Definition: dimomod.h:192
DCMTK_OFSTD_EXPORT const OFConditionConst EC_NotYetImplemented
condition constant: error, function not yet implemented
DcmFindSCU(const DcmFindSCU &other)
Private undefined copy constructor.
Class implementing a document tree node filter that checks for a given observation unique identifier.
Definition: dsrdnflt.h:433
Item EmptyItem
empty default item
Definition: drtrrpcs.h:540
DcmUniqueIdentifier sOPInstanceUID
Module=Presentation_LUT_List, VR=UI, VM=1, Type 1.
Definition: dvpspl.h:244
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getDateOfLastCalibration(OFString &value, const signed long pos=0) const
get DateOfLastCalibration (0018,1200)
DRTAdmittingDiagnosesCodeSequence AdmittingDiagnosesCodeSequence
AdmittingDiagnosesCodeSequence (0008,1084) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3104
virtual OFCondition setICCProfile(const Uint8 *values, const size_t length)
Set ICC Profile.
@ ThymidineFLT_F18
(129502002,SCT,"Thymidine (FLT) F^18^")
Definition: cid4021.h:284
OFBool isEmpty()
check if sequence is empty
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
virtual OFCondition getTableTopVerticalPosition(Float64 &value, const unsigned long pos=0) const
get TableTopVerticalPosition (300a,0128)
void push_back(const T &x)
inserts after the last element of the list.
Definition: oflist.h:411
virtual OFCondition setContentTime(const OFString &value, const OFBool checkValue=OFTrue)
Set Content Time.
DiInputPixel * InputData
points to intermediate pixel representation (template object)
Definition: diimage.h:665
virtual OFCondition getPlanarConfiguration(Uint16 &value, const unsigned long pos=0) const
get PlanarConfiguration (0028,0006)
DcmUnsignedShort ImageFrameOrigin
ImageFrameOrigin (60xx,0051) vr=US, vm=1, type=3.
Definition: drtdose.h:4521
OFCondition read(DcmItem &dset)
reads a graphic object from a DICOM dataset.
DRTReferencedRTPlanSequenceInRTImageModule & operator=(const DRTReferencedRTPlanSequenceInRTImageModule ©)
assigment operator
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
const Item & getCurrentItem() const
get current item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition getLongitudinalTemporalOffsetFromEvent(Float64 &value, const unsigned long pos=0) const
get LongitudinalTemporalOffsetFromEvent (0012,0052)
OFCondition disablePState()
stores the current presentation state in a temporary place and creates a new presentation state that ...
FGUSImageDescription()
Constructor, creates empty functional group.
Class representing the Frame Anatomy Functional Group Macro.
Definition: fgframeanatomy.h:33
XMLCSTR getAttributeValue(int i=0) const
return ith attribute value
void clear()
removes all elements from the list.
Definition: oflist.h:458
Item class.
Definition: drtgms.h:37
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
This function writes this element's value to the outstream which was passed.
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoMeasurementReport
error: there is no measurement report to add content items to
size_t getNumberOfItems() const
get number of items in the sequence
const DRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModule & getRangeShifterSettingsSequence() const
get RangeShifterSettingsSequence (300a,0360)
Definition: drticpds.h:541
OFCondition getTableTopLateralPosition(OFString &value, const signed long pos=0) const
get TableTopLateralPosition (300a,012a)
void clear()
clear all internal member variables
OFListIterator(Item *) CurrentItem
currently selected item
DRTCodingSchemeIdentificationSequence CodingSchemeIdentificationSequence
CodingSchemeIdentificationSequence (0008,0110) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2985
OFCondition setMaximumPrintBitmapWidthHeight(unsigned long width, unsigned long height)
sets the maximum print bitmap width and height.
virtual ~DJEncoderP14SV1()
destructor
virtual OFCondition setPersonName(const OFString &value, const OFBool checkValue=OFTrue)
Set PersonName.
DcmIntegerString CurrentFractionNumber
CurrentFractionNumber (3008,0022) vr=IS, vm=1, type=2.
Definition: drttsibs.h:980
DRTHL7StructuredDocumentReferenceSequence(const DRTHL7StructuredDocumentReferenceSequence ©)
copy constructor
Uint32 JPEGProcess8
8-bit lossy JPEG process ID for this transfer syntax, 0 if not applicable
Definition: dcxfer.h:331
Item(const Item ©)
copy constructor
virtual OFCondition getImagePlanePixelSpacing(OFVector< Float64 > &value) const
get ImagePlanePixelSpacing (3002,0011)
@ YBR_PARTIALYComponent
(110840,DCM,"YBR PARTIAL Y Component"), included from CID 7180
Definition: cid7469.h:216
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtadcs.h:347
DcmIntegerString RadiationMassNumber
RadiationMassNumber (300a,0302) vr=IS, vm=1, type=1C.
Definition: drttsibs.h:1028
const DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence() const
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtdose.h:2458
static OFCondition createPlanarConfiguration1Word(Uint16 *imageFrame, Uint16 columns, Uint16 rows)
converts an RGB or YBR frame with 16 bits/sample from color-by-pixel to color-by-plane planar configu...
Item & getItem(const size_t num)
get particular item in the sequence
DcmDecimalString ChannelEffectiveLength
ChannelEffectiveLength (300a,0271) vr=DS, vm=1, type=3.
Definition: drtchs.h:631
DRTPredecessorStructureSetSequence PredecessorStructureSetSequence
PredecessorStructureSetSequence (3006,0018) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4623
OFCondition renderHTML(STD_NAMESPACE ostream &stream, const size_t flags, const OFBool fullCode=OFTrue, const OFBool valueFirst=OFFalse) const
render code in HTML/XHTML format.
DRTReferencedBeamSequenceInRTFractionSchemeModule(const DRTReferencedBeamSequenceInRTFractionSchemeModule ©)
copy constructor
void clear()
clear all internal member variables
OFBool isEmpty()
check if sequence is empty
Item & getCurrentItem()
get current item in the sequence
DcmUnsignedShort LUTDescriptor
LUTDescriptor (0028,3002) vr=US/SS, vm=3, type=1.
Definition: drtvls.h:146
const Item & getCurrentItem() const
get current item in the sequence
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
Item & operator[](const size_t num)
get particular item in the sequence
FILE * file()
return FILE pointer managed by this object.
Definition: offile.h:932
void clear()
clear all internal member variables
Interface class for BeamLimitingDeviceSequence (300a,00b6) in RTIonBeamsModule.
Definition: drtblds6.h:28
virtual OFCondition setReviewDate(const OFString &value, const OFBool check=OFTrue)
set ReviewDate (300e,0004)
void createConfigEntries(const char *configFileName, int remoteDBTitlesCount, const char **remoteDBTitles)
create configuration entries for remote databases
OFCondition setCodeContentItemFromValue(const DSRCodedEntryValue &conceptName, const DSRCodedEntryValue &codeValue, const OFString &annotationText, const OFBool check)
search for a particular CODE content item (given by the concept name) and set its coded entry value.
DRTSeriesDescriptionCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getCompensatorPosition(OFString &value, const signed long pos=0) const
get CompensatorPosition (300a,00ea)
int setColumnRowRatio(const double ratio)
set pixel's column/rows ratio
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
A flexible layout configurable with pattern string.
Definition: layout.h:573
Item EmptyItem
empty default item
Definition: drtsdcs.h:540
virtual OFCondition getPatientBirthDate(OFString &value, const signed long pos=0) const
get PatientBirthDate (0010,0030)
DJCompressIJG12Bit(const DJCodecParameter &cp, EJ_Mode mode, int prediction, int ptrans)
constructor for lossless JPEG
Template class to copy color pixel data.
Definition: dicocpt.h:41
DRTOriginalAttributesSequence & getOriginalAttributesSequence()
get OriginalAttributesSequence (0400,0561)
Definition: drtstrct.h:1422
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
Uint16 Height
maximum height of all planes
Definition: diovlay.h:460
OFCondition getTargetMaximumDose(Float64 &value, const unsigned long pos=0) const
get TargetMaximumDose (300a,0027)
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence()
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drtionpl.h:1331
DRTReferencedPatientSequence ReferencedPatientSequence
ReferencedPatientSequence (0008,1120) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4803
virtual ~DVPSGraphicAnnotation()
destructor
OFBool m_insistOnJFIF
If true, conversion will only work if JFIF header can be found.
Definition: i2djpgs.h:339
Item & getItem(const size_t num)
get particular item in the sequence
DcmFloatingPointSingle CorrectionValue
CorrectionValue (3008,006a) vr=FL, vm=1, type=1.
Definition: drtcpas.h:165
DRTIonPlanIOD()
default constructor
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
OFCondition setSurfaceEntryPoint(const OFString &value, const OFBool check=OFTrue)
set SurfaceEntryPoint (300a,012e)
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
DcmUniqueIdentifier sOPInstanceUID
Module=SOP_Common, VR=UI, VM=1, Type 1.
Definition: dvpssp.h:1065
@ MilliliterPerGram
(ml/g,UCUM,"Milliliter/gram"), included from CID 84
Definition: cid7181.h:112
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrsers.h:128
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const DRTChannelSequence & getChannelSequence() const
get ChannelSequence (300a,0280)
Definition: drtass.h:197
OFBool transferSyntaxCheck() const
get current status of the "transfer syntax check" mode.
Definition: dcddirif.h:429
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFCondition setLocalNamespaceEntityID(const OFString &value, const OFBool check=OFTrue)
set LocalNamespaceEntityID (0040,0031)
static OFCondition configureImage(DicomImage *di, EW_WindowType windowType, OFCmdUnsignedInt windowParameter, OFCmdFloat &windowCenter, OFCmdFloat &windowWidth, EF_VoiLutFunction voiFunction, ES_PresentationLut presShape, int &depth)
configure the display pipeline for a given DICOM image.
OFCondition write(DcmItem &item)
write elements to sequence item
DVPSDisplayTransform getDisplayTransform()
gets the currently selected display transform.
Definition: dvpstat.h:1104
virtual OFCondition encode(const Uint16 *pixelData, const Uint32 length, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
compresses the given uncompressed DICOM image and stores the result in the given pixSeq element.
OFCondition getReferencedFractionNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFractionNumber (3008,0223)
DRTPrimaryFluenceModeSequence & getPrimaryFluenceModeSequence()
get PrimaryFluenceModeSequence (3002,0050)
Definition: drtbs.h:462
DcmShortString TimezoneOffsetFromUTC
TimezoneOffsetFromUTC (0008,0201) vr=SH, vm=1, type=3.
Definition: drttreat.h:2991
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrtrs2.h:142
OFCondition setIsocenterToCompensatorTrayDistance(const Float32 value, const unsigned long pos=0)
set IsocenterToCompensatorTrayDistance (300a,02e4)
virtual OFCondition getTimezoneOffsetFromUTC(OFString &value, const signed long pos=0) const
get TimezoneOffsetFromUTC (0008,0201)
virtual OFCondition getInstanceNumber(OFString &value, const signed long pos=0) const
get InstanceNumber (0020,0013)
virtual CodeSequenceMacro & getLanguageCode()
Get Language Code.
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getIsocenterToCompensatorTrayDistance(Float32 &value, const unsigned long pos=0) const
get IsocenterToCompensatorTrayDistance (300a,02e4)
DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule & getReferencedTreatmentRecordSequence()
get ReferencedTreatmentRecordSequence (3008,0030)
Definition: drtiontr.h:1719
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
void clear()
clear all internal member variables
virtual OFBool matches(const DcmElement &candidate, const OFBool enableWildCardMatching=OFTrue) const
perform attribute matching.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
int writePluginFormat(const DiPluginFormat *plugin, const char *filename, const unsigned long frame=0)
write pixel data to pluggable image format file (specified by filename).
virtual LogLevel getChainedLogLevel() const
Return the assigned LogLevel value without walking the logger hierarchy.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
DRTDigitalSignaturesSequence & getDigitalSignaturesSequence()
get DigitalSignaturesSequence (fffa,fffa)
Definition: drtdose.h:2068
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition read(DcmItem &item)
read elements from sequence item
DcmDecimalString SpatialResolution
SpatialResolution (0018,1050) vr=DS, vm=1, type=3.
Definition: drtiontr.h:3063
virtual OFBool isAllowableAlgorithmType(E_KeyType keyType) const =0
checks whether the given public/private key algorithm can be used with this security profile.
DRTRTROIIdentificationCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
const DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence() const
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtionpl.h:1613
virtual OFCondition getNameOfPhysiciansReadingStudy(OFString &value, const signed long pos=0) const
get NameOfPhysiciansReadingStudy (0008,1060)
void setMaxReceivePDULength(const Uint32 maxRecPDU)
Set maximum PDU size the SCP is able to receive.
virtual ~DSRPatientRadiationDoseSRConstraintChecker()
destructor
@ CVT_auto
determine code value type automatically
Definition: dsrtypes.h:835
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item class.
Definition: drteas.h:36
const DRTReferencedPatientSequence & getReferencedPatientSequence() const
get ReferencedPatientSequence (0008,1120)
Definition: drtstrct.h:1644
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtpscs.h:211
DVPSSoftcopyVOI * getCurrentSoftcopyVOI()
attempts to find the Softcopy VOI LUT item for the current image and frame.
void outputMessage(void *arg) const
callback function used to report IJG warning messages and the like.
virtual DSRSOPInstanceReferenceList & getCurrentRequestedProcedureEvidence()
get list of referenced SOP instances (Current Requested Procedure Evidence).
EnumType
types of acquisition modality
Definition: cid29.h:42
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
helper class for the Median Cut algorithm.
Definition: diqtpbox.h:69
virtual void run()=0
Execute this test case.
DcmIntegerString NumberOfRangeShifters
NumberOfRangeShifters (300a,0312) vr=IS, vm=1, type=1.
Definition: drtibs.h:1017
DcmLongString AuthorizationEquipmentCertificationNumber
AuthorizationEquipmentCertificationNumber (0100,0426) vr=LO, vm=1, type=3.
Definition: drtiontr.h:3188
virtual ~DVPSAnnotationContent_PList()
destructor
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read attributes from given item into this class.
int isPlanar
flag indicating whether pixel data is stored color-by-pixel or color-by-plane
Definition: dicoopxt.h:408
OFFilename(const char *filename, const OFBool convert=OFFalse)
constructor expecting a conventional character string
OFCmdUnsignedInt opt_sleepBeforeFindReq
indicates how many seconds the application is supposed to sleep before handling a find request
Definition: wlcefs.h:62
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DRTStrainSourceRegistryCodeSequence & getStrainSourceRegistryCodeSequence()
get StrainSourceRegistryCodeSequence (0010,0215)
Definition: drtsss.h:114
virtual OFCondition setPatientAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientAlternativeCalendar (0010,0035)
OFListIterator(Item *) CurrentItem
currently selected item
void clear()
clear all internal member variables
OFBool isEmpty()
check if item is empty
virtual CodeSequenceMacro & getUnits()
Get reference to measurement units code.
const DSRCompositeReferenceValue & getPresentationState() const
get reference to presentation state object
Definition: dsrimgvl.h:319
@ WoodUPerM2
([wood'U]/m2,UCUM,"Wood U/m2"), included from CID 3503
Definition: cid7181.h:56
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getSnoutPosition(Float32 &value, const unsigned long pos=0) const
get SnoutPosition (300a,030d)
OFCondition setMaxDensity(const char *value)
sets the (optional) max density.
DSRPlannedImagingAgentAdministrationSRConstraintChecker()
default constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setColumns(const Uint16 value, const unsigned long pos=0)
set Columns (0028,0011)
DcmOutputFileStream & operator=(const DcmOutputFileStream &)
private unimplemented copy assignment operator
Class for content item DATE.
Definition: dsrdattn.h:42
virtual ~DRTReferencedVerificationImageSequence()
destructor
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtrscs.h:355
virtual void clear()
clear all member variables.
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
Definition: jlossy12.h:62
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtsins.h:328
void clear()
clear all internal member variables
static OFCondition addElementToDataset(OFCondition &result, DcmItem &dataset, DcmElement *element, const OFString &vm, const OFString &type, const char *moduleName=NULL)
add given element to the dataset.
DRTReferencedPerformedProcedureStepSequence ReferencedPerformedProcedureStepSequence
ReferencedPerformedProcedureStepSequence (0008,1111) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3182
Uint16 FirstEntry
first input value mapped (FIV)
Definition: dibaslut.h:280
Hierarchy()
Create a new Logger hierarchy.
DcmCodeString SpecificCharacterSet
SpecificCharacterSet (0008,0005) vr=CS, vm=1-n, type=1C.
Definition: drtiontr.h:3155
OFCondition sendNRequest(T_ASC_PresentationContextID presId, T_DIMSE_Message &request, DcmDataset *rqDataSet, T_DIMSE_Message &response, DcmDataset *&statusDetail, DcmDataset *&rspDataset)
sends a DIMSE-N request (any type except N-EVENT-REPORT) and waits for a response.
DiLookupTable(Uint16 *buffer, const Uint32 count, const Uint16 bits)
constructor
OFIterator< T > operator--(int)
moves the iterator to the previous element of the list.
Definition: oflist.h:289
Item & getCurrentItem()
get current item in the sequence
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtads.h:329
virtual OFCondition setPatientSize(const OFString &value, const OFBool check=OFTrue)
set PatientSize (0010,1020)
OFCondition saveDICOMImage(const char *filename, const void *pixelData, unsigned long width, unsigned long height, double aspectRatio=1.0, OFBool explicitVR=OFTrue, const char *instanceUID=NULL)
saves a monochrome bitmap as a DICOM Secondary Capture image.
OFVector< log4cplus::tstring > getAllNames() const
Returns the names of all registered objects.
Item class.
Definition: drtrsis.h:36
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrecs.h:308
void rotate(const T *pixel, const int degree)
rotate pixel data
Definition: dimorot.h:92
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition getMostRecentTreatmentDate(OFString &value, const signed long pos=0) const
get MostRecentTreatmentDate (3008,0056)
virtual OFCondition getPregnancyStatus(Uint16 &value, const unsigned long pos=0) const
get PregnancyStatus (0010,21c0)
DRTMappingResourceIdentificationSequence MappingResourceIdentificationSequence
MappingResourceIdentificationSequence (0008,0124) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5420
static OFString getLibraryVersionString()
get version information of the CharLS library.
DiMonoOutputPixelTemplate(void *buffer, const DiMonoPixel *pixel, DiOverlay *overlays[2], const DiLookupTable *vlut, const DiLookupTable *plut, DiDisplayFunction *disp, const EF_VoiLutFunction vfunc, const double center, const double width, const Uint32 low, const Uint32 high, const Uint16 columns, const Uint16 rows, const unsigned long frame, const unsigned long, const int pastel=0)
constructor
Definition: dimoopxt.h:80
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
static size_t lookupCiphersuiteByOpenSSLName(const char *opensslCipherSuiteName)
looks up the index of the given ciphersuite by OpenSSL name
OFCondition pruneInvalidRecords()
Prune invalid records from the database.
Definition: syncprim.h:105
DcmIntegerString ReferencedPatientSetupNumber
ReferencedPatientSetupNumber (300c,006a) vr=IS, vm=1, type=3.
Definition: drttsibs.h:1054
DRTPatientSizeCodeSequence PatientSizeCodeSequence
PatientSizeCodeSequence (0010,1021) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3118
virtual OFCondition getLossyImageCompressionRatio(OFString &value, const signed long pos=0) const
Get Lossy Image Compression Ratio.
int fgetpos(offile_fpos_t *pos)
alternate interface equivalent to ftell, storing the current value of the file offset into the object...
Definition: offile.h:866
void CheckSequenceElementInSearchMask(DcmDataset *searchMask, int &invalidMatchingKeyAttributeCount, DcmElement *element, DcmSequenceOfItems *supSequenceElement=NULL)
This function checks if a sequence element in the search mask has a correct format.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition setCalculatedDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set CalculatedDoseReferenceNumber (3008,0072)
virtual void resetRules()
Resets attribute rules to their default values.
DRTQuantityDefinitionSequence QuantityDefinitionSequence
QuantityDefinitionSequence (0040,9220) vr=SQ, vm=1, type=3.
Definition: drtrwvms.h:266
Item(const Item ©)
copy constructor
virtual OFCondition getDerivationDescription(OFString &value, const signed long pos=0) const
get DerivationDescription (0008,2111)
DcmUnsignedShort presentationLUTDescriptor
Module=Softcopy_Presentation_LUT, VR=xs, VM=3, Type 1c.
Definition: dvpspl.h:237
int idxRecPos
position of last read index record (for optimization purposes)
Definition: dviface.h:1672
< unspecified > OFnullopt_t
OFnullopt_t is the type of the global constant OFnullopt referring to a disengaged OFoptional object ...
Definition: ofoption.h:68
DcmTLSSecurityProfile currentProfile
currently selected DICOM TLS security profile
Definition: tlsciphr.h:417
static FGDerivationImage * createDerivationImageFG(const OFVector< ImageSOPInstanceReferenceMacro > &derivationImages, const OFString &derivationDescription)
Helps to create a valid Derivation Image Functional Group Macro The memory of the resulting functiona...
virtual OFCondition getStrainDescription(OFString &value, const signed long pos=0) const
get StrainDescription (0010,0212)
Definition: dcmqridx.h:218
Item & getCurrentItem()
get current item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
DcmUniqueIdentifier StudyInstanceUID
StudyInstanceUID (0020,000d) vr=UI, vm=1, type=1.
Definition: drtiontr.h:2890
DcmUniqueIdentifier seriesInstanceUID
Module=Image_Box_List, VR=UI, VM=1, Type 1.
Definition: dvpsib.h:367
~DcmProfileMap()
destructor
@ Fluoroetanidazole_F18
(C1541539,UMLS,"Fluoroetanidazole F^18^")
Definition: cid4021.h:156
Item EmptyItem
empty default item
Definition: drtlsds.h:370
OFBool isConnected()
Returns OFTrue if SCP currently runs an association.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmSignedShort OverlayOrigin
OverlayOrigin (60xx,0050) vr=SS, vm=2, type=1.
Definition: drtdose.h:4496
DVPSGraphicAnnotation()
default constructor
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
virtual OFCondition setRTPlanTime(const OFString &value, const OFBool check=OFTrue)
set RTPlanTime (300a,0007)
Item EmptyItem
empty default item
Definition: drtrbos7.h:322
virtual ~DRTOverrideSequence()
destructor
virtual OFCondition getStudyDescription(OFString &value, const signed long pos=0) const
get StudyDescription (0008,1030)
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtbl5.h:325
const OFString & getFilenameExtension() const
get the filename extension that is appended to the generated filenames
void setByteOrder(E_ByteOrder val)
set the current byte order of the value field
Definition: dcelem.h:987
virtual size_t addContentItem(const E_RelationshipType relationshipType, const E_ValueType valueType, const E_AddMode addMode=AM_afterCurrent)
add specified content item to the current one.
virtual ~DcmSegmentation()
Destructor, frees memory.
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
virtual void clear()
clear all internal member variables
OFBool isEmpty()
check if item is empty
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
static OFCondition getStringValueFromDataset(DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue, const signed long pos=0)
get string value from dataset
@ TimeOfPeakConcentration
(126370,DCM,"Time of Peak Concentration"), included from CID 4109
Definition: cid7469.h:298
DcmFloatingPointDouble DoubleFloatRealWorldValueLastValueMapped
DoubleFloatRealWorldValueLastValueMapped (0040,9213) vr=FD, vm=1, type=1C.
Definition: drtrwvms.h:258
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setGreenPaletteColorLookupTableDescriptor(const Uint16 value, const unsigned long pos=0)
set GreenPaletteColorLookupTableDescriptor (0028,1102)
E_SegmentAlgoType
Segment Algorithm Type.
Definition: segtypes.h:102
virtual OFCondition writeSharedFG(DcmItem &dataset)
Write Shared Functional Group Sequence to given item.
static const size_t PF_dontCountIncludedTemplateNodes
do not count internal "included template" nodes (only with PF_hideIncludedTemplateNodes)
Definition: dsrtypes.h:456
OFCondition setTrackingIdentifier(const OFString &trackingID, const OFBool check=OFTrue)
set the value of the 'Tracking Identifier' content item (TID 1411 - Row 2).
OFCondition setShieldingDevicePosition(const OFString &value, const OFBool check=OFTrue)
set ShieldingDevicePosition (300a,01a8)
OFCondition setTableTopPitchAngle(const Float32 value, const unsigned long pos=0)
set TableTopPitchAngle (300a,0140)
virtual OFCondition setRTPlanGeometry(const OFString &value, const OFBool check=OFTrue)
set RTPlanGeometry (300a,000c)
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
makeOFConditionConst(WLM_EC_InsufficientPortPrivileges, OFM_dcmwlm, 1, OF_error, "Insufficient privileges to listen to port.")
const objects for error objects
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbvcps.h:373
~DcmRepresentationEntry()
destructor
log4cplus::spi::FilterPtr filter
The first filter in the filter chain.
Definition: appender.h:237
DRTModalityLUTSequence & operator=(const DRTModalityLUTSequence ©)
assigment operator
virtual OFCondition getFrameType(OFString &value, const signed long pos=0)
Get Frame Type.
OFListIterator(Item *) CurrentItem
currently selected item
DcmCodeString ContentQualification
ContentQualification (0018,9004) vr=CS, vm=1, type=3.
Definition: drtplan.h:3405
This class provides a collection of date functions.
Definition: ofdate.h:45
OFList< WlmProcessSlotType * > processTable
table of processes for non-single process mode
Definition: wlmactmg.h:83
DcmItem * selectedMacParametersItem
pointer to currently selected mac parameters item
Definition: dcsignat.h:257
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
XMLCSTR updateText(XMLCSTR lpszNewValue, int i=0)
if the text to update is missing, a new one will be added
@ Patella
(64234005,SCT,"Patella")
Definition: cid4031.h:184
OFCondition getFractionPattern(OFString &value, const signed long pos=0) const
get FractionPattern (300a,007b)
DcmApplicationEntity retrieveAETitle
Module=Image_Box_List, VR=AE, VM=1-n, Type 1.
Definition: dvpsib.h:359
virtual OFCondition setRelatedGeneralSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set RelatedGeneralSOPClassUID (0008,001a)
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition getTableTopLongitudinalPosition(OFString &value, const signed long pos=0) const
get TableTopLongitudinalPosition (300a,0129)
static size_t createHTMLAnnexEntry(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, const OFString &referenceText, size_t &annexNumber, const size_t flags=0)
create an HTML annex entry with hyperlinks.
DcmLongString SeriesDescription
SeriesDescription (0008,103e) vr=LO, vm=1, type=3.
Definition: drtiontr.h:3003
Template class to handle YCbCr Partial 4:2:2 pixel data.
Definition: diyp2pxt.h:41
virtual ~DSREnhancedSRConstraintChecker()
destructor
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtpsss.h:130
OFCondition getBlockNumberOfPoints(OFString &value, const signed long pos=0) const
get BlockNumberOfPoints (300a,0104)
OFCondition getTableTopEccentricAngle(Float64 &value, const unsigned long pos=0) const
get TableTopEccentricAngle (300a,0125)
OFCondition setControlPoint3DPosition(const OFString &value, const OFBool check=OFTrue)
set ControlPoint3DPosition (300a,02d4)
virtual OFCondition setAuthorizationEquipmentCertificationNumber(const OFString &value, const OFBool check=OFTrue)
set AuthorizationEquipmentCertificationNumber (0100,0426)
OFBool isEncapsulated() const
return true if transfer syntax is encapsulated, false otherwise
Definition: dcxfer.h:233
virtual OFBool IsSupersetOf(const OFOrderedSet< T > &other) const
Determines if this is an actual superset of other, i.e.
Definition: ofoset.h:342
Item EmptyItem
empty default item
Definition: drtians.h:331
OFCondition setDate(const OFString &value, const OFBool check=OFTrue)
set Date (0040,a121)
static const size_t CF_transliterate
try to approximate characters that cannot be represented through similar looking characters.
Definition: dctypes.h:241
static void errorstr(OFString &description, int code)
converts any of the error codes returned by the methods of this class into a textual description,...
const DRTContributingEquipmentSequence & getContributingEquipmentSequence() const
get ContributingEquipmentSequence (0018,a001)
Definition: drtstrct.h:1236
DcmRepresentationParameter * repParam
representation parameter for this pixel sequence
Definition: dcpixel.h:118
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
@ OphthalmicTomography
(OPT,DCM,"Ophthalmic Tomography")
Definition: cid29.h:96
DcmDecimalString CompensatorPosition
CompensatorPosition (300a,00ea) vr=DS, vm=2, type=1.
Definition: drtircs.h:420
OFBool operator>(const DcmTagKey &key) const
'greater than' operator.
Definition: dctagkey.h:402
This class encapsulates data structures and operations for connecting to an arbitrary data source in ...
Definition: wlds.h:52
DcmCodeString PatientPosition
PatientPosition (0018,5100) vr=CS, vm=1, type=3.
Definition: drtgpis.h:179
DRTDICOMRetrievalSequence(const DRTDICOMRetrievalSequence ©)
copy constructor
virtual ~DcmShortString()
destructor
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmDecimalString ChannelTotalTime
ChannelTotalTime (300a,0286) vr=DS, vm=1, type=1.
Definition: drtchs.h:641
virtual OFCondition setMeasuredLateralDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredLateralDimension (0010,1024)
Uint32 fileOffset
offset in file for this item
Definition: dcdicdir.h:44
DRTCodingSchemeResourcesSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual ~DSRGraphicDataList()
destructor
DSRImageFrameList()
default constructor
DcmDecimalString WedgeOrientation
WedgeOrientation (300a,00d8) vr=DS, vm=1, type=2.
Definition: drtiws.h:231
DRTIonBeamLimitingDeviceSequence & operator=(const DRTIonBeamLimitingDeviceSequence ©)
assigment operator
@ TRT_invalid
internal type used to indicate an error
Definition: dsrtypes.h:707
Item & getItem(const size_t num)
get particular item in the sequence
DRTIssuerOfServiceEpisodeIDSequence IssuerOfServiceEpisodeIDSequence
IssuerOfServiceEpisodeIDSequence (0038,0064) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2904
virtual DcmSegTypes::E_SegmentAlgoType getSegmentAlgorithmType()
Get Segment Algorithm Type.
OFCondition getMACIDNumber(Uint16 &value, const unsigned long pos=0) const
get MACIDNumber (0400,0005)
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmLongString AdmissionID
AdmissionID (0038,0010) vr=LO, vm=1, type=3.
Definition: drtimage.h:4952
OFString uid_
the UID maintained by this object.
Definition: dccfuidh.h:111
Item & getCurrentItem()
get current item in the sequence
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
Item & getCurrentItem()
get current item in the sequence
OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
virtual OFCondition getSeriesDescription(OFString &value, const signed long pos=0) const
get SeriesDescription (0008,103e)
E_AddMode
Add node mode.
Definition: dsrtypes.h:847
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtudis.h:127
DcmIntegerString ReferencedFrameNumber
ReferencedFrameNumber (0008,1160) vr=IS, vm=1-n, type=1C.
Definition: drtcis.h:165
virtual OFCondition getDateOfLastCalibration(OFString &value, const signed long pos=0) const
get DateOfLastCalibration (0018,1200)
virtual OFCondition getSint64Array(Sint64 *&sintVals)
get reference to stored integer data.
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtaadcs.h:343
@ Switzerland
(CH,ISO3166_1,"Switzerland")
Definition: cid5001.h:51
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtxrs.h:127
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getDeliveryWarningDose(OFString &value, const signed long pos=0) const
get DeliveryWarningDose (300a,0022)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
@ MonoclonalAntibody_I124
(424874008,SCT,"Monoclonal antibody I^124^")
Definition: cid4021.h:210
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrbos7.h:318
virtual OFCondition setReferencedFractionGroupNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFractionGroupNumber (300c,0022)
OFCondition write(DcmItem &item)
write elements to sequence item
Class for checking the relationship content constraints of the Planned Imaging Agent Administration S...
Definition: dsrplicc.h:43
virtual OFCondition setPhysiciansOfRecord(const OFString &value, const OFBool check=OFTrue)
set PhysiciansOfRecord (0008,1048)
virtual OFCondition getColorSpace(OFString &value, const signed long pos=0) const
get ColorSpace (0028,2002)
Definition: dulstruc.h:196
@ EXS_HEVCMainProfileLevel5_1
HEVC/H.265 Main Profile / Level 5.1.
Definition: dcxfer.h:119
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_CannotCheck
Cannot check.
OFCondition checkCurrentValue() const
check the currently stored image reference value for validity.
OFCondition setInterMarkerDistance(const OFString &value, const OFBool check=OFTrue)
set InterMarkerDistance (0050,0019)
Base class representing for single C-GET or C-MOVE response.
Definition: scu.h:133
E_ApplicationProfile
list of supported media storage application profiles
Definition: dcddirif.h:115
virtual OFCondition addExtraContentItem(const E_RelationshipType relationshipType, const E_ValueType valueType, const E_AddMode addMode=AM_afterCurrent)
add extra content item to the current one (if the template is extensible).
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
virtual ~IODEnhUSImageModule()
Destructor.
E_PaddingEncoding
handling of dataset trailing padding
Definition: dctypes.h:112
DRTReferencedMeasuredDoseReferenceSequence & getReferencedMeasuredDoseReferenceSequence()
get ReferencedMeasuredDoseReferenceSequence (3008,0080)
Definition: drttsibs.h:682
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtporis.h:200
virtual OFString getName() const
Get name of module ("AcquisitionContextModule")
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
DcmQueryRetrieveGetContext & operator=(const DcmQueryRetrieveGetContext &other)
private undefined assignment operator
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid4020.h:216
virtual OFBool isPatientStudyModulePresent(const OFBool complete=OFFalse)
check whether PatientStudyModule (U) is present.
void TI_userInput()
main entry point for console-based user interface
int Valid
validity status
Definition: diovpln.h:467
static const unsigned int GSDFCount
constant defining the number JND indexes for the maximum luminance/OD range (1023)
Definition: digsdfn.h:214
int removeAllOverlays()
remove all additional overlay planes
Definition: dcmimage.h:1030
virtual OFBool operator==(const OFUnorderedSet< T > &other) const
Determines if two sets are identical.
Definition: ofuoset.h:93
OFBool output_dataset_option
decides whether to with/without metaheader
Definition: mdfconen.h:175
LogLevel threshold
There is no LogLevel threshold filtering by default.
Definition: appender.h:233
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
SSL_CTX * transportLayerContext
OpenSSL context data, needed only once per application.
Definition: tlslayer.h:429
const DRTEncryptedAttributesSequence & getEncryptedAttributesSequence() const
get EncryptedAttributesSequence (0400,0500)
Definition: drtionpl.h:1385
virtual ~IODRule()
Virtual Destructor.
T3 * Data
pointer to the storage area where the output data should be stored
Definition: dimoopxt.h:1296
const char * getPresentationLutExplanation() const
get description of active presentation LUT
Definition: dcmimage.h:956
@ ConstantAngleAcquisition
(113805,DCM,"Constant Angle Acquisition")
Definition: cid10013.h:48
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition parseFromBuffer(unsigned char *readBuffer, unsigned long &bytesRead, unsigned long availData)=0
Parse item from buffer.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Class representing the Mandatory View and Slice Progression Direction Macro.
Definition: iodmacro.h:1300
OFBool tmpfile()
generates a unique temporary filename.
Definition: offile.h:463
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
virtual OFCondition write(DcmItem &item)
Write functional group to item, will write Segment Identification Sequence.
virtual ~FGPlaneOrientationVolume()
Destructor, frees memory.
DSRImageSegmentList SegmentList
list of referenced segment numbers (associated DICOM VR=US, VM=1-n, type 1C)
Definition: dsrimgvl.h:497
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtcss.h:353
jpeg_decompress_struct * cinfo
decompression structure
Definition: djdijg12.h:112
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags=0)
write current SR document tree in XML format
DSRComprehensiveSRConstraintChecker()
default constructor
const Item & getCurrentItem() const
get current item in the sequence
DcmPersonName NameOfPhysiciansReadingStudy
NameOfPhysiciansReadingStudy (0008,1060) vr=PN, vm=1-n, type=3.
Definition: drtimage.h:4903
DcmCodeString SmokingStatus
SmokingStatus (0010,21a0) vr=CS, vm=1, type=3.
Definition: drtdose.h:4237
@ EPI_Unknown
unknown, undefined, invalid
Definition: diutils.h:117
virtual void transferInit(void)
initialize the transfer state of this object.
OFBool operator!=(const DSRGraphicData3DItem &item) const
comparison operator
Definition: dsrsc3gr.h:70
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getStudyID(OFString &value, const signed long pos=0) const
get StudyID (0020,0010)
wint_t ungetwc(wint_t wc)
pushes back a wide character onto stream and returns it.
Definition: offile.h:1018
void clear()
clear all internal member variables
OFCondition setHistogramWindow(const double thresh=0.05)
set automatically calculated histogram window.
Definition: drmimage.h:164
CID10033e_CTReconstructionAlgorithm(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition convertCharacterSet(DcmSpecificCharacterSet &converter)
convert all element values that are contained in this item and that are affected by SpecificCharacter...
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Metafunction to remove both the const and the volatile modifier from a type.
Definition: oftraits.h:467
OFBool readLockSetOnDataSource
indicates if a read lock was set on the data source
Definition: wlds.h:72
DSRTimeTreeNode(const E_RelationshipType relationshipType)
constructor
DcmIntegerString ReferencedFrameNumber
Referenced Frame Number: (IS, 1-n, 1C)
Definition: iodmacro.h:698
OFCondition readTagAndLength(DcmInputStream &inStream, const E_TransferSyntax xfer, DcmTag &tag, Uint32 &length, Uint32 &bytesRead)
This function reads tag and length information from inStream and returns this information to the call...
virtual ~DcmCharString()
destructor
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Interface class for AssigningFacilitySequence (0040,0036)
Definition: drtafs.h:28
DcmUnsignedShort(const DcmUnsignedShort &old)
copy constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setAccessionNumber(const OFString &value, const OFBool check=OFTrue)
set AccessionNumber (0008,0050)
@ GT3_Polyline
DICOM Graphic Type: POLYLINE.
Definition: dsrtypes.h:691
DSRRootTemplate(const E_DocumentType documentType, const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="")
constructor
@ IAUC180BN
(126327,DCM,"IAUC180BN"), included from CID 4109
Definition: cid7469.h:296
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Uint32 getMaxPrintResolutionY()
returns the maximum vertical bitmap resolution for print, from GENERAL/PRINT/MAXPRINTRESOLUTION in th...
unsigned long referenceTime
initialized with construction time of the interface object minus one day.
Definition: dviface.h:1648
void clear()
clear the internal state.
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the stored text value, is valid
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
virtual OFCondition setFrameDelay(const OFString &value, const OFBool check=OFTrue)
set FrameDelay (0018,1066)
static void * create12BitPackedBitmap(const void *buffer, const unsigned long size, const unsigned long count)
create 12 bit packed (monochrome) bitmap for DICOM printers.
Definition: dcmimage.h:1616
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtpscs.h:351
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setServiceEpisodeDescription(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeDescription (0038,0062)
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
const DRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModule & getRangeModulatorSettingsSequence() const
get RangeModulatorSettingsSequence (300a,0380)
Definition: drticpds.h:529
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=3.
Definition: drtbs.h:749
DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence()
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtdose.h:2560
Helper class for converting between dcmjpls and CharLS error codes.
Definition: djerror.h:32
virtual OFCondition getContentDate(OFString &value, const signed long pos=0)
Get Content Date.
DCMTK_LOG4CPLUS_EXPORT FilterFactoryRegistry & getFilterFactoryRegistry()
Returns the "singleton" FilterFactoryRegistry.
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
OFCondition moveTextObject(const char *old_layer, const char *sopclassUID, const char *instanceUID, unsigned long frame, size_t idx, DVPSObjectApplicability applicability, const char *new_layer)
moves the text object (applicable to the current image and frame) with the given index on the given l...
virtual OFCondition checkValue(const OFString &vm="", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
DcmUnsignedLong(const DcmTag &tag, const Uint32 len)
constructor.
int valueMultiplicityMin
lower limit for VM
Definition: dcdicent.h:379
@ LAT_LEFT
Left body part.
Definition: trctypes.h:108
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtaadcs.h:205
DcmPixelData & getPixelData()
get PixelData (7fe0,0010)
Definition: drtimage.h:2372
virtual OFCondition getPhotometricInterpretation(OFString &value, const signed long pos=0) const
get PhotometricInterpretation (0028,0004)
int getForcedBitDepth() const
returns forced bit depth for image compression, 0 (auto) or 8/12/16
Definition: djcparam.h:138
Uint16 MinValue
minimum LUT value
Definition: dibaslut.h:285
int ungetc(int c)
pushes c back to stream, cast to unsigned char, where it is available for subsequent read operations.
Definition: offile.h:737
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
Item & operator=(const Item ©)
assigment operator
Item & operator=(const Item ©)
assigment operator
virtual OFCondition getPerformedProcedureStepEndTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndTime (0040,0251)
XMLClear * addClear_WOSD(XMLSTR lpszValue, XMLCSTR lpszOpen=NULL, XMLCSTR lpszClose=NULL, XMLElementPosition pos=-1)
Add a new clear Tag.
Item & getItem(const size_t num)
get particular item in the sequence
DRTBlockSequenceInRTBeamsModule & getBlockSequence()
get BlockSequence (300a,00f4)
Definition: drtbs.h:402
virtual OFCondition setSeriesNumber(const OFString &value, const OFBool check=OFTrue)
set SeriesNumber (0020,0011)
const char * getFilmSizeID()
gets the (optional) film size ID.
this is a resizable array.
Definition: ofvector.h:55
virtual DSRTCoordTreeNode * clone() const
clone this tree node.
DcmShortString PerformedProcedureStepID
PerformedProcedureStepID (0040,0253) vr=SH, vm=1, type=3.
Definition: drtiontr.h:3015
virtual OFCondition getFirstTreatmentDate(OFString &value, const signed long pos=0) const
get FirstTreatmentDate (3008,0054)
virtual OFBool deleteRule(const DcmTagKey key)
Delete rule by given tag key.
virtual OFCondition getFrameLabel(OFString &value, const signed long pos=0)
Get Frame Label.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFFilenameCreator & operator=(const OFFilenameCreator ©)
assignment operator
OFCondition write(DcmItem &item)
writes the current X.509 certificate into an item of the Digital Signatures Sequence and creates the ...
OFCondition gotoNextItem()
goto next item in the sequence
virtual ~DcmUnsignedLongOffset()
destructor
OFCondition setXRayTubeCurrent(const OFString &value, const OFBool check=OFTrue)
set XRayTubeCurrent (0018,1151)
E_ParamValueStatus getParamAndCheckMin(const int pos, OFCmdSignedInt &value, const OFCmdSignedInt low, const OFExplicitBool incl=OFTrue)
get value of specified parameter as signed integer and checks for given boundary
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrrms.h:366
DcmUnsignedShort BitsAllocated
BitsAllocated (0028,0100) vr=US, vm=1, type=1.
Definition: drtiis.h:403
virtual const char * errorString(DcmTransportLayerStatus code)=0
returns an error string for a given error code.
DcmIODCommon(const DcmIODCommon &rhs)
Copy Constructor.
OFBool MapFilenamesMode
automatically map filenames
Definition: dcddirif.h:1566
E_RelationshipType RelationshipType
relationship type to the parent node (associated DICOM VR=CS, mandatory)
Definition: dsrdoctn.h:753
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
OFCondition setTableTopPitchAngleTolerance(const Float32 value, const unsigned long pos=0)
set TableTopPitchAngleTolerance (300a,004f)
OFCondition setFluenceMode(const OFString &value, const OFBool check=OFTrue)
set FluenceMode (3002,0051)
DVPSReferencedImage_PList(const DVPSReferencedImage_PList ©)
copy constructor
static const size_t PF_showTreeStructure
show hierarchical tree structure of the dataset
Definition: dctypes.h:185
virtual OFCondition getReviewDate(OFString &value, const signed long pos=0) const
get ReviewDate (300e,0004)
void Init()
initialize object.
OFCondition getWedgeID(OFString &value, const signed long pos=0) const
get WedgeID (300a,00d4)
DRTRequestedProcedureCodeSequence & getRequestedProcedureCodeSequence()
get RequestedProcedureCodeSequence (0032,1064)
Definition: drtras.h:189
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
virtual OFCondition getGreenPaletteColorLookupTableData(Uint16 *&value, unsigned long *count=NULL) const
get GreenPaletteColorLookupTableData (0028,1202)
int setEQ(const DcmDictEntry &e) const
checks if this entry describes the same tag range as the given entry.
Definition: dcdicent.h:347
OFBool is_relative() const
Test whether the path is relative, e.g. needs to be concatenated to another path before it refers to ...
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtcbars.h:366
OFCondition read(DcmItem &item)
read elements from sequence item
@ EVR_na
na="not applicable", for data which has no VR
Definition: dcvr.h:231
OFCondition getBlockNumberOfPoints(Sint32 &value, const unsigned long pos=0) const
get BlockNumberOfPoints (300a,0104)
DcmAgeString PatientAge
PatientAge (0010,1010) vr=AS, vm=1, type=3.
Definition: drtstrct.h:2868
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
@ SUVbsa
(126403,DCM,"SUVbsa"), included from CID 7180
Definition: cid7469.h:322
OFCondition setSourceEncapsulationNominalThickness(const OFString &value, const OFBool check=OFTrue)
set SourceEncapsulationNominalThickness (300a,0222)
Item class.
Definition: drtfsss.h:36
virtual ~DcmLongText()
destructor
virtual OFCondition getOtherPatientNames(OFString &value, const signed long pos=0) const
get OtherPatientNames (0010,1001)
DcmCodeString QueryRetrieveView
QueryRetrieveView (0008,0053) vr=CS, vm=1, type=1C.
Definition: drtplan.h:3401
virtual OFCondition readStudyData(DcmItem &dataset)
read StudyData from dataset.
DVPSOverlayCurveActivationLayer_PList(const DVPSOverlayCurveActivationLayer_PList ©)
copy constructor
OFCondition initialize(unsigned long cols)
initializes the Floyd-Steinberg error vectors for an image with the given number of columns.
DcmSignedLong(const DcmSignedLong &old)
copy constructor
virtual ~Item()
destructor
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtois.h:200
virtual OFCondition getStudyDate(OFString &value, const signed long pos=0) const
get StudyDate (0008,0020)
DcmDecimalString TableTopLongitudinalPosition
TableTopLongitudinalPosition (300a,0129) vr=DS, vm=1, type=3.
Definition: drtimage.h:5346
const char * getRequestedImageSize()
gets the requested image size.
int start()
adds a new thread of control to the current process.
~WlmDataSourceFileSystem()
destructor
OFCondition getLeafPositionBoundaries(Float64 &value, const unsigned long pos=0) const
get LeafPositionBoundaries (300a,00be)
DRTConceptCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
the list of overlays contained in a presentation state (internal use only).
Definition: dvpsovl.h:39
OFCondition getLeafJawPositions(OFVector< Float64 > &value) const
get LeafJawPositions (300a,011c)
virtual OFCondition setDeidentificationMethod(const OFString &value, const OFBool check=OFTrue)
set DeidentificationMethod (0012,0063)
DiMonoImage(const DiMonoImage *image, const signed long left_pos, const signed long top_pos, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const int interpolate, const int aspect, const Uint16 pvalue)
constructor, scale/clip
virtual OFCondition encode(const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *fromPixSeq, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
transcodes (re-compresses) the given compressed DICOM image and stores the result in the given toPixS...
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmUniqueIdentifier SOPClassUID
SOPClassUID (0008,0016) vr=UI, vm=1, type=1.
Definition: drtstrct.h:3072
virtual OFBool matches(const OFString &key, const OFString &candidate, const OFBool enableWildCardMatching=OFTrue) const
DRTStudiesContainingOtherReferencedInstancesSequence StudiesContainingOtherReferencedInstancesSequence
StudiesContainingOtherReferencedInstancesSequence (0008,1200) vr=SQ, vm=1, type=1C.
Definition: drtimage.h:5462
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence()
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtiontr.h:1419
virtual OFCondition insert(DcmItem *item, unsigned long where=DCM_EndOfListIndex, OFBool before=OFFalse)
insert the given item at the given position within the item list maintained by this sequence.
OFCondition getPurposeOfReference(DSRCodedEntryValue &purposeOfReference) const
get purpose of reference code of the currently selected entry
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmShortText FixationDeviceDescription
FixationDeviceDescription (300a,0196) vr=ST, vm=1, type=3.
Definition: drtfds.h:202
OFCondition setSourceApplicatorNumber(const OFString &value, const OFBool check=OFTrue)
set SourceApplicatorNumber (300a,0290)
DcmFloatingPointDouble ExposureTimeInms
ExposureTimeInms (0018,9328) vr=FD, vm=1, type=3.
Definition: drtimage.h:5356
DVIFhierarchyStatus updateStatus()
updates hierarchical/review status for all list items.
Definition: dvcache.h:351
int eof() const
tests the end-of-file indicator for the stream, returning non-zero if it is set.
Definition: offile.h:611
DRTSourceSequence & operator=(const DRTSourceSequence ©)
assigment operator
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtporcs.h:211
DJDecoder()
default constructor
Definition: djdecabs.h:40
@ PT_VolumeRendering
Volume Rendering Volumetric Presentation State (VR-VPS)
Definition: dsrtypes.h:647
Class implementing a document tree node filter that checks for the presence (or absence) of a concept...
Definition: dsrdnflt.h:230
virtual OFCondition getClinicalTrialTimePointID(OFString &value, const signed long pos=0) const
get ClinicalTrialTimePointID (0012,0050)
DcmUniqueIdentifier ReferencedSOPClassUID
ReferencedSOPClassUID (0008,1150) vr=UI, vm=1, type=1.
Definition: drtcis.h:167
DRTConceptCodeSequence & operator=(const DRTConceptCodeSequence ©)
assigment operator
OFBool isEmpty()
check if item is empty
const Item & getCurrentItem() const
get current item in the sequence
DcmQueryRetrieveMoveContext(DcmQueryRetrieveDatabaseHandle &handle, const DcmQueryRetrieveOptions &options, const DcmAssociationConfiguration &associationConfiguration, const DcmQueryRetrieveConfig *cfg, DIC_US priorstatus, T_ASC_Association *assoc, DIC_US msgid, T_DIMSE_Priority pr)
constructor
Definition: dcmqrcbm.h:50
DRTContentItemModifierSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item & operator[](const size_t num)
get particular item in the sequence
OFBool mustCreateNewDir
flag indicating whether the DICOM file in DirFile needs to be re-created upon writing
Definition: dcdicdir.h:207
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
@ JawRegion
(661005,SCT,"Jaw region")
Definition: cid4031.h:134
DRTShieldingDeviceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Definition: lokuptbl.h:35
virtual void disable(const log4cplus::tstring &loglevelStr)
Similar to disable(LogLevel) except that the LogLevel argument is given as a log4cplus::tstring.
OFCondition addItem(const OFString &codingSchemeDesignator, const OFString &codingSchemeUID, const OFString &codingSchemeName, const OFString &responsibleOrganization="", const OFBool check=OFTrue)
add the specified coding scheme (with additional information) to the list.
OFCondition setPrivateDataElement(const Uint16 value, const unsigned long pos=0)
set PrivateDataElement (0008,0308)
virtual OFCondition setClinicalTrialSeriesID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesID (0012,0071)
virtual ~DiGSDFLUT()
destructor
DcmOutputFileStream(const OFFilename &filename)
constructor
OFCondition getMetersetExposure(OFString &value, const signed long pos=0) const
get MetersetExposure (3002,0032)
virtual OFCondition setSoftwareVersions(const OFString &value, const OFBool check=OFTrue)
set SoftwareVersions (0018,1020)
int setMinDensityValue(const double value)
set minimum optical density value "Dmin".
DSRXMLCursor getChild() const
get cursor pointing to first XML child node (next lower level).
OFCondition gotoNextItem()
goto next item in the sequence
global definitions and functions for UID handling
OFCondition read(DcmItem &item)
read elements from sequence item
DcmCodeString PlanIntent
PlanIntent (300a,000a) vr=CS, vm=1, type=3.
Definition: drtplan.h:3267
This class maintains database handles based on the classical "index.dat" file.
Definition: dcmqrdbi.h:100
Template class to rotate color images (on pixel data level).
Definition: dicorot.h:43
@ _22_Sodium
(71633006,SCT,"^22^Sodium")
Definition: cid4020.h:54
OFCondition setWedgePosition(const OFString &value, const OFBool check=OFTrue)
set WedgePosition (300a,0118)
Item & operator=(const Item ©)
assigment operator
Item & operator=(const Item ©)
assigment operator
DcmDecimalString PatientSize
PatientSize (0010,1020) vr=DS, vm=1, type=3.
Definition: drtimage.h:4924
DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence()
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtdose.h:2164
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition getAllergies(OFString &value, const signed long pos=0) const
get Allergies (0010,2110)
DCMTK_DCMDATA_EXPORT const unsigned short EC_CODE_CannotConvertToXML
error, cannot convert to XML
void removeAllButOriginalRepresentations()
removes all but the original representation in all pixel data elements
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setBlockThickness(const OFString &value, const OFBool check=OFTrue)
set BlockThickness (300a,0100)
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtiontr.h:3047
OFCondition getDeviceID(OFString &value, const signed long pos=0) const
get DeviceID (0018,1003)
OFCondition getFinalCumulativeMetersetWeight(OFString &value, const signed long pos=0) const
get FinalCumulativeMetersetWeight (300a,010e)
virtual OFCondition createUint16Array(const Uint32 numWords, Uint16 *&words)
create an empty Uint16 array of given number of words and set it.
OFCondition setReferencedBrachyApplicationSetupNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedBrachyApplicationSetupNumber (300c,000c)
virtual OFCondition getPatientBodyMassIndex(Float64 &value, const unsigned long pos=0) const
get PatientBodyMassIndex (0010,1022)
virtual int compare(const DcmElement &rhs) const
comparison operator that compares the normalized value of this object with a given object of the same...
OFCondition setSourceApplicatorLength(const OFString &value, const OFBool check=OFTrue)
set SourceApplicatorLength (300a,0296)
OFBool getDetailedLog()
returns the DETAILEDLOG entry from the section GENERAL/PRINT in the config file.
OFBool overlayIsBitmapShutter(size_t idx)
checks if the given overlay in the presentation state is currently activated as a bitmap shutter.
@ EPC_colorByPixel
always create color-by-pixel planar configuration
Definition: djutils.h:117
virtual OFCondition convert(DcmDataset &dataset) const
Outputs SOP class specific information into dataset.
Uint16 getGTag() const
return the group number of the attribute tag for this object
Definition: dcobject.h:387
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
OFBool isEmpty()
check if sequence is empty
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
virtual ~Item()
destructor
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getClinicalTrialSeriesDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesDescription (0012,0072)
virtual OFCondition setContentTime(const OFString &value, const OFBool checkValue=OFTrue)
Set Content Time.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Uint16 getServerResponse(char *&targetBuffer, Uint16 &resultLen) const
Returns content of server response field Memory is allocated by this function and must be freed by th...
const char * get_entry(const char *key0)
sets the cursor to the given level 0 keyword and returns the string value assigned to this keyword.
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
OFCondition setSOPClassUID(DcmItem &dataset, const DcmTagKey &tagKey, const unsigned long pos=0, const OFBool check=OFTrue)
set SOP class UID value from dataset.
Item EmptyItem
empty default item
Definition: drtrshs7.h:322
Item class.
Definition: drtibls.h:37
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DVPSFilmSession * clone()
clone method.
Definition: dvpsfs.h:56
DcmFloatingPointSingle RangeShifterWaterEquivalentThickness
RangeShifterWaterEquivalentThickness (300a,0366) vr=FL, vm=1, type=3.
Definition: drtrshs6.h:169
virtual OFCondition setModality(const OFString &value, const OFBool check=OFTrue)
set Modality (0008,0060)
DcmShortString LUTLabel
LUTLabel (0040,9210) vr=SH, vm=1, type=1.
Definition: drtrwvms.h:262
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmDateTime InstanceCoercionDateTime
InstanceCoercionDateTime (0008,0015) vr=DT, vm=1, type=3.
Definition: drtplan.h:3360
DRTSeriesDescriptionCodeSequence SeriesDescriptionCodeSequence
SeriesDescriptionCodeSequence (0008,103f) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3005
OFCondition getTableTopPitchRotationDirection(OFString &value, const signed long pos=0) const
get TableTopPitchRotationDirection (300a,0142)
OFCondition selectInstance(const char *instanceUID, const char *sopClassUID)
selects the instance with the given UID and SOP class over all studies and series.
Uint32 capacity_
buffer size in bytes
Definition: dcwcache.h:124
static const unsigned int ftoa_uppercase
Use E, F or G conversion format instead of e, f or g.
Definition: ofstd.h:841
OFCondition setTrackingIdentifier(const OFString &trackingID, const OFBool check=OFTrue)
set the value of the 'Tracking Identifier' content item (TID 1501 - Row 2).
Item & operator=(const Item ©)
assigment operator
OFBool m_inventMissingType1Attribs
If true, missing type 1 elements are inserted automatically with a predefined value,...
Definition: i2d.h:255
DcmTime StudyTime
StudyTime (0008,0030) vr=TM, vm=1, type=2.
Definition: drtstrct.h:2827
virtual OFCondition setClinicalTrialSiteID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteID (0012,0030)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtporcs.h:324
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drteas.h:311
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
@ ThoracoLumbarSpine
(297172009,SCT,"Thoraco-lumbar spine")
Definition: cid4031.h:232
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const DRTOperatorIdentificationSequence & getOperatorIdentificationSequence() const
get OperatorIdentificationSequence (0008,1072)
Definition: drtimage.h:2752
@ GT_Polyline
DICOM Graphic Type: POLYLINE.
Definition: dsrtypes.h:669
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtbrcss.h:355
size_t size() const
gets the number of annotations in this list.
Definition: dvpsabl.h:84
typedef OFListIterator(value_type) iterator
iterator class for OFMap.
void OFswap(T &t0, T &t1)
Exchanges the given values.
Internal structure defining the series list items.
Definition: dsrsoprf.h:356
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DJEncoderBaseline()
default constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool isLegalPrintPresentationLUT()
checks whether the current Presentation LUT (or shape) is legal when used with Supplement 22.
static OFCondition push(unsigned short aModule, unsigned short aCode, OFStatus aStatus, const char *aText, OFCondition subCondition)
creates a new condition from the given parameters and the sub-condition.
virtual OFCondition selectValue(const DSRCodedEntryValue &codedEntryValue, const OFBool check=OFTrue, const OFBool definedContextGroup=OFFalse)
select a given coded entry as the current value
virtual const char * getDefinedTerm() const
returns the DICOM identifier for this MAC algorithm
size_t getNumberOfItems() const
get number of items in the sequence
DcmIntegerString shutterLeftVerticalEdge
Module=Display_Shutter, VR=IS, VM=1, Type 1C.
Definition: dcmpstat.h:892
OFBool operator==(const DcmRoleSelectionItem &arg) const
comparison operator.
Definition: dccfrsmp.h:89
void decreaseRefCount()
decreases reference counter for this object and deletes the temporary file and this object if the ref...
DRTContributingEquipmentSequence ContributingEquipmentSequence
ContributingEquipmentSequence (0018,a001) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3376
DcmShortText RTPlanDescription
RTPlanDescription (300a,0004) vr=ST, vm=1, type=3.
Definition: drtionpl.h:3173
virtual DJEncoder * createEncoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample) const
creates an instance of the compression library to be used for encoding/decoding.
static const size_t PF_printAllCodes
shortcut: print all codes (combines all PF_printXxxCodes flags, see above)
Definition: dsrtypes.h:462
Item(const Item ©)
copy constructor
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtgmcs.h:337
const char * getSeriesDescription()
returns the Series Description of the currently selected series.
Item & getCurrentItem()
get current item in the sequence
@ AbsoluteRegionalBloodVolume
(126391,DCM,"Absolute Regional Blood Volume"), included from CID 4108
Definition: cid7469.h:268
@ MagneticResonance
(MR,DCM,"Magnetic Resonance")
Definition: cid29.h:84
OFCondition getBlockMountingPosition(OFString &value, const signed long pos=0) const
get BlockMountingPosition (300a,00fb)
DcmLongText(const DcmLongText &old)
copy constructor
static OFCondition updateImageType(DcmItem *dataset)
set first value of Image Type to DERIVED.
virtual size_t goUp()
goto parent node (one level up)
Definition: dsrtncsr.h:570
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition setPerformedProcedureStepID(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepID (0040,0253)
DcmCodeString PlanIntent
PlanIntent (300a,000a) vr=CS, vm=1, type=3.
Definition: drtionpl.h:3184
DcmLongString PatientID
PatientID (0010,0020) vr=LO, vm=1, type=2.
Definition: drtimage.h:4783
singleton class that registers an RLE decoder.
Definition: dcrledrg.h:35
DcmDicomDir * DicomDir
pointer to the current DICOMDIR object
Definition: dcddirif.h:1553
DcmUnsignedShort overlayRows
VR=US, VM=1, Type=1.
Definition: dvpsov.h:147
void setPrependPrinterName(OFBool value)
sets the Prepend Printer Name annotation flag.
Definition: dviface.h:1426
@ PVS_Underflow
converted value falls below minimum
Definition: ofcmdln.h:203
OFCondition setReferencedROINumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedROINumber (3006,0084)
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtcss.h:205
virtual OFCondition getLossyImageCompressionMethod(OFString &value, const signed long pos=0) const
get LossyImageCompressionMethod (0028,2114)
DcmFileFormat * DirFile
DICOM file into which a DICOMDIR is read first before the logical tree structure is created.
Definition: dcdicdir.h:212
OFCondition read(DcmItem &item)
read elements from sequence item
const OFBool RGBColorModel
flag, indicating whether the intermediate representation uses the RGB color model
Definition: dicoimg.h:430
DSRDocumentTreeNodeCursor(const DSRTreeNodeCursor< DSRDocumentTreeNode > &cursor)
copy constructor (for base class)
Uint8 getCurveGroup()
get group number of curve repeating group managed by this object.
Definition: dvpscu.h:71
DcmAttributeTag * errorElements
list of error elements
Definition: wlds.h:64
OFCondition write(DcmItem &item)
write elements to sequence item
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition setDerivationDescription(const OFString &value, const OFBool check=OFTrue)
set DerivationDescription (0008,2111)
DVIFhierarchyStatus getSeriesStatus()
returns the review status of the currently selected series.
virtual OFCondition writeSegmentationImageModule(DcmItem &dataset)
Write Segmentation Image Module.
const Item & operator[](const size_t num) const
get particular item in the sequence
static OFBool isnan(Integer i)
Casts the argument to double and calls OFMath::isnan(double) on the result.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
DRTApplicatorSequenceInRTIonBeamsSessionRecordModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTDigitalSignaturesSequence DigitalSignaturesSequence
DigitalSignaturesSequence (fffa,fffa) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4679
DcmLongString modalityLUTExplanation
Module=Modality_LUT, VR=LO, VM=1, Type 3.
Definition: dcmpstat.h:960
double getMaxDensityValue() const
get maximum optical density value "Dmax".
Definition: didispfn.h:313
int read2Bytes(Uint16 &result)
Read 2 bytes from the byte stream.
virtual OFBool operator!=(const OFOrderedSet< T > &other) const
Determines if two sets are not identical.
Definition: ofoset.h:129
DCMR Context Group with enhanced functionality: CID 10033 - CT Reconstruction Algorithm.
Definition: cid10033e.h:30
DRTReferencedBolusSequenceInRTIonBeamsSessionRecordModule & getReferencedBolusSequence()
get ReferencedBolusSequence (300c,00b0)
Definition: drttsibs.h:658
size_t gotoNode(const size_t searchID, const OFBool startFromRoot=OFTrue)
set internal cursor to specified node
Definition: dsrtree.h:628
OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write current list in XML format
OFCondition getSourceType(OFString &value, const signed long pos=0) const
get SourceType (300a,0214)
OFBool isEmpty()
check if item is empty
DcmFloatingPointSingle ExternalContourEntryPoint
ExternalContourEntryPoint (300a,0133) vr=FL, vm=3, type=3.
Definition: drticps.h:773
OFBool isEmpty()
check if sequence is empty
virtual void addAppender(SharedAppenderPtr newAppender)
Add an appender.
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getStrainAdditionalInformation(OFString &value, const signed long pos=0) const
get StrainAdditionalInformation (0010,0218)
virtual OFCondition check(const OFBool quiet=OFFalse)
Perform consistency checks.
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtporcs.h:347
OFCondition getNumberOfContourPoints(OFString &value, const signed long pos=0) const
get NumberOfContourPoints (3006,0046)
OFBool valid(void) const
return true if current node exists, false otherwise
Definition: dclist.h:165
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drttsmds.h:155
OFCondition setRangeShifterNumber(const OFString &value, const OFBool check=OFTrue)
set RangeShifterNumber (300a,0316)
DRTPurposeOfReferenceCodeSequence & operator=(const DRTPurposeOfReferenceCodeSequence ©)
assigment operator
@ DCMSCP_ACTION_REFUSE_ASSOCIATION
Tell SCP to refuse association.
Definition: scp.h:69
@ PS_MissingParameter
missing parameter
Definition: ofcmdln.h:163
virtual ~DSRTreeNodeCursor()
destructor
Definition: dsrtncsr.h:362
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getPatientComments(OFString &value, const signed long pos=0) const
get PatientComments (0010,4000)
DIC_NODENAME origHostName
hostname of move requestor
Definition: dcmqrcbm.h:160
void unloadPrintPreview()
removes a currently loaded Hardcopy Grayscale image from memory.
E_ParamValueStatus getParam(const int pos, const char *&value)
gets value of specified parameter as C string.
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtpics.h:357
virtual OFCondition setQualityControlSubject(const OFString &value, const OFBool check=OFTrue)
set QualityControlSubject (0010,0200)
static DSRDocumentSubTree * cloneSubTree(const DSRDocumentTreeNodeCursor &startCursor, const size_t stopAfterNodeID=0)
clone a particular subtree, i.e. a fragment of a tree
OFString CodingSchemeResponsibleOrganization
Coding Scheme Responsible Organization (VR=ST, type 3)
Definition: dsrcsidl.h:331
FILE * dumpFile
if nonzero, the data fed to the MAC algorithm is also stored in this file.
Definition: simaccon.h:161
const Item & getItem(const size_t num) const
get particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtass.h:472
virtual OFCondition getSmallestImagePixelValue(Uint16 &value, const unsigned long pos=0) const
get SmallestImagePixelValue (0028,0106)
E_TransferSyntax Xfer
transfer syntax used for reading the dataset
Definition: didocu.h:404
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtccs.h:536
virtual OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
virtual unsigned long createDIB(void *&data, const unsigned long size, const unsigned long frame, const int bits, const int upsideDown, const int padding=1)=0
create true color (24/32 bit) or palette (8 bit) bitmap for MS Windows (abstract).
OFCondition findAndGetUint8(const DcmTagKey &tagKey, Uint8 &value, const unsigned long pos=0, const OFBool searchIntoSub=OFFalse)
find element and get value as an unsigned 8-bit integer.
Item & getItem(const size_t num)
get particular item in the sequence
DRTControlPointSequence(const DRTControlPointSequence ©)
copy constructor
virtual OFCondition setClinicalTrialSiteName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteName (0012,0031)
virtual OFCondition setPatientSex(const OFString &value, const OFBool check=OFTrue)
set PatientSex (0010,0040)
virtual OFCondition set(const EquipmentInfo &info)
Set all equipment information at once.
XMLNode getChildNode(XMLCSTR name, int *i=NULL) const
return next child node with specific name (return an empty node if failing)
Definition: factory.h:214
OFCondition getWedgeAngle(OFString &value, const signed long pos=0) const
get WedgeAngle (300a,00d5)
OFCondition read(DcmItem &item)
read elements from sequence item
this class maintains the context information that is passed to the callback function called by DIMSE_...
Definition: dcmqrcbs.h:37
virtual OFCondition checkValue(const OFString &personNameValue) const
check the specified person name value for validity.
@ GT_invalid
internal type used to indicate an error
Definition: dsrtypes.h:661
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drttsibs.h:1250
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtaadcs.h:349
Class for RGB images.
Definition: dirgbimg.h:39
virtual OFBool Contains(const T &item) const
Determines if a certain item is contained in the set.
Definition: ofoset.h:322
OFCondition getGantryPitchAngle(Float32 &value, const unsigned long pos=0) const
get GantryPitchAngle (300a,014a)
Interface class for ApplicationSetupSequence (300a,0230) in RTBrachyApplicationSetupsModule.
Definition: drtass.h:31
void setAssocConfigFileAndProfile(const OFString &filename, const OFString &profile)
Set an association configuration file and profile to be used.
DcmRLEEncoderRegistration(const DcmRLEEncoderRegistration &)
private undefined copy constructor
OFCondition setTreatmentTerminationStatus(const OFString &value, const OFBool check=OFTrue)
set TreatmentTerminationStatus (3008,002a)
virtual OFCondition getFloat64(Float64 &doubleVal, const unsigned long pos=0)
get particular float value
DSRTreeNode * getNext() const
get pointer to next tree node
Definition: dsrtree.h:96
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition setFrameOfReferenceUID(const OFString &value, const OFBool check=OFTrue)
set FrameOfReferenceUID (0020,0052)
OFCondition writeHardcopyImageAttributes(DcmItem &dset)
writes the general study and series module attributes for a grayscale hardcopy image that is related ...
void clear()
returns object to default constructed state
Definition: dcfcache.h:63
ItemStruct * getCurrentItem() const
get pointer to currently selected item structure (if any)
@ Fluorodeoxyglucose_F18
(35321007,SCT,"Fluorodeoxyglucose F^18^")
Definition: cid4021.h:152
OFCondition getPatientID(OFString &value, const signed long pos=0) const
get PatientID (0010,0020)
DRTPrivateDataElementDefinitionSequence(const DRTPrivateDataElementDefinitionSequence ©)
copy constructor
DRTContourImageSequence & getContourImageSequence()
get ContourImageSequence (3006,0016)
Definition: drtcs.h:203
A simple wrapper class for a struct sockaddr_storage object that can be used to store an TCP/IPv4 (st...
Definition: ofsockad.h:57
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
@ DT_RadiopharmaceuticalRadiationDoseSR
DICOM IOD: Radiopharmaceutical Radiation Dose SR.
Definition: dsrtypes.h:533
OFBool isEmpty()
check if sequence is empty
virtual OFCondition getTableTopEccentricAngle(OFString &value, const signed long pos=0) const
get TableTopEccentricAngle (300a,0125)
virtual OFCondition setResponsiblePerson(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePerson (0010,2297)
IODComponent * m_Parent
The parent component (may be NULL) of this class.
Definition: modbase.h:206
@ EWT_window_minmax_roi
compute VOI window using min-max algorithm applied to region of interest
Definition: diutils.h:338
void clear()
clear all internal member variables
OFCondition getReferencedROINumber(OFString &value, const signed long pos=0) const
get ReferencedROINumber (3006,0084)
const DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence() const
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtplan.h:1490
Class representing the Parametric Map Frame Type Functional Group Macro.
Definition: fgparametricmapframetype.h:33
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
OFCondition getActiveSourceLength(OFString &value, const signed long pos=0) const
get ActiveSourceLength (300a,021a)
OFBool isEmpty()
check if item is empty
OFCondition setValueType(const OFString &value, const OFBool check=OFTrue)
set ValueType (0040,a040)
OFCondition getDeliveryMaximumDose(Float64 &value, const unsigned long pos=0) const
get DeliveryMaximumDose (300a,0023)
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
virtual OFCondition getSeriesTime(OFString &value, const signed long pos=0) const
get SeriesTime (0008,0031)
Interface class for DoseReferenceSequence (300a,0010)
Definition: drtdrs.h:28
DcmLongString ClinicalTrialProtocolEthicsCommitteeApprovalNumber
ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082) vr=LO, vm=1, type=3.
Definition: drtimage.h:4872
virtual void enableAuthentication(const OFString &privateKey, const OFString &certFile, const char *passphrase=NULL, const DcmKeyFileFormat privKeyFormat=DCF_Filetype_PEM, const DcmKeyFileFormat certFormat=DCF_Filetype_PEM)
Turn on authentication for TLS.
DSRTypes::E_GraphicType3D GraphicType
Graphic Type (associated DICOM VR=CS, type 1)
Definition: dsrsc3vl.h:302
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFCondition gotoNextItem()
goto next item in the sequence
DcmUIDHandler uid_
abstract syntax UID
Definition: dccfpcmp.h:97
virtual OFCondition getLossyImageCompressionMethod(OFString &value, const signed long pos=0)
Get Lossy Image Compression Method.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrwvms.h:253
int setHardcopyParameters(const unsigned int min, const unsigned int max, const unsigned int reflect, const unsigned int illumin)
set hardcopy parameters.
static const OFString m_ModuleName
Module name "SynchronizationModule".
Definition: modsynchronisation.h:231
OFBool setRequestFilePath(const OFString &path="", const OFString &format="#t.dump")
Set directory to store request files to.
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content of included template in XML format
@ FlowVelocity
(110828,DCM,"Flow Velocity"), included from CID 7180
Definition: cid7469.h:174
OFString ourAETitle
our current title
Definition: dcmqrcbg.h:146
@ DCMSCP_CALLED_AE_TITLE_NOT_RECOGNIZED
Refusing association because of unaccepted called AE title.
Definition: scp.h:85
virtual void writeXMLEndTag(STD_NAMESPACE ostream &out, const size_t flags)
write element end tag in XML format
virtual ~DSRPositionCounter()
destructor
OFBool fail() const
returns true if the RLE compressor has run out of memory.
Definition: dcrleenc.h:261
DRTIconImageSequence & operator=(const DRTIconImageSequence ©)
assigment operator
virtual OFCondition setExposureTimeInms(const Float64 value, const unsigned long pos=0)
set ExposureTimeInms (0018,9328)
static const size_t CB_maskReadFlags
bit mask (filter) for valid read flags (see RF_xxx)
Definition: dsrtypes.h:491
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmOtherByteOtherWord ICCProfile
ICCProfile (0028,2000) vr=OB, vm=1, type=3.
Definition: drtdose.h:4468
OFBool IsSupportedReturnKeyAttribute(DcmElement *element, DcmSequenceOfItems *supSequenceElement=NULL)
This function checks if the given element refers to an attribute which is a supported return key attr...
Implementation of DCMR Context Group: CID 5000 - Languages.
Definition: cid5000.h:33
OFBool isValid() const
check if item is valid, i.e. not the empty default item
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
OFBool isEmpty()
check if item is empty
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drtbs.h:739
virtual ~DcmDecimalString()
destructor
DcmOtherByteOtherWord(const DcmTag &tag, const Uint32 len)
constructor.
OFCondition getTargetPrescriptionDose(Float64 &value, const unsigned long pos=0) const
get TargetPrescriptionDose (300a,0026)
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
virtual OFCondition getPatientSize(Float64 &value, const unsigned long pos=0) const
get PatientSize (0010,1020)
virtual OFCondition setPatientName(const OFString &value, const OFBool check=OFTrue)
set PatientName (0010,0010)
OFCondition getGraphicLayerRecommendedDisplayValueRGB(size_t idx, Uint16 &r, Uint16 &g, Uint16 &b)
gets the recommended RGB display value for the given graphic layer.
static OFString & toUpper(OFString &result, const OFString &value)
returns the upper-case version of a given string
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrfgs.h:148
Item EmptyItem
empty default item
Definition: drtrcdrs.h:352
int isValid() const
check whether LUT is valid
Definition: dibaslut.h:231
@ MillimeterPerSecond
(mm/s,UCUM,"millimeter/second")
Definition: cid7181.h:142
DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModule & operator=(const DRTLateralSpreadingDeviceSettingsSequenceInRTIonBeamsModule ©)
assigment operator
Item EmptyItem
empty default item
Definition: drtbl2.h:555
virtual OFCondition putSint64(const Sint64 sintVal, const unsigned long pos=0)
set particular element value to given integer
OFListIterator(Item *) CurrentItem
currently selected item
static DJDecoderProgressive * decpro
pointer to decoder for progressive JPEG
Definition: djdecode.h:89
const DcmDictEntry * operator*() const
dereferencing of iterator
Definition: dchashdi.h:152
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_InitializationFailed
object initialization failed
virtual ~Item()
destructor
virtual ~Item()
destructor
virtual OFCondition setPatientID(const OFString &value, const OFBool check=OFTrue)
set PatientID (0010,0020)
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFBool check()
Perform some basic checking.
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode
DRTDICOMRetrievalSequence DICOMRetrievalSequence
DICOMRetrievalSequence (0040,e021) vr=SQ, vm=1, type=1C.
Definition: drtrpphs.h:226
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFBool isEmpty()
check if item is empty
int Rescaling
status flag: rescaling present
Definition: dimomod.h:273
virtual OFCondition updateByReferenceRelationships(const OFBool updateIncludedTemplates=OFFalse)
update the position strings used to encode by-reference relationships (if any).
OFCondition setSourceToGeneralAccessoryDistance(const Float32 value, const unsigned long pos=0)
set SourceToGeneralAccessoryDistance (300a,0425)
Item & getCurrentItem()
get current item in the sequence
DRTReferencedDoseSequence ReferencedDoseSequence
ReferencedDoseSequence (300c,0080) vr=SQ, vm=1, type=1C.
Definition: drtcps.h:683
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtbrcss.h:339
void createTable(unsigned long oldmaxval, unsigned long newmaxval)
initializes the look-up table.
Definition: diqtstab.h:76
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool extractStringFromPayload(OFString &str)
extracts a string from the message payload and copies it into the given str object.
DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule(const DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule ©)
copy constructor
OFCondition getBlockDivergence(OFString &value, const signed long pos=0) const
get BlockDivergence (300a,00fa)
Item class.
Definition: drtas1.h:37
virtual OFBool isClinicalTrialSubjectModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialSubjectModule (U) is present.
DRTPatientSizeCodeSequence PatientSizeCodeSequence
PatientSizeCodeSequence (0010,1021) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4934
DcmCodeString RadiationType
RadiationType (300a,00c6) vr=CS, vm=1, type=1.
Definition: drtibs.h:1035
virtual OFCondition getInstanceCreatorUID(OFString &value, const signed long pos=0) const
get InstanceCreatorUID (0008,0014)
DVPSVOIWindow_PList()
default constructor
OFCondition findOrDeletePath(DcmObject *obj, const OFString &path, Uint32 &numDeleted)
Function that allows for deleting elements and items from a DICOM object tree.
OFCondition createIconImage(DcmObject *object, const E_TransferSyntax xfer=EXS_Unknown, const unsigned long frame=0, const unsigned long width=64, const unsigned long height=64)
create an icon image from the given DICOM image and associate it with this image reference.
virtual OFCondition writeGeneric(DcmItem &dataset)
Write current generic Parametric Map's attributes to DICOM dataset, i.e.
virtual void setMaxThreads(const Uint16 maxWorkers)
Set the number of maximum permitted connections, i.e. threads/workers.
IODImagePixelModuleType m_ImagePixel
Image Pixel Module.
Definition: iodimage.h:309
int normalizeDegreeValue(signed int °ree) const
normalize given degree value (for internal use).
Template class to create color output data.
Definition: dicoopxt.h:45
DcmFloatingPointSingle TableTopRollAngle
TableTopRollAngle (300a,0144) vr=FL, vm=1, type=2C.
Definition: drticpds.h:880
virtual unsigned long getVM()
get value multiplicity
DcmDecimalString requestedImageSize
Module=Image_Box_List, VR=DS, VM=1, Type 3.
Definition: dvpsib.h:351
Item(const Item ©)
copy constructor
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
OFBool isEmpty()
check if item is empty
void clear()
clear all internal member variables
OFCondition prepareBasicAnnotationBox(DcmItem &dset)
writes the attributes managed by this objects that are part of a basic annotation box N-SET request i...
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_CannotAddMultipleImageLibraryGroupDescriptors
error: cannot add multiple image library group descriptors (see TID 1600 Row 3)
DcmFloatingPointSingle TotalWedgeTrayWaterEquivalentThickness
TotalWedgeTrayWaterEquivalentThickness (300a,00d7) vr=FL, vm=1, type=3.
Definition: drtibs.h:1059
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbldps.h:140
OFCondition selectSeries(const char *seriesUID)
selects the series with the given UID within the currently selected study.
void printUnexpectedValueMessage(const DcmTagKey &key, const OFFilename &filename=OFFilename(), const OFBool errorMsg=OFTrue)
print a message that the value of a given tag is unexpected.
OFCondition getContextGroupVersion(OFString &value, const signed long pos=0) const
get ContextGroupVersion (0008,0106)
DiColorOutputPixel(const DiPixel *pixel, const unsigned long size, const unsigned long frame)
constructor
DcmDirectoryRecord * buildImageRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update image record and copy required values from dataset
OFCondition getBrachyAccessoryDeviceNumber(Sint32 &value, const unsigned long pos=0) const
get BrachyAccessoryDeviceNumber (300a,0262)
the list of curves contained in image which is attached to a presentation state.
Definition: dvpscul.h:39
@ EVR_fileFormat
used internally for DICOM files
Definition: dcvr.h:246
virtual OFCondition getDerivationDescription(OFString &value, const signed long pos=0) const
get DerivationDescription (0008,2111)
const OFString TemplateIdentifier
template identifier (VR=CS, mandatory)
Definition: dsrctpl.h:216
const Item & getCurrentItem() const
get current item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition digest(const unsigned char *data, unsigned long length)
feeds data into the MAC algorithm
OFCondition getReferencedFrameNumber(OFString &value, const signed long pos=0) const
get ReferencedFrameNumber (0008,1160)
OFCondition getNominalBeamEnergy(OFString &value, const signed long pos=0) const
get NominalBeamEnergy (300a,0114)
DRTEncryptedAttributesSequence & getEncryptedAttributesSequence()
get EncryptedAttributesSequence (0400,0500)
Definition: drtplan.h:1436
FramesType getFrames()
Get access to frame data.
virtual ~DRTPersonIdentificationCodeSequence()
destructor
OFCondition setBlockTrayID(const OFString &value, const OFBool check=OFTrue)
set BlockTrayID (300a,00f5)
DVPSOverlay * clone() const
clone method.
Definition: dvpsov.h:51
OFString printCurrentLUTID
config file identifier of LUT currently selected as Print Presentation LUT
Definition: dviface.h:1787
virtual void clear()
clear all internal member variables
Item class.
Definition: drtspccs.h:37
OFCondition getFluenceModeID(OFString &value, const signed long pos=0) const
get FluenceModeID (3002,0052)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Uint32 hash() const
generate a simple hash code for this attribute tag.
Definition: dctagkey.h:339
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtdspcs.h:533
Item EmptyItem
empty default item
Definition: drtcis.h:354
const Item & operator[](const size_t num) const
get particular item in the sequence
Structure representing a single Presentation Context.
Definition: scp.h:103
void getOriginalRepresentationKey(E_TransferSyntax &repType, const DcmRepresentationParameter *&repParam)
returns the representation identification (key) consisting of representation type and parameter of th...
Item & getCurrentItem()
get current item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
T_ASC_UserIdentityNegotiationMode getIdentityType()
Returns identity type that will be used.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual ~Item()
destructor
DRTPersonIdentificationCodeSequence & getPersonIdentificationCodeSequence()
get PersonIdentificationCodeSequence (0040,1101)
Definition: drtcpis.h:148
DRTContourImageSequence & operator=(const DRTContourImageSequence ©)
assigment operator
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
virtual OFCondition getPatientID(OFString &value, const signed long pos=0) const
get PatientID (0010,0020)
DRTPrivateDataElementCharacteristicsSequence & getPrivateDataElementCharacteristicsSequence()
get PrivateDataElementCharacteristicsSequence (0008,0300)
Definition: drtiontr.h:1587
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setAdmissionID(const OFString &value, const OFBool check=OFTrue)
set AdmissionID (0038,0010)
DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence()
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drtimage.h:2626
virtual OFCondition setConfig(const DcmSCPConfig &config)
Set the DcmSCPConfig object to use for configuring this DcmSCP object.
DRTMeasurementUnitsCodeSequence & getMeasurementUnitsCodeSequence()
get MeasurementUnitsCodeSequence (0040,08ea)
Definition: drtrwvms.h:164
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtrscs.h:353
DRTPatientSetupSequence & getPatientSetupSequence()
get PatientSetupSequence (300a,0180)
Definition: drtiontr.h:1515
DcmSCP & operator=(const DcmSCP &src)
Private undefined assignment operator.
OFGroup()
default constructor that creates an invalid object.
OFCondition operator()(const char *certificateFile) const
Create a specialized failed to load certificate error condition that refers to the file name of the c...
void addItem(const Float32 x, const Float32 y, const Float32 z)
add value triplet to the list
static const DSRImageReferenceValue EmptyImageReference
empty image reference value.
Definition: dsrcitem.h:621
Item class.
Definition: drtudis.h:36
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrds.h:127
int setHistogramWindow(const double thresh)
set automatically calculated histogram window.
const LogLevel FATAL_LOG_LEVEL
The FATAL_LOG_LEVEL LogLevel designates very severe error events that will presumably lead the applic...
Definition: loglevel.h:59
static const char * relationshipTypeToDefinedTerm(const E_RelationshipType relationshipType)
convert relationship type to DICOM defined term
DcmCodeString TreatmentDeliveryType
TreatmentDeliveryType (300a,00ce) vr=CS, vm=1, type=2.
Definition: drttsibs.h:1068
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrpis.h:388
Item EmptyItem
empty default item
Definition: drtfgs.h:531
virtual OFString getType() const
The requirement type of the attribute (1, 1C, 2, 2C or 3)
OFBool createOffsetTable
create offset table during image compression
Definition: dcrlecp.h:122
DcmIntegerString NumberOfBlocks
NumberOfBlocks (300a,00f0) vr=IS, vm=1, type=1.
Definition: drtbs.h:757
OFBool isEmpty()
check if item is empty
DRTReferencedPatientSequence ReferencedPatientSequence
ReferencedPatientSequence (0008,1120) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4100
@ OFround_toward_neg_infinity
Rounding toward negative infinity.
Definition: oflimits.h:105
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getPatientBirthDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientBirthDateInAlternativeCalendar (0010,0033)
DVPSGraphicObject * getGraphicObject(size_t layer, size_t idx)
gets the graphic object with the given index on the given layer.
double * GSDFValue
array of luminance/OD values defining the GSDF
Definition: digsdfn.h:216
@ OFround_indeterminate
Rounding style cannot be determined.
Definition: oflimits.h:97
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getOccupation(OFString &value, const signed long pos=0) const
get Occupation (0010,2180)
DRTOtherPatientIDsSequence OtherPatientIDsSequence
OtherPatientIDsSequence (0010,1002) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4807
Interface class for StrainCodeSequence (0010,0219)
Definition: drtscs.h:29
virtual OFCondition setDepthsOfFocus(const Float64 value, const unsigned long pos, const OFBool checkValue=OFTrue)
Set Depth(s) of Focus.
OFCondition addImageEntryDescriptors(DSRDocumentSubTree &tree, DcmItem &dataset, const AddImageMode mode, const ConceptNameList &descriptors, const OFBool check)
add image library entry descriptors (TID 1602) to given document subtree.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmDataDictionary * dataDict
the data dictionary managed by this class
Definition: dcdict.h:277
OFBool useShutterBitmap
if true, a bitmap shutter is in use
Definition: dcmpstat.h:888
Code with Modifier(s).
Definition: iodmacro.h:217
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
OFVector< TrcTrackSet * > m_TrackSets
Content Identification for this Tractography Results object.
Definition: trcmodtractresults.h:164
OFCondition setVOIWindow(double wCenter, double wWidth, const char *description=NULL)
sets a user defined VOI window center and width.
OFString ObservationDateTime
observation date/time (VR=DT, conditional)
Definition: dsrdoctn.h:760
OFCondition setDoseRateSet(const OFString &value, const OFBool check=OFTrue)
set DoseRateSet (300a,0115)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmTime TimeOfLastCalibration
TimeOfLastCalibration (0018,1201) vr=TM, vm=1-n, type=3.
Definition: drtiontr.h:3067
virtual OFCondition getModality(OFString &value, const signed long pos=0) const
get Modality (0008,0060)
DcmUniqueIdentifier referencedSOPClassUID
VR=UI, VM=1, Type 1c.
Definition: dvpsri.h:161
OFCondition removeImageReference(DcmItem &dset)
removes a reference to an image from this presentation state.
int writeImageToDataset(DcmItem &dataset, const int mode, const int planar)
write current image and related attributes to DICOM dataset.
@ CervicalSpine
(122494005,SCT,"Cervical spine")
Definition: cid4031.h:70
OFCondition setBeamLimitingDeviceRotationDirection(const OFString &value, const OFBool check=OFTrue)
set BeamLimitingDeviceRotationDirection (300a,0121)
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSUnsupportedBitDepthForTransform
error condition constant: The images' color transformation is not supported in this bit depth
virtual DcmEVR ident() const
get element type identifier
This class handles common functions of all command line applications for document encapsulation.
Definition: dcencdoc.h:42
virtual ~DcmDicomDir()
destructor. If DICOMDIR was modified, writes new file.
DVPSVOIWindow_PList(const DVPSVOIWindow_PList ©)
copy constructor
virtual OFCondition getAcquisitionTimeSynchronized(OFString &value, const signed long pos=0) const
get acquisition time synchronized
virtual OFCondition checkValue(const OFString &timeValue) const
check the specified time value for validity.
virtual ssize_t write(void *buf, size_t nbyte)
attempts to write nbyte bytes from the given buffer to the transport connection.
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtcss.h:329
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
const DRTReferencedPerformedProcedureStepSequence & getReferencedPerformedProcedureStepSequence() const
get ReferencedPerformedProcedureStepSequence (0008,1111)
Definition: drtplan.h:1790
@ WaterFraction
(129103,DCM,"Water fraction"), included from CID 7180
Definition: cid7469.h:348
virtual ~Item()
destructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFBool isRTPrescriptionModulePresent(const OFBool complete=OFFalse)
check whether RTPrescriptionModule (U) is present.
virtual OFCondition setPhotometricInterpretation(const OFString &value, const OFBool check=OFTrue)
set PhotometricInterpretation (0028,0004)
virtual OFCondition writeItem(DcmItem &dataset) const
write numeric measurement value to dataset
Implementation of DCMR Context Group: CID 29 - Acquisition Modality.
Definition: cid29.h:35
Item & getCurrentItem()
get current item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
DRTTreatmentSummaryCalculatedDoseReferenceSequence & getTreatmentSummaryCalculatedDoseReferenceSequence()
get TreatmentSummaryCalculatedDoseReferenceSequence (3008,0050)
Definition: drttreat.h:1743
OFCondition setImagePolarity(size_t idx, const char *value)
sets the polarity for the given registered image box.
OFStackBase()
default constructor
Definition: ofstack.h:84
OFBool goUp()
go one level up, i.e. restore the position on the next upper level and forget about the current level
OFMap< EnumType, DSRBasicCodedEntry > CodeList
type used for storing and managing the coded entries
Definition: cid10013.h:117
DcmUniqueIdentifier ReferencedFrameOfReferenceUID
ReferencedFrameOfReferenceUID (3006,0024) vr=UI, vm=1, type=1.
Definition: drtssrs.h:243
double WindowCenter
center of current VOI-window
Definition: dimoimg.h:1103
@ AP_XrayAngiographicDVD
1024 X-Ray Angiographic Studies on DVD Media (STD-XA1K-DVD)
Definition: dcddirif.h:155
virtual ~SiAuthorizationProfile()
destructor
Definition: siautopr.h:43
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
FGPlaneOrientationVolume()
Constructor, creates empty Plane Orientation (Volume) Functional Group.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFListIterator(ItemStruct *) OldIterator
last visited position in item list
OFList< OFString > transferSyntaxes
List of Transfer Syntaxes for Presentation Context.
Definition: scu.h:1011
CodeWithModifiers(const CodeWithModifiers &rhs)
Copy constructor, performs deep copy.
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
OFCondition encodeDataset(DcmItem &item, SiMAC &mac, E_TransferSyntax oxfer, DcmAttributeTag &tagListOut, DcmAttributeTag *tagListIn=NULL)
encodes a DICOM dataset (or parts of it) as a byte stream in the format required for DICOM digital si...
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
OFCondition getNumberOfScanSpotPositions(Sint32 &value, const unsigned long pos=0) const
get NumberOfScanSpotPositions (300a,0392)
virtual void flush()
instructs the consumer to flush its internal content until either the consumer becomes "flushed" or I...
Item & getCurrentItem()
get current item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition getReferencedBeamNumber(OFString &value, const signed long pos=0) const
get ReferencedBeamNumber (300c,0006)
OFCondition setCompensatorColumns(const OFString &value, const OFBool check=OFTrue)
set CompensatorColumns (300a,00e8)
OFCondition setInstitutionName(const OFString &value, const OFBool check=OFTrue)
set InstitutionName (0008,0080)
Class representing a single item in Derivation Image Sequence.
Definition: fgderimg.h:127
@ Nurse
(106292003,SCT,"Nurse")
Definition: cid7452.h:60
signed long getLeft() const
get current x-coordinate of overlay origin.
Definition: diovlay.h:244
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTPurposeOfReferenceCodeSequence PurposeOfReferenceCodeSequence
PurposeOfReferenceCodeSequence (0040,a170) vr=SQ, vm=1, type=1.
Definition: drtris.h:145
DcmCodeString UniversalEntityIDType
UniversalEntityIDType (0040,0033) vr=CS, vm=1, type=1C.
Definition: drtiseis.h:148
DRTProcedureCodeSequence ProcedureCodeSequence
ProcedureCodeSequence (0008,1032) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4911
virtual OFCondition setPatientSpeciesDescription(const OFString &value, const OFBool check=OFTrue)
set PatientSpeciesDescription (0010,2201)
void adjust(DcmQuantPixel &px, long col, long maxval)
uses the Floyd-Steinberg error vectors to adjust the color of the current image pixel.
Definition: diqtfs.h:64
OFCondition read(DcmItem &item)
read elements from sequence item
const Item & operator[](const size_t num) const
get particular item in the sequence
DVPSPresentationLUT_PList(const DVPSPresentationLUT_PList ©)
copy constructor
DRTStrainCodeSequence & getStrainCodeSequence()
get StrainCodeSequence (0010,0219)
Definition: drtimage.h:3082
DSRTextTreeNode(const E_RelationshipType relationshipType, const OFString &textValue, const OFBool check=OFTrue)
constructor
Item EmptyItem
empty default item
Definition: drtiis.h:626
OFCondition getFractionGroupNumber(Sint32 &value, const unsigned long pos=0) const
get FractionGroupNumber (300a,0071)
OFCondition setDVHDoseScaling(const OFString &value, const OFBool check=OFTrue)
set DVHDoseScaling (3004,0052)
#define DUL_LEN_TITLE
pure virtual base class for DUL mode callbacks
Definition: dul.h:145
int isValid() const
check whether overlay plane is valid
Definition: diovpln.h:185
virtual ~DSRXMLCursor()
destructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setOutputDirectory(const OFString &directory)
specify the output directory to be used for the storage of the received DICOM datasets.
virtual void ensureInstanceUIDs(const OFBool correctInvalid=OFFalse)
Make sure that the IOD contains a SOP Instance, Series Instance and Study Instance UID.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual unsigned long getVM()
get value multiplicity
iterator const_iterator
this is just an alias for iterator since iterator is already "const"
Definition: ofstring.h:822
size_t stackSize
size of stack
Definition: ofstack.h:155
DSRXMLCursor(const DSRXMLCursor &cursor)
copy constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTSourceImageSequence & getSourceImageSequence()
get SourceImageSequence (0008,2112)
Definition: drttreat.h:1671
virtual OFCondition setStudyID(const OFString &value, const OFBool check=OFTrue)
set StudyID (0020,0010)
void * position(void *node)
Make a node current and return the argument.
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_ValueMultiplicityViolated
Value Multiplicity (VM) violated.
const OFString & getContextIdentifier() const
get context identifier.
Definition: dsrcodvl.h:431
DRTContourImageSequence(const DRTContourImageSequence ©)
copy constructor
virtual unsigned long getPeerCertificateLength()
returns the size in bytes of the peer certificate of a secure connection.
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtshds.h:172
DRTRangeShifterSettingsSequenceInRTIonBeamsModule & getRangeShifterSettingsSequence()
get RangeShifterSettingsSequence (300a,0360)
Definition: drticps.h:501
const DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence() const
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtdose.h:2122
virtual OFCondition getNameOfPhysiciansReadingStudy(OFString &value, const signed long pos=0) const
get NameOfPhysiciansReadingStudy (0008,1060)
OFCondition setPETImageRadiopharmaceuticalStopDateTime(const OFString &dateTime, const OFBool check=OFTrue)
set the value of the descriptor 'Radiopharmaceutical Stop Date Time' (TID 1607 - Row 5) for the curre...
virtual OFCondition setSegmentDescription(const OFString &value, const OFBool checkValue=OFTrue)
Set Segment Label.
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtds.h:721
@ FEM_dicomFile
extract each C-FIND-RSP dataset to a DICOM file.
Definition: dfindscu.h:54
void clear()
clear all internal member variables
Item & operator[](const size_t num)
get particular item in the sequence
void setAlwaysAcceptDefaultRole(const OFBool enabled)
Option to always accept a default role as association acceptor.
void lookupVRinDictionary()
performs a look-up of the VR for the current tag key in the dictionary, under consideration of the pr...
virtual OFCondition selectValue(const DSRCodedEntryValue &codedEntryValue, const OFBool check=OFTrue, const OFBool definedContextGroup=OFFalse)
select a given coded entry as the current value
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition setRTImageSID(const OFString &value, const OFBool check=OFTrue)
set RTImageSID (3002,0026)
DRTPatientSizeCodeSequence & operator=(const DRTPatientSizeCodeSequence ©)
assigment operator
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setNumberOfBeams(const OFString &value, const OFBool check=OFTrue)
set NumberOfBeams (300a,0080)
DSRDateTimeTreeNode(const E_RelationshipType relationshipType)
constructor
OFCondition gotoNextItem()
goto next item in the sequence
DcmShortString CompensatorID
CompensatorID (300a,00e5) vr=SH, vm=1, type=3.
Definition: drtcos.h:455
DcmDecimalString PatientSize
PatientSize (0010,1020) vr=DS, vm=1, type=3.
Definition: drtiontr.h:2950
const DcmProfileEntry * getProfileEntry(const OFString &profileName)
returns profile identified by given name
DRTReferencedPatientPhotoSequence ReferencedPatientPhotoSequence
ReferencedPatientPhotoSequence (0010,1100) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2900
DRTContributingEquipmentSequence & getContributingEquipmentSequence()
get ContributingEquipmentSequence (0018,a001)
Definition: drtionpl.h:1307
OFBool isEmpty()
check if sequence is empty
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
PerFrameGroups m_perFrame
Link from frame number (map key) to the list of functional groups (value) relevant for the frame.
Definition: fginterface.h:310
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 dataset to a stream
factory class which creates secure TLS transport layer connections and maintains the parameters commo...
Definition: tlslayer.h:107
OFBool isEmpty()
check if sequence is empty
DRTHL7StructuredDocumentReferenceSequence & getHL7StructuredDocumentReferenceSequence()
get HL7StructuredDocumentReferenceSequence (0040,a390)
Definition: drttreat.h:1287
DcmFindSCU()
constructor, does not execute any network-related code.
DcmRepresentationEntry(const E_TransferSyntax rt, const DcmRepresentationParameter *rp, DcmPixelSequence *pixSeq)
constructor
virtual OFCondition setAllergies(const OFString &value, const OFBool check=OFTrue)
set Allergies (0010,2110)
static OFCondition getStringValueFromElement(const DcmElement &delem, OFString &stringValue, const signed long pos)
Get string value from element.
Class that wraps some constant definitions in the context of IODs.
Definition: iodtypes.h:67
DcmFloatingPointSingle TableTopRollAngleTolerance
TableTopRollAngleTolerance (300a,0050) vr=FL, vm=1, type=3.
Definition: drttts.h:359
Item & operator[](const size_t num)
get particular item in the sequence
DRTSeriesDescriptionCodeSequence SeriesDescriptionCodeSequence
SeriesDescriptionCodeSequence (0008,103f) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3176
OFCondition setNonidentifyingPrivateElements(const Uint16 value, const unsigned long pos=0)
set NonidentifyingPrivateElements (0008,0304)
OFBool haveGLRecommendedDisplayValue()
checks whether a recommended display value (grayscale, color or both) exists.
OFBool findSOPInstance(const char *storeArea, const OFString &sopClassUID, const OFString &sopInstanceUID)
search for a SOP class and SOP instance UIDs in index file.
OFCondition evaluateAssociationParameters(const char *profile, T_ASC_Association &assoc) const
this method evaluates an incoming association request according to the settings of a profile maintain...
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrbos7.h:134
virtual ~DSRDocumentTreeNodeOrFilter()
destructor
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoImageLibraryEntry
error: there is no image library entry to add descriptors to
signed long getTop() const
get current y-coordinate of overlay origin.
Definition: diovlay.h:254
@ Circumference
(74551000,SCT,"Circumference"), included from CID 7470
Definition: cid7469.h:378
OFCondition read(DcmItem &item)
read elements from sequence item
DRTReferencedReferenceImageSequenceInRTBeamsModule & operator=(const DRTReferencedReferenceImageSequenceInRTBeamsModule ©)
assigment operator
virtual OFCondition getFrameReferenceDateTime(OFString &value, const signed long pos=0)
Get Frame Reference Date Time.
void clear()
clear all internal member variables
DcmUniversalResourceIdentifierOrLocator RetrieveURI
RetrieveURI (0040,e010) vr=UR, vm=1, type=3.
Definition: drthsdrs.h:164
void cleanup()
frees all memory allocated by the error vectors
static size_t countCharactersInUTF8String(const OFString &utf8String)
count characters in given UTF-8 string and return the resulting number of so-called "code points".
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
unsigned char * payload
pointer to raw payload data in big endian byte order
Definition: dvpsmsg.h:155
OFCondition getReasonForTheAttributeModification(OFString &value, const signed long pos=0) const
get ReasonForTheAttributeModification (0400,0565)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getPatientOrientation(OFString &value, const signed long pos=0) const
get PatientOrientation (0020,0020)
DcmIntegerString StopTrim
StopTrim (0008,2143) vr=IS, vm=1, type=3.
Definition: drtimage.h:5220
virtual OFCondition getSeriesNumber(OFString &value, const signed long pos=0) const
get SeriesNumber (0020,0011)
DiPNGMetainfo metainfoType
PNG metainfo type.
Definition: dipipng.h:136
Definition: factory.h:233
OFCondition addImageReferenceToPState(const char *studyUID, const char *seriesUID, const char *instanceUID)
adds an image which is contained in the database to the list of referenced images of the current pres...
const char * getVoiWindowExplanation(const unsigned long pos, OFString &explanation) const
get description of specified VOI window (stored in the image file)
OFCondition putAndInsertUint32(const DcmTag &tag, const Uint32 value, const unsigned long pos=0, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
DRTXDSRetrievalSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getRTImageDescription(OFString &value, const signed long pos=0) const
get RTImageDescription (3002,0004)
DRTSourceInstanceSequence(const DRTSourceInstanceSequence ©)
copy constructor
void clear()
clear all internal member variables
Item(const Item ©)
copy constructor
Interface class for IonBeamLimitingDeviceSequence (300a,03a4)
Definition: drtiblds.h:28
size_t getNumberOfPolyShutterVertices()
gets polygonal shutter number of points.
MdfDatasetManager * ds_man
dataset manager that is used for modify operations
Definition: mdfconen.h:157
virtual OFCondition getClinicalTrialSubjectID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectID (0012,0040)
EF_VoiLutFunction getVoiLutFunction() const
get VOI LUT function.
Definition: dcmimage.h:750
E_ParseStatus parseArgumentList(OFList< OFString > &argList, const int flags)
parse the given argument list and check it for known options/parameters
const DSRGraphicDataItem & getItem(const size_t idx) const
get reference to the specified item
OFCondition setRadiationType(const OFString &value, const OFBool check=OFTrue)
set RadiationType (300a,00c6)
const DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence() const
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtstrct.h:1212
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFCondition getRangeShifterNumber(Sint32 &value, const unsigned long pos=0) const
get RangeShifterNumber (300a,0316)
OFCondition setDeviceDiameterUnits(const OFString &value, const OFBool check=OFTrue)
set DeviceDiameterUnits (0050,0017)
OFCondition setConversionFlags(const unsigned flags)
set flags controlling converter behavior, e.g. illegal character sequences should be handled during c...
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtds.h:543
virtual OFCondition setPatientSpeciesDescription(const OFString &value, const OFBool check=OFTrue)
set PatientSpeciesDescription (0010,2201)
E_ContinuityOfContent getContinuityOfContent() const
get continuity of content flag.
Definition: dsrcontn.h:153
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition setPatientName(const OFString &value, const OFBool check=OFTrue)
set PatientName (0010,0010)
OFBool havePresentationLookupTable()
checks if a real Presentation LUT (not shape) is available in the presentation state.
Definition: dcmpstat.h:255
virtual size_t getItemSize() const =0
get size of one pixel / item in the pixel array (abstract)
Uint16 Src_Y
height of source image
Definition: ditranst.h:125
virtual offile_off_t write(const void *buf, offile_off_t buflen)
processes as many bytes as possible from the given input block.
OFBool isFixedRangeVM() const
returns true if element has a fixed VM range
Definition: dcdicent.h:177
DcmKeyFileFormat m_privateKeyFileFormat
private key file format
Definition: tlsscu.h:224
Class for checking the relationship content constraints of the Acquisition Context SR IOD.
Definition: dsracqcc.h:44
DcmUnsignedShort ROIElementalCompositionAtomicNumber
ROIElementalCompositionAtomicNumber (3006,00b7) vr=US, vm=1, type=1.
Definition: drtrecs.h:132
const Item & getCurrentItem() const
get current item in the sequence
DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence()
get RequestingServiceCodeSequence (0032,1034)
Definition: drtstrct.h:1710
virtual ~DSRDateTreeNode()
destructor
Implementation of DCMR Template: TID 1600 - Image Library (and included templates 1601-1607).
Definition: tid1600.h:73
OFCondition getCodingSchemeURLType(OFString &value, const signed long pos=0) const
get CodingSchemeURLType (0008,010a)
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual int processNextFrames(const unsigned long fcount)
process next couple of frames
void destroy()
Required: type destructor, destroys the underlying object and must set the state to "disengaged".
@ Ppm
(ppm,UCUM,"ppm")
Definition: cid7181.h:138
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition setResponsibleOrganization(const OFString &value, const OFBool check=OFTrue)
set ResponsibleOrganization (0010,2299)
virtual OFCondition getImageTriggerDelay(Float64 &value, const unsigned long pos=0) const
get ImageTriggerDelay (0018,1067)
virtual OFCondition setRealWorldValueIntercept(const Float64 value, const OFBool checkValue=OFTrue)
Set Real World Value Intercept.
@ ESC_none
no stream compression
Definition: dcxfer.h:164
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrpis.h:197
void clear()
clear all internal member variables
virtual OFCondition getAllergies(OFString &value, const signed long pos=0) const
get Allergies (0010,2110)
virtual OFBool checkCallingAETitleAccepted(const OFString &callingAE)
Overwrite this function if calling AE title should undergo checking.
OFCondition setOFDate(const OFDate &dateValue)
set the element value to the given date
OFCondition getNominalPriorDose(OFString &value, const signed long pos=0) const
get NominalPriorDose (300a,001a)
OFBool isSeriesUID(const char *uid)
compare SOP Instance UID.
Sint32 biWidth
width of the image (in pixels)
Definition: diutils.h:180
xmlDocPtr Document
pointer to the internal representation of the XML document (libxml)
Definition: dsrxmld.h:308
virtual OFCondition setPatientAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientAlternativeCalendar (0010,0035)
virtual size_t countChildNodes(const OFBool searchIntoSub=OFTrue) const
count number of children of the current node.
OFCondition setFinding(const DSRCodedEntryValue &finding, const OFBool check=OFTrue)
set the value of the 'Finding' content item (TID 1411 - Row 3b).
virtual OFBool isPatientStudyModulePresent(const OFBool complete=OFFalse)
check whether PatientStudyModule (U) is present.
DVPSGraphicObject * getGraphicObject(size_t idx)
returns a pointer to the graphic object with the given index or NULL if it does not exist.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtics.h:324
virtual ~Item()
destructor
void resize(size_t n, char c='\0')
if n <= size(), truncates the string to length n else it pads the extra locations with c.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpcs.h:533
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtircs.h:608
virtual OFCondition getEthnicGroup(OFString &value, const signed long pos=0) const
get EthnicGroup (0010,2160)
virtual ~DcmOtherByteOtherWord()
destructor
OFCondition readItem(DcmItem &dataset, const char *moduleName, const size_t flags)
read code from dataset.
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule & operator=(const DRTReferencedRTPlanSequenceInRTGeneralTreatmentRecordModule ©)
assigment operator
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Uint32 getConnectionTimeout() const
Returns connection timeout.
@ FGM_CurrentSystemTime
generate filename from current system time
Definition: dstorscp.h:79
Class representing the "Derivation Image Functional Group Macro".
Definition: fgderimg.h:306
Item & operator=(const Item ©)
assigment operator
virtual OFCondition getWindowWidth(OFVector< Float64 > &value) const
get WindowWidth (0028,1051)
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_InvalidDocumentTree
error: the document tree is invalid (e.g. corrupted structure)
Class that manages a list of SOP instances significantly related to the current SR document.
Definition: dsrrefin.h:44
OFCondition setMeasuredDoseValue(const OFString &value, const OFBool check=OFTrue)
set MeasuredDoseValue (3008,0016)
OFBool isEmpty()
check if sequence is empty
virtual void clear()
clear the internal member variables
void setParamColumn(const int column)
sets default width of parameter column
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item class.
Definition: drtdias.h:36
DcmCodeString PatientSexNeutered
PatientSexNeutered (0010,2203) vr=CS, vm=1, type=2C.
Definition: drttreat.h:2822
size_t gotoLastEntryFromNodeList(DSRDocumentSubTree *tree, const size_t lastPos, const size_t firstPos=0)
set internal cursor of a given document tree to a particular node.
OFBool isEmpty()
check if item is empty
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Definition: jdhuff12.h:219
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setTargetMaximumDose(const OFString &value, const OFBool check=OFTrue)
set TargetMaximumDose (300a,0027)
virtual OFCondition getRecognizableVisibleFeatures(OFString &value, const signed long pos=0)
Get Recognizable Visual Features.
@ PowerDoppler
(425704008,SCT,"Power Doppler"), included from CID 7180
Definition: cid7469.h:176
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const DRTChannelShieldSequence & getChannelShieldSequence() const
get ChannelShieldSequence (300a,02b0)
Definition: drtchs.h:434
const DRTPatientSetupSequence & getPatientSetupSequence() const
get PatientSetupSequence (300a,0180)
Definition: drtionpl.h:1589
DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence()
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drttreat.h:1539
DcmUIDHandler uid_
abstract syntax
Definition: dccfrsmp.h:100
DRTPatientSetupSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTBeamLimitingDeviceSequenceInRTImageModule(const DRTBeamLimitingDeviceSequenceInRTImageModule ©)
copy constructor
virtual OFCondition getFrameDelay(OFString &value, const signed long pos=0) const
get FrameDelay (0018,1066)
virtual OFCondition setBoneThermalIndex(const OFString &value, const OFBool checkValue=OFTrue)
Set Bone Thermal Index.
DSRWaveformReferenceValue * getWaveformReferencePtr()
get pointer to waveform reference.
OFCondition setKVP(const OFString &value, const OFBool check=OFTrue)
set KVP (0018,0060)
OFCondition setOrganAtRiskFullVolumeDose(const OFString &value, const OFBool check=OFTrue)
set OrganAtRiskFullVolumeDose (300a,002a)
DiImage * createOutputImage(const unsigned long frame, const int bits)
create new single frame DiImage with applied grayscale transformations.
void insert(iterator it, InputIterator from, InputIterator to)
insert a range of elements in this OFVector.
Definition: ofvector.h:257
T & reference
member typedef for T&
Definition: oflist.h:190
void clear()
return object to default constructed state (invalid cursor)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setPatientWeight(const OFString &value, const OFBool check=OFTrue)
set PatientWeight (0010,1030)
Item & getCurrentItem()
get current item in the sequence
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtds.h:545
@ PT_Color
Color Softcopy Presentation State (CSPS)
Definition: dsrtypes.h:633
virtual ~DRTRecordedRangeShifterSequence()
destructor
OFCondition getMetersetExposure(Float64 &value, const unsigned long pos=0) const
get MetersetExposure (3002,0032)
abstract base class for a codec parameter object that describes the settings (modes of operations) fo...
Definition: dccodec.h:43
static const OFString & localTimezone(OFString &timezoneString)
get local timezone in DICOM format.
OFString characterSet
the given character set
Definition: dcmqrcnf.h:99
DVPSReferencedImage * findImageReference(const char *seriesUID, const char *instanceUID)
find image reference in this list.
virtual OFCondition getLossyImageCompression(OFString &value, const signed long pos=0)
Get Lossy Image Compression.
@ Resident
(405277009,SCT,"Resident")
Definition: cid7452.h:72
virtual ~DRTStructureSetIOD()
destructor
Item EmptyItem
empty default item
Definition: drtgmcs.h:540
virtual OFCondition getContentQualification(OFString &value, const signed long pos=0) const
get ContentQualification (0018,9004)
virtual DcmEVR ident() const
return identifier for this class.
Definition: dcovlay.h:104
@ VS_Invalid
argument contains invalid char(s)
Definition: ofcmdln.h:178
Class implementing a list of document tree node filters that are combined with AND (conjunction)
Definition: dsrdnflt.h:120
IODSynchronizationModule()
Constructor.
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
DVPSGraphicLayer()
default constructor
I2DOutputPlug()
Constructor, initializes member variables.
Definition: i2doutpl.h:50
virtual ~DcmPixelSequence()
destructor
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtgmcs.h:345
OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
void clear()
clear all internal member variables
DRTRequestAttributesSequence & getRequestAttributesSequence()
get RequestAttributesSequence (0040,0275)
Definition: drtdose.h:2572
Definition: syncprim.h:159
virtual ~DSRDocumentTreeNodeHasConceptNameFilter()
destructor
virtual OFCondition initialize()
initializes the MAC algorithm.
OFBool isEmpty()
check if item is empty
const Item & operator[](const size_t num) const
get particular item in the sequence
Item & getCurrentItem()
get current item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcpas.h:162
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtas1.h:184
OFCondition getNumberOfLateralSpreadingDevices(OFString &value, const signed long pos=0) const
get NumberOfLateralSpreadingDevices (300a,0330)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition setDeviceSerialNumber(const OFString &value, const OFBool check=OFTrue)
set DeviceSerialNumber (0018,1000)
DRTReferencedSeriesSequence ReferencedSeriesSequence
ReferencedSeriesSequence (0008,1115) vr=SQ, vm=1, type=1C.
Definition: drtiontr.h:3213
const DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence() const
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtiontr.h:1653
const void * getFullOverlayData(const unsigned long frame, const unsigned int plane, unsigned int &width, unsigned int &height, const unsigned int idx, const int bits=8, const Uint16 fore=0xff, const Uint16 back=0x0)
create bitmap for specified overlay plane.
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition getContrastFlowDuration(Float64 &value, const unsigned long pos=0) const
get ContrastFlowDuration (0018,1047)
OFList< DVPSReferencedSeries * > list_
the list maintained by this object
Definition: dvpsrsl.h:183
type definitions and constants for the color quantization classes
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n", const OFString &charset="")
check whether given string value conforms to the VR "UC" (Unlimited Characters) and to the specified ...
DcmDecimalString ReferenceAirKermaRate
ReferenceAirKermaRate (300a,022a) vr=DS, vm=1, type=1.
Definition: drtss.h:416
OFCondition getReferencedROINumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedROINumber (3006,0084)
OFString PhotometricInterpretation
photometric interpretation (color model)
Definition: didocu.h:415
virtual OFCondition digest(const unsigned char *data, unsigned long length)
feeds data into the MAC algorithm
OFCondition setFixationEye(const OFString &value, const OFBool check=OFTrue)
set FixationEye (300a,0150)
This is a very simple filter based on LogLevel matching.
Definition: filter.h:173
OFCondition removeImageReference(const char *studyUID, const char *seriesUID, const char *instanceUID)
removes a reference to an image from this presentation state.
@ COMP_UNKNOWN
Unknown (e.g. not set)
Definition: dpmtypes.h:78
void setDatasetConversionMode(const OFBool mode)
Set the mode that specifies whether the transfer syntax of the dataset can be changed for network tra...
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
static OFString & getValueFromXMLNodeContent(const DSRXMLDocument &doc, DSRXMLCursor cursor, OFString &dateValue, const OFBool clearString=OFTrue)
get DICOM date value from given XML element.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrsts.h:325
DRTDeidentificationMethodCodeSequence DeidentificationMethodCodeSequence
DeidentificationMethodCodeSequence (0012,0064) vr=SQ, vm=1, type=1C.
Definition: drtiontr.h:2860
@ EIS_InvalidValue
invalid value for an important attribute
Definition: diutils.h:234
Item & getCurrentItem()
get current item in the sequence
DcmDecimalString ControlPointRelativePosition
ControlPointRelativePosition (300a,02d2) vr=DS, vm=1, type=1.
Definition: drtbcps.h:229
this helper class maintains a map of presentation context lists.
Definition: dccfpcmp.h:114
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtsdcs.h:333
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition setStudyID(const OFString &value, const OFBool checkValue=OFTrue)
Set Study ID.
void convert(const T1 *pixel, const unsigned long planeSize, const int bits, const OFBool rgb)
convert input pixel data to intermediate representation
Definition: diybrpxt.h:82
@ CVT_Long
long code value (VR=UC)
Definition: dsrtypes.h:839
@ VolumeEstimatedFromSingle2DRegion
(121216,DCM,"Volume estimated from single 2D region"), included from CID 7472
Definition: cid7469.h:400
@ EXS_JPIPReferenced
JPIP Referenced.
Definition: dcxfer.h:101
virtual OFCondition setStudyDescription(const OFString &value, const OFBool checkValue=OFTrue)
Set Study Description.
DcmDecimalString ContrastBolusIngredientConcentration
ContrastBolusIngredientConcentration (0018,1049) vr=DS, vm=1, type=3.
Definition: drtimage.h:5207
void checkBits(const Uint16 bits, const Uint16 rightBits, const Uint16 wrongBits=0, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
check (and possibly correct) value for bits per LUT entry.
virtual OFBool apply(const OFString &value)
apply the actual filter.
Definition: dcfilter.h:74
virtual CodeSequenceMacro & getSegmentedPropertyTypeCode()
Get Segmented Property Type Code.
const DRTBeamLimitingDeviceToleranceSequence & getBeamLimitingDeviceToleranceSequence() const
get BeamLimitingDeviceToleranceSequence (300a,0048)
Definition: drttts.h:246
DRTReferencedStudySequence & getReferencedStudySequence()
get ReferencedStudySequence (0008,1110)
Definition: drtiontr.h:1707
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence()
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtdose.h:2308
static const int busy
this constant is returned by the tryrdlock() and trywrlock() methods if the read/write lock is alread...
Definition: ofthread.h:484
@ RTImage
(RTIMAGE,DCM,"RT Image")
Definition: cid29.h:116
OFCondition setLocalNamespaceEntityID(const OFString &value, const OFBool check=OFTrue)
set LocalNamespaceEntityID (0040,0031)
DRTUDISequence UDISequence
UDISequence (0018,100a) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3239
virtual OFCondition setPatientBodyMassIndex(const OFString &value, const OFBool check=OFTrue)
set PatientBodyMassIndex (0010,1022)
DRTOriginalAttributesSequence OriginalAttributesSequence
OriginalAttributesSequence (0400,0561) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5443
E_GrpLenEncoding groupLength_
group length encoding when writing DICOM files
Definition: dcmqropt.h:76
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSUnsupportedPhotometricInterpretation
error condition constant: Unsupported photometric interpretation for near-lossless JPEG-LS compressio...
virtual ~Item()
destructor
virtual ~OFDateTime()
destructor
DCMTK_DCMNET_EXPORT OFGlobal< Uint32 > dcmMaxOutgoingPDUSize
global flag allowing to restrict the maximum size of outgoing P-DATA PDUs to a value less than the ma...
DcmRLEEncoder & operator=(const DcmRLEEncoder &)
private undefined copy assignment operator
virtual ~DRTReferencedBolusSequenceInRTBeamsModule()
destructor
virtual CodeSequenceMacro & getAlgorithmNameCode()
Get Algorithm Name Code.
void GetAttributeValueForMatchingRecord(DcmTagKey tag, WlmSuperiorSequenceInfoType *superiorSequenceArray, unsigned long numOfSuperiorSequences, unsigned long idx, char *&value)
This function determines an attribute value of a matching record and returns this value in a newly cr...
void determineSupportedCiphers()
determine the set of ciphersuites that are supported both by DCMTK and the OpenSSL library we are cur...
void add(const DcmQuantPixel &colorP, int value)
adds a new color to the hash table.
Definition: diqthash.h:54
virtual unsigned long getVM()
get the value multiplicity.
size_t rfind(char pattern, size_t pos=OFString_npos) const
scans the current string backwards, and finds the first occurrence of pattern in the string (from the...
structure used by class OFConfigFile to store a cursor pointing to the currently selected section and...
Definition: ofconfig.h:188
Item & getCurrentItem()
get current item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
const DRTSourceSequence & getSourceSequence() const
get SourceSequence (300a,0210)
Definition: drtplan.h:1934
virtual OFCondition setAdditionalPatientHistory(const OFString &value, const OFBool check=OFTrue)
set AdditionalPatientHistory (0010,21b0)
virtual OFString getName() const
Get name of the module ("MultiframeFunctionalGroupsModule")
bool exists(const log4cplus::tstring &name) const
Tests to see whether or not an object is bound in the registry as name.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Implementation of DCMR Context Group: CID 4031 - Common Anatomic Regions.
Definition: cid4031.h:35
defines a "null" security profile that does not require or forbid any MAC algorithm,...
Definition: sinullpr.h:38
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtporcs.h:329
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getReferencedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
DcmLongText SOPAuthorizationComment
SOPAuthorizationComment (0100,0424) vr=LT, vm=1, type=3.
Definition: drtstrct.h:3107
OFBool operator!=(const OFConditionConst &arg) const
comparison operator.
Definition: ofcond.h:94
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the stored UID reference, is valid
virtual ~DSRComprehensiveSRConstraintChecker()
destructor
DcmFloatingPointSingle ScanningSpotSize
ScanningSpotSize (300a,0398) vr=FL, vm=2, type=3.
Definition: drticpds.h:866
@ PT_Blending
Blending Softcopy Presentation State (BSPS)
Definition: dsrtypes.h:637
DRTIssuerOfPatientIDQualifiersSequence IssuerOfPatientIDQualifiersSequence
IssuerOfPatientIDQualifiersSequence (0010,0024) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4787
Item & operator[](const size_t num)
get particular item in the sequence
const char * getDescription() const
get description of overlay plane
Definition: diovpln.h:342
virtual DcmObject * clone() const
clone method
Definition: dcvrpn.h:68
size_t getNumberOfFrames()
Get number of frames, based on the number of items in the shared functional functional groups sequenc...
virtual OFCondition getPatientSexNeutered(OFString &value, const signed long pos=0) const
get PatientSexNeutered (0010,2203)
virtual unsigned long getVM()
get value multiplicity
OFBool hasAnnotation() const
check whether this node has a (non-empty) annotation
Definition: dsrtree.h:120
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtbrcss.h:329
DVPSStoredPrint_PList & operator=(const DVPSStoredPrint_PList &)
private undefined assignment operator
InstanceStruct * gotoInstance(const OFString &instanceUID)
set cursor to the specified instance entry (if existent)
DSRGraphicDataList & operator=(const DSRGraphicDataList &lst)
assignment operator
Item & getItem(const size_t num)
get particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
DRTIonBlockSequence & getIonBlockSequence()
get IonBlockSequence (300a,03a6)
Definition: drtibs.h:540
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Uint16 getActivationGroup(const char *layer, size_t idx, OFBool isCurve)
gets the repeating group of the overlay/curve activation with the given index on the given layer.
OFCondition checkFiducialUID(const OFString &fiducialUID) const
check the specified fiducial UID for validity
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
static OFCondition create(const OFString &instanceNumber, const OFString &contentLabel, const OFString &contentDescription, const OFString &contentCreatorName, ContentIdentificationMacro *&result)
Create Content Identification Macro with minimally required data.
virtual offile_off_t tell() const
returns the total number of bytes written to the stream so far
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtds.h:303
DVPSTextObject * removeTextObject(size_t idx)
returns a pointer to the text object with the given index (or NULL if it does not exist) and removes ...
virtual OFCondition setStudyDescription(const OFString &value, const OFBool check=OFTrue)
set study description
Item & operator[](const size_t num)
get particular item in the sequence
DRTIssuerOfServiceEpisodeIDSequence(const DRTIssuerOfServiceEpisodeIDSequence ©)
copy constructor
OFCondition setRedPaletteColorLookupTableDescriptor(const Uint16 value, const unsigned long pos=0)
set RedPaletteColorLookupTableDescriptor (0028,1101)
DcmFloatingPointSingle BeamDosePointEquivalentDepth
BeamDosePointEquivalentDepth (300a,0089) vr=FL, vm=1, type=1C.
Definition: drtbvcps.h:188
size_t getNumberOfItems() const
get number of items in the sequence
virtual ~Item()
destructor
DSRTemporalCoordinatesValue * getValuePtr()
get pointer to temporal coordinates value
Definition: dsrtcovl.h:225
Item class.
Definition: drtspcs.h:38
const DRTReasonForRequestedProcedureCodeSequence & getReasonForRequestedProcedureCodeSequence() const
get ReasonForRequestedProcedureCodeSequence (0040,100a)
Definition: drtras.h:171
size_t roiWidth
Region of Interest width for for VOI transform of monochrome images, mode 7.
Definition: djcparam.h:399
IODPatientStudyModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
OFunique_ptr(OFrvalue_ref(OFunique_ptr) rhs)
Move constructor.
@ Toe
(29707007,SCT,"Toe")
Definition: cid4031.h:236
const Item & getItem(const size_t num) const
get particular item in the sequence
OFBool isEmpty()
check if sequence is empty
OFCondition deleteMultipleImages(size_t number)
deletes multiple of the registered images, starting with the first one.
DcmFileCache(const DcmFileCache &arg)
private undefined copy constructor
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtspccs.h:337
void clear()
clear all internal member variables
virtual OFCondition setMeasuredAPDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredAPDimension (0010,1023)
virtual OFCondition getSpatialResolution(OFString &value, const signed long pos=0) const
get SpatialResolution (0018,1050)
const DRTTreatmentSummaryCalculatedDoseReferenceSequence & getTreatmentSummaryCalculatedDoseReferenceSequence() const
get TreatmentSummaryCalculatedDoseReferenceSequence (3008,0050)
Definition: drtiontr.h:1881
virtual OFBool isMultiFrameModulePresent(const OFBool complete=OFFalse)
check whether MultiFrameModule (C) is present.
virtual ~DSRNumTreeNode()
destructor
DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence()
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtionpl.h:1607
virtual OFCondition sendECHORequest(const T_ASC_PresentationContextID presID)
This function sends a C-ECHO command via network to another DICOM application.
static unsigned long getElemValue(const DcmElement *elem, Uint16 &returnVal, const unsigned long pos=0, const OFBool allowSigned=OFFalse)
get value of given element (Uint16)
virtual void close()
Close socket.
@ withAllDescriptors
add image entry with all descriptors from TID 1602 (and included templates)
Definition: tid1600.h:87
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition addRole(const char *key, const char *abstractSyntaxUID, T_ASC_SC_ROLE role)
adds the given abstract syntax UID and role to the list of SCP/SCU role selection items maintained un...
@ EFG_PLANEPOSITIONVOLUME
Plane Position (Volume)
Definition: fgtypes.h:150
OFTime getLocalTime() const
get the currently stored time in local time.
iterator end()
get an iterator that points past the last valid object.
Definition: ofvector.h:181
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFBool isSignable() const
returns true if the current object may be included in a digital signature
static Time gettimeofday()
Returns the current time using the gettimeofday() method if it is available on the current platform.
const OFString & getStringValue() const
get string value.
CID244_Laterality(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getPerformedProcedureStepID(OFString &value, const signed long pos=0) const
get PerformedProcedureStepID (0040,0253)
Sint32 getCenterOfCircularShutter_x()
gets circular shutter center x component.
virtual OFCondition putUint32Array(const Uint32 *uintVals, const unsigned long numUints)
set element value to given integer array data
static OFTime getCurrentTime()
get the current system time
OFCondition addOrReplaceContentItem(const size_t nodePos, const E_RelationshipType relationshipType, const E_ValueType valueType, const DSRCodedEntryValue &conceptName, const OFString &annotationText, const OFBool check)
add a new or replace an existing content item with a given node ID.
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition receiveDIMSEDataset(T_ASC_PresentationContextID *presID, DcmDataset **dataObject)
Receive one dataset (of instance data) via network from another DICOM application.
unsigned long threadID()
returns the thread identifier of the thread referenced by the OFThread object, if the thread has alre...
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmLongText SOPAuthorizationComment
SOPAuthorizationComment (0100,0424) vr=LT, vm=1, type=3.
Definition: drtiontr.h:3186
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrims.h:364
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFBool isEmpty()
check if item is empty
virtual unsigned long getVM()
get value multiplicity
virtual offile_off_t write(const void *buf, offile_off_t buflen)
processes as many bytes as possible from the given input block.
virtual OFBool matches(const DSRDocumentTreeNode *node) const
check whether given node matches the filter criterion
const Item & getCurrentItem() const
get current item in the sequence
IODGeneralEquipmentModule m_Equipment
General Equipment Module.
Definition: iodcommn.h:252
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition setBluePaletteColorLookupTableData(const Uint16 *value, const unsigned long count)
set BluePaletteColorLookupTableData (0028,1203)
void renameLayer(const char *oldName, const char *newName)
renames the graphic annotation layer name in all activations with a matching old graphic annotation l...
OFPair()
default constructor
Definition: ofutil.h:333
virtual OFCondition finalize(unsigned char *result)
finalizes the MAC and writes it to the given output array, which must be at least getSize() bytes lar...
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual void removeVerification()
remove verification information.
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrshs.h:176
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
Definition: i2dplvlp.h:29
DcmAttributeFilter(const DcmTagKey &tag, const OFString &value)
construct a DcmAttributeFilter object that compares the attribute with one specific value.
static const size_t XF_useNativeModel
write data in "Native DICOM Model" format as defined for Application Hosting (DICOM part 19).
Definition: dctypes.h:230
unsigned int getMicroSecond() const
get the micro second part of the currently stored second value
DiOverlayData(unsigned int entries, unsigned int count=0)
constructor
const char * getOverlayDescription(const unsigned int plane, const unsigned int idx=0) const
get description of specified overlay plane
Definition: dcmimage.h:1226
OFConfigFileNode * son_
pointer to next object in tree on lower level
Definition: ofconfig.h:172
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmFloatingPointDouble(const DcmTag &tag, const Uint32 len)
constructor.
OFCondition gotoFirstItem()
goto first item in the sequence
DcmDecimalString TargetMaximumDose
TargetMaximumDose (300a,0027) vr=DS, vm=1, type=3.
Definition: drtrdrs8.h:370
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getOriginalSpecializedSOPClassUID(OFString &value, const signed long pos=0) const
get OriginalSpecializedSOPClassUID (0008,001b)
OFBool addOption(const char *longOpt, const char *shortOpt, const char *optDescr, const int flags=0)
adds an item to the list of valid options (without additional values)
DSRDocumentTreeNodeCursor(DSRDocumentTreeNode *node, const DSRPositionCounter *position=NULL)
constructor.
Item & operator=(const Item ©)
assigment operator
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmAttributeMatching(const DcmVR vr)
Construct an DcmAttributeMatching object that is appropriate for the given VR.
OFCondition write(DcmItem &item)
write elements to sequence item
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtpics.h:343
OFCondition setModifyingSystem(const OFString &value, const OFBool check=OFTrue)
set ModifyingSystem (0400,0563)
OFString CodeMeaning
Code Meaning (VR=LO, type 1)
Definition: dsrcodvl.h:717
DcmDataset()
default constructor
OFTestManager & operator=(const OFTestManager &obj)
Private undefined assignment operator.
DcmDecimalString SpecifiedPrimaryMeterset
SpecifiedPrimaryMeterset (3008,0032) vr=DS, vm=1, type=3.
Definition: drttsibs.h:1062
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrris6.h:331
DRTMeasurementUnitsCodeSequence & getMeasurementUnitsCodeSequence()
get MeasurementUnitsCodeSequence (0040,08ea)
Definition: drtqds.h:224
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition setReviewTime(const OFString &value, const OFBool check=OFTrue)
set ReviewTime (300e,0005)
void setAnnotationLayer(const char *aLayer)
set annotation layer name of this annotation.
int lowestBucket
index of lowest bucket for which the DcmDictEntryList has been initialized
Definition: dchashdi.h:294
DcmSegTypes::E_SegmentationFractionalType m_SegmentationFractionalType
Segmentation Fractional Type: (CS, 1, 1C) (required if FRACTIONAL)
Definition: segdoc.h:606
const DRTPersonIdentificationCodeSequence & getPersonIdentificationCodeSequence() const
get PersonIdentificationCodeSequence (0040,1101)
Definition: drtprsis.h:154
OFBool isEmpty()
check if item is empty
virtual ~Item()
destructor
virtual OFCondition getGantryAngle(Float64 &value, const unsigned long pos=0) const
get GantryAngle (300a,011e)
virtual OFCondition setRedPaletteColorLookupTableData(const Uint16 *value, const unsigned long count)
set RedPaletteColorLookupTableData (0028,1201)
OFString acceptedTransferSyntax
Transfer Syntax accepted for this Presentation Context (UID)
Definition: scp.h:122
E_DirectoryGenerationMode getDirectoryGenerationMode() const
get the mode for generating subdirectories used to store the received datasets
static const size_t HF_createFootnoteReferences
internal: create footnote references
Definition: dsrtypes.h:344
Item & operator=(const Item ©)
assigment operator
OFCondition getEndCumulativeMetersetWeight(Float64 &value, const unsigned long pos=0) const
get EndCumulativeMetersetWeight (300c,0009)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition setBeamType(const OFString &value, const OFBool check=OFTrue)
set BeamType (300a,00c4)
OFCondition getImageNumberOfFrames(unsigned long &frames)
gets the number of frames of the current (attached) image.
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition setLargestImagePixelValue(const Uint16 value, const unsigned long pos=0)
set LargestImagePixelValue (0028,0107)
DcmQuantPixelBoxArray & operator=(const DcmQuantPixelBoxArray &src)
private undefined copy assignment operator
Item(const Item ©)
copy constructor
virtual E_MACType macType() const
returns the type of MAC algorithm computed by this object
virtual ~DRTXDSRetrievalSequence()
destructor
DcmFloatingPointSingle ScanSpotPositionMap
ScanSpotPositionMap (300a,0394) vr=FL, vm=1-n, type=1C.
Definition: drticps.h:813
virtual OFCondition setClinicalTrialSiteID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSiteID (0012,0030)
DcmCodeString ResponsiblePersonRole
ResponsiblePersonRole (0010,2298) vr=CS, vm=1, type=1C.
Definition: drtionpl.h:2940
const DcmExtendedNegotiationList * getExtendedNegotiationList(const char *key) const
returns the list of extended negotiation items identified by the given key
OFBool m_refuseAssociation
Indicates if the application shall refuse any association attempt regardless of what the SCU proposes...
Definition: scpcfg.h:352
OFCondition performQuery(const char *peer, unsigned int port, const char *ourTitle, const char *peerTitle, const char *abstractSyntax, E_TransferSyntax preferredTransferSyntax, T_DIMSE_BlockingMode blockMode, int dimse_timeout, Uint32 maxReceivePDULength, OFBool secureConnection, OFBool abortAssociation, unsigned int repeatCount, DcmFindSCUExtractMode extractResponses, int cancelAfterNResponses, OFList< OFString > *overrideKeys, DcmFindSCUCallback *callback=NULL, OFList< OFString > *fileNameList=NULL, const char *outputDirectory=NULL, const char *extractFilename=NULL)
main worker method that negotiates an association, executes one or more C-FIND-RQ transactions,...
OFCondition selectCharacterSet(const OFString &fromCharset, const OFString &toCharset="ISO_IR 192")
select DICOM character sets for the input and output string, between which subsequent calls of conver...
virtual OFDate & operator=(const OFDate &dateVal)
assignment operator
Item class.
Definition: drtdimcs.h:37
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
IODImagePixelBase(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
void setProgressNotificationMode(const OFBool mode)
Set the mode that specifies whether the progress of sending and receiving DIMSE messages is notified ...
static OFBool isnan(float f)
Determines if the given floating point number is a not-a-number (NaN) value.
virtual OFBool operator!=(const DSRContentItem &item) const
comparison operator "not equal".
void clear()
clear all internal member variables
OFCondition setTableTopLongitudinalPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopLongitudinalPosition (300a,0129)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
HL7HierarchicDesignatorMacro m_IssuerOfAccessionNumberSequence
Issuer of Accession Number Sequence.
Definition: modgeneralstudy.h:235
@ IMAGE
Reference to an image object, see also class IODImageReference.
Definition: iodreferences.h:66
int setVoiLutFunction(const EF_VoiLutFunction function)
set VOI LUT function
Definition: dcmimage.h:739
virtual OFCondition setIssuerOfPatientID(const OFString &value, const OFBool check=OFTrue)
set IssuerOfPatientID (0010,0021)
OFString pw_shell
the shell program.
Definition: ofpwd.h:91
virtual const char * getDefinedTerm() const
returns the DICOM identifier for this MAC algorithm
CodeSequenceMacro m_Units
Single item from Measurement Units Code Sequence (units of measurement)
Definition: trcmeasurement.h:242
static OFCondition checkElementValue(const DcmElement *delem, const DcmTagKey &tagKey, const OFString &vm, const OFString &type, const OFCondition &searchCond=EC_Normal, const char *moduleName=NULL, const dcmtk::log4cplus::LogLevel logLevel=dcmtk::log4cplus::WARN_LOG_LEVEL)
Check element value for correct value multiplicity and type.
static unsigned int getRepresentationBits(EP_Representation repres)
determine number of bits used for a particular integer representation
DcmUnlimitedText & operator=(const DcmUnlimitedText &obj)
copy assignment operator
double TimeZone
currently stored time zone value
Definition: oftime.h:421
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFCondition setContourGeometricType(const OFString &value, const OFBool check=OFTrue)
set ContourGeometricType (3006,0042)
OFBool isEmpty()
check if item is empty
int compare(size_t pos1, size_t n1, const char *s, size_t n2=OFString_npos) const
constructs a temporary string from this object and another temporary from the input and compares the ...
int processId
process id
Definition: wltypdef.h:85
virtual OFVector< TrcTrackSet * > & getTrackSets()
Get track sets.
OFBool writeRandomSeed(const char *randFile)
writes a modified random seed to file.
const OFString & getCodingSchemeResponsibleOrganization(OFString &stringValue) const
get the coding scheme responsible organization of the currently selected item
@ Germany
(DE,ISO3166_1,"Germany")
Definition: cid5001.h:49
OFCondition getTransferTubeNumber(Sint32 &value, const unsigned long pos=0) const
get TransferTubeNumber (300a,02a2)
virtual OFCondition getPatientAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientAlternativeCalendar (0010,0035)
virtual OFCondition getPerformingPhysicianName(OFString &value, const signed long pos=0) const
Get Performing Physician's Name.
OFCondition gotoFirstItem()
goto first item in the sequence
DRTReferencedSeriesSequence ReferencedSeriesSequence
ReferencedSeriesSequence (0008,1115) vr=SQ, vm=1, type=1C.
Definition: drtionpl.h:3316
DcmLongString ClinicalTrialTimePointID
ClinicalTrialTimePointID (0012,0050) vr=LO, vm=1, type=2.
Definition: drtimage.h:4967
DcmLongString OverlayLabel
OverlayLabel (60xx,1500) vr=LO, vm=1, type=3.
Definition: drtdose.h:4508
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrrshs.h:331
virtual OFCondition getSint16(Sint16 &sintVal, const unsigned long pos=0)
get particular integer value
Properties getPropertySubset(const log4cplus::tstring &prefix) const
Returns a subset of the "properties" whose keys start with "prefix".
Item & operator=(const Item ©)
assigment operator
Item & operator[](const size_t num)
get particular item in the sequence
DcmTime StudyTime
StudyTime (0008,0030) vr=TM, vm=1, type=2.
Definition: drtiontr.h:2894
void checkValue(const OFCommandLine::E_ValueStatus status, OFCommandLine *cmd=NULL)
check value status and print error message if necessary
OFBool isEmpty()
check if item is empty
Item(const Item ©)
copy constructor
OFCondition setRequestedProcedureID(const OFString &value, const OFBool check=OFTrue)
set RequestedProcedureID (0040,1001)
OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
DRTReferencedPerformedProcedureStepSequence ReferencedPerformedProcedureStepSequence
ReferencedPerformedProcedureStepSequence (0008,1111) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3099
DRTGeneticModificationsSequence GeneticModificationsSequence
GeneticModificationsSequence (0010,0221) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4835
const Item & operator[](const size_t num) const
get particular item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
Item(const Item ©)
copy constructor
DVPSFilmSession * filmSession
basic film session instance
Definition: dvpsprt.h:279
Item & operator=(const Item ©)
assigment operator
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtajcs.h:205
DcmCodeString ContentQualification
ContentQualification (0018,9004) vr=CS, vm=1, type=3.
Definition: drtiontr.h:3206
virtual OFCondition getROIMean(Float64 &value, const unsigned long pos=0) const
get ROIMean (60xx,1302)
virtual OFCondition getQueryRetrieveView(OFString &value, const signed long pos=0) const
get QueryRetrieveView (0008,0053)
const DRTReferencedStudySequence & getReferencedStudySequence() const
get ReferencedStudySequence (0008,1110)
Definition: drtdose.h:2542
QRResponse()
Standard constructor.
Definition: scu.h:80
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
static OFCondition addCodeContentItemFromDataset(DSRDocumentSubTree &tree, DcmItem &dataset, const DcmTagKey &tagKey, const DSRCodedEntryValue &conceptName, const OFString &annotationText, const OFBool check)
add a CODE content item with a coded entry value copied from the given dataset.
virtual OFCondition initialize()
initializes the MAC algorithm.
const Item & getCurrentItem() const
get current item in the sequence
Item class.
Definition: drtfds.h:36
virtual OFCondition setResponsibleOrganization(const OFString &value, const OFBool check=OFTrue)
set ResponsibleOrganization (0010,2299)
OFCondition getBlockTransmission(Float64 &value, const unsigned long pos=0) const
get BlockTransmission (300a,0102)
OFString Name
Name of the application (short form)
Definition: ofconapp.h:222
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
Item & getItem(const size_t num)
get particular item in the sequence
void convertValue(T2 &red, T2 &green, T2 &blue, const T2 y, const T2 cb, const T2 cr, const T2 maxvalue)
convert a single YCbCr value to RGB
Definition: diyf2pxt.h:138
unsigned int getMonth() const
get the currently stored month value
virtual ~DSRTextTreeNode()
destructor
virtual OFBool isMultiFrameOverlayModulePresent(const OFBool complete=OFFalse)
check whether MultiFrameOverlayModule (U) is present.
OFListIterator(Item *) CurrentItem
currently selected item
unsigned long columns
number of columns in image
Definition: diqtfs.h:215
DcmOutputStream & operator=(const DcmOutputStream &)
private unimplemented copy assignment operator
OFCondition getLUTDescriptor(Uint16 &value, const unsigned long pos=0) const
get LUTDescriptor (0028,3002)
virtual OFCondition getResponsiblePersonRole(OFString &value, const signed long pos=0) const
get ResponsiblePersonRole (0010,2298)
virtual OFCondition getRTPlanLabel(OFString &value, const signed long pos=0) const
get RTPlanLabel (300a,0002)
virtual DPMParametricMapImageModule & getDPMParametricMapImageModule()
Get Parametric Map Image Module.
const DRTStructureSetROISequence & getStructureSetROISequence() const
get StructureSetROISequence (3006,0020)
Definition: drtdose.h:2650
DSRContextGroup(const OFString &contextIdentifier, const OFString &mappingResource, const OFString &contextGroupVersion="", const OFString &contextGroupUID="", const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
constructor
virtual OFCondition getPatientDeathDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientDeathDateInAlternativeCalendar (0010,0034)
helper class used by DcmStack.
Definition: dcstack.h:35
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
OFCondition getBrachyAccessoryDeviceID(OFString &value, const signed long pos=0) const
get BrachyAccessoryDeviceID (300a,0263)
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
@ Neck
(45048000,SCT,"Neck")
Definition: cid4031.h:166
virtual OFCondition verify(const unsigned char *inputHash, unsigned long inputHashSize, E_MACType inputHashAlgorithm, const unsigned char *inputSignature, unsigned long inputSignatureSize, OFBool &verified)
verifies a signature.
virtual OFCondition setAdditionalPatientHistory(const OFString &value, const OFBool check=OFTrue)
set AdditionalPatientHistory (0010,21b0)
virtual OFBool isTransparentConnection()
returns OFTrue if this connection is a transparent TCP connection, OFFalse if the connection is a sec...
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getReferencedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Item EmptyItem
empty default item
Definition: drtdvrrs.h:322
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtcss.h:343
OFBool readAsUN_
true if this sequence has been instantiated while reading an UN element with undefined length
Definition: dcsequen.h:637
DcmTLSCiphersuiteHandler & operator=(const DcmTLSCiphersuiteHandler &)
private undefined assignment operator
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition checkNumericValueQualifier(const DSRCodedEntryValue &valueQualifier) const
check the specified numeric value qualifier for validity.
virtual ~DiFlipTemplate()
destructor
Definition: diflipt.h:100
const OFString CodeMeaning
Code Meaning (VR=LO, type 1)
Definition: dsrcodvl.h:104
OFCondition read(DcmItem &dataset, const size_t flags)
read instance level attributes from dataset
DRTGroupOfPatientsIdentificationSequence & operator=(const DRTGroupOfPatientsIdentificationSequence ©)
assigment operator
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
OFCondition getWedgeNumber(Sint32 &value, const unsigned long pos=0) const
get WedgeNumber (300a,00d2)
DRTBlockSequenceInRTImageModule & getBlockSequence()
get BlockSequence (300a,00f4)
Definition: drtes.h:351
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmShortText BeamDescription
BeamDescription (300a,00c3) vr=ST, vm=1, type=3.
Definition: drtbs.h:723
Uint32 getNumberOfLUTs()
returns the number of Presentation LUTs in the configuration file.
T & at(size_type i)
access an entry by index.
Definition: ofvector.h:338
DSRCodedEntryValue * getCodeValuePtr()
get pointer to code value.
DRTDeviceSequence & operator=(const DRTDeviceSequence ©)
assigment operator
Interface class for ContourImageSequence (3006,0016)
Definition: drtcis.h:28
virtual OFCondition getConversionType(OFString &value, const signed long pos=0) const
get ConversionType (0008,0064)
DcmUnsignedShort overlayColumns
VR=US, VM=1, Type=1.
Definition: dvpsov.h:149
DiImage * createRotate(const int degree) const
create a rotated copy of the current image.
int setPolarity(const EP_Polarity polarity)
set polarity.
Definition: dcmimage.h:872
DcmOther64bitVeryLong(const DcmOther64bitVeryLong &old)
copy constructor
CID29e_AcquisitionModality(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getHeadFixationAngleTolerance(Float64 &value, const unsigned long pos=0) const
get HeadFixationAngleTolerance (300a,0152)
virtual OFCondition setPatientSize(const OFString &value, const OFBool check=OFTrue)
set PatientSize (0010,1020)
Item & operator=(const Item ©)
assigment operator
DcmCodeString overlayType
VR=CS, VM=1, Type=1.
Definition: dvpsov.h:151
void setMaxPrintPreviewWidthHeight(unsigned long width, unsigned long height)
sets the maximum print preview bitmap width and height.
DcmFloatingPointSingle(const DcmFloatingPointSingle &old)
copy constructor
DSRReferencedTimeOffsetList(const DSRReferencedTimeOffsetList &lst)
copy constructor
OFCondition setReferencedSegmentNumber(const Uint16 value, const unsigned long pos=0)
set ReferencedSegmentNumber (0062,000b)
DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence()
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtplan.h:1268
const DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence() const
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtionpl.h:1493
DRTContextGroupIdentificationSequence ContextGroupIdentificationSequence
ContextGroupIdentificationSequence (0008,0123) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5418
@ YBR_FULL_CRComponent
(110839,DCM,"YBR FULL CR Component"), included from CID 7180
Definition: cid7469.h:214
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setFixationLightPolarAngleTolerance(const OFString &value, const OFBool check=OFTrue)
set FixationLightPolarAngleTolerance (300a,0155)
DcmCodeString PhotometricInterpretation
PhotometricInterpretation (0028,0004) vr=CS, vm=1, type=1.
Definition: drtiis.h:425
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
Semaphore sem
Semaphore that limits the queue length.
Definition: queue.h:140
@ MmHg
(mm[Hg],UCUM,"mmHg"), included from CID 3500
Definition: cid7181.h:44
const Item & operator[](const size_t num) const
get particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
DRTCodingSchemeIdentificationSequence & operator=(const DRTCodingSchemeIdentificationSequence ©)
assigment operator
DRTPhysiciansReadingStudyIdentificationSequence PhysiciansReadingStudyIdentificationSequence
PhysiciansReadingStudyIdentificationSequence (0008,1062) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2765
DRTReferencedStructureSetSequence ReferencedStructureSetSequence
ReferencedStructureSetSequence (300c,0060) vr=SQ, vm=1, type=1.
Definition: drtdose.h:4595
DcmTransferSyntaxMap(const DcmTransferSyntaxMap &arg)
Copy constructor, performs deep copy.
virtual int getOutputData(void *buffer, const unsigned long size, const unsigned long frame, const int bits, const int planar=0)
get pixel data with specified format.
OFVector< OFString > gr_mem
usernames of group members.
Definition: ofgrp.h:87
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmCodeString presentationLabel
Module=Presentation_State, VR=CS, VM=1, Type 1.
Definition: dcmpstat.h:851
OFCondition findRepresentationEntry(const DcmRepresentationEntry &findEntry, DcmRepresentationListIterator &result)
find a representation entry and return an iterator to the found entry or the next element in the list...
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtpss.h:525
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual ~DRTFractionGroupSummarySequence()
destructor
Interface class for ReferencedRTPlanSequence (300c,0002) in RTImageModule.
Definition: drtrrtps5.h:28
DVConfiguration(const char *config_file=NULL)
constructor.
OFCondition write(DcmItem &item)
write elements to sequence item
Item & operator=(const Item ©)
assigment operator
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset.
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtspccs.h:329
OFCondition setPresentationLookupTable(DcmUnsignedShort &lutDescriptor, DcmUnsignedShort &lutData, DcmLongString &lutExplanation)
stores a presentation lookup table in the presentation state.
Sint32 getGLOrder()
gets the graphic layer order of this layer.
virtual OFCondition read(DcmItem &dataset)
Read Parametric Map attributes (all those handled by this class) from given item.
Class for YCbCr images.
Definition: diybrimg.h:39
DcmDirectoryRecord * buildSeriesRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFFilename &sourceFilename)
create or update new series record and copy required values from dataset
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmShortString RTImageLabel
RTImageLabel (3002,0002) vr=SH, vm=1, type=1.
Definition: drtimage.h:5275
virtual ~DVPSSoftcopyVOI()
destructor
OFBool isEmpty()
check if sequence is empty
DiOverlayPlane(DiOverlayPlane *plane, const unsigned int bit, const Uint16 *data, Uint16 *temp, const Uint16 width, const Uint16 height, const Uint16 columns, const Uint16 rows)
constructor, copy
@ EVR_up
up="unsigned pointer", used internally for DICOMDIR support
Definition: dcvr.h:234
@ EVR_DT
date time string
Definition: dcvr.h:141
OFunique_ptr(pointer p)
Constructs a OFunique_ptr which owns p.
Definition: ofmem.h:305
OFCondition setMaterialID(const OFString &value, const OFBool check=OFTrue)
set MaterialID (300a,00e1)
size_t getOverlayInPresentationStateActivationLayer(size_t idx)
gets the index of the activation layer on which the given overlay from the presentation state is acti...
DcmDataset * m_statusDetail
Status detail (NULL if absent).
Definition: scu.h:114
OFString(const char *s, size_t n)
This constructor copies n characters starting at s, and constructs a string object initialized with t...
void clear()
clear all internal member variables
DcmTime StudyTime
StudyTime (0008,0030) vr=TM, vm=1, type=2.
Definition: drtdose.h:4178
static DcmRLECodecParameter * cp
pointer to codec parameter
Definition: dcrledrg.h:69
DcmHashDictIterator operator++(int)
post-increment operator
Definition: dchashdi.h:160
static void printInvalidContentItemMessage(const char *action, const DSRDocumentTreeNode *node, const char *location=NULL)
print the warning message that the current content item is invalid/incomplete.
@ StandardizedUptakeValue
(126400,DCM,"Standardized Uptake Value"), included from CID 7180
Definition: cid7469.h:312
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
@ GT3_Polygon
DICOM Graphic Type: POLYGON.
Definition: dsrtypes.h:693
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setEncryptedContent(const Uint8 *value, const unsigned long count)
set EncryptedContent (0400,0520)
DcmUniqueIdentifier StudyInstanceUID
StudyInstanceUID (0020,000d) vr=UI, vm=1, type=1.
Definition: drtstrct.h:2823
void push_front(const DcmQuantPixel &colorP, int value)
inserts a new DcmQuantHistogramItem at the beginning of the list.
Definition: diqthitl.h:100
DRTRangeModulatorSettingsSequenceInRTIonBeamsSessionRecordModule RangeModulatorSettingsSequence
RangeModulatorSettingsSequence (300a,0380) vr=SQ, vm=1, type=1C.
Definition: drticpds.h:848
const Item & getCurrentItem() const
get current item in the sequence
OFBool isEmpty()
check if item is empty
const DSRTreeNodeAnnotation & getAnnotation() const
get annotation of this node (optional)
Definition: dsrtree.h:135
virtual OFBool checkAttributeList(DcmItem &item, DcmAttributeTag &tagList)
checks whether the given list of attribute tags fulfils the requirements of the current security prof...
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
Class for content item CODE.
Definition: dsrcodtn.h:42
virtual ~DRTMeasuredDoseReferenceSequence()
destructor
DRTIonToleranceTableSequence(const DRTIonToleranceTableSequence ©)
copy constructor
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setReviewerName(const OFString &value, const OFBool check=OFTrue)
set ReviewerName (300e,0008)
DVPSTextObject * getTextObject(const char *layer, const char *instanceUID, unsigned long frame, size_t idx)
gets the text object (applicable to the current image and frame) with the given index on the given la...
void setActivationLayer(const char *aLayer)
set activation layer name of this activation.
@ DCMSCU_RELEASE_ASSOCIATION
Release the current association.
Definition: scu.h:47
OFBool operator==(const DSRStringValue &stringValue) const
comparison operator "equal".
Item class.
Definition: drtrwvms.h:38
DVInterface(const DVInterface &)
private undefined copy constructor
OFBool isEmpty()
check if item is empty
virtual OFCondition getEthnicGroup(OFString &value, const signed long pos=0) const
get EthnicGroup (0010,2160)
virtual OFCondition getImagesInAcquisition(OFString &value, const signed long pos=0) const
get ImagesInAcquisition (0020,1002)
@ EWM_dontUpdateMeta
write as fileformat but don't update the meta header (please be careful!)
Definition: dctypes.h:166
virtual DcmObject * clone() const
clone method
Definition: dcitem.h:111
DSRCodedEntryValue(const DSRCodedEntryValue &codedEntryValue)
copy constructor
Item & operator=(const Item ©)
assigment operator
int writeImageToDataset(DcmItem &dataset, const int mode=0, const int planar=2)
write current image and related attributes to DICOM dataset.
Definition: dcmimage.h:1701
void setRowsPerStrip(unsigned long rows=0)
set rows per strip for TIFF creation.
OFListIterator(Item *) CurrentItem
currently selected item
virtual ~Item()
destructor
DcmLongString AdmittingDiagnosesDescription
AdmittingDiagnosesDescription (0008,1080) vr=LO, vm=1-n, type=3.
Definition: drttreat.h:2778
virtual ~IODImagePixelModule()
Destructor.
OFCondition gotoNextItem()
goto next item in the sequence
virtual ~Item()
destructor
Item & operator[](const size_t num)
get particular item in the sequence
OFBool getTargetPrinterSupportsAnnotation(const char *targetID)
returns OFTrue if an ANNOTATION entry for the printer with the given target ID from the configuration...
unsigned long getValue(const DcmTagKey &tag, Uint16 &returnVal, const unsigned long pos=0, DcmItem *item=NULL, const OFBool allowSigned=OFFalse) const
get value of given tag (Uint16)
@ _66_Gallium
(79477007,SCT,"^66^Gallium")
Definition: cid4020.h:82
DcmIntegerString RangeModulatorNumber
RangeModulatorNumber (300a,0344) vr=IS, vm=1, type=1.
Definition: drtrms.h:201
Item & getItem(const size_t num)
get particular item in the sequence
the representation of one VOI LUT in a DICOM image.
Definition: dvpsvl.h:38
static const OFString m_ModuleName
The name of this module ("DPMParametricMapSeriesModule")
Definition: dpmmodparametricmapseries.h:127
virtual DcmObject * clone() const
clone method
Definition: dcvrut.h:86
@ MilliliterPer100Milliliter
(ml/[100]ml,UCUM,"milliliter per 100 milliliter")
Definition: cid7181.h:166
DRTDoseReferenceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmLongText SOPAuthorizationComment
SOPAuthorizationComment (0100,0424) vr=LT, vm=1, type=3.
Definition: drtionpl.h:3289
OFCondition getCodingSchemeResponsibleOrganization(OFString &value, const signed long pos=0) const
get CodingSchemeResponsibleOrganization (0008,0116)
OFCondition setBlockTrayID(const OFString &value, const OFBool check=OFTrue)
set BlockTrayID (300a,00f5)
DcmPixelItem & operator=(const DcmPixelItem &obj)
copy assignment operator
DcmPathNode * back()
Returns last path component.
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmCodeString TableTopPitchRotationDirection
TableTopPitchRotationDirection (300a,0142) vr=CS, vm=1, type=2C.
Definition: drticps.h:831
DRTBreedRegistrationSequence & getBreedRegistrationSequence()
get BreedRegistrationSequence (0010,2294)
Definition: drtstrct.h:1170
DSRTypes::E_TemporalRangeType TemporalRangeType
temporal range type (associated DICOM VR=CS, type 1)
Definition: dsrtcovl.h:269
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getChannelIdentificationCode(Sint32 &value, const unsigned long pos=0) const
get ChannelIdentificationCode (003a,0301)
void clear()
clear all internal member variables
virtual OFBool isPatientStudyModulePresent(const OFBool complete=OFFalse)
check whether PatientStudyModule (U) is present.
@ IE_PATIENT
Patient Entity.
Definition: iodtypes.h:90
DcmCodeString ROIGenerationAlgorithm
ROIGenerationAlgorithm (3006,0036) vr=CS, vm=1, type=2.
Definition: drtssrs.h:233
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getObservationDateTime(OFString &value, const signed long pos=0) const
get ObservationDateTime (0040,a032)
DRTAdditionalDrugSequence & getAdditionalDrugSequence()
get AdditionalDrugSequence (0018,002a)
Definition: drtcbars.h:206
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
Item & getCurrentItem()
get current item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
DRTStudiesContainingOtherReferencedInstancesSequence StudiesContainingOtherReferencedInstancesSequence
StudiesContainingOtherReferencedInstancesSequence (0008,1200) vr=SQ, vm=1, type=1C.
Definition: drtionpl.h:3318
DcmLongString SeriesDescription
SeriesDescription (0008,103e) vr=LO, vm=1, type=3.
Definition: drtdose.h:4287
virtual ~Item()
destructor
DRTReferencedDoseReferenceSequenceInRTBeamsModule ReferencedDoseReferenceSequence
ReferencedDoseReferenceSequence (300c,0050) vr=SQ, vm=1, type=3.
Definition: drtcps.h:681
OFCondition getStartCumulativeMetersetWeight(Float64 &value, const unsigned long pos=0) const
get StartCumulativeMetersetWeight (300c,0008)
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition setTreatmentProtocols(const OFString &value, const OFBool check=OFTrue)
set TreatmentProtocols (300a,0009)
virtual ~Item()
destructor
DcmCodeString QualityControlImage
QualityControlImage (0028,0300) vr=CS, vm=1, type=3.
Definition: drtimage.h:5092
void setPort(const Uint16 port)
Set SCP's TCP/IP listening port.
virtual OFCondition getSint16Array(Sint16 *&val)
get a pointer to the element value of the current element as type Sint16.
OFCondition getWedgeOrientation(Float64 &value, const unsigned long pos=0) const
get WedgeOrientation (300a,00d8)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setRTPlanName(const OFString &value, const OFBool check=OFTrue)
set RTPlanName (300a,0003)
virtual void emitMessage(void *arg, int msg_level) const
callback function used to report warning messages and the like.
OFCondition read(DcmItem &item)
read elements from sequence item
DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule & operator=(const DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule ©)
assigment operator
void setQuality(const unsigned int quality)
set quality value for JPEG compression
DcmLongString BlockName
BlockName (300a,00fe) vr=LO, vm=1, type=3.
Definition: drtbl2.h:354
void setOurAETitle(const char *ae)
set the AEtitle under which this application operates
Definition: dcmqrcbm.h:104
DVPSGraphicType getGraphicType()
gets the graphic type of this graphic object.
DcmCodeString LongitudinalTemporalEventType
LongitudinalTemporalEventType (0012,0053) vr=CS, vm=1, type=1C.
Definition: drtplan.h:3157
DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence()
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtimage.h:2650
DVPSPresentationLUT * clone()
clone method.
Definition: dvpspl.h:55
OFBool has_filename() const
Test whether the path contains a filename.
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
Interface class for ReferencedReferenceImageSequence (300c,0042) in RTBeamsModule.
Definition: drtrris1.h:28
virtual OFCondition getRTPlanDate(OFString &value, const signed long pos=0) const
get RTPlanDate (300a,0006)
DVPSSoftcopyVOI()
default constructor
virtual OFCondition setPatientName(const OFString &value, const OFBool checkValue=OFTrue)
Set Patient's Name.
virtual OFCondition setInConcatenationTotalNumber(const Uint16 value)
Set In-concatenation Total Number.
int elementGT(const DcmTagKey &key) const
greater-than operation comparing only element numbers
Definition: dctagkey.h:372
@ CervicoThoracicSpine
(297171002,SCT,"Cervico-thoracic spine")
Definition: cid4031.h:72
OFCondition getWedgeThinEdgePosition(Float32 &value, const unsigned long pos=0) const
get WedgeThinEdgePosition (300a,00db)
OFCondition getBlockDivergence(OFString &value, const signed long pos=0) const
get BlockDivergence (300a,00fa)
virtual OFCondition setFrameIncrementPointer(const OFString &value, const OFBool check=OFTrue)
set FrameIncrementPointer (0028,0009)
DRTReferencedInstanceSequence & getReferencedInstanceSequence()
get ReferencedInstanceSequence (0008,114a)
Definition: drtdose.h:2440
an item of the referenced series sequence in a presentation state (internal use only).
Definition: dvpsrs.h:38
Abstract base class to handle color pixel data.
Definition: dicopx.h:51
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
Implementation of DCMR Context Group: CID 10013 - CT Acquisition Type.
Definition: cid10013.h:35
OFCondition setDVHMaximumDose(const OFString &value, const OFBool check=OFTrue)
set DVHMaximumDose (3004,0072)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Item & getCurrentItem()
get current item in the sequence
OFListIterator(Item *) CurrentItem
currently selected item
void deleteOutputData()
delete internally handled output memory buffer Save memory if data is no longer needed.
OFCondition readFileHeader(Uint32 &offset)
Reads and checks the BMP file header.
int trywrlock()
trys to get a write lock.
OFCondition setRangeShifterID(const OFString &value, const OFBool check=OFTrue)
set RangeShifterID (300a,0318)
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setCompensatorPosition(const OFString &value, const OFBool check=OFTrue)
set CompensatorPosition (300a,00ea)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbrs.h:128
OFBool getIconFromFile(const OFFilename &filename, Uint8 *pixel, const unsigned long count, const unsigned int width, const unsigned int height)
create icon image from given PGM (portable gray map) file.
static E_VerificationFlag enumeratedValueToVerificationFlag(const OFString &enumeratedValue)
convert DICOM enumerated value to verification flag
virtual OFCondition setObservationDateTime(const DcmElement &delem, const unsigned long pos=0, const OFBool check=OFTrue)
set observation date/time from element
OFBool DeleteTreeNode
flag indicating whether to delete the 'TreeNode' during destruction (or not)
Definition: dsrcitem.h:593
OFCondition setDeidentificationAction(const OFString &value, const OFBool check=OFTrue)
set DeidentificationAction (0008,0307)
@ EDT_Monitor
monitor (softcopy output device), values expected to be in luminance (cd/m^2)
Definition: didispfn.h:65
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
OFListIterator(Item *) CurrentItem
currently selected item
const Item & operator[](const size_t num) const
get particular item in the sequence
~DcmPresentationContextItem()
destructor
virtual OFCondition encode(Uint16 columns, Uint16 rows, EP_Interpretation interpr, Uint16 samplesPerPixel, Uint8 *image_buffer, Uint8 *&to, Uint32 &length)
single frame compression routine for 8-bit raw pixel data.
OFString opt_requestFilePath
the directory where to store request files to
Definition: wlmactmg.h:85
bool isEnabledFor(LogLevel ll) const
Check whether this logger is enabled for a given LogLevel passed as parameter.
OFCondition getCompensatorRows(OFString &value, const signed long pos=0) const
get CompensatorRows (300a,00e7)
virtual OFCondition getSOPClassUID(OFString &value, const signed long pos=0) const
get SOPClassUID (0008,0016)
OFBool tagExistsWithValue(const DcmTagKey &key, OFBool searchIntoSub=OFFalse)
check if an element with the given attribute tag exists in the dataset and has a non-empty value
@ AP_GeneralPurposeMIME
General Purpose MIME Interchange Profile (STD-GEN-MIME)
Definition: dcddirif.h:147
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
OFCondition write(DcmItem &item)
write elements to sequence item
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtcps.h:648
const DRTVOILUTSequence & getVOILUTSequence() const
get VOILUTSequence (0028,3010)
Definition: drtimage.h:3136
const DRTReferencedFrameOfReferenceSequence & getReferencedFrameOfReferenceSequence() const
get ReferencedFrameOfReferenceSequence (3006,0010)
Definition: drtdose.h:2434
const DcmQueryRetrieveOptions & options_
reference to Q/R service options
Definition: dcmqrcbf.h:87
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTChannelSourceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcos.h:660
void clear()
clear all internal member variables
DRTRTROIObservationsSequence::Item & getObservationByROINumber(Sint32 roiNumber)
find an observation belonging to a given ROI number.
OFBool printSCPCreate(DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, OFBool matchRequired, OFBool supports12Bit)
performs a Print SCP N-CREATE operation on a newly created instance of this class.
virtual OFCondition getAlgorithmName(OFString &value, const signed long pos=0)
Get Algorithm Name.
OFStackLinkBase & operator=(const OFStackLinkBase &)
private undefined copy assignment operator
virtual OFCondition getClinicalTrialCoordinatingCenterName(OFString &value, const signed long pos=0) const
get ClinicalTrialCoordinatingCenterName (0012,0060)
virtual EP_Interpretation getInternalColorModel() const
get color model of internal pixel representation.
Definition: dicoimg.h:71
virtual void setLoggerFactory(OFunique_ptr< spi::LoggerFactory > factory)
Set the default LoggerFactory instance.
Class for by-reference relationships.
Definition: dsrreftn.h:40
DcmDecimalString GantryAngleTolerance
GantryAngleTolerance (300a,0044) vr=DS, vm=1, type=3.
Definition: drtitts.h:414
virtual OFCondition setSynchronizationChannel(const OFPair< Uint16, Uint16 > &value, const OFBool checkValue=OFTrue)
Set Synchronization Channel.
@ EVR_UC
unlimited characters
Definition: dcvr.h:201
DRTGeneticModificationsSequence GeneticModificationsSequence
GeneticModificationsSequence (0010,0221) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2781
DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence()
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtiontr.h:1251
Declares OFvariant and related functionality.
virtual const T * getNextNode() const
get pointer to next node.
Definition: dsrtncsr.h:492
OFCondition setRealWorldValueMap(const DSRCompositeReferenceValue &valueMap, const OFBool check=OFTrue)
set the value of the 'Real World Value Map used for measurement' content item (TID 1411 - Row 14).
static OFBool inTagList(const DcmElement *element, DcmAttributeTag *tagList)
checks whether the attribute tag of the given DcmElement is contained in the given list of tags.
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition read(DcmItem &item)
read elements from sequence item
@ EFV_Default
default function (not explicitly set)
Definition: diutils.h:275
OFCondition gotoNextItem()
goto next item in the sequence
DRTIonWedgePositionSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition setPatientSex(const OFString &value, const OFBool check=OFTrue)
set PatientSex (0010,0040)
OFCondition setDisplayedAreaPixelAspectRatio(double ratio)
sets the displayed area pixel spacing and removes any pixel spacing setting.
OFBool isCharsetValid(const char *charset)
check whether given charset identifier is valid.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getOverlayLabel(OFString &value, const signed long pos=0) const
get OverlayLabel (60xx,1500)
DcmTLSSecurityProfile getTLSProfile() const
return the currently selected TLS profile
Definition: tlsciphr.h:251
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getReviewDate(OFString &value, const signed long pos=0) const
get ReviewDate (300e,0004)
int setMaxDensityValue(const double value)
set maximum optical density value "Dmax".
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_OpenSSLFailure
an OpenSSL call has failed
DRTSetupDeviceSequence(const DRTSetupDeviceSequence ©)
copy constructor
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtmucs.h:327
Item & getItem(const size_t num)
get particular item in the sequence
Item class.
Definition: drtwps.h:36
const unsigned long FrameSize
number of pixels per frame (memory buffer size)
Definition: dicoopx.h:132
void RefuseAssociation(T_ASC_Association **assoc, WlmRefuseReasonType reason)
This function takes care of refusing an association request.
virtual OFCondition setServiceEpisodeDescription(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeDescription (0038,0062)
OFBool overlayIsSuitableAsBitmapShutter(size_t idx)
checks if an overlay from the presentation state is suitable for use as a bitmap shutter.
OFCondition gotoNextItem()
goto next item in the sequence
Item class.
Definition: drtbads.h:36
const OFVector< IODRule * > getByModule(const OFString &moduleName)
Get all rules that are marked belonging to a specific module.
virtual DSRDocumentTreeNode * extractNode()
extract current node from tree.
OFBool hasReferencedSegment() const
check whether the 'Referenced Segment' content item (TID 1411 - Row 7) is present.
DcmFloatingPointSingle MetersetRateDelivered
MetersetRateDelivered (3008,0046) vr=FL, vm=1, type=3.
Definition: drticpds.h:832
virtual ~DRTHL7StructuredDocumentReferenceSequence()
destructor
OFCondition setNumberOfBoli(const OFString &value, const OFBool check=OFTrue)
set NumberOfBoli (300a,00ed)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtsss.h:328
size_t getNumberOfItems() const
get number of items in the sequence
Item class.
Definition: drticpds.h:43
static OFCondition deleteLastItemFromPath(DcmObject *objSearchedIn, DcmPath *path, DcmPathNode *toDelete)
Helper function that looks at the last node in a given path and deletes the corresponding DICOM objec...
DcmLongString DeviceDescription
DeviceDescription (0050,0020) vr=LO, vm=1, type=3.
Definition: drtudis.h:130
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
unsigned long VoiLutCount
number of stored VOU-LUTs
Definition: dimoimg.h:1109
DcmLongString ClinicalTrialSponsorName
ClinicalTrialSponsorName (0012,0010) vr=LO, vm=1, type=1.
Definition: drttreat.h:2716
EM_Overlay getMode() const
get overlay plane mode
Definition: diovpln.h:315
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtrics.h:366
Item EmptyItem
empty default item
Definition: drtas7.h:347
Item & getCurrentItem()
get current item in the sequence
DcmAttributeTag * GetOffendingElements()
Get value from member variable.
virtual ~DSRSpatialCoordinatesValue()
destructor
OFCondition setGantryAngle(const OFString &value, const OFBool check=OFTrue)
set GantryAngle (300a,011e)
OFCondition getTableTopVerticalPosition(OFString &value, const signed long pos=0) const
get TableTopVerticalPosition (300a,0128)
OFCondition getSpecifiedPrimaryMeterset(Float64 &value, const unsigned long pos=0) const
get SpecifiedPrimaryMeterset (3008,0032)
virtual OFCondition getImageType(OFString &value, const signed long pos=0) const
get ImageType (0008,0008)
OFCondition setPrivateDataElementValueMultiplicity(const Uint32 value, const unsigned long pos=0)
set PrivateDataElementValueMultiplicity (0008,0309)
virtual OFCondition getAcquisitionDate(OFString &value, const signed long pos=0) const
get AcquisitionDate (0008,0022)
const char * getStudyDescription()
returns the Study Description of the currently selected study.
@ EXS_JPEGProcess14
JPEG Lossless with any selection value.
Definition: dcxfer.h:63
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_TagNotFound
Tag not found.
DcmFloatingPointDouble FloatingPointValue
FloatingPointValue (0040,a161) vr=FD, vm=1-n, type=1C.
Definition: drtqds.h:345
Item & operator[](const size_t num)
get particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getMaterialID(OFString &value, const signed long pos=0) const
get MaterialID (300a,00e1)
virtual OFCondition setAdmittingDiagnosesDescription(const OFString &value, const OFBool check=OFTrue)
set AdmittingDiagnosesDescription (0008,1080)
void setDisplayTransform(DVPSDisplayTransform transform)
activates or deactivates display correction.
Definition: dvpstat.h:1111
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
virtual OFCondition decodeFrame(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel) const
decompresses a single frame from the given pixel sequence and stores the result in the given buffer.
OFBool getCurrentOption(const char *&opt)
returns current option as a C string.
OFCondition getTableTopLongitudinalPositionTolerance(Float64 &value, const unsigned long pos=0) const
get TableTopLongitudinalPositionTolerance (300a,0052)
DRTSeriesDescriptionCodeSequence SeriesDescriptionCodeSequence
SeriesDescriptionCodeSequence (0008,103f) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2852
DRTIonControlPointDeliverySequence & getIonControlPointDeliverySequence()
get IonControlPointDeliverySequence (3008,0041)
Definition: drttsibs.h:562
void getListOfCipherSuitesForOpenSSL(OFString &cslist, OFBool isServer) const
returns a string in OpenSSL syntax that contains the currently defined list of TLS ciphersuites.
DSRImageFrameList & getFrameList()
get reference to list of referenced frame numbers.
Definition: dsrimgvl.h:362
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
const DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence() const
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtimage.h:3112
Item class.
Definition: drtrshs7.h:36
OFCondition makeNewStoreFileName(const char *SOPClassUID, const char *SOPInstanceUID, char *newImageFileName, size_t newImageFileNameLen)
create a filename under which a DICOM object that is currently being received through a C-STORE opera...
DiMonoImage(const DiMonoImage *image, const unsigned long fstart, const unsigned long fcount)
constructor, copy
OFString SpecificCharacterSet
specific character set used for checking purposes
Definition: dsrsoprf.h:628
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool isPrivateReservation() const
returns true, if tag is a private reservation tag of the form (gggg,00xx) with "gggg" being odd and "...
Definition: dctagkey.h:313
OFCondition getImageWidth(unsigned long &width)
gets the width of the attached image.
const char * getMonitorCharacteristicsFile()
returns the filename (path) of the monitor characteristics file used to implement that Barten transfo...
OFConfigFileCursor(unsigned int maxLevel)
default constructor
Definition: ofconfig.h:192
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtpbcs.h:333
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmDecimalString ChannelShieldNominalTransmission
ChannelShieldNominalTransmission (300a,02ba) vr=DS, vm=1, type=3.
Definition: drtcshs.h:234
OFBool alwaysUnencapsulated
this flag indicates that this pixel data element will be written in uncompressed (defined length) for...
Definition: dcpixel.h:175
DcmDirectoryRecord()
default constructor
void clear()
clear all internal member variables
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
void clear()
clear all internal member variables
DRTProcedureCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
void clear()
Reset configuration.
virtual unsigned long getNumberOfValues()
get number of values stored in this element
OFBool isEmpty()
check if item is empty
OFListIterator(Item *) CurrentItem
currently selected item
const Item & getItem(const size_t num) const
get particular item in the sequence
const DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence() const
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtiontr.h:1449
DVPSPrintPresentationLUTAlignment referencedPresentationLUTAlignment
The Print SCP can be configured to enforce a rule requiring that the number of entries in a Presentat...
Definition: dvpssp.h:1045
virtual ~DicomDirImageImplementation()
destructor
const Item & getItem(const size_t num) const
get particular item in the sequence
const DRTReferencedBrachyApplicationSetupSequenceInRTFractionSchemeModule & getReferencedBrachyApplicationSetupSequence() const
get ReferencedBrachyApplicationSetupSequence (300c,000a)
Definition: drtfgs.h:226
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition getSmokingStatus(OFString &value, const signed long pos=0) const
get SmokingStatus (0010,21a0)
virtual OFCondition decodeFrame(const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel) const =0
decompresses a single frame from the given pixel sequence and stores the result in the given buffer.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableCP246Support
This flag defines how UN attributes with undefined length are treated by the parser when reading.
size_t find_first_of(const OFString &str, size_t pos=0) const
determines the first location, loc, between pos and the end of the current string,...
virtual OFCondition setSmokingStatus(const OFString &value, const OFBool check=OFTrue)
set SmokingStatus (0010,21a0)
OFCondition getSourceEncapsulationNominalTransmission(Float64 &value, const unsigned long pos=0) const
get SourceEncapsulationNominalTransmission (300a,0224)
virtual OFCondition writeTractographyReferencedInstanceSequence(DcmItem &item)
Write references to Referenced Instance Sequence as used in the Tractography Results Module.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmCodeString QualityControlSubject
QualityControlSubject (0010,0200) vr=CS, vm=1, type=3.
Definition: drttreat.h:2661
virtual OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
virtual OFCondition getSOPClassUID(OFString &value, const signed long pos=0) const
get SOPClassUID (0008,0016)
virtual OFCondition getRescaleIntercept(OFString &value, const signed long pos=0) const
get RescaleIntercept (0028,1052)
OFBool XMLsearchAttribute(XMLNode currnode, OFList< OFString > *results, OFString attr)
Recursive function used by getAttributeValues to get all occurrences of an attribute as list.
CMR_SRNumericMeasurementValue(const OFString &numericValue, const DSRCodedEntryValue &measurementUnit, const CID42_NumericValueQualifier &valueQualifier, const OFBool check=OFTrue)
constructor
static OFCondition mapImageLaterality(const OFString &enumeratedValue, DSRCodedEntryValue &codedEntryValue, const OFBool enhancedEncodingMode=OFFalse)
map an enumerated value for Image Laterality (0020,0062) to the associated coded entry
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmIntegerString NumberOfBlocks
NumberOfBlocks (300a,00f0) vr=IS, vm=1, type=1.
Definition: drtes.h:542
int suspension
position of last suspend
Definition: djdijg16.h:115
size_t getFlags() const
get specified flags that can be used to customize the counter
Definition: dsrposcn.h:133
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition encode(const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *fromPixSeq, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
transcodes (re-compresses) the given compressed DICOM image and stores the result in the given toPixS...
a pair - this implements parts of std::pair's interface.
Definition: ofutil.h:323
DCMTK_OFSTD_EXPORT const OFConditionConst EC_CouldNotGenerateFilename
condition constant: error, could not generate filename
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setPrimaryDosimeterUnit(const OFString &value, const OFBool check=OFTrue)
set PrimaryDosimeterUnit (300a,00b3)
DcmEVR unencapsulatedVR
value representation of unencapsulated data
Definition: dcpixel.h:178
const OFString & getSeriesInstanceUID(OFString &stringValue) const
get the series instance UID of the currently selected entry
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition getMedicalAlerts(OFString &value, const signed long pos=0) const
get MedicalAlerts (0010,2000)
virtual void clearData()
Clear (removes) all attributes handled by the modules of this component.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setSegmentLabel(const OFString &value, const OFBool checkValue=OFTrue)
Set Segment Label.
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtdspcs.h:331
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getClinicalTrialProtocolID(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolID (0012,0020)
virtual OFCondition checkDimensions(DcmItem *fgItem=NULL)
Check dimensions for consistency with functional groups.
static OFString replace_all(const OFString &src, const OFString &pattern, const OFString &rplc)
replace all occurrences of a pattern in the given string with another string and return a copy of res...
size_t setCursor(T *node)
set cursor to specified node.
Definition: dsrtncsr.h:836
size_t getNumberOfItems() const
get number of items in the sequence
This header defines the Logger class and the logging macros.
OFCondition addItem(DcmItem &dataset, const OFBool check=OFTrue)
add item from specified DICOM dataset to the list of references.
void setCompressionType(DiTIFFCompression ctype)
set compression type for TIFF creation
int join()
blocks the calling thread until the thread referenced by the OFThread object terminates.
OFCondition getTableTopRollAngleTolerance(Float32 &value, const unsigned long pos=0) const
get TableTopRollAngleTolerance (300a,0050)
class for IPC message exchange between different processes of the DICOMscope application
Definition: dvpsmsg.h:37
DCMTK_DCMDATA_EXPORT OFGlobal< DcmTagKey > dcmStopParsingAfterElement
This flag indicates, whether parsing should stop after a certain element in the stream was parsed.
virtual OFCondition getFloat32(Float32 &val, const unsigned long pos=0)
retrieve a single value of type Float32.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmLongString MappingResourceName
MappingResourceName (0008,0122) vr=LO, vm=1, type=3.
Definition: drtbrcss.h:353
Interface class for EquivalentCodeSequence (0008,0121)
Definition: drtecs.h:28
const DRTOriginalAttributesSequence & getOriginalAttributesSequence() const
get OriginalAttributesSequence (0400,0561)
Definition: drtimage.h:2764
OFString numToString(const size_t num) const
Convert number to string.
Definition: sockbuff.h:44
DRTApplicationSetupSequence & getApplicationSetupSequence()
get ApplicationSetupSequence (300a,0230)
Definition: drtplan.h:1280
HL7HierarchicDesignatorMacro(IODComponent *parent=NULL)
Constructor.
E_GrpLenEncoding glenc_option
option for group length recalculation
Definition: mdfconen.h:181
OFCondition addItem(const OFString &sopClassUID, const OFString &instanceUID, const OFBool check=OFTrue)
add new entry to the list of instances (if not already existent).
OFCondition getUniversalEntityIDType(OFString &value, const signed long pos=0) const
get UniversalEntityIDType (0040,0033)
DiagnosticContextStack cloneStack() const
Clone the diagnostic context for the current thread.
DRTChannelShieldSequence & getChannelShieldSequence()
get ChannelShieldSequence (300a,02b0)
Definition: drtchs.h:428
DcmListNode(const DcmListNode &)
private undefined copy constructor
OFCondition findAndGetFloat64Array(const DcmTagKey &tagKey, const Float64 *&value, unsigned long *count=NULL, const OFBool searchIntoSub=OFFalse)
find element and get value as an array of 64-bit floating point values.
DcmIntegerString NumberOfRangeShifters
NumberOfRangeShifters (300a,0312) vr=IS, vm=1, type=1.
Definition: drttsibs.h:1014
OFCondition read(DcmItem &item)
read elements from sequence item
static OFCondition determineStartFragment(Uint32 frameNo, Sint32 numberOfFrames, DcmPixelSequence *fromPixSeq, Uint32 ¤tItem)
determine the index number (starting with zero) of the compressed pixel data fragment corresponding t...
virtual ~OFStackLink()
destructor
Definition: ofstack.h:182
SourceImageItem()
Constructor, constructs empty Source Image Sequence item.
@ ESM_fromStackTop
start search from object pointed to by stack top
Definition: dctypes.h:126
static const size_t XF_relationshipTypeAsAttribute
write: encode relationship type as attribute instead of element text
Definition: dsrtypes.h:376
const Item & getCurrentItem() const
get current item in the sequence
E_HandlingMode
dataset handling modes
Definition: dstorscu.h:80
int compareLUT(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor)
compares current LUT with specified LUT
virtual OFCondition checkMeasurementUnit(const DSRCodedEntryValue &measurementUnit) const
check the specified measurement unit for validity.
Definition: srnumvlu.h:295
OFCondition setBeamName(const OFString &value, const OFBool check=OFTrue)
set BeamName (300a,00c2)
OFCondition getDoseReferenceNumber(OFString &value, const signed long pos=0) const
get DoseReferenceNumber (300a,0012)
virtual OFCondition setCodeValue(const OFString &value, const OFBool checkValue=OFTrue)
Set Code Value.
const char * getValue() const
return current value as C string
Definition: ofconfig.h:92
DcmLongString DeviceSerialNumber
DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3.
Definition: drtibs.h:969
Item(const Item ©)
copy constructor
CID4020_PETRadionuclide(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmLongString voiLUTExplanation
Module=VOI_LUT, VR=LO, VM=1, Type 3.
Definition: dvpsvl.h:92
DcmDecimalString windowCenter
Module=VOI_LUT, VR=DS, VM=1-n, Type 1c (unlike VOI LUT module!)
Definition: dvpssv.h:213
virtual OFCondition setPhotometricInterpretation(const OFString &value, const OFBool checkValue=OFTrue)
Set Photometric Interpretation.
virtual OFBool deletePerFrame(const Uint32 frameNo, const DcmFGTypes::E_FGType fgType)
Deletes per-frame functional group of the given type for a specific frame.
const DRTRTReferencedSeriesSequence & getRTReferencedSeriesSequence() const
get RTReferencedSeriesSequence (3006,0014)
Definition: drtrsts.h:120
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmQuantColorTable()
constructor
void clear()
clear list of references
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmUnlimitedCharacters PrivateDataElementName
PrivateDataElementName (0008,030c) vr=UC, vm=1, type=1.
Definition: drtpdeds.h:236
DcmDecimalString TableTopEccentricAngle
TableTopEccentricAngle (300a,0125) vr=DS, vm=1, type=3.
Definition: drtimage.h:5338
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
virtual OFCondition getRTPlanName(OFString &value, const signed long pos=0) const
get RTPlanName (300a,0003)
@ EDC_never
never perform any color space conversion.
Definition: djutils.h:168
~Frame()
Destructor, frees memory.
Definition: iodtypes.h:80
DRTRecordedBlockSequence & getRecordedBlockSequence()
get RecordedBlockSequence (3008,00d0)
Definition: drttsibs.h:574
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
virtual DiMonoPixel * createMonoImageData(const DiColorImage *image, const double red, const double green, const double blue)
create monochrome pixel data from color image
@ CubicMicrometer
(um3,UCUM,"cubic micrometer"), included from CID 7462
Definition: cid7181.h:78
OFCondition read(DcmItem &item)
read elements from sequence item
codec parameter for JPEG-LS codecs
Definition: djcparam.h:32
const OFString & getAnnotationText() const
get annotation text.
OFBool no_backup_option
if true, no backup is made before modifying a file
Definition: mdfconen.h:166
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
virtual OFCondition getPixelPaddingValue(Uint16 &value, const unsigned long pos=0) const
get PixelPaddingValue (0028,0120)
virtual OFCondition getInstanceNumber(OFString &value, const signed long pos=0)
Get Instance Number.
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
write data element to a stream as required for the creation of digital signatures
OFCondition addCrossSectionalModalitiesDescriptors(DSRDocumentSubTree &tree, DcmItem &dataset, const AddImageMode mode, const ConceptNameList &descriptors, const OFBool check)
add image library entry descriptors for cross-sectional modalities (TID 1604)
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
OFBool isEmpty()
check if item is empty
virtual OFCondition setSOPAuthorizationComment(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationComment (0100,0424)
virtual OFCondition getAdmittingDiagnosesDescription(OFString &value, const signed long pos=0) const
get AdmittingDiagnosesDescription (0008,1080)
XMLAttribute * updateAttribute_WOSD(XMLSTR lpszNewValue, XMLSTR lpszNewName=NULL, int i=0)
if the attribute to update is missing, a new one will be added
unsigned long WindowCount
number of stored VOI-windows
Definition: dimoimg.h:1107
virtual OFBool isNested() const
check if this pixel item is nested in a pixel sequence, i.e. not a top-level or stand-alone item/data...
void printUnexpectedNodeWarning(const DSRXMLCursor &cursor) const
print warning message for unexpected node
@ PositronEmissionTomography
(PT,DCM,"Positron emission tomography")
Definition: cid29.h:106
DVPSOverlay_PList()
default constructor
OFCondition stream(unsigned char *targetBuffer, unsigned long &lengthWritten) const
Stream the package into a byte stream for network transmission.
DRTRequestAttributesSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmUnsignedShort graphicLayerRecommendedDisplayRGBValue
VR=US, VM=3, Type 3.
Definition: dvpsgl.h:161
OFBool enableRetiredSOPClassSupport(const OFBool newMode=OFTrue)
enable/disable the "retired SOP class support" mode.
virtual void disableAll()
Disable all logging requests regardless of logger and LogLevel.
OFCondition addParameter(const OFString &algorithmParameter, const OFBool check=OFTrue)
add optional algorithm parameter (according to TID 4019 Row 3).
Item class.
Definition: drtrrpcs.h:37
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtpics.h:337
void clear()
clear all internal member variables
DcmDecimalString PatientSize
PatientSize (0010,1020) vr=DS, vm=1, type=3.
Definition: drtstrct.h:2870
HL7HierarchicDesignatorMacro(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL)
Constructor.
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...
virtual OFCondition getRescaleSlope(Float64 &value, const unsigned long pos=0) const
get RescaleSlope (0028,1053)
OFBool isEmpty()
check if item is empty
DRTSourceInstanceSequence & getSourceInstanceSequence()
get SourceInstanceSequence (0042,0013)
Definition: drtstrct.h:1746
Uint16 getPValue() const
get p-value of the plane.
Definition: diovpln.h:306
EP_Polarity Polarity
polarity (normal or reverse)
Definition: diimage.h:649
DRTBlockSequenceInRTImageModule(const DRTBlockSequenceInRTImageModule ©)
copy constructor
DRTAssigningJurisdictionCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFBool isPatientStudyModulePresent(const OFBool complete=OFFalse)
check whether PatientStudyModule (U) is present.
const DRTIconImageSequence & getIconImageSequence() const
get IconImageSequence (0088,0200)
Definition: drtdose.h:2146
virtual OFBool good() const
returns the status of the stream.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DPMParametricMapSeriesModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
@ EXS_MPEG2MainProfileAtHighLevel
MPEG2 Main Profile at High Level.
Definition: dcxfer.h:107
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drtiontr.h:3053
virtual OFCondition getAccessionNumber(OFString &value, const signed long pos=0) const
Get Accession Number.
OFCondition getRealWorldValueLUTData(Float64 &value, const unsigned long pos=0) const
get RealWorldValueLUTData (0040,9212)
virtual void setReadSeedFile(const OFString &seedFile)
Set file to be used as random seed for initializing the Pseudo Random Number Generator (PRNG)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
virtual OFCondition getClinicalTrialSeriesDescription(OFString &value, const signed long pos=0) const
get ClinicalTrialSeriesDescription (0012,0072)
Interface class for ReferencedTreatmentRecordSequence (3008,0030) in RTDoseModule.
Definition: drtrtrs2.h:29
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoMeasurementGroup
error: there is no measurement group to add entries to
Convenient struct containing commonly used equipment information (for use by external code)
Definition: modequipment.h:50
virtual offile_off_t avail()=0
returns the minimum number of bytes that can be read with the next call to read().
OFString RetrieveLocationUID
Retrieve Location UID (VR=UI, VM=1, type 3)
Definition: dsrsoprf.h:441
OFBool checkPixDataLength(DcmElement *pixelData, const Uint16 rows, const Uint16 cols, const Uint16 &numberOfFrames)
Check the length of the pixel data.
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTContributingEquipmentSequence ContributingEquipmentSequence
ContributingEquipmentSequence (0018,a001) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3098
OFCondition setPersonTelephoneNumbers(const OFString &value, const OFBool check=OFTrue)
set PersonTelephoneNumbers (0040,1103)
OFCondition setPersonTelephoneNumbers(const OFString &value, const OFBool check=OFTrue)
set PersonTelephoneNumbers (0040,1103)
virtual MandatoryViewAndSliceProgressionDirectionMacro & getMandatoryViewAndSliceProgressionDirection()
Get Mandatory View And Slice Progression Direction.
virtual OFCondition writeSignatureFormat(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)=0
special write method for creation of digital signatures (abstract)
virtual OFCondition getSmokingStatus(OFString &value, const signed long pos=0) const
get SmokingStatus (0010,21a0)
Item(const Item ©)
copy constructor
Item(const Item ©)
copy constructor
DRTScheduledProtocolCodeSequence ScheduledProtocolCodeSequence
ScheduledProtocolCodeSequence (0040,0008) vr=SQ, vm=1, type=3.
Definition: drtras.h:287
virtual OFCondition setOccupation(const OFString &value, const OFBool check=OFTrue)
set Occupation (0010,2180)
const DRTOtherPatientIDsSequence & getOtherPatientIDsSequence() const
get OtherPatientIDsSequence (0010,1002)
Definition: drttreat.h:1401
virtual OFCondition setClinicalTrialSponsorName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSponsorName (0012,0010)
Interface class for ReferencedTreatmentRecordSequence (3008,0030) in RTGeneralTreatmentRecordModule.
Definition: drtrtrs4.h:28
void filmBoxNSet(T_DIMSE_Message &rq, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset)
implements the N-SET operation for the Basic Film Box SOP Class.
const OFString & getAETitle() const
Returns SCP's own AE title.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setPerformedProcedureStepStartDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartDate (0040,0244)
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
virtual OFCondition getInstanceCreatorUID(OFString &value, const signed long pos=0) const
get InstanceCreatorUID (0008,0014)
void swap(OFVector &other)
swap this vector's content with some other vector.
Definition: ofvector.h:153
DcmCodeString CompletionFlag
Completion Flag: (CS, 1, 1)
Definition: dsrdoc.h:1423
const DRTPatientSizeCodeSequence & getPatientSizeCodeSequence() const
get PatientSizeCodeSequence (0010,1021)
Definition: drtiontr.h:1533
size_t size() const
gets the number of softcopy VOI LUTs in this list.
Definition: dvpssvl.h:84
OFCondition gotoNextItem()
goto next item in the sequence
DRTPatientSpeciesCodeSequence PatientSpeciesCodeSequence
PatientSpeciesCodeSequence (0010,2202) vr=SQ, vm=1, type=1C.
Definition: drtimage.h:4817
OFCondition getPrintPreviewBitmap(void *bitmap, unsigned long size)
writes the bitmap data of the print preview image into the given buffer.
OFBool isRetired() const
check whether transfer syntax is retired
Definition: dcxfer.h:278
virtual ~Item()
destructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition readTestImage(const char *ifname, E_TransferSyntax xfer, E_FileReadMode readMode, unsigned long compatibilityMode)
read test image for image comparison from file
void setFileType(OFString fType)
Sets the current filetype.
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setSeriesDescription(const OFString &value, const OFBool check=OFTrue)
set SeriesDescription (0008,103e)
OFListIterator(InstanceStruct *) Iterator
currently selected instance (cursor)
virtual EP_Interpretation getDecompressedColorModel() const =0
after successful compression, returns the color model of the decompressed image
IODSOPCommonModule & getSOPCommon()
Get SOP Common Module.
DicomImage(const DicomImage *dicom, DiImage *image, const EP_Interpretation interpret=EPI_Unknown)
constructor, create copy of given image object with different image data and photometric interpretati...
int hash(const DcmTagKey *key, const char *privCreator) const
compute hash value for given tag key
static XMLCSTR getVersion()
Return the XMLParser library version number.
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
virtual ~DVPSIPCClient()
destructor
OFBool operator>=(const DcmTagKey &key) const
'greater or equal' operator.
Definition: dctagkey.h:414
class maintaining a attribute tag (group and element number)
Definition: dctagkey.h:41
virtual void configure()
Read configuration from a file.
const DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence() const
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtionpl.h:1889
OFString getActiveAssociationProfile() const
Returns the name of the currently active association profile.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFString getName() const
Get name of macro.
OFCondition getReferencedRangeShifterNumber(OFString &value, const signed long pos=0) const
get ReferencedRangeShifterNumber (300c,0100)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
OFString OutputDirectory
name of the output directory that is used to store the received datasets
Definition: dstorscp.h:302
@ PS_MissingValue
missing value(s) for an option
Definition: ofcmdln.h:161
void clear()
clear all internal member variables
DcmFloatingPointSingle ApplicatorOpening
ApplicatorOpening (300a,0433) vr=FL, vm=1, type=1C.
Definition: drtags.h:160
Definition: jpegint12.h:216
OFTestTest & currentTest()
Definition: oftest.h:153
static E_CharacterSet definedTermToCharacterSet(const OFString &definedTerm)
convert DICOM defined term to character set.
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool isEmpty()
check if sequence is empty
int groupGT(const DcmTagKey &key) const
greater-than operation comparing only group numbers
Definition: dctagkey.h:354
DcmIntegerString LateralSpreadingDeviceNumber
LateralSpreadingDeviceNumber (300a,0334) vr=IS, vm=1, type=1.
Definition: drtlsds.h:185
OFCondition read(DcmItem &dset)
reads the curve and overlay activations from a DICOM dataset.
OFCondition getNumberOfLateralSpreadingDevices(Sint32 &value, const unsigned long pos=0) const
get NumberOfLateralSpreadingDevices (300a,0330)
DcmIntegerString ScanSpotPrescribedIndices
ScanSpotPrescribedIndices (300a,0391) vr=IS, vm=1-n, type=1C.
Definition: drticpds.h:858
OFCondition getBeamDescription(OFString &value, const signed long pos=0) const
get BeamDescription (300a,00c3)
const T & getItem(const size_t idx) const
get reference to the specified item
Definition: dsrtlist.h:185
virtual DSRDateTreeNode * clone() const
clone this tree node.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrbs4.h:464
DRTDerivationCodeSequence & getDerivationCodeSequence()
get DerivationCodeSequence (0008,9215)
Definition: drtionpl.h:1343
DcmLongString RTImageName
RTImageName (3002,0003) vr=LO, vm=1, type=3.
Definition: drtimage.h:5277
OFCommandLine & operator=(const OFCommandLine &obj)
private undefined assignment operator
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrsrs.h:127
static DcmItem * findFirstSignatureItem(DcmItem &item, DcmStack &stack)
recursively browses through the given dataset and searches the first occurence of the DigitalSignatur...
DRTOperatorIdentificationSequence & getOperatorIdentificationSequence()
get OperatorIdentificationSequence (0008,1072)
Definition: drtstrct.h:1410
EI_Status getStatus() const
Get the current status code.
Definition: drmimage.h:115
virtual ~DPMParametricMapImageModule()
Destructor.
const char * standardVersion
standard version name, may be NULL
Definition: dcdicent.h:385
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
@ CholinePerCreatineRatio
(113081,DCM,"Choline/Creatine Ratio"), included from CID 4033
Definition: cid7469.h:68
virtual OFCondition setMedicalAlerts(const OFString &value, const OFBool check=OFTrue)
set MedicalAlerts (0010,2000)
DcmAttributeTag ParameterSequencePointer
ParameterSequencePointer (3008,0061) vr=AT, vm=1, type=1.
Definition: drtos.h:218
DcmQuantPixel()
default constructor, creates black pixel
Definition: diqtpix.h:43
DcmDate patientBirthDate
Module=Patient, VR=DA, VM=1, Type 2.
Definition: dcmpstat.h:798
virtual OFCondition sendACTIONResponse(const T_ASC_PresentationContextID presID, const Uint16 messageID, const OFString &sopClassUID, const OFString &sopInstanceUID, const Uint16 rspStatusCode)
Respond to the N-ACTION request.
OFBool hasTrackingIdentifier() const
check whether the 'Tracking Identifier' content item (TID 1411 - Row 2) is present.
static DcmIODTypes::Frame * packBinaryFrame(const Uint8 *pixelData, const Uint16 rows, const Uint16 columns)
Pack the given segmentation pixel data, provided "unpacked", into the packed format expected by DICOM...
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
virtual OFCondition setReferencedSegmentNumber(const OFVector< Uint16 > &values, const OFBool checkValue=OFTrue)
Set the Referenced Segment Numbers.
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
DRTSegmentedPropertyCategoryCodeSequence & getSegmentedPropertyCategoryCodeSequence()
get SegmentedPropertyCategoryCodeSequence (0062,0003)
Definition: drtrros.h:215
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
DRTReferencedControlPointSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
OFCondition getRationalDenominatorValue(Uint32 &value, const unsigned long pos=0) const
get RationalDenominatorValue (0040,a163)
void setRespondWithCalledAETitle(const OFBool useCalled)
Set SCP to use the called AE title from the SCU request for the response, i.e. the SCP will always re...
virtual ~DSRKeyObjectSelectionDocumentConstraintChecker()
destructor
DcmCodeString DoseReferenceStructureType
DoseReferenceStructureType (300a,0014) vr=CS, vm=1, type=1.
Definition: drtdrs.h:491
OFBool containsGroup(const Uint16 groupNo) const
Returns whether the path contains tags of a given group.
@ DiffusionCoefficient
(113289,DCM,"Diffusion Coefficient"), included from CID 7272
Definition: cid7469.h:124
@ AbdomenAndPelvis
(416949008,SCT,"Abdomen and Pelvis")
Definition: cid4031.h:46
Item & operator=(const Item ©)
assigment operator
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition runAssociation(T_ASC_Association *assoc, const DcmSharedSCPConfig &sharedConfig)
Try to find worker to run the association.
virtual DcmItem * getParentItem()
get parent item of this object.
void checkConflict(const char *firstOpt, const char *secondOpt, OFBool condition)
check conflict between two options and report an error if required.
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
virtual ~DRTVOILUTSequence()
destructor
DRTStrainCodeSequence StrainCodeSequence
StrainCodeSequence (0010,0219) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:2930
void clear()
clear all internal member variables
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition getOFStringArray(OFString &stringVal, OFBool normalize=OFTrue)
get entire element value as a character string.
DRTIonControlPointDeliverySequence & operator=(const DRTIonControlPointDeliverySequence ©)
assigment operator
virtual OFCondition getReviewTime(OFString &value, const signed long pos=0) const
get ReviewTime (300e,0005)
virtual OFCondition getRows(Uint16 &value, const unsigned long pos=0) const
get Rows (0028,0010)
virtual OFBool checkForSpecificCharacterSet() const
mode specifying whether the SpecificCharacterSet (0008,0005) element should be checked by convertChar...
Definition: dcdirrec.h:229
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
virtual OFCondition getStationName(OFString &value, const signed long pos=0) const
get StationName (0008,1010)
virtual OFCondition getQualityControlSubject(OFString &value, const signed long pos=0) const
get QualityControlSubject (0010,0200)
CodeSequenceMacro m_AlgorithmNameCode
Code Sequence Macro from Algorithm Name Code Sequence (single item) (SQ, VM 1, Type 3)
Definition: iodmacro.h:942
const char * findPrivateCreator(const DcmTagKey &tk) const
looks up the private creator name for the given private tag
virtual OFCondition assignToMRDR(DcmDirectoryRecord *mrdr)
create a reference from this record to an MRDR
Item & getCurrentItem()
get current item in the sequence
void setAlwaysAcceptDefaultRole(const OFBool enabled)
Option to always accept a default role as association acceptor.
OFCondition getRows(Uint16 &value, const signed long pos=0)
Get Rows.
Definition: modimagepixelvariant.h:158
virtual ~SegmentDescriptionMacro()
Virtual destructor, frees memory.
size_t getNumberOfItems() const
get number of items in the sequence
void findPresentationContext(const T_ASC_PresentationContextID presID, OFString &abstractSyntax, OFString &transferSyntax)
This call returns the presentation context belonging to the given presentation context ID.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFBool isEmpty()
check if sequence is empty
DRTIconImageSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence()
get RequestingServiceCodeSequence (0032,1034)
Definition: drtiontr.h:1755
static OFString FGType2OFString(const E_FGType fgType)
Returns the name of the functional group based on the group type.
Item & operator=(const Item ©)
assigment operator
DcmCodeString PatientSexNeutered
PatientSexNeutered (0010,2203) vr=CS, vm=1, type=2C.
Definition: drtiontr.h:2988
DcmPersonName OperatorsName
OperatorsName (0008,1070) vr=PN, vm=1-n, type=3.
Definition: drtces.h:353
void clear()
clear all internal member variables
const DRTReferencedFrameOfReferenceSequence & getReferencedFrameOfReferenceSequence() const
get ReferencedFrameOfReferenceSequence (3006,0010)
Definition: drtstrct.h:1596
const char * getPolarity()
gets the polarity.
SCPWorker(DcmSCPPool &pool)
Construct a SCPWorker for being used by the given DcmSCPPool.
Definition: scppool.h:295
virtual void createDerivationDescription(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio, OFString &derivationDescription) const
creates 'derivation description' string after encoding.
DcmShortString TreatmentTerminationCode
TreatmentTerminationCode (3008,002b) vr=SH, vm=1, type=3.
Definition: drttsibs.h:1070
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getInstanceNumber(Sint32 &value, const unsigned long pos=0) const
get InstanceNumber (0020,0013)
OFBool getTLSPEMFormat()
returns the file format used for certificates, keys and Diffie-Hellman parameters.
EnumType
types of organizational roles
Definition: cid7452.h:42
OFCondition getDeliveredPrimaryMeterset(OFString &value, const signed long pos=0) const
get DeliveredPrimaryMeterset (3008,0036)
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
DcmTime PerformedProcedureStepStartTime
PerformedProcedureStepStartTime (0040,0245) vr=TM, vm=1, type=3.
Definition: drtimage.h:5006
virtual OFCondition getImageOrientationPatient(Float64 &value, const unsigned long pos=0) const
get ImageOrientationPatient (0020,0037)
OFCondition extractRawJPEGStream(char *&pixelData, Uint32 &pixLength)
Extract raw JPEG stream (i.e.
DcmTLSSecurityProfile
This enum describes DICOM TLS Security Profiles, which are the basis for the selection of supported c...
Definition: tlsciphr.h:48
@ PF_invalid
internal type used to indicate an error or the absence of this flag
Definition: dsrtypes.h:745
DcmLongString ClinicalTrialProtocolID
ClinicalTrialProtocolID (0012,0020) vr=LO, vm=1, type=1.
Definition: drttreat.h:2718
OFBool printSCPSet(DVConfiguration &cfg, const char *cfgname, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, DcmDataset &imageDataset, DVPSPrintPresentationLUTAlignment align, OFBool presentationLUTnegotiated)
performs a Print SCP Basic Grayscale Image Box N-SET operation.
static DJLSNearLosslessDecoder * nearlosslessdecoder_
pointer to near-lossless encoder
Definition: djdecode.h:81
virtual ~IODPatientModule()
Destructor.
OFListIterator(Item *) CurrentItem
currently selected item
static void copyGeneralEquipmentModule(DcmItem &src, DcmItem &dest)
Copy General Equipment Module attributes.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTPatientBreedCodeSequence & operator=(const DRTPatientBreedCodeSequence ©)
assigment operator
Item(const Item ©)
copy constructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition setPPSSOPInstanceUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Referenced PPS SOP Instance UID.
const OFString MappingResourceUID
mapping resource unique identifier to check for (if not empty)
Definition: dsrdnflt.h:498
@ MedicalPractitioner
(158965000,SCT,"Medical Practitioner")
Definition: cid7452.h:44
OFCondition setRealWorldValueLUTData(const Float64 value, const unsigned long pos=0)
set RealWorldValueLUTData (0040,9212)
DRTVOILUTSequence(const DRTVOILUTSequence ©)
copy constructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
E_ValueType
SR value types.
Definition: dsrtypes.h:581
Item class.
Definition: drtrrtps3.h:36
virtual OFBool isRTPatientSetupModulePresent(const OFBool complete=OFFalse)
check whether RTPatientSetupModule (U) is present.
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
Interface class for AdditionalDrugSequence (0018,002a)
Definition: drtads.h:29
virtual OFCondition setAuthorizationEquipmentCertificationNumber(const OFString &value, const OFBool check=OFTrue)
set AuthorizationEquipmentCertificationNumber (0100,0426)
DcmQuantHistogramItemPointer * array
color table data
Definition: diqtctab.h:220
static OFCondition checkStringValue(const OFString &value)
check whether given string value conforms to the VR "UR" (Universal Resource Identifier or Universal ...
DcmLongString ScheduledProcedureStepDescription
ScheduledProcedureStepDescription (0040,0007) vr=LO, vm=1, type=3.
Definition: drtras.h:283
OFBool isVariableRangeVM() const
returns true if element has a variable VM range (no upper limit)
Definition: dcdicent.h:184
OFBool SetReadlock()
This function sets a read lock on the LOCKFILE in the directory that is specified through dfPath and ...
DSRReferencedTimeOffsetList & getTimeOffsetList()
get reference to list of referenced time offsets
Definition: dsrtcovl.h:214
@ _13_Nitrogen
(21576001,SCT,"^13^Nitrogen")
Definition: cid4020.h:46
OFCondition getCompensatorNumber(Sint32 &value, const unsigned long pos=0) const
get CompensatorNumber (300a,00e4)
~DcmSimpleMap()
destructor
Definition: dcmsmap.h:131
void callAppenders(const spi::InternalLoggingEvent &event) const
Call the appenders in the hierrachy starting at this.
SiDSA(SiDSA &arg)
private undefined copy constructor
const Item & getCurrentItem() const
get current item in the sequence
@ AP_USBandFlashJPEG2000
General Purpose USB and Flash Memory Interchange with JPEG 2000 (STD-GEN-USB/MMC/CF/SD-J2K)
Definition: dcddirif.h:145
virtual ~TrcTrack()
Destructor, frees memory.
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmUnsignedShort LUTDescriptor
LUTDescriptor (0028,3002) vr=US/SS, vm=3, type=1.
Definition: drtmls.h:160
OFCondition setNumberOfBlocks(const OFString &value, const OFBool check=OFTrue)
set NumberOfBlocks (300a,00f0)
OFList< DcmBaseSCPWorker * > m_workersIdle
List of all workers being idle, i.e. not running a connection.
Definition: scppool.h:234
const char * getVRName() const
get symbolic VR name for this object
virtual ~DSRTemporalCoordinatesValue()
destructor
@ RubidiumChloride_Rb82
(129503007,SCT,"Rubidium chloride Rb^82^")
Definition: cid4021.h:264
Interface class for RecordedSnoutSequence (3008,00f0)
Definition: drtrsns.h:28
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
virtual OFCondition setClinicalTrialSeriesID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSeriesID (0012,0071)
unsigned long untrustSignaturesPState
number of untrustworthy signatures in current PState
Definition: dvsighdl.h:215
void next_section(unsigned int level)
sets cursor to the next entry at the given level (without changing the cursor position at higher leve...
Definition: ofconfig.h:431
Definition: syncprim.h:125
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTDICOMRetrievalSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
Class representing the Segmentation Series Module:
Definition: modsegmentationseries.h:40
DcmUnsignedLong(const DcmTag &tag)
constructor.
This structure is given by the function XMLNode::enumContents.
Definition: ofxml.h:658
T value_type
the type of elements that this OFVector stores
Definition: ofvector.h:58
void clear()
clear all internal member variables
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
static OFCondition getStringValueFromDataset(DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue)
get string value from dataset
OFCondition status_
status
Definition: dcistrmb.h:135
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=2.
Definition: drtiontr.h:3043
OFBool operator()(const Item &item)
Definition: drmsrch.h:78
OFList< ItemStruct * > List
list of referencing pstates
Definition: dvcache.h:119
DcmDataDictionary(OFBool loadBuiltin, OFBool loadExternal)
constructor
virtual ~DRTRecordedCompensatorSequence()
destructor
OFCondition setAlternateBeamDoseType(const OFString &value, const OFBool check=OFTrue)
set AlternateBeamDoseType (300a,0092)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtwps.h:318
Item class.
Definition: drtics.h:37
OFCondition setChairHeadFramePosition(const OFString &value, const OFBool check=OFTrue)
set ChairHeadFramePosition (300a,0151)
OFCondition getAfterloaderChannelID(OFString &value, const signed long pos=0) const
get AfterloaderChannelID (300a,0273)
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
virtual OFCondition getPositionReferenceIndicator(OFString &value, const signed long pos=0) const
get PositionReferenceIndicator (0020,1040)
const DRTDerivationCodeSequence & getDerivationCodeSequence() const
get DerivationCodeSequence (0008,9215)
Definition: drtiontr.h:1305
const unsigned long CIF_MayDetachPixelData
element pixel data may be detached if it is no longer needed by DicomImage
Definition: diutils.h:68
@ SubmandibularGland
(54019009,SCT,"Submandibular gland")
Definition: cid4031.h:222
void clear()
clear all internal member variables
DcmTime PatientBirthTime
PatientBirthTime (0010,0032) vr=TM, vm=1, type=3.
Definition: drttreat.h:2665
const DRTPhysiciansReadingStudyIdentificationSequence & getPhysiciansReadingStudyIdentificationSequence() const
get PhysiciansReadingStudyIdentificationSequence (0008,1062)
Definition: drtionpl.h:1649
DVPSDisplayedArea(const DVPSDisplayedArea ©)
copy constructor
virtual ~DcmTransportLayer()
destructor
OFBool isEmpty()
check if item is empty
Item & operator=(const Item ©)
assigment operator
const Item & operator[](const size_t num) const
get particular item in the sequence
int setPolarity(const EP_Polarity polarity)
set polarity.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtfms.h:134
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item(const Item ©)
copy constructor
const char * getInstanceDescription()
returns the escription of the currently selected instance.
virtual ~Item()
destructor
OFBool DatasetMatchesSearchMask(DcmItem &dataset, DcmItem &searchMask, const MatchingKeys &matchingKeys)
This function returns OFTrue, if the matching key attribute values in the dataset match the matching ...
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition getPregnancyStatus(Uint16 &value, const unsigned long pos=0) const
get PregnancyStatus (0010,21c0)
@ ATSM_Cu60
(126700,DCM,"ATSM Cu^60^")
Definition: cid4021.h:60
OFCondition getGantryAngleTolerance(Float64 &value, const unsigned long pos=0) const
get GantryAngleTolerance (300a,0044)
virtual void flushBuffer(void *&buffer, offile_off_t &length)
retrieves and flushes the underlying buffer.
OFBool opt_secureConnection
a flag indicating whether or not a secure connection was requested
Definition: tlsopt.h:189
const OFString & getStorageMediaFileSetID(OFString &stringValue) const
get the storage media file set ID of the currently selected entry (optional)
virtual OFCondition setActualFrameDuration(const OFString &value, const OFBool check=OFTrue)
set ActualFrameDuration (0018,1242)
OFCondition findAndGetLongInt(const DcmTagKey &tagKey, long int &value, const unsigned long pos=0, const OFBool searchIntoSub=OFFalse)
find element and get value as a (signed) long integer.
virtual size_t gotoPrevious()
goto previous node on the same level (preceding sibling)
Definition: dsrtncsr.h:536
DRTPrivateDataElementCharacteristicsSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
@ EPI_RGB
RGB color.
Definition: diutils.h:127
@ Flubatine_F18
(126503,DCM,"Flubatine F^18^")
Definition: cid4021.h:136
OFCondition getBeamLimitingDeviceAngleTolerance(Float64 &value, const unsigned long pos=0) const
get BeamLimitingDeviceAngleTolerance (300a,0046)
const DRTPhysiciansOfRecordIdentificationSequence & getPhysiciansOfRecordIdentificationSequence() const
get PhysiciansOfRecordIdentificationSequence (0008,1049)
Definition: drtdose.h:2326
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
Definition: dcovlay.h:88
const T & operator[](size_type i) const
access an entry by index.
Definition: ofvector.h:329
TrcTrackSetStatistic()
Constructor.
OFCondition read(DcmItem &dataset)
Overwrites DcmIODImage::read()
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition setBlockName(const OFString &value, const OFBool check=OFTrue)
set BlockName (300a,00fe)
ES_PresentationLut
presentation LUT shapes
Definition: diutils.h:286
static const OFString m_ModuleName
The module's name ("TractographyResultsModule")
Definition: trcmodtractresults.h:170
virtual OFBool isTemplateIdentificationValid(const OFBool check=OFTrue) const
check whether template identification is valid
OFCondition setBeamDeliveryDurationLimit(const Float64 value, const unsigned long pos=0)
set BeamDeliveryDurationLimit (300a,00c5)
void setMOVEOriginatorInfo(const OFString &aeTitle="", const Uint16 messageID=0)
set C-MOVE originator information.
type definitions, constants and helper functions for the dcmfg module
const char * opt_dhparam
filename of Diffie-Hellman parameters file, may be NULL
Definition: tlsopt.h:184
void addTLSCommandlineOptions(OFCommandLine &cmd)
Add TLS specific command line options to the OFCommandLine object passed to the constructor.
DcmUnsignedLong RationalDenominatorValue
RationalDenominatorValue (0040,a163) vr=UL, vm=1-n, type=1C.
Definition: drtpcxs.h:370
T_ASC_Association * m_assoc
Current association run by this SCP.
Definition: scp.h:1139
const Item & getCurrentItem() const
get current item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTModalityLUTSequence & getModalityLUTSequence()
get ModalityLUTSequence (0028,3000)
Definition: drtimage.h:2722
virtual OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool checkValue=OFTrue)
Set Referenced SOP Instance UID.
virtual void resetRules()
Resets rules to their original values.
unsigned long createWindowsDIB(void *&data, const unsigned long size, const unsigned long frame=0, const int bits=24, const int upsideDown=0, const int padding=1)
create true color (24/32 bit) or palette (8 bit) bitmap for MS Windows.
Definition: dcmimage.h:1576
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
DRTReferencedStructureSetSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFBool canWriteXfer(const E_TransferSyntax newXfer, const E_TransferSyntax oldXfer)
check if this DICOM object can be encoded in the given transfer syntax.
virtual void clearData()
Clear all data.
DcmSignedLong RationalNumeratorValue
RationalNumeratorValue (0040,a162) vr=SL, vm=1-n, type=1C.
Definition: drtqds.h:357
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
@ TCS_noConnection
operation cannot be performed because transport connection object was not allocated.
Definition: dcmlayer.h:54
DcmCodeString CompensatorDivergence
CompensatorDivergence (300a,02e0) vr=CS, vm=1, type=3.
Definition: drtcos.h:453
DcmDate DateOfLastCalibration
DateOfLastCalibration (0018,1200) vr=DA, vm=1-n, type=3.
Definition: drtionpl.h:3160
size_t roiHeight
Region of Interest height for for VOI transform of monochrome images, mode 7.
Definition: djcparam.h:402
const Item & getCurrentItem() const
get current item in the sequence
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
virtual OFBool getCursorToRootNode(DSRIncludedTemplateNodeCursor &cursor) const
get a cursor to the root node of this document tree.
virtual OFCondition setPatientBirthTime(const OFString &value, const OFBool check=OFTrue)
set PatientBirthTime (0010,0032)
int hasNominalScannedPixelSpacing
is 'true' if attribute 'hasNominalScannedPixelSpacing' is present
Definition: diimage.h:658
@ Minimum
(255605001,SCT,"Minimum"), included from CID 3488
Definition: cid7464.h:46
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setScanSpotPositionMap(const Float32 value, const unsigned long pos=0)
set ScanSpotPositionMap (300a,0394)
DRTBreedRegistrationSequence & getBreedRegistrationSequence()
get BreedRegistrationSequence (0010,2294)
Definition: drtimage.h:2398
OFCondition setSOPInstanceUID(const char *value)
sets the SOP instance UID (which is returned by the Print SCP).
virtual void setEos()
marks the end of stream, i.e.
OFCondition gotoFirstItem()
select the first item in the list
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getIdentifyingPrivateElements(Uint16 &value, const unsigned long pos=0) const
get IdentifyingPrivateElements (0008,0306)
void setSOPInstanceUID(const char *uid)
set SOP Instance UID of this image reference.
size_t size() const
gets the number of Presentation LUTs in this list.
Definition: dvpspll.h:85
int nChildNode(XMLCSTR name) const
return the number of child node with specific name
DcmSignature & operator=(DcmSignature &arg)
private undefined copy assignment operator
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtpcs.h:329
static OFBool checkVR(const OFString &value, size_t *pos=NULL, const OFBool checkLength=OFTrue)
check whether given value conforms to value representation CS (Code String).
Item & getCurrentItem()
get current item in the sequence
Item & getCurrentItem()
get current item in the sequence
DRTReferencedInstanceSequence ReferencedInstanceSequence
ReferencedInstanceSequence (0008,114a) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4590
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setUID(const OFString &value, const OFBool check=OFTrue)
set UID (0040,a124)
OFBool isEmpty()
check if item is empty
virtual OFCondition getDeidentificationMethod(OFString &value, const signed long pos=0) const
get DeidentificationMethod (0012,0063)
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_UnsupportedEncoding
Unsupported compression or encryption.
E_MACType
type of MAC algorithm
Definition: sitypes.h:92
const DRTReferencedSOPSequence & getReferencedSOPSequence() const
get ReferencedSOPSequence (0008,1199)
Definition: drtpcxs.h:255
unsigned char pduType() const
Denotes that instance is part of a request (DUL_TYPEASSOCIATEAC)
OFFilename & operator=(const OFFilename &arg)
assignment operator
void setMark(const OFBool flag)
mark/unmark the current content item.
Definition: dsrdoctn.h:254
const Item & getItem(const size_t num) const
get particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition getRTImageLabel(OFString &value, const signed long pos=0) const
get RTImageLabel (3002,0002)
UserIdentityNegotiationSubItemAC()
Constructor, creates an empty user identity response structure.
virtual OFBool isComplete() const
check whether the current numeric measurement value is complete, i.e. whether the numeric value is no...
@ OncologyMeasurementReport
(126001,DCM,"Oncology Measurement Report")
Definition: cid7021.h:46
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition setObservationDateTime(const OFString &observationDateTime, const OFBool check=OFTrue)
set observation date/time.
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
DRTUDISequence & getUDISequence()
get UDISequence (0018,100a)
Definition: drtdose.h:2668
const DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence() const
get PatientSpeciesCodeSequence (0010,2202)
Definition: drtdose.h:2302
double * GSDFSpline
array of values used for the interpolation of the GSDF
Definition: digsdfn.h:218
static Ptr getLogLog()
Returns a reference to the LogLog singleton.
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
DcmDecimalString PatientBodyMassIndex
PatientBodyMassIndex (0010,1022) vr=DS, vm=1, type=3.
Definition: drttreat.h:2788
void clear()
clear all internal member variables
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtecs.h:314
virtual OFCondition setStudyDate(const OFString &value, const OFBool check=OFTrue)
set StudyDate (0008,0020)
const char * getCurveAxisUnitsX()
gets the curve axis units string for the X dimension if present.
Definition: dvpscu.h:107
virtual DSRSCoord3DTreeNode * clone() const
clone this tree node.
void clear()
clear all internal member variables
DcmTime presentationCreationTime
Module=Presentation_State, VR=TM, VM=1, Type 1.
Definition: dcmpstat.h:857
double getThreshold() const
get threshold value of the plane
Definition: diovpln.h:296
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtdimcs.h:533
DCMTK_DCMRT_EXPORT const OFConditionConst RT_EC_UnsupportedValue
error: a value is not supported by this implementation
void insert(DVPSPresentationLUT *newLUT)
adds a Presentation LUT to the list of managed LUT.
Definition: dvpspll.h:113
OFCondition gotoFirstItem()
goto first item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtos.h:399
DcmUniversalResourceIdentifierOrLocator & operator=(const DcmUniversalResourceIdentifierOrLocator &obj)
copy assignment operator
virtual ~Item()
destructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getIsocenterToRangeModulatorDistance(Float32 &value, const unsigned long pos=0) const
get IsocenterToRangeModulatorDistance (300a,038a)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drticpds.h:1064
Item(const Item ©)
copy constructor
Interface class for ContrastBolusAgentSequence (0018,0012)
Definition: drtbas.h:29
JLS_UIDCreation uidCreation_
mode for SOP Instance UID creation (used both for encoding and decoding)
Definition: djcparam.h:254
E_ByteOrder byteOrder
transfer syntax byte order
Definition: dcxfer.h:319
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether given string value conforms to the VR "DA" (Date) and to the specified VM.
OFCondition getNumberOfPaintings(Sint32 &value, const unsigned long pos=0) const
get NumberOfPaintings (300a,039a)
DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence()
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drttreat.h:1731
@ SesamoidBonesOfFoot
(58742003,SCT,"Sesamoid bones of foot")
Definition: cid4031.h:206
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getAccessionNumber(OFString &value, const signed long pos=0) const
get AccessionNumber (0008,0050)
Decoder class for JPEG Lossless (8/12/16-bit)
Definition: djdeclol.h:32
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setCalculatedDoseReferenceDescription(const OFString &value, const OFBool check=OFTrue)
set CalculatedDoseReferenceDescription (3008,0074)
DcmDecimalString LeafJawPositions
LeafJawPositions (300a,011c) vr=DS, vm=2-2n, type=1.
Definition: drtblds5.h:212
virtual OFBool good() const
returns the status of the consumer.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
Item class.
Definition: drtblds6.h:36
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTEquivalentCodeSequence & getEquivalentCodeSequence()
get EquivalentCodeSequence (0008,0121)
Definition: drtpbcs.h:205
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual void callback(T_DIMSE_C_FindRQ *request, int &responseCount, T_DIMSE_C_FindRSP *rsp, DcmDataset *responseIdentifiers)
callback method that is called once for each incoming C-FIND-RSP message.
OFBool getAcrNemaCompatibility() const
Returns flag indicating if compatibility to old ACR-NEMA images without photometric interpretation is...
Definition: djcparam.h:289
virtual ~DicomImageComparison()
destructor
virtual void transferInit()
initialize the transfer state of this object.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_InternalError
Internal error.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrrms.h:176
OFCondition setPhotometricInterpretation(const OFString &value, const OFBool check=OFTrue)
set PhotometricInterpretation (0028,0004)
OFCondition setCertifiedTimestampType(const OFString &value, const OFBool check=OFTrue)
set CertifiedTimestampType (0400,0305)
DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence()
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drttreat.h:1623
DRTReferencedRTPlanSequenceInRTGeneralPlanModule ReferencedRTPlanSequence
ReferencedRTPlanSequence (300c,0002) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3277
virtual ~Item()
destructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item class.
Definition: drtbas.h:37
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=2.
Definition: drttreat.h:2890
virtual OFCondition getMeasuredAPDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredAPDimension (0010,1023)
OFCondition setDefaultPresentationLUT()
resets the Presentation LUT to the default setting.
OFBool getTargetPrinterSupportsDecimateCrop(const char *targetID)
returns the SUPPORTSDECIMATECROP entry for the printer with the given target ID from the configuratio...
virtual OFCondition getFunctionalGroupPointer(DcmTagKey &value, const signed long pos=0) const
Get Functional Group Pointer.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtbas.h:333
EP_Polarity
polarity
Definition: diutils.h:301
OFList< DcmPathNode * > m_currentPath
Internal list that is during search for keeping track of current path.
Definition: dcpath.h:492
virtual OFCondition getClinicalTrialProtocolName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolName (0012,0021)
Class representing the Image Pixel Module:
Definition: modimagepixel.h:46
DiARGBPixelTemplate(const DiDocument *docu, const DiInputPixel *pixel, DiLookupTable *palette[3], EI_Status &status, const unsigned long planeSize, const int bits)
constructor
Definition: diargpxt.h:54
OFBool matchesPresentationLUT(DVPSPrintPresentationLUTAlignment align) const
checks whether the given Presentation LUT type could be used together with all image boxes in all fil...
@ CarbonDioxide_O15
(129507008,SCT,"Carbon dioxide O^15^")
Definition: cid4021.h:78
OFCondition setTableTopLateralPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopLateralPosition (300a,012a)
OFCondition getSurfaceEntryPoint(OFString &value, const signed long pos=0) const
get SurfaceEntryPoint (300a,012e)
virtual OFCondition insert(DcmElement *elem, OFBool replaceOld=OFFalse, OFBool checkInsertOrder=OFFalse)
insert a new element into the list of elements maintained by this item.
virtual OFBool canAddContentItem(const E_RelationshipType relationshipType, const E_ValueType valueType, const E_AddMode addMode=AM_afterCurrent) const
check whether specified content item can be added to the current one.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
virtual OFCondition getPlanarConfiguration(Uint16 &value, const unsigned long pos=0) const
get PlanarConfiguration (0028,0006)
const char * getImageSmoothingType(size_t idx)
gets the (optional) smoothing type for the given registered image box.
OFCondition findAndGetOFString(const DcmTagKey &tagKey, OFString &value, const unsigned long pos=0, const OFBool searchIntoSub=OFFalse)
find element and get value as a C++ string (only one component).
OFBool operator!=(const OFSetIterator< T > &other) const
Determines if two iterators are not identical.
Definition: ofsetit.h:135
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
virtual OFCondition getPatientSpeciesDescription(OFString &value, const signed long pos=0) const
get PatientSpeciesDescription (0010,2201)
virtual OFCondition setBeamLimitingDeviceAngle(const OFString &value, const OFBool check=OFTrue)
set BeamLimitingDeviceAngle (300a,0120)
const OFString TemplateIdentifier
template identifier to check for
Definition: dsrdnflt.h:494
Item EmptyItem
empty default item
Definition: drtmls.h:347
Uint32 getFragmentSize() const
returns maximum fragment size (in kbytes) for compression, 0 for unlimited.
Definition: djcparam.h:155
OFCondition chooseRepresentation(const E_TransferSyntax repType, const DcmRepresentationParameter *repParam, DcmStack &stack)
choose a specific representation.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTCodingSchemeResourcesSequence & getCodingSchemeResourcesSequence()
get CodingSchemeResourcesSequence (0008,0109)
Definition: drtcsis.h:149
DcmPersonName ReviewerName
ReviewerName (300e,0008) vr=PN, vm=1, type=2C.
Definition: drtimage.h:5393
OFCondition setROIPhysicalProperty(const OFString &value, const OFBool check=OFTrue)
set ROIPhysicalProperty (3006,00b2)
OFCondition getRTImageOrientation(Float64 &value, const unsigned long pos=0) const
get RTImageOrientation (3002,0010)
OFCondition getInterMarkerDistance(Float64 &value, const unsigned long pos=0) const
get InterMarkerDistance (0050,0019)
DcmDecimalString TableTopVerticalPosition
TableTopVerticalPosition (300a,0128) vr=DS, vm=1, type=2C.
Definition: drtcps.h:709
virtual OFCondition getRelatedGeneralSOPClassUID(OFString &value, const signed long pos=0) const
get RelatedGeneralSOPClassUID (0008,001a)
OFBool isConnected() const
Returns whether SCP is currently connected.
DSRImageSegmentList & operator=(const DSRImageSegmentList &lst)
assignment operator
const Item & getCurrentItem() const
get current item in the sequence
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
void printArguments(OFCommandLine *cmd=NULL)
print expanded command line arguments to standard error stream
@ Mode
(373100007,SCT,"Mode")
Definition: cid7464.h:56
OFCondition gotoNextItem()
goto next item in the sequence
IODImagePixelVariant< OFVARIADIC_TEMPLATE_PARAMETER_PACK(T)> IODImagePixelModuleType
A good comment would be nice, but I have nothing in mind.
Definition: iodimage.h:78
OFBool isEmpty()
check if item is empty
virtual ~IODSynchronizationModule()
Destructor.
const LogLevel INFO_LOG_LEVEL
The INFO_LOG_LEVEL LogLevel designates informational messages that highlight the progress of the appl...
Definition: loglevel.h:75
OFCondition getScanSpotTuneID(OFString &value, const signed long pos=0) const
get ScanSpotTuneID (300a,0390)
DcmDecimalString PatientSupportAngle
PatientSupportAngle (300a,0122) vr=DS, vm=1, type=1C.
Definition: drticps.h:801
OFCondition getDVHMinimumDose(Float64 &value, const unsigned long pos=0) const
get DVHMinimumDose (3004,0070)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition gotoFirstItem()
goto first item in the sequence
DcmCodeString LossyImageCompression
LossyImageCompression (0028,2110) vr=CS, vm=1, type=3.
Definition: drtdose.h:4396
DiGSDFunction(const char *filename, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=-1)
constructor, read device characteristics file.
virtual OFCondition setAliasedDataType(const OFString &value, const OFBool checkValue=OFTrue)
Set Aliased Data Type.
void clear()
clear all internal member variables
DcmIntegerString ReferencedRangeShifterNumber
ReferencedRangeShifterNumber (300c,0100) vr=IS, vm=1, type=1.
Definition: drtrrshs.h:155
OFCondition setBlockName(const OFString &value, const OFBool check=OFTrue)
set BlockName (300a,00fe)
OFCondition getSourceApplicatorLength(Float64 &value, const unsigned long pos=0) const
get SourceApplicatorLength (300a,0296)
unsigned long getNumberOfUntrustworthySignatures(DVPSObjectType objtype) const
returns number of untrustworthy signatures for given object type.
OFCondition getSourceStrength(Float64 &value, const unsigned long pos=0) const
get SourceStrength (300a,022b)
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
Uint16 getRows() const
get number of rows
Definition: diimage.h:153
DcmAttributeFilter(const DcmTagKey &tag, const char *const value)
construct a DcmAttributeFilter object that compares the attribute with one specific value.
virtual ~DSRByReferenceTreeNode()
destructor
OFCondition setRealWorldValueFirstValueMapped(const Uint16 value, const unsigned long pos=0)
set RealWorldValueFirstValueMapped (0040,9216)
const Item & getCurrentItem() const
get current item in the sequence
DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence()
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtplan.h:1532
virtual OFCondition setPhysiciansOfRecord(const OFString &value, const OFBool check=OFTrue)
set PhysiciansOfRecord (0008,1048)
OFBool isValidUID() const
checks if the UID maintained by this object is a syntactically valid UID string
Uint32 bfOffBits
offset from the beginning of the file to the bitmap data (in bytes)
Definition: diutils.h:169
Class implementing a document tree node filter that checks for a given annotation.
Definition: dsrdnflt.h:357
Item & getCurrentItem()
get current item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcis.h:347
DRTIssuerOfPatientIDQualifiersSequence IssuerOfPatientIDQualifiersSequence
IssuerOfPatientIDQualifiersSequence (0010,0024) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2647
Definition: jpegint12.h:208
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
const DRTMultiplexedAudioChannelsDescriptionCodeSequence & getMultiplexedAudioChannelsDescriptionCodeSequence() const
get MultiplexedAudioChannelsDescriptionCodeSequence (003a,0300)
Definition: drtimage.h:2740
void setAnnotation(const DSRTreeNodeAnnotation &annotation)
set annotation of this node (optional)
Definition: dsrtree.h:143
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtdspcs.h:351
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
DcmUnsignedShort shutterOverlayGroup
Module=Bitmap_Display_Shutter, VR=US, VM=1, Type 1.
Definition: dcmpstat.h:912
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setLossyImageCompression(const OFString &value, const OFBool check=OFTrue)
set LossyImageCompression (0028,2110)
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtpcs.h:327
virtual DJEncoder * createEncoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample) const
creates an instance of the compression library to be used for encoding/decoding.
@ TRC105_89Zr
(126749,DCM,"TRC105 ^89^Zr")
Definition: cid4021.h:288
OFCondition setTreatmentTime(const OFString &value, const OFBool check=OFTrue)
set TreatmentTime (3008,0251)
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtcbars.h:356
void dumpNMessage(T_DIMSE_Message &msg, DcmItem *dataset, OFBool outgoing)
dumps the given message to the dump stream if it exists.
virtual ~DVPSDisplayedArea()
destructor
@ Mespiperone_C11
(424789007,SCT,"Mespiperone C^11^")
Definition: cid4021.h:198
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
Item & operator=(const Item ©)
assigment operator
DcmPersonName ReviewerName
ReviewerName (300e,0008) vr=PN, vm=1, type=2C.
Definition: drtstrct.h:3052
virtual OFBool isRTFractionSchemeModulePresent(const OFBool complete=OFFalse)
check whether RTFractionSchemeModule (U) is present.
SiCertificate * selectedCertificate
pointer to certificate for currently selected signature item
Definition: dcsignat.h:260
OFBool getCurrentArg(OFCmdString &arg)
gets current command line argument as a C++ string.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTBrachyControlPointSequence(const DRTBrachyControlPointSequence ©)
copy constructor
DCMTK_DCMNET_EXPORT OFGlobal< Sint32 > dcmSocketSendTimeout
Global timeout in seconds for sending data on a socket to a remote host.
OFCondition getModalityLUTType(OFString &value, const signed long pos=0) const
get ModalityLUTType (0028,3004)
OFCondition setCompensatorMountingPosition(const OFString &value, const OFBool check=OFTrue)
set CompensatorMountingPosition (300a,02e1)
virtual OFCondition setNumberOfFractionsPlanned(const OFString &value, const OFBool check=OFTrue)
set NumberOfFractionsPlanned (300a,0078)
OFCondition setMinDensity(const char *value)
sets the (optional) min density.
void saveDimseLog()
stores the binary log of the DIMSE communication in a DICOM file in the log directory.
virtual OFCondition check() const
Check whether this group contains valid data.
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
Item & getCurrentItem()
get current item in the sequence
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtspccs.h:351
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
unsigned conversionFlags
special character set conversion flags.
Definition: dcmqrcnf.h:109
Item & getItem(const size_t num)
get particular item in the sequence
Interface class for ReferencedFrameOfReferenceSequence (3006,0010)
Definition: drtrfors.h:29
Definition: jpegint12.h:45
@ T2
(113065,DCM,"T2"), included from CID 7180
Definition: cid7469.h:78
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
virtual ~DRTConversionSourceAttributesSequence()
destructor
DRTStrainStockSequence & getStrainStockSequence()
get StrainStockSequence (0010,0216)
Definition: drtiontr.h:1827
@ ELM_CheckValue
check whether given value is consistent with LUT data
Definition: diutils.h:319
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmDecimalString BrachyAccessoryDeviceNominalThickness
BrachyAccessoryDeviceNominalThickness (300a,026a) vr=DS, vm=1, type=3.
Definition: drtbads.h:246
void reset()
reset start time
virtual ~DRTIonBlockSequence()
destructor
DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence()
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtimage.h:2494
unsigned long getCount() const
get number of pixel per frame
Definition: dimoopx.h:114
SiRSA(RSA *key)
constructor
WlmDataSourceStatusType
Data source status types.
Definition: wltypdef.h:39
virtual ~DiRotateTemplate()
destructor
Definition: dirotat.h:107
OFBool isEmpty()
check if item is empty
virtual T * Find(const T &item) const
Tries to find a given object in the set.
Definition: ofoset.h:300
OFDateTime FromDateTimeValue
start observation date/time to check for (as a converted OFDateTime instance)
Definition: dsrdnflt.h:422
OFCondition setAlgorithmIdentification(const OFString &algorithmName, const OFString &algorithmVersion, const OFBool check=OFTrue)
set the value of the mandatory content items for 'Algorithm Identification' (TID 1419 - Row 20).
OFCondition getSourceStrengthReferenceTime(OFString &value, const signed long pos=0) const
get SourceStrengthReferenceTime (300a,022e)
DcmLongText PersonTelecomInformation
PersonTelecomInformation (0040,1104) vr=LT, vm=1, type=3.
Definition: drtprsis.h:210
Item & operator=(const Item ©)
assigment operator
virtual OFCondition setReferringPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ReferringPhysicianName (0008,0090)
virtual OFCondition setLongitudinalTemporalOffsetFromEvent(const Float64 value, const unsigned long pos=0)
set LongitudinalTemporalOffsetFromEvent (0012,0052)
virtual ~DSRTimeTreeNode()
destructor
DRTGeneticModificationsSequence GeneticModificationsSequence
GeneticModificationsSequence (0010,0221) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3019
virtual OFCondition getPatientName(OFString &value, const signed long pos=0) const
get PatientName (0010,0010)
const DSRNumericMeasurementValue & getNumericValue() const
get numeric value.
virtual DataType getDataType() const
Get pixel data type, always returns DataType::INTEGER for this class.
virtual OFCondition getFloat64Array(Float64 *&val)
get a pointer to the element value of the current element as type Float64.
OFDateTime()
default constructor.
Class for content item IMAGE.
Definition: dsrimgtn.h:42
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition addDicomFilesFromDICOMDIR(const OFFilename &filename, const E_FileReadMode readMode, const OFBool checkValues)
add SOP instances referenced from a given DICOMDIR to the list of instances to be transferred.
virtual ContentIdentificationMacro & getContentIdentification()
Return reference to content identification of this Tractography Results object (from Tractography Res...
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtporcs.h:339
OFCondition getCompensatorColumns(OFString &value, const signed long pos=0) const
get CompensatorColumns (300a,00e8)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
EP_Interpretation getPhotometricInterpretation() const
get code for photometric interpretation (color model).
Definition: dcmimage.h:501
DcmDataDictionary & wrlock()
acquires a write lock and returns a non-const reference to the dictionary.
@ ZScore
(113071,DCM,"Z-score"), included from CID 7180
Definition: cid7469.h:190
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
OFCondition gotoFirstItem()
goto first item in the sequence
const DRTGeneticModificationsCodeSequence & getGeneticModificationsCodeSequence() const
get GeneticModificationsCodeSequence (0010,0229)
Definition: drtgms.h:120
OFCondition getNumberOfWedges(Sint32 &value, const unsigned long pos=0) const
get NumberOfWedges (300a,00d0)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmCodeString FluenceMode
FluenceMode (3002,0051) vr=CS, vm=1, type=1.
Definition: drtpfms.h:130
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition getStructureSetDate(OFString &value, const signed long pos=0) const
get StructureSetDate (3006,0008)
virtual OFCondition setColorSpace(const OFString &value, const OFBool check=OFTrue)
set ColorSpace (0028,2002)
virtual ~DcmPrivateTagCacheEntry()
destructor
DcmDictEntryList()
constructor
Definition: dchashdi.h:44
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition setManufacturer(const OFString &value, const OFBool check=OFTrue)
set Manufacturer (0008,0070)
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format to a stream
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtecs.h:330
const E_FileReadMode FileReadMode
read mode that should be used to read the given SOP instance from file
Definition: dstorscu.h:406
virtual OFCondition getLossyImageCompressionMethod(OFString &value, const signed long pos=0) const
get LossyImageCompressionMethod (0028,2114)
size_t gotoNode(const size_t searchID)
set cursor to specified node.
Definition: dsrtncsr.h:670
virtual OFBool isValid() const
check whether the content item is valid.
virtual OFCondition setAccessionNumber(const OFString &value, const OFBool check=OFTrue)
set accession number
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrsss.h:127
OFBool isEmpty()
check if sequence is empty
DcmDecimalString TargetUnderdoseVolumeFraction
TargetUnderdoseVolumeFraction (300a,0028) vr=DS, vm=1, type=3.
Definition: drtdrs.h:515
const void * getData(void *buffer, const unsigned long size, const unsigned long frame, const int bits, const int planar)
get pixel data with specified format.
virtual OFCondition getImageOrientationPatient(Float64 &rowX, Float64 &rowY, Float64 &rowZ, Float64 &colX, Float64 &colY, Float64 &colZ)
Retrieve all values of Image Orientation Patient at the same time.
DcmDecimalString FluenceDataScale
FluenceDataScale (3002,0042) vr=DS, vm=1, type=3.
Definition: drtfms.h:137
DVPSCurveType getTypeOfData()
gets the type of data in the curve (ROI or POLY).
Definition: dvpscu.h:81
OFCondition createMeasurement(const T_Measurement &conceptName, const MeasurementValue &numericValue, const OFBool check)
create the mandatory root content item of this template, i.e. TID 1419 - Row 5.
const DRTReferencedBrachyApplicationSetupSequenceInRTDoseModule & getReferencedBrachyApplicationSetupSequence() const
get ReferencedBrachyApplicationSetupSequence (300c,000a)
Definition: drtrfgs.h:133
DcmLongText PatientComments
PatientComments (0010,4000) vr=LT, vm=1, type=3.
Definition: drtplan.h:2997
const LogLevel DEBUG_LOG_LEVEL
The DEBUG_LOG_LEVEL LogLevel designates fine-grained informational events that are most useful to deb...
Definition: loglevel.h:80
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrvis.h:311
@ RadiationTherapist
(3430008,SCT,"Radiation Therapist")
Definition: cid7452.h:66
Item & operator=(const Item ©)
assigment operator
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
unsigned long getValue(const DcmTagKey &tag, Sint16 &returnVal, const unsigned long pos=0, DcmItem *item=NULL) const
get value of given tag (Sint16)
const Item & getCurrentItem() const
get current item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFBool isUniversalMatch(const OFBool normalize=OFTrue, const OFBool enableWildCardMatching=OFTrue)
Determine if this element is universal matching.
OFBool isPrivateCreatorFor(const DcmTagKey &tk) const
checks if this element is the private creator for the element with the given tag key
void clear()
clear all internal member variables
const DRTStrainCodeSequence & getStrainCodeSequence() const
get StrainCodeSequence (0010,0219)
Definition: drtimage.h:3088
helper class that manages a single DICOM UID.
Definition: dccfuidh.h:43
void convertValue(T2 &red, T2 &green, T2 &blue, const T2 y, const T2 cb, const T2 cr, const T2 maxvalue)
convert a single YCbCr value to RGB
Definition: diyp2pxt.h:118
virtual OFCondition getMeasuredAPDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredAPDimension (0010,1023)
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSUnsupportedBitDepth
error condition constant: Unsupported bit depth in JPEG-LS transfer syntax
DcmDataset * getDataset() const
get current DICOM dataset
Definition: didocu.h:118
void clear()
clear all internal member variables
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtas6.h:343
const DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence() const
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtiontr.h:1245
DcmDataset * currentImageDataset
a pointer to the DICOM dataset comprising the image to which the presentation state is currently appl...
Definition: dvpstat.h:1197
OFString & assign(const char *s)
constructs a temporary string from the input and assigns it to the current string.
size_t getNumberOfItems() const
get number of items in the sequence
DcmDecimalString BeamLimitingDevicePositionTolerance
BeamLimitingDevicePositionTolerance (300a,004a) vr=DS, vm=1, type=1.
Definition: drtbldts.h:137
DcmLongString RTPlanName
RTPlanName (300a,0003) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3171
DRTIonControlPointSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTIonBeamsTreatmentRecordIOD()
default constructor
DRTMeasuredDoseReferenceSequence & operator=(const DRTMeasuredDoseReferenceSequence ©)
assigment operator
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DRTSourceSequence & getSourceSequence()
get SourceSequence (300a,0210)
Definition: drtplan.h:1928
void dumpPresentationContexts(STD_NAMESPACE ostream &out, OFString profileName="")
Dump presentation contexts to given output stream, useful for debugging.
DRTStrainCodeSequence(const DRTStrainCodeSequence ©)
copy constructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmCodeString graphicFilled
VR=CS, VM=1, Type 1c.
Definition: dvpsgr.h:137
OFBool isRepeatingGroup(Uint16 rGroup)
compare repeating group.
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtsptcs.h:339
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item & operator=(const Item ©)
assigment operator
OFCondition getUniversalEntityIDType(OFString &value, const signed long pos=0) const
get UniversalEntityIDType (0040,0033)
virtual OFCondition getDateOfLastCalibration(OFString &value, const signed long pos=0) const
get DateOfLastCalibration (0018,1200)
DcmTime PatientBirthTime
PatientBirthTime (0010,0032) vr=TM, vm=1, type=3.
Definition: drtiontr.h:2818
virtual OFCondition write(DcmItem &item)
Write functional group to given item, i.e. write Plane Orientation (Volume) Sequence.
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
virtual OFCondition getOtherPatientNames(OFString &value, const signed long pos=0) const
get OtherPatientNames (0010,1001)
DcmShortString StructureSetLabel
StructureSetLabel (3006,0002) vr=SH, vm=1, type=1.
Definition: drtdose.h:4606
int checkInterData(const int mode=1)
check intermediate pixel representation for consistency
E_ByteOrder fByteOrder
current byte order of attribute value in memory
Definition: dcelem.h:992
OFBool encodingCheck() const
get current status of the "pixel encoding check" mode.
Definition: dcddirif.h:411
virtual OFCondition getPatientAge(OFString &value, const signed long pos=0) const
get PatientAge (0010,1010)
virtual OFCondition setOtherPatientNames(const OFString &value, const OFBool check=OFTrue)
set OtherPatientNames (0010,1001)
void propagate(const DcmQuantPixel &, const DcmQuantPixel &, long)
dummy method needed for API compatibility with DcmQuantFloydSteinberg
Definition: diqtid.h:64
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFCondition getNumberOfFractionsDelivered(Sint32 &value, const unsigned long pos=0) const
get NumberOfFractionsDelivered (3008,005a)
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 object to a stream
virtual offile_off_t avail()
returns the minimum number of bytes that can be read with the next call to read().
const OFString & getCodingSchemeVersion(OFString &stringValue) const
get the coding scheme version of the currently selected item
DcmUniqueIdentifier HomeCommunityID
HomeCommunityID (0040,e031) vr=UI, vm=1, type=3.
Definition: drtxrs.h:130
virtual OFCondition setPatientDeathDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientDeathDateInAlternativeCalendar (0010,0034)
OFCondition write(DcmItem &dset)
writes the curve and overlay activations managed by this object to a DICOM dataset.
virtual OFCondition write(DcmItem &item)
Write functional group to item, will write to US Image Description Sequence.
virtual OFCondition addSegment(DcmSegment *seg, Uint16 &segmentNumber)
Add segment to segmentation object.
virtual OFCondition getUniversalEntityID(OFString &value, const signed long pos=0) const
Get Universal Entity ID.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
Item(const Item ©)
copy constructor
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtspcs.h:346
virtual OFCondition getPatientIdentityRemoved(OFString &value, const signed long pos=0) const
get PatientIdentityRemoved (0012,0062)
@ _77_Bromine
(86521004,SCT,"^77^Bromine")
Definition: cid4020.h:98
DcmDecimalString DeviceLength
DeviceLength (0050,0014) vr=DS, vm=1, type=3.
Definition: drtds.h:523
DcmCodeString requestedDecimateCropBehavior
Module=Image_Box_List (Supplement 38), VR=CS, VM=1, Type 3.
Definition: dvpsib.h:353
virtual ~OFStackBase()
destructor
Definition: ofstack.h:91
Interface class for OriginalAttributesSequence (0400,0561)
Definition: drtoas.h:29
WlmFileSystemInteractionManager(const WlmFileSystemInteractionManager &old)
Privately defined copy constructor.
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtois.h:197
DiMonoModality * addReferenceToModality()
add a reference to the internally managed modality transform object
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
size_t getNumberOfItems() const
get number of items in the sequence
DB_ElementList()
default constructor
Definition: dcmqridx.h:178
virtual OFCondition getSegmentDescription(OFString &value, const signed long pos=0)
Get Segment Description.
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition setDeviceSerialNumber(const OFString &value, const OFBool checkValue=OFTrue)
Set Device Serial Number.
This class used to output log statements from within the log4cplus package.
Definition: loglog.h:56
const DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule & getReferencedTreatmentRecordSequence() const
get ReferencedTreatmentRecordSequence (3008,0030)
Definition: drtiontr.h:1725
DcmDecimalString MeasuredAPDimension
MeasuredAPDimension (0010,1023) vr=DS, vm=1, type=3.
Definition: drtionpl.h:3031
char rcsid[200]
contains application's id string
Definition: wlcefs.h:40
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
DcmLongText AdditionalPatientHistory
AdditionalPatientHistory (0010,21b0) vr=LT, vm=1, type=3.
Definition: drtplan.h:3134
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition setFilmOrientation(DVPSFilmOrientation value)
sets the (optional) film orientation.
static void freeContainer(Container &container)
Deletes all elements from given container and calls "delete" on each of them to clear memory.
Definition: iodutil.h:840
Item & getItem(const size_t num)
get particular item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrcs.h:371
OFpath & operator=(OFrvalue_ref(OFpath) rhs)
Move-assign another OFpath to this one.
DSRReferencedSamplePositionList(const DSRReferencedSamplePositionList &lst)
copy constructor
TID1204_LanguageOfContentItemAndDescendants & getLanguage() const
get language of this report as defined by TID 1204 (Language of Content Item and Descendants).
Definition: tid1500.h:176
OFCondition read(DcmItem &dset, DVPSPresentationLUT_PList &presentationLUTList)
reads a list of image boxes (ImageBoxContentSequence) from a DICOM dataset.
virtual ~TrcStatistic()
Destructor, frees memory.
OFCondition setSourceType(const OFString &value, const OFBool check=OFTrue)
set SourceType (300a,0214)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item(const Item ©)
copy constructor
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition cancelMoveRequest(DcmQueryRetrieveDatabaseStatus *status)
cancel the ongoing MOVE request, stop and reset every running operation associated with this request,...
Class to handle a set of overlay planes.
Definition: diovlay.h:53
DcmFloatingPointDouble RealWorldValueIntercept
RealWorldValueIntercept (0040,9224) vr=FD, vm=1, type=1C.
Definition: drtrwvms.h:270
virtual OFBool check()
Checks the functional groups for consistency.
OFCondition getReferencedPatientSetupNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedPatientSetupNumber (300c,006a)
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtrpcs.h:331
virtual DSRDocumentTreeNode * getAndRemoveRootNode()
get pointer to root node and "forget" the internal reference to this node.
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid10033.h:148
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual OFCondition setPixelAspectRatio(const OFString &value, const OFBool check=OFTrue)
set PixelAspectRatio (0028,0034)
OFBool checkExistsWithStringValue(DcmItem *dataset, const DcmTagKey &key, const OFString &value, const OFFilename &filename=OFFilename())
check whether given tag exists in the DICOM dataset and has the expected string value
Item & getCurrentItem()
get current item in the sequence
virtual OFCondition setResponsibleOrganization(const OFString &value, const OFBool check=OFTrue)
set ResponsibleOrganization (0010,2299)
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format to a stream
Item & operator=(const Item ©)
assigment operator
Item class.
Definition: drtcshs.h:36
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const DRTPredecessorStructureSetSequence & getPredecessorStructureSetSequence() const
get PredecessorStructureSetSequence (3006,0018)
Definition: drtstrct.h:1524
DcmSCPActionType
Action codes that can be given to DcmSCP to control behavior during SCP's operation.
Definition: scp.h:65
virtual ~DiOverlayData()
destructor
Item & operator=(const Item ©)
assigment operator
OFCondition getBeamDosePointEquivalentDepth(Float32 &value, const unsigned long pos=0) const
get BeamDosePointEquivalentDepth (300a,0089)
DVPSTextObject_PList & operator=(const DVPSTextObject_PList &)
private undefined assignment operator
DcmQuantScaleTable(const DcmQuantScaleTable &src)
private undefined copy constructor
OFCondition getReferencedLateralSpreadingDeviceNumber(OFString &value, const signed long pos=0) const
get ReferencedLateralSpreadingDeviceNumber (300c,0102)
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFCondition getCurrentWindowWidth(double &w)
gets the width of the current VOI window.
E_VerificationFlag
SR document verification flag.
Definition: dsrtypes.h:771
Item & getCurrentItem()
get current item in the sequence
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
const T & const_reference
the type of constant references on this object
Definition: ofvector.h:68
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool isEmpty()
check if item is empty
virtual void clear()
Clear all internal state.
XMLCSTR updateText_WOSD(XMLSTR lpszNewValue, XMLCSTR lpszOldValue)
if the text to update is missing, a new one will be added
const char * getKeyword() const
return keyword as C string
Definition: ofconfig.h:85
virtual OFCondition getVerifyingObserver(const size_t idx, OFString &dateTime, OFString &observerName, OFString &organization)
get information about a verifying observer.
DcmUniversalResourceIdentifierOrLocator PixelDataProviderURL
PixelDataProviderURL (0028,7fe0) vr=UR, vm=1, type=1C.
Definition: drtdose.h:4474
virtual OFCondition getImageType(OFString &value, const signed long pos=0)
Get Image Type.
IOD_LATERALITY
Enumerated values for attribute "Laterality".
Definition: iodtypes.h:108
OFCondition flush(SiMAC &mac)
flushes all buffers inside this object, finalizing the MAC code
OFCondition getShieldingDeviceDescription(OFString &value, const signed long pos=0) const
get ShieldingDeviceDescription (300a,01a6)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrbas8.h:351
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmIntegerString BrachyAccessoryDeviceNumber
BrachyAccessoryDeviceNumber (300a,0262) vr=IS, vm=1, type=2.
Definition: drtbads.h:250
virtual OFCondition setManufacturerModelName(const OFString &value, const OFBool check=OFTrue)
set ManufacturerModelName (0008,1090)
OFBool setYear(const unsigned int year)
set the date value to the specified year.
DcmIntegerString NumberOfFractionsPlanned
NumberOfFractionsPlanned (300a,0078) vr=IS, vm=1, type=2.
Definition: drtfgs.h:338
virtual OFBool isValid()
check whether the current internal state is valid
OFCondition printSCUcreateBasicFilmBox(DVPSPrintMessageHandler &printHandler, OFBool plutInSession)
Creates a DICOM Basic Film Box SOP Instance in the printer.
virtual ~DiMono2Image()
destructor
virtual const OFFilename & getDirFileName()
returns file name from which DICOMDIR was read.
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
void clear()
clear all internal member variables
OFCondition setBlockData(const OFString &value, const OFBool check=OFTrue)
set BlockData (300a,0106)
const DRTAdmittingDiagnosesCodeSequence & getAdmittingDiagnosesCodeSequence() const
get AdmittingDiagnosesCodeSequence (0008,1084)
Definition: drtiontr.h:1185
OFCondition setSourceToWedgeTrayDistance(const OFString &value, const OFBool check=OFTrue)
set SourceToWedgeTrayDistance (300a,00da)
OFCondition getSetupDeviceDescription(OFString &value, const signed long pos=0) const
get SetupDeviceDescription (300a,01ba)
DRTIonWedgeSequence & operator=(const DRTIonWedgeSequence ©)
assigment operator
DcmUnlimitedText StrainAdditionalInformation
StrainAdditionalInformation (0010,0218) vr=UT, vm=1, type=3.
Definition: drtstrct.h:2777
void setDirectoryGenerationMode(const E_DirectoryGenerationMode mode)
set the mode for generating subdirectories used to store the received datasets.
virtual OFCondition getItemFromFGSequence(DcmItem &source, const DcmTagKey &seqKey, const unsigned long itemNum, DcmItem *&result)
Get the item containing the payload of a functional group sequence, identified by the functional grou...
OFString toString() const
Returns a string representation of the path, e.g. "SourceImageSequence[0].ReferencedSOPInstanceUID".
virtual OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read XML document tree
virtual OFCondition read(DcmItem &dataset)
Read common image module attributes (all those handled by this class) from given item.
Definition: iodimage.h:147
OFCondition getTimeOfLastCalibration(OFString &value, const signed long pos=0) const
get TimeOfLastCalibration (0018,1201)
DcmDecimalString MeasuredLateralDimension
MeasuredLateralDimension (0010,1024) vr=DS, vm=1, type=3.
Definition: drtionpl.h:3033
Data(T *const pt)
Construct reference and counter from a raw pointer.
Definition: ofmem.h:180
Item & operator=(const Item ©)
assigment operator
virtual int compare(const IODComponent &rhs) const
Comparison operator for IOD Components.
virtual OFBool operator!=(const DSRDocumentTreeNode &node) const
comparison operator "not equal".
virtual OFCondition setEthnicGroup(const OFString &value, const OFBool check=OFTrue)
set EthnicGroup (0010,2160)
DcmSharedSCPConfig m_cfg
SCP configuration.
Definition: scp.h:1144
WlmConsoleEngineFileSystem(int argc, char *argv[], const char *applicationName, WlmDataSource *dataSourcev)
constructor.
OFCondition getReferencedRangeModulatorNumber(OFString &value, const signed long pos=0) const
get ReferencedRangeModulatorNumber (300c,0104)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual ~Item()
destructor
virtual DcmDirectoryRecord * nextSub(const DcmDirectoryRecord *dirRec)
get next directory child record starting at a given record
E_GrpLenEncoding
handling of group length elements when reading/writing a dataset
Definition: dctypes.h:100
@ GlutamateAndGlutamine
(113080,DCM,"Glutamate and glutamine"), included from CID 4033
Definition: cid7469.h:60
OFBool getSpoolerDeletePrintJobs()
returns the DELETEPRINTJOBS entry for the print spooler from the section GENERAL/PRINT in the config ...
virtual OFBool combinationMatches(const DcmElement &keySecond, const DcmElement &candidateFirst, const DcmElement &candidateSecond) const
perform combined attribute matching.
DcmLongString ResponsibleOrganization
ResponsibleOrganization (0010,2299) vr=LO, vm=1, type=2C.
Definition: drttreat.h:2701
virtual DcmEVR ident() const
get element type identifier
size_t length() const
returns a count of the number of char-like objects currently in the string.
Definition: ofstring.h:420
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid4031.h:358
OFCondition gotoNextItem()
goto next item in the sequence
DcmLongString GantryID
GantryID (0018,1008) vr=LO, vm=1, type=3.
Definition: drtplan.h:3237
@ LATERALITY_L
Left body part.
Definition: iodtypes.h:112
Uint16 HighBit
position of highest stored bit
Definition: diimage.h:641
~DiColorCopyTemplate()
destructor
Definition: dicocpt.h:67
OFBool isEmpty()
check if sequence is empty
Interface class for VOILUTSequence (0028,3010)
Definition: drtvls.h:28
@ PETUnspecifiedBodyRegion
(44136-0,LN,"PET unspecified body region")
Definition: cid100.h:64
OFBool isEmpty()
check if sequence is empty
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
Interface class for SegmentedPropertyTypeModifierCodeSequence (0062,0011)
Definition: drtsptcs.h:29
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual ~DcmSequenceOfItems()
destructor
Class for checking the relationship content constraints of the Mammography CAD SR IOD.
Definition: dsrmamcc.h:45
CID42_NumericValueQualifier(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
@ Cetuximab_89Zr
(126513,DCM,"Cetuximab ^89^Zr")
Definition: cid4021.h:86
OFMap< Uint32, Uint32 > m_FrameNumbers
Map with frames, key is the frame number, value is the in-stack position.
Definition: stack.h:136
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtshds.h:169
DcmIntegerString ReferencedStartControlPointIndex
ReferencedStartControlPointIndex (300c,00f4) vr=IS, vm=1, type=1.
Definition: drtrcps.h:144
OFBool isValid() const
check if item is valid, i.e. not the empty default item
void clear()
clear all internal member variables
the list of VOI Windows contained in an image attached to a presentation state.
Definition: dvpsvwl.h:39
virtual DcmEVR ident() const
get element type identifier
const OFString ParamDescription
parameter description
Definition: ofcmdln.h:122
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFBool useMetaheader_
write DICOM files with DICOM metaheader
Definition: dcmqropt.h:143
OFBool opt_singleProcess
indicates if this application is run in single process mode or not
Definition: wlcefs.h:74
EVP_PKEY * pkey
the private key managed by this object, may be NULL if not loaded yet
Definition: siprivat.h:111
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFFilename IconPrefix
filename prefix for the external icon images
Definition: dcddirif.h:1596
OFCondition createNewMeasurementReport(const CID7021_MeasurementReportDocumentTitles &title, const OFBool check=OFTrue)
create a new measurement report.
E_ByteOrder getByteOrder() const
return the current byte order of the value field
Definition: dcelem.h:982
virtual ~DRTReferencedBrachyApplicationSetupSequenceInRTDoseModule()
destructor
DJ_RPLossy(int aQuality=90)
constructor
DcmIntegerString BeamNumber
BeamNumber (300a,00c0) vr=IS, vm=1, type=1.
Definition: drtbs.h:729
DVPSCurve * getCurveGroup(Uint16 group)
get curve by group
virtual OFCondition digest(const unsigned char *data, unsigned long length)
feeds data into the MAC algorithm
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition getReferencedROINumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedROINumber (3006,0084)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtmucs.h:533
static OFCondition newDicomElementWithVR(DcmElement *&newElement, const DcmTag &tag)
creates new DICOM element from given attribute tag and VR.
const DRTSegmentedPropertyCategoryCodeSequence & getSegmentedPropertyCategoryCodeSequence() const
get SegmentedPropertyCategoryCodeSequence (0062,0003)
Definition: drtrros.h:221
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const DRTFluenceMapSequence & getFluenceMapSequence() const
get FluenceMapSequence (3002,0040)
Definition: drtimage.h:2584
virtual OFBool isSegmentation() const
check whether the current image reference points to a DICOM segmentation object
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtdimcs.h:349
Uint16 convertPValueToDDL(Uint16 pvalue, unsigned int bits=8)
converts a 16-bit P-Value to an 8-bit DDL value for on-sceen display.
@ EET_UndefinedLength
undefined length
Definition: dctypes.h:95
static const OFBool is_integer
OFTrue for all integer arithmetic types T and OFFalse otherwise.
Definition: oflimits.h:196
@ Flumazenil_C11
(423543007,SCT,"Flumazenil C^11^")
Definition: cid4021.h:142
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
DcmShortString BeamCurrentModulationID
BeamCurrentModulationID (300a,034c) vr=SH, vm=1, type=1C.
Definition: drtrrms.h:181
virtual OFCondition setICCProfile(const Uint8 *value, const unsigned long count)
set ICCProfile (0028,2000)
XMLAttribute * updateAttribute_WOSD(XMLSTR lpszNewValue, XMLSTR lpszNewName, XMLCSTR lpszOldName)
set lpszNewName=NULL if you don't want to change the name of the attribute if the attribute to update...
char * filename_
filename consisting of conventional characters (8-bit, e.g. UTF-8)
Definition: offile.h:264
virtual DcmTransportLayerStatus setTLSProfile(DcmTLSSecurityProfile profile)
replace the current list of ciphersuites by the list of ciphersuites for the given profile.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
virtual void updateImagePixelModuleAttributes(DcmItem &dataset)
update Image Pixel Module attributes in the given dataset.
virtual ~OFGlobal()
destructor.
Definition: ofglobal.h:55
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
size_t getNumberOfItems() const
get number of items in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const DRTInstitutionCodeSequence & getInstitutionCodeSequence() const
get InstitutionCodeSequence (0008,0082)
Definition: drtois.h:142
DRTFluenceMapSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
virtual OFCondition getPatientBirthTime(OFString &value, const signed long pos=0) const
get PatientBirthTime (0010,0032)
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getDateTime(OFString &value, const signed long pos=0) const
get DateTime (0040,a120)
DVPSGraphicAnnotation * clone()
clone method.
Definition: dvpsga.h:52
size_t size() const
Returns number of entries in transfer syntax map.
OFReadWriteLock & operator=(const OFReadWriteLock &arg)
unimplemented private assignment operator
Implementation of DCMR Template: TID 4019 - Algorithm Identification.
Definition: tid4019.h:33
OFListIterator(Item *) CurrentItem
currently selected item
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtdcs.h:357
size_t find_last_of(const char *s, size_t pos, size_t n) const
determines the highest location, loc, up to pos, such that the character at loc matches at least one ...
DSRReferencedTimeOffsetList & operator=(const DSRReferencedTimeOffsetList &lst)
assignment operator
DRTRecordedRangeModulatorSequence & operator=(const DRTRecordedRangeModulatorSequence ©)
assigment operator
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFBool reset()
sets internal cursor to last visited position in cache list
Definition: dvcache.h:225
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSUnsupportedPixelRepresentation
error condition constant: Unsupported pixel representation for near-lossless JPEG-LS compression
int writePPM(FILE *stream, const unsigned long frame, const int bits)
write pixel data to PPM file.
static FGFactory * m_Instance
The instance of FGFactory handled by this singleton class.
Definition: fgfact.h:76
OFBool isValid() const
check whether the current internal state is valid.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmShortString TreatmentMachineName
TreatmentMachineName (300a,00b2) vr=SH, vm=1, type=2.
Definition: drttms9.h:212
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtbcps.h:218
const char * getTagName()
returns name of attribute tag.
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtccs.h:351
const char * getUserPrivateKey(const char *userID)
returns the private key file name for the given user.
const char * getExtendedNegotiationKey(const char *key) const
returns the extended negotiation key for the given profile
DCMTK_DCMJPEG_EXPORT const OFConditionConst EJ_UnsupportedBitDepth
Codec does not support this kind of bit depth.
@ EXS_JPEGLSLossless
JPEG-LS (lossless)
Definition: dcxfer.h:89
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the numeric measurement value, is valid
virtual DSRCompositeTreeNode * clone() const
clone this tree node.
TID1419_Measurement & getMeasurement() const
get current measurement value of this measurement group as defined by TID 1419 (ROI Measurements),...
Definition: tid1411.h:148
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
DcmDecimalString TableTopLongitudinalPosition
TableTopLongitudinalPosition (300a,0129) vr=DS, vm=1, type=2C.
Definition: drtcps.h:699
static const OFString m_ModuleName
Module name ("MultiframeFunctionalGroupsModule".
Definition: modmultiframefg.h:289
IODGeneralSeriesModule & getSeries()
Get Series Module.
void swap(OFMap< K, V > &s)
swaps the contents of the two maps.
Definition: ofmap.h:224
void printMessage(const char *str)
print message (w/o header) to standard error stream.
DRTIssuerOfAccessionNumberSequence IssuerOfAccessionNumberSequence
IssuerOfAccessionNumberSequence (0008,0051) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2841
virtual OFCondition getLongitudinalTemporalEventType(OFString &value, const signed long pos=0) const
get LongitudinalTemporalEventType (0012,0053)
virtual OFBool isAffectedBySpecificCharacterSet() const
check if this element is affected by SpecificCharacterSet
Class representing the Plane Position (Volume) Functional Group that identifies the position of the p...
Definition: fgplanposvol.h:33
OFCondition getReferencedRangeModulatorNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedRangeModulatorNumber (300c,0104)
OFCondition getCompensatorPixelSpacing(Float64 &value, const unsigned long pos=0) const
get CompensatorPixelSpacing (300a,00e9)
funcType m_func
Getter function which gets the actual value from an item.
Definition: drmsrch.h:89
OFCondition setCurrentPrinter(const char *targetID)
selects the current printer.
XMLClear getClear(int i=0) const
return ith clear field (comments)
OFCondition setActivation(Uint16 group, const char *layer)
set activation layer for given repeating group.
DcmCertificateVerification m_certVerification
Denotes how certificates are handled, i.e. whether they are required, validated or only validated if ...
Definition: tlsscu.h:245
DRTTreatmentSummaryCalculatedDoseReferenceSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
size_t getNumberOfItems() const
get number of items in the sequence
DcmDecimalString DeliveryMaximumDose
DeliveryMaximumDose (300a,0023) vr=DS, vm=1, type=3.
Definition: drtrdrs8.h:356
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFBool CheckMatchingKey(const DcmElement *elem)
This function checks if the passed matching key's value only uses characters which are part of its da...
virtual void clear()
clear all internal variables.
OFCondition getRangeModulatorNumber(OFString &value, const signed long pos=0) const
get RangeModulatorNumber (300a,0344)
DSRTypes::E_CodeValueType getCodeValueType() const
get type of code value, i.e. short, long or Uniform Resource Name (URN).
Definition: dsrcodvl.h:387
OFCondition getFixationDeviceType(OFString &value, const signed long pos=0) const
get FixationDeviceType (300a,0192)
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getRangeModulatorGatingStartValue(Float32 &value, const unsigned long pos=0) const
get RangeModulatorGatingStartValue (300a,0382)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence() const
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drttreat.h:1305
DcmLongString ClinicalTrialSiteID
ClinicalTrialSiteID (0012,0030) vr=LO, vm=1, type=2.
Definition: drtplan.h:3046
DPMParametricMapImageModule()
Constructor.
virtual OFCondition addForAllFrames(const FGBase &group)
Add a functional group for all frames.
int SamplesPerPixel
number of samples per pixel (1, 3 or 4)
Definition: diimage.h:646
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getDoseUnits(OFString &value, const signed long pos=0) const
get DoseUnits (3004,0002)
DcmUnsignedShort GreenPaletteColorLookupTableDescriptor
GreenPaletteColorLookupTableDescriptor (0028,1102) vr=US/SS, vm=3, type=1C.
Definition: drtimage.h:5162
OFCondition setTemporalCoordinates(const DSRTemporalCoordinatesValue &coordinatesValue, const OFBool check=OFTrue)
set temporal coordinates.
virtual unsigned long getSize() const
returns the size of a block of encrypted/decrypted ciphertext in bytes.
OFCondition getCurrentMacName(OFString &str)
returns the MAC Algorithm Name of the current signature.
DcmByteString & operator=(const DcmByteString &obj)
assignment operator
OFCondition addQualitativeEvaluation(const DSRCodedEntryValue &conceptName, const DSRCodedEntryValue &codeValue, const OFBool check=OFTrue)
add a qualitative evaluation related to the subject of the measurement group as a coded entry (TID 14...
virtual OFCondition setStrainDescription(const OFString &value, const OFBool check=OFTrue)
set StrainDescription (0010,0212)
IODSegmentationSeriesModule(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules)
Constructor.
Class representing the Enhanced US Image Module:
Definition: modenhusimage.h:67
@ EFG_CONTRASTBOLUSUSAGE
Contrast/Bolus Usage.
Definition: fgtypes.h:117
virtual DcmObject * clone() const
clone method
Definition: dcvrst.h:84
virtual ~DRTScheduledProtocolCodeSequence()
destructor
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition getImageOrientationPatient(OFString &value, const signed long pos=0) const
get ImageOrientationPatient (0020,0037)
const char * getExtendedNegotiationKey() const
returns the extended negotiation key
@ Echogenicity
(110849,DCM,"Echogenicity"), included from CID 7180
Definition: cid7469.h:234
CID244e_Laterality(const OFString &selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence()
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtstrct.h:1338
DcmCodeString SmokingStatus
SmokingStatus (0010,21a0) vr=CS, vm=1, type=3.
Definition: drtimage.h:4940
static const OFString m_ModuleName
The name of this module ("AcquisitionContextModule")
Definition: modacquisitioncontext.h:71
OFVector< Uint32 > m_ReferencedFrameNumber
Referenced frame numbers.
Definition: iodreferences.h:222
@ EPR_Sint32
signed 32 bit integer
Definition: diutils.h:217
@ EVR_OD
other double
Definition: dcvr.h:162
DcmOutputBufferStream(const DcmOutputBufferStream &)
private unimplemented copy constructor
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)=0
write object to a stream (abstract)
OFCondition getSourceModelID(OFString &value, const signed long pos=0) const
get SourceModelID (300a,021b)
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
unsigned int maxLevel_
depth of tree, i.e. number of entries in array_
Definition: ofconfig.h:326
size_t getNumberOfItems() const
get number of items in the sequence
Class implementing a document tree node filter that checks for the presence (or absence) of child nod...
Definition: dsrdnflt.h:162
static void logImageInfo(DicomImage *di, const char *filename)
print the characteristics of the image to to logger at DEBUG level.
DcmDecimalString m_ImagePositionPatient
Image Position (Patient) (DS, VM 3, Required type 1C)
Definition: fgplanpo.h:154
Uint32 numberOfReferences
number of other directory records referring to this one; used for MRDR records
Definition: dcdirrec.h:517
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
const DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence() const
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtplan.h:1886
@ Consultant
(309390008,SCT,"Consultant")
Definition: cid7452.h:80
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DRTReferencedBrachyApplicationSetupSequenceInRTDoseModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTQuantityDefinitionSequence(const DRTQuantityDefinitionSequence ©)
copy constructor
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtpbcs.h:327
OFCondition getMaterialID(OFString &value, const signed long pos=0) const
get MaterialID (300a,00e1)
static const int busy
this constant is returned by the join() method if another thread is already waiting for termination o...
Definition: ofthread.h:132
OFBool isMarked() const
check whether content item is marked.
Definition: dsrdoctn.h:245
OFCondition getRangeShifterNumber(OFString &value, const signed long pos=0) const
get RangeShifterNumber (300a,0316)
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setValueType(const OFString &value, const OFBool check=OFTrue)
set ValueType (0040,a040)
OFBool fileFormatCheck() const
get current status of the "DICOM file format check" mode.
Definition: dcddirif.h:438
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
DcmTagKey getKey() const
returns attribute tag as DcmTagKey object by value
Definition: dcdicent.h:230
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
DSRDateTreeNode(const E_RelationshipType relationshipType, const OFString &dateValue, const OFBool check=OFTrue)
constructor
DRTIssuerOfPatientIDQualifiersSequence & getIssuerOfPatientIDQualifiersSequence()
get IssuerOfPatientIDQualifiersSequence (0010,0024)
Definition: drtopis.h:121
OFCondition read(DcmItem &item)
read elements from sequence item
STD_NAMESPACE ostream * currentCout
pointer to current cout stream, never NULL
Definition: ofconsol.h:221
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtwrs.h:113
OFCondition setBeamCurrentModulationID(const OFString &value, const OFBool check=OFTrue)
set BeamCurrentModulationID (300a,034c)
Definition: dulstruc.h:285
virtual OFCondition getPerformedProcedureStepEndDate(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndDate (0040,0250)
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
void clear()
clear all internal member variables
DcmShortText DerivationDescription
DerivationDescription (0008,2111) vr=ST, vm=1, type=3.
Definition: drtiontr.h:3140
virtual OFCondition printExtended(STD_NAMESPACE ostream &stream, const size_t flags) const
print extended information on the content item.
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrcos.h:334
virtual OFCondition setFrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix(const Float64 value, const unsigned long pos=0)
set FrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix (0070,030b)
Uint32 StudySize
combined size (in bytes) of all images of this study in the database
Definition: dcmqridx.h:280
OFCondition putAndInsertUint16(const DcmTag &tag, const Uint16 value, const unsigned long pos=0, const OFBool replaceOld=OFTrue)
create a new element, put specified value to it and insert the element into the dataset/item.
OFCondition getReferencedPatientSetupNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedPatientSetupNumber (300c,006a)
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
const char * getTargetPrinterAnnotationDisplayFormatID(const char *targetID, OFString &value)
returns the second value from the ANNOTATION entry for the printer with the given target ID from the ...
DiOverlayPlane(const DiDocument *docu, const unsigned int group, Uint16 alloc, const Uint16 stored, const Uint16 high)
constructor
OFBool operator==(const DSRGraphicData3DItem &item) const
comparison operator
Definition: dsrsc3gr.h:61
Item EmptyItem
empty default item
Definition: drtrpps.h:339
virtual OFCondition setContrastFlowDuration(const OFString &value, const OFBool check=OFTrue)
set ContrastFlowDuration (0018,1047)
@ FluoroLDopa_F18
(129500005,SCT,"Fluoro-L-dopa F^18^")
Definition: cid4021.h:158
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition getReferencedROINumber(OFString &value, const signed long pos=0) const
get ReferencedROINumber (3006,0084)
virtual OFCondition setBitsStored(const Uint16 value, const unsigned long pos=0)
set BitsStored (0028,0101)
DcmFloatingPointSingle & operator=(const DcmFloatingPointSingle &obj)
assignment operator
virtual OFCondition putTagVal(const DcmTagKey &tagVal, const unsigned long pos=0)
set particular tag value
OFTestTest(const OFString &testName, int flag)
Contructor.
Definition: oftest.h:79
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
OFMutex & operator=(const OFMutex &arg)
unimplemented private assignment operator
Class for checking the relationship content constraints of the Comprehensive 3D SR IOD.
Definition: dsrc3dcc.h:40
Interface class for ApplicatorSequence (300a,0107) in RTIonBeamsModule.
Definition: drtas6.h:28
virtual OFCondition setReviewTime(const OFString &value, const OFBool check=OFTrue)
set ReviewTime (300e,0005)
OFBool operator==(const DcmExtendedNegotiationItem &arg) const
comparison operator.
virtual ~DcmAgeString(void)
destructor
OFCondition getTreatmentTerminationCode(OFString &value, const signed long pos=0) const
get TreatmentTerminationCode (3008,002b)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTIonControlPointSequence IonControlPointSequence
IonControlPointSequence (300a,03a8) vr=SQ, vm=1, type=1.
Definition: drtibs.h:991
int deleteDisplayLUT(const int bits=0)
delete specified display LUT(s)
Definition: dcmimage.h:575
virtual ~Item()
destructor
DcmIntegerString ControlPointIndex
ControlPointIndex (300a,0112) vr=IS, vm=1, type=1.
Definition: drticps.h:769
OFCondition DB_IdxRead(int idx, IdxRecord *idxRec)
read index record at given index
static const size_t PF_printItemPosition
print item position ("1.2.3") instead of line indentation
Definition: dsrtypes.h:414
DRTAdmittingDiagnosesCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFoptional< OFString > utf8Value
UTF-8 cache.
Definition: dcmqridx.h:187
void setVR(DcmEVR evr)
assign new VR value
DcmDate PatientBirthDate
Patient's Birth Date: (DA, 1, 2)
Definition: dsrdoc.h:1360
virtual ~DRTReferencedBeamSequenceInRTGeneralTreatmentRecordModule()
destructor
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
OFCondition savePState(OFBool replaceSOPInstanceUID)
saves the current presentation state in the same directory in which the database index file resides.
TrcTypes::E_TrackColorMode getRecommendedDisplayCIELabMode()
Returns the coloring mode, i.e.
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getClinicalTrialCoordinatingCenterName(OFString &value, const signed long pos=0) const
get ClinicalTrialCoordinatingCenterName (0012,0060)
DcmFloatingPointSingle graphicData
VR=FL, VM=2-n, Type 1.
Definition: dvpsgr.h:133
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
OFCondition getROIInterpreter(OFString &value, const signed long pos=0) const
get ROIInterpreter (3006,00a6)
OFBool doCheckFindIdentifier
flag indicating whether or not the check function for FIND requests is enabled
Definition: dcmqrdbi.h:407
DcmOtherDouble(const DcmOtherDouble &old)
copy constructor
OFCondition gotoNextItem()
goto next item in the sequence
unsigned long ValueCount
number of DDL and luminance/OD values
Definition: didispfn.h:443
@ EXS_JPEGProcess15
JPEG Lossless with any selection value, arithmetic coding.
Definition: dcxfer.h:65
@ EXS_Unknown
unknown transfer syntax or dataset created in-memory
Definition: dcxfer.h:39
OFBool matchesCertificate(SiCertificate &cert)
checks if the private key and the certificate set using setPrivateKeyFile() and setCertificateFile() ...
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
void clear()
clear all internal member variables
virtual OFCondition getFloatPixelPaddingRangeLimit(Float32 &value, const signed long pos=0)
Get Float Pixel Padding Range Limit.
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
OFCondition getConstraintWeight(OFString &value, const signed long pos=0) const
get ConstraintWeight (300a,0021)
virtual OFCondition getQueryRetrieveView(OFString &value, const signed long pos=0) const
get QueryRetrieveView (0008,0053)
OFCondition setGraphicType(DVPSGraphicType gtype)
sets the graphic type for the graphic object
virtual ~DicomDirInterface()
destructor (virtual).
DRTInstitutionCodeSequence InstitutionCodeSequence
InstitutionCodeSequence (0008,0082) vr=SQ, vm=1, type=1C.
Definition: drtrpis.h:202
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcis.h:350
DicomImage * createScaledImage(const signed long left_pos, const signed long top_pos, unsigned long width, unsigned long height, const double xfactor, const double yfactor=0, const int interpolate=0, const int aspect=0, const Uint16 pvalue=0) const
create scaled copy of specified (clipping) area of the current image object.
unsigned long getCount() const
get number of pixels
Definition: dipixel.h:97
This class represents a Epoch time with microsecond accuracy.
Definition: timehelp.h:57
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtrrpcs.h:335
DcmLongString ClinicalTrialSiteID
ClinicalTrialSiteID (0012,0030) vr=LO, vm=1, type=2.
Definition: drtstrct.h:2808
@ DynamicMagneticResonanceImagingOfPelvis
(446315002,SCT,"Dynamic magnetic resonance imaging of pelvis")
Definition: cid100.h:56
OFBool isEmpty()
check if sequence is empty
Interface class for IonBeamSequence (300a,03a2) in RTIonBeamsModule.
Definition: drtibs.h:43
virtual OFCondition getFractionNumber(Sint32 &value, const unsigned long pos=0) const
get FractionNumber (3002,0029)
const log4cplus::tstring & getNDC() const
The nested diagnostic context (NDC) of logging event.
Definition: logevent.h:127
virtual OFCondition insert(FGBase *group, const OFBool replaceOld)
Insert new functional group; ownership is taken over from caller if function call is successful.
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
@ EFG_FRAMEPIXELSHIFT
Frame Pixel Shift.
Definition: fgtypes.h:127
virtual OFString ident()
Virtual function that returns a short name of the plugin.
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
virtual OFCondition verify(OFBool autocorrect=OFFalse)
check the currently stored element value
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
virtual E_MACType macType() const =0
returns the type of MAC algorithm computed by this object
OFCondition getAlternateBeamDoseType(OFString &value, const signed long pos=0) const
get AlternateBeamDoseType (300a,0092)
Item EmptyItem
empty default item
Definition: drtaadcs.h:540
DVPSAnnotationContent_PList annotationContentList
Module=Annotation_List_Module, VR=SQ, VM=1, Type 3.
Definition: dvpssp.h:1055
virtual OFString getName() const
Get name of this component ("ConcatenationInfo")
virtual OFCondition getEthnicGroup(OFString &value, const signed long pos=0) const
get EthnicGroup (0010,2160)
A class that implements the different kinds attribute matching.
Definition: dcmatch.h:41
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setTableTopLateralPosition(const OFString &value, const OFBool check=OFTrue)
set TableTopLateralPosition (300a,012a)
SiMACConstructor(SiMACConstructor &arg)
private undefined copy constructor
@ _90_Yttrium
(14691008,SCT,"^90^Yttrium")
Definition: cid4020.h:108
@ IntrathecalRoute
(72607000,SCT,"Intrathecal route")
Definition: cid11.h:58
This class implements a complete DICOM C-FIND SCU, including association set-up, execution of the C-F...
Definition: dfindscu.h:194
const Item & getItem(const size_t num) const
get particular item in the sequence
this helper class maintains a map of extended negotiation lists.
Definition: dccfenmp.h:130
A helper class for comparing an original image with a processed version (e.g.
Definition: dcmicmph.h:41
DCMTK_DCMDATA_EXPORT const int numberOfDcmAllStorageSOPClassUIDs
number of entries in dcmAllStorageSOPClassUIDs.
@ VS_Empty
empty string argument
Definition: ofcmdln.h:182
DRTReferencedSOPSequence & getReferencedSOPSequence()
get ReferencedSOPSequence (0008,1199)
Definition: drtqds.h:236
virtual OFCondition getSOPInstanceStatus(OFString &value, const signed long pos=0) const
get SOPInstanceStatus (0100,0410)
Item & getCurrentItem()
get current item in the sequence
OFCondition setChannelIdentificationCode(const OFString &value, const OFBool check=OFTrue)
set ChannelIdentificationCode (003a,0301)
OFBool isEmpty()
check if sequence is empty
OFListIterator(Item *) CurrentItem
currently selected item
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbl5.h:528
int noOfAEEntries
number of storage areas (aetitles)
Definition: dcmqrcnf.h:164
virtual void clear()
clear all member variables.
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setPregnancyStatus(const Uint16 value, const unsigned long pos=0)
set PregnancyStatus (0010,21c0)
virtual OFCondition getOverlayColumns(Uint16 &value, const unsigned long pos=0) const
get OverlayColumns (60xx,0011)
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmUnsignedShort SamplesPerPixel
SamplesPerPixel (0028,0002) vr=US, vm=1, type=1.
Definition: drtiis.h:441
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFBool opt_rejectWithoutImplementationUID
indicates if the application shall reject associations without implementation class UIDs
Definition: wlmactmg.h:48
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtmucs.h:335
virtual OFCondition getCurrentTreatmentStatus(OFString &value, const signed long pos=0) const
get CurrentTreatmentStatus (3008,0200)
DcmSignedShort m_ZeroVelocityPixelValueSS
Zero Velocity Pixel Value (US or SS, VM , Required Type 1C)
Definition: fgimagedatatype.h:175
this class implements support for DICOMDIR files, which are special DICOM files containing a list of ...
Definition: dcdicdir.h:53
const DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence() const
get RequestingServiceCodeSequence (0032,1034)
Definition: drtionpl.h:1841
OFBool ignoreOffsetTable() const
returns true if the offset table should be ignored when decompressing multiframe images
Definition: djcparam.h:195
IODSeriesAndInstanceReferenceMacro(IODComponent *parent=NULL)
Constructor.
Class for checking the relationship content constraints of the Procedure Log IOD.
Definition: dsrprocc.h:42
OFCondition addModifier(const DSRCodedEntryValue &conceptName, const DSRCodedEntryValue &modifier, const OFBool check=OFTrue)
add a 'Modifier' content item (TID 300 - Row 2) with its concept name and value
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
@ LATERALITY_L
Left body part.
Definition: fgframeanatomy.h:47
~GlobalDcmDataDictionary()
destructor
Item & getCurrentItem()
get current item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setLateralSpreadingDeviceID(const OFString &value, const OFBool check=OFTrue)
set LateralSpreadingDeviceID (300a,0336)
Item & getItem(const size_t num)
get particular item in the sequence
const DRTModalityLUTSequence & getModalityLUTSequence() const
get ModalityLUTSequence (0028,3000)
Definition: drtimage.h:2728
OFBool operator!=(const DcmUIDHandler &arg) const
not equal operator
Definition: dccfuidh.h:76
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
DcmUniqueIdentifier UID
UID (0040,a124) vr=UI, vm=1, type=1C.
Definition: drtcims.h:365
const DRTReferringPhysicianIdentificationSequence & getReferringPhysicianIdentificationSequence() const
get ReferringPhysicianIdentificationSequence (0008,0096)
Definition: drtstrct.h:1692
DRTPatientSetupSequence & getPatientSetupSequence()
get PatientSetupSequence (300a,0180)
Definition: drtionpl.h:1583
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DRTReferencedImageSequence & getReferencedImageSequence()
get ReferencedImageSequence (0008,1140)
Definition: drttreat.h:1515
int calculateGSDFSpline()
calculate helper function for GSDF interpolation
static const size_t HF_internalUseOnly
shortcut: filter all flags that are only used internally
Definition: dsrtypes.h:353
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
OFCmdUnsignedInt maxPDU_
maximum PDU size
Definition: dcmqropt.h:88
virtual ~OFFilenameCreator()
destructor
OFCondition getToleranceTableLabel(OFString &value, const signed long pos=0) const
get ToleranceTableLabel (300a,0043)
static OFCondition getFloat64ValueFromItem(const DcmTagKey &key, DcmItem &item, Float64 &result, const unsigned long &pos)
Get Float64 value from item.
OFBool setSecond(const double second)
set the time value to the specified second.
OFCondition setReferencedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPClassUID (0008,1150)
OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
get InstitutionalDepartmentName (0008,1040)
virtual OFCondition getSeriesNumber(Sint32 &value, const unsigned long pos=0) const
get SeriesNumber (0020,0011)
this class encapsulates the compression routines of the IJG JPEG library configured for 8 bits/sample...
Definition: djeijg8.h:40
DcmFloatingPointSingle RangeModulatorGatingStartValue
RangeModulatorGatingStartValue (300a,0382) vr=FL, vm=1, type=1C.
Definition: drtrmss7.h:151
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
Item & operator=(const Item ©)
assigment operator
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drtplan.h:3231
DRTIonToleranceTableSequence & getIonToleranceTableSequence()
get IonToleranceTableSequence (300a,03a0)
Definition: drtionpl.h:1451
virtual OFCondition getTimezoneOffsetFromUTC(OFString &value, const signed long pos=0) const
get TimezoneOffsetFromUTC (0008,0201)
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtsdcs.h:343
virtual OFCondition getServiceEpisodeID(OFString &value, const signed long pos=0) const
get ServiceEpisodeID (0038,0060)
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition setPatientBirthDate(const OFString &value, const OFBool check=OFTrue)
set PatientBirthDate (0010,0030)
DRTFrameExtractionSequence & getFrameExtractionSequence()
get FrameExtractionSequence (0008,1164)
Definition: drtimage.h:2590
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrsns.h:311
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmLongString TreatmentSites
TreatmentSites (300a,000b) vr=LO, vm=1-n, type=3.
Definition: drtionpl.h:3186
DVPSVOIWindow & operator=(const DVPSVOIWindow &)
private undefined assignment operator
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtpbcs.h:347
DcmIntegerString ReferencedFractionGroupNumber
ReferencedFractionGroupNumber (300c,0022) vr=IS, vm=1, type=3.
Definition: drtiontr.h:3108
virtual OFCondition getNTPSourceAddress(OFString &value, const signed long pos=0) const
Get NTP Source Address.
void reset(pointer p=OFnullptr)
Replaces the managed object.
Definition: ofmem.h:378
DcmFloatingPointSingle IsocenterToLateralSpreadingDeviceDistance
IsocenterToLateralSpreadingDeviceDistance (300a,0374) vr=FL, vm=1, type=3.
Definition: drtlsds6.h:165
virtual OFCondition setPatientID(const OFString &value, const OFBool check=OFTrue)
set PatientID (0010,0020)
OFCondition addImageBox(const char *retrieveaetitle, const char *refstudyuid, const char *refseriesuid, const char *refsopclassuid, const char *refsopinstanceuid, const char *requestedimagesize, const char *patientid, DVPSPresentationLUT *presentationlut, OFBool inversePLUT)
creates a new image box object and sets the content of this image box object.
virtual OFCondition read(DcmItem &item)
Read functional group from item, must contain the Plane Position (Volume) Sequence.
DcmDecimalString ControlPoint3DPosition
ControlPoint3DPosition (300a,02d4) vr=DS, vm=3, type=3.
Definition: drtbcps.h:223
DcmCodeString SOPInstanceStatus
SOPInstanceStatus (0100,0410) vr=CS, vm=1, type=3.
Definition: drtplan.h:3381
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableSigned64bitVeryLongVRGeneration
Global flag to enable/disable the generation of VR=SV, which has been introduced after the first edit...
E_TransferSyntax checkTransferSyntax(DcmInputStream &inStream)
This function reads the first 6 bytes from the input stream and determines the transfer syntax which ...
@ TCS_ok
successful operation
Definition: dcmlayer.h:49
DJCompressIJG12Bit & operator=(const DJCompressIJG12Bit &)
private undefined copy assignment operator
Encoder class for JPEG Baseline (lossy, 8-bit)
Definition: djencbas.h:32
DRTScheduledProtocolCodeSequence(const DRTScheduledProtocolCodeSequence ©)
copy constructor
OFCondition read(DcmItem &item)
read elements from sequence item
Item & getItem(const size_t num)
get particular item in the sequence
OFPasswd(passwd *const p)
the constructor that "sucks out" a struct passwd instance.
void debug(const log4cplus::tstring &msg) const
This method is used to output log4cplus internal debug statements.
virtual OFCondition insertSCMultiFrameAttribs(DcmDataset *targetDataset) const
Inserts attributes Rescale Slope/Intercept/Type, which have to be written (1C) if color model is MONO...
virtual OFBool operator==(const DcmRepresentationParameter &arg) const =0
compares an object to another DcmRepresentationParameter.
static XMLCSTR getError(XMLError error)
This gives you a user-friendly explanation of the parsing error.
virtual OFCondition setPrescriptionDescription(const OFString &value, const OFBool check=OFTrue)
set PrescriptionDescription (300a,000e)
virtual ~DVPSReferencedImage()
destructor
void swap(DSRDocumentTree &tree)
fast, non-throwing swap function.
OFBool hasTrackingIdentifier() const
check whether the 'Tracking Identifier' content item (TID 1501 - Row 2) is present.
DcmLongString StrainNomenclature
StrainNomenclature (0010,0213) vr=LO, vm=1, type=3.
Definition: drtimage.h:4827
OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
OFBool isEmpty()
check if item is empty
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtblds5.h:396
virtual OFCondition getPatientBirthDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientBirthDateInAlternativeCalendar (0010,0033)
virtual OFCondition getOFStringArray(OFString &value, OFBool normalize=OFTrue)
get entire element value as a character string.
DRTMappingResourceIdentificationSequence MappingResourceIdentificationSequence
MappingResourceIdentificationSequence (0008,0124) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3173
int getPlanes() const
get number of planes
Definition: dimopx.h:83
void setQuietMode(bool quietMode)
In quite mode no LogLog generates strictly no output, not even for errors.
static const char * temporalRangeTypeToReadableName(const E_TemporalRangeType temporalRangeType)
convert temporal range type to readable name.
Item class.
Definition: drtrrms.h:36
virtual OFCondition getSeriesNumber(OFString &value, const signed long pos=0) const
get SeriesNumber (0020,0011)
virtual FGBase * clone() const
Returns a deep copy of this object.
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtdimcs.h:327
virtual OFCondition getPixelIntensityRelationshipSign(Sint16 &value, const unsigned long pos=0) const
get PixelIntensityRelationshipSign (0028,1041)
virtual OFCondition getGreenPaletteColorLookupTableDescriptor(Uint16 &value, const unsigned long pos=0) const
get GreenPaletteColorLookupTableDescriptor (0028,1102)
OFCondition write(DcmItem &dset, OFBool withSOPInstance)
writes the Presentation LUT managed by this object to a DICOM dataset.
virtual OFCondition getFunctionalGroupPrivateCreator(OFString &value, const signed long pos=0) const
Get Functional Group Private Creator.
static const size_t XF_useXMLNamespace
use XML namespace URI. The value depends on the selected output format.
Definition: dctypes.h:217
virtual OFCondition getQueryRetrieveView(OFString &value, const signed long pos=0) const
get QueryRetrieveView (0008,0053)
void init(const OFSet< T > &src)
This function is a workaround for avoiding a compiler warning on Solaris 2.5.1 using compiler SC 2....
Definition: ofset.h:80
DcmShortString AccessionNumber
AccessionNumber (0008,0050) vr=SH, vm=1, type=3.
Definition: drtras.h:267
OFBool isEmpty()
check if sequence is empty
DcmDictRangeRestriction groupRangeRestriction
restriction (even, odd, unrestricted) for group range
Definition: dcdicent.h:391
virtual OFBool isValid() const
check whether the current numeric measurement value is valid.
void rotateRight(const T *src[], T *dest[])
rotate source image right and store result in destination image
Definition: dirotat.h:176
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
OFCondition getPatientSupportAngle(OFString &value, const signed long pos=0) const
get PatientSupportAngle (300a,0122)
OFCondition removeTextObject(size_t layer, size_t idx)
deletes the text object with the given index on the given layer.
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFListIterator(Item *) CurrentItem
currently selected item
DRTReferencedBolusSequenceInRTBeamsModule ReferencedBolusSequence
ReferencedBolusSequence (300c,00b0) vr=SQ, vm=1, type=1C.
Definition: drtbs.h:775
DcmDecimalString IsocenterPosition
IsocenterPosition (300a,012c) vr=DS, vm=3, type=3.
Definition: drtimage.h:5350
Definition: jpeglib12.h:88
DRTInstitutionCodeSequence & getInstitutionCodeSequence()
get InstitutionCodeSequence (0008,0082)
Definition: drtrpis.h:136
virtual OFBool isRTIonBeamsModulePresent(const OFBool complete=OFFalse)
check whether RTIonBeamsModule (C) is present.
this class describes configuration settings for one symbolic host or vendor
Definition: dcmqrcnf.h:173
OFIterator< T > end() const
returns an iterator which points to the past-to-end element of the list.
Definition: oflist.h:360
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
DiMonoImage(const DiMonoImage *image, const int degree)
constructor, rotate
void loadBuiltinDictionary()
loads a builtin (compiled) data dictionary.
OFRandom()
default constructor, initializes the PRNG based on time(2) and clock(2).
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtds.h:503
DcmUnsignedShort ReferencedSegmentNumber
ReferencedSegmentNumber (0062,000b) vr=US, vm=1-n, type=1C.
Definition: drtcis.h:171
OFCondition getSpatialResolution(OFString &value, const signed long pos=0) const
get SpatialResolution (0018,1050)
virtual OFCondition getSeriesInstanceUID(OFString &value, const signed long pos=0) const
get SeriesInstanceUID (0020,000e)
virtual Uint32 getLength(const E_TransferSyntax xfer=EXS_LittleEndianImplicit, const E_EncodingType enctype=EET_UndefinedLength)
returns length of representation value field conforming to given transfer syntax.
DcmAttributeFilter(const DcmTagKey &tag, const Container &container)
construct a DcmAttributeFilter object from a container containing the range of values.
Definition: dcfilter.h:134
double MaxDensity
maximum optical density (-1 if unset)
Definition: didispfn.h:457
const DRTBlockSlabSequence & getBlockSlabSequence() const
get BlockSlabSequence (300a,0441)
Definition: drtibls.h:238
DRTMappingResourceIdentificationSequence & getMappingResourceIdentificationSequence()
get MappingResourceIdentificationSequence (0008,0124)
Definition: drtiontr.h:1443
OFCondition setDateOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set DateOfLastCalibration (0018,1200)
virtual OFCondition getClinicalTrialSponsorName(OFString &value, const signed long pos=0) const
get ClinicalTrialSponsorName (0012,0010)
DiDisplayFunction * getDisplayFunction() const
get display function
Definition: dimoimg.h:120
FunctionalGroups()
Constructor, creates empty set of functional groups.
OFCondition setContextGroupVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupVersion (0008,0106)
virtual ~Item()
destructor
void push_back(DcmDictEntry *entry)
Append a new entry to the list.
@ AbsorbedDose
(128513,DCM,"Absorbed Dose"), included from CID 10070
Definition: cid7469.h:326
DcmFloatingPointSingle SnoutPositionTolerance
SnoutPositionTolerance (300a,004b) vr=FL, vm=1, type=3.
Definition: drtitts.h:420
DVPSReferencedSeries & operator=(const DVPSReferencedSeries &)
private undefined assignment operator
DcmCodeString FixationEye
FixationEye (300a,0150) vr=CS, vm=1, type=3.
Definition: drttsibs.h:990
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
void clear()
clear all internal member variables
virtual OFCondition getRescaleType(OFString &value, const signed long pos=0) const
get RescaleType (0028,1054)
E_PreliminaryFlag
SR document preliminary flag.
Definition: dsrtypes.h:743
OFCondition setCodingSchemeVersion(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeVersion (0008,0103)
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition gotoFirstItem()
goto first item in the sequence
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_IncompatibleDocumentTree
error: the document tree does not comply with the given SR IOD constraints
DRTIssuerOfAdmissionIDSequence IssuerOfAdmissionIDSequence
IssuerOfAdmissionIDSequence (0038,0014) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2980
const DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence() const
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtimage.h:2416
virtual OFCondition setGreenPaletteColorLookupTableData(const Uint16 *value, const unsigned long count)
set GreenPaletteColorLookupTableData (0028,1202)
int setInversePresentationLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set inverse LUT for presentation transformation.
virtual OFCondition setNameOfPhysiciansReadingStudy(const OFString &value, const OFBool check=OFTrue)
set NameOfPhysiciansReadingStudy (0008,1060)
virtual OFCondition setPerformedProcedureStepEndTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndTime (0040,0251)
DVStudyCache::ItemStruct * getStudyStruct(const char *studyUID=NULL, const char *seriesUID=NULL)
returns pointer to study struct specified by given UIDs or to current study
E_DeviceType
output device type
Definition: didispfn.h:63
static STD_NAMESPACE ostream & operator<<(STD_NAMESPACE ostream &stream, DcmObject::PrintHelper obj)
Print a DcmObject::PrintHelper to an ostream.
Definition: dcobject.h:818
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item class.
Definition: drtes.h:41
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtds.h:529
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setReferencedPatientSetupNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedPatientSetupNumber (300c,006a)
const DRTPredecessorStructureSetSequence & getPredecessorStructureSetSequence() const
get PredecessorStructureSetSequence (3006,0018)
Definition: drtdose.h:2350
int elementEQ(const DcmTagKey &key) const
comparison operation comparing only element numbers
Definition: dctagkey.h:378
producer class that reads data from a buffer provided by the caller.
Definition: dcistrmb.h:34
virtual void clear()
clear all internal variables.
OFListIterator(Item *) CurrentItem
currently selected item
virtual ~Item()
destructor
OFBool isEmpty()
check if sequence is empty
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtds.h:539
OFBool getIconFromDataset(DcmItem *dataset, Uint8 *pixel, const unsigned long count, const unsigned int width, const unsigned int height)
create icon image from DICOM dataset.
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CannotInsertSubTree
error: a given subtree could not be inserted at the current node
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
void clear()
clear all internal member variables
Encoder class for JPEG Spectral Selection (lossy, 8/12-bit)
Definition: djencsps.h:32
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
OFCondition setROIGenerationAlgorithm(const OFString &value, const OFBool check=OFTrue)
set ROIGenerationAlgorithm (3006,0036)
const DcmQueryRetrieveDatabaseHandleFactory & factory_
factory object used to create database handles
Definition: dcmqrsrv.h:165
static void printIndexFile(char *storeArea)
dump database index file to stdout.
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
OFCondition getEndCumulativeMetersetWeight(OFString &value, const signed long pos=0) const
get EndCumulativeMetersetWeight (300c,0009)
DcmAgeString PatientAge
PatientAge (0010,1010) vr=AS, vm=1, type=3.
Definition: drtimage.h:4922
OFBool empty() const
checks whether instance cache is empty
Definition: dvcache.h:474
virtual ~DiColorPixelTemplate()
destructor
Definition: dicopxt.h:126
@ ValueOutOfRange
(114009,DCM,"Value out of range")
Definition: cid42.h:62
Item EmptyItem
empty default item
Definition: drtsins.h:332
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtos.h:205
DcmLongString ApplicationSetupName
ApplicationSetupName (300a,0236) vr=LO, vm=1, type=3.
Definition: drtass.h:278
virtual OFCondition setManufacturer(const OFString &value, const OFBool checkValue=OFTrue)
Set Manufacturer.
OFCondition applyOverrideKeys(DcmDataset *outputDset)
Copy override keys over existing keys in given dataset.
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
virtual OFCondition getPatientBirthDateInAlternativeCalendar(OFString &value, const signed long pos=0) const
get PatientBirthDateInAlternativeCalendar (0010,0033)
DiYBRPart422Image(const DiDocument *docu, const EI_Status status)
constructor
Definition: syncprim.h:98
virtual OFCondition setAcquisitionDuration(const Float64 value, const OFBool checkValue=OFTrue)
Set Acquisition Duration.
virtual OFCondition putUint64Array(const Uint64 *uintVals, const unsigned long numUints)
set element value to given integer array data
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
OFCondition getPersonTelephoneNumbers(OFString &value, const signed long pos=0) const
get PersonTelephoneNumbers (0040,1103)
DcmUnsignedLong RationalDenominatorValue
RationalDenominatorValue (0040,a163) vr=UL, vm=1-n, type=1C.
Definition: drtqds.h:355
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtprsis.h:391
void clear()
clear all internal member variables
OFCondition getSourceToSurfaceDistance(OFString &value, const signed long pos=0) const
get SourceToSurfaceDistance (300a,0130)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
void setRetrieveLocation(const char *aetitle=NULL, const char *filesetID=NULL, const char *filesetUID=NULL)
set the optional retrieve location for this series reference.
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
virtual OFBool isCommonInstanceReferenceModulePresent(const OFBool complete=OFFalse)
check whether CommonInstanceReferenceModule (U) is present.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFBool losslessProcess_
true if lossless process should be used even in lossy transfer syntax
Definition: djrparam.h:92
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getReferencedStopControlPointIndex(Sint32 &value, const unsigned long pos=0) const
get ReferencedStopControlPointIndex (300c,00f6)
DcmLongString StrainNomenclature
StrainNomenclature (0010,0213) vr=LO, vm=1, type=3.
Definition: drtplan.h:3011
OFMutex m_Mutex
A mutex for platforms that don't support lock-free counters.
Definition: ofmem.h:252
decoder class for RLE.
Definition: dcrleccd.h:33
DSRSOPInstanceReferenceList IdenticalDocuments
Identical Documents Sequence: (SQ, 1-n, 1C)
Definition: dsrdoc.h:1443
OFCondition getTableTopRollRotationDirection(OFString &value, const signed long pos=0) const
get TableTopRollRotationDirection (300a,0146)
OFBool isEmpty()
check if item is empty
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drthsdrs.h:340
DcmDecimalString DeviceVolume
DeviceVolume (0050,0018) vr=DS, vm=1, type=3.
Definition: drtds.h:527
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
@ MM_HTML
HTML (Hyper Text Markup Language)
Definition: ofstd.h:83
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTPhysiciansOfRecordIdentificationSequence PhysiciansOfRecordIdentificationSequence
PhysiciansOfRecordIdentificationSequence (0008,1049) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3002
void print(STD_NAMESPACE ostream &stream, const size_t maxLength=0) const
print string value.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual ~DJDecoder()
destructor
Definition: djdecabs.h:45
void rotateData(const T *src[], T *dest[], const int degree)
choose algorithm depending on rotation angle
Definition: dirotat.h:117
DcmDecimalString(const DcmDecimalString &old)
copy constructor
iterator begin() const
returns a constant iterator that points to the beginning of the string
Definition: ofstring.h:827
virtual OFCondition setDeidentificationMethod(const OFString &value, const OFBool check=OFTrue)
set DeidentificationMethod (0012,0063)
virtual OFCondition getPatientID(OFString &value, const signed long pos=0) const
get patient ID
OFString printerFilmSessionLabel
printer film session label, may be empty.
Definition: dviface.h:1799
DcmQuantColorTable & operator=(const DcmQuantColorTable &src)
private undefined copy assignment operator
OFDate()
default constructor.
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
const Item & operator[](const size_t num) const
get particular item in the sequence
void removeBoundingBox()
removes any bounding box from the text object.
OFCondition setConfigurationInformation(const char *value)
sets the (optional) configuration information.
virtual unsigned int NumberOfElements() const
Returns the number of elements in the set.
Definition: ofset.h:211
virtual OFCondition checkRationalRepresentation(const Sint32 rationalNumerator, const Uint32 rationalDenominator) const
check the specified rational representation for validity.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
const DRTPatientBreedCodeSequence & getPatientBreedCodeSequence() const
get PatientBreedCodeSequence (0010,2293)
Definition: drtimage.h:2788
virtual void clearData()
Clears all data handled by this component.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmIntegerString NumberOfControlPoints
NumberOfControlPoints (300a,0110) vr=IS, vm=1, type=1.
Definition: drtibs.h:1011
static OFBool checkElementValue(DcmElement &element, const OFString &vm, const OFString &type, const OFCondition &searchCond=EC_Normal, const char *moduleName=NULL)
check element value for correct value multiplicity and type
virtual OFCondition getPatientSize(OFString &value, const signed long pos=0) const
get PatientSize (0010,1020)
Structure representing single process in multi-process mode.
Definition: scp.h:46
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
DRTContextGroupIdentificationSequence ContextGroupIdentificationSequence
ContextGroupIdentificationSequence (0008,0123) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3370
void replace(DVPSImageBoxContent *newImageBox)
adds the given image box object to this list.
helper class with static methods that facilitate the migration from the old stack-based condition han...
Definition: cond.h:221
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write content item in XML format
Item class.
Definition: drtcpis.h:38
DSRNumericMeasurementValue(const OFString &numericValue, const DSRCodedEntryValue &measurementUnit, const OFBool check=OFTrue)
constructor
OFCondition gotoNextItem()
goto next item in the sequence
Item(const Item ©)
copy constructor
DcmPersonName OtherPatientNames
OtherPatientNames (0010,1001) vr=PN, vm=1-n, type=3.
Definition: drtimage.h:4809
OFCondition setHighBit(const Uint16 value, const unsigned long pos=0)
set HighBit (0028,0102)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setPregnancyStatus(const Uint16 value, const unsigned long pos=0)
set PregnancyStatus (0010,21c0)
OFString axisUnitsX
axis units X if present
Definition: dvpscu.h:132
OFVector< CodeSequenceMacro * > m_Modifiers
Items of Modifier Code Sequence.
Definition: iodmacro.h:319
void destroy()
decrement the reference counter, destroy the managed object and the counter if the counter reached ze...
Definition: ofmem.h:259
OFBool has_root_directory() const
Test whether the path contains a root directory.
virtual OFCondition setTimezoneOffsetFromUTC(const OFString &value, const OFBool check=OFTrue)
set timezone offset from UTC
virtual OFCondition putFloat32Array(const Float32 *vals, const unsigned long num)
replace the element value by a copy of the given Float32 array (which is possibly multi-valued).
virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read content item specific XML data.
DcmDecimalString NominalBeamEnergy
NominalBeamEnergy (300a,0114) vr=DS, vm=1, type=3.
Definition: drtcps.h:675
DcmShortString StudyID
StudyID (0020,0010) vr=SH, vm=1, type=2.
Definition: drttreat.h:2751
unsigned long maximumPrintBitmapWidth
maximum width of print bitmap (used for implicit scaling)
Definition: dviface.h:1755
@ IntravenousRoute
(47625008,SCT,"Intravenous route")
Definition: cid11.h:44
OFListIterator(Item *) CurrentItem
currently selected item
DcmUnsignedShort PrivateGroupReference
PrivateGroupReference (0008,0301) vr=US, vm=1, type=1.
Definition: drtpdecs.h:196
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
virtual OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
virtual OFCondition getQueryRetrieveView(OFString &value, const signed long pos=0) const
get QueryRetrieveView (0008,0053)
IODSegmentationReference()
Default constructor, uses level STUDY.
T & front()
get a reference to the first element of this vector.
Definition: ofvector.h:270
DcmIntegerString ReferencedDoseReferenceNumber
ReferencedDoseReferenceNumber (300c,0051) vr=IS, vm=1, type=1.
Definition: drtrdrs1.h:156
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtopis.h:341
const Item & operator[](const size_t num) const
get particular item in the sequence
DcmCodeString DoseType
DoseType (3004,0004) vr=CS, vm=1, type=1.
Definition: drtdose.h:4563
virtual void SetSerialNumber(const int)
Set value in a member variable in a derived class.
Definition: wlds.h:457
OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
DcmIntegerString NumberOfControlPoints
NumberOfControlPoints (300a,0110) vr=IS, vm=1, type=1.
Definition: drtchs.h:647
DcmLongString ClinicalTrialProtocolEthicsCommitteeApprovalNumber
ClinicalTrialProtocolEthicsCommitteeApprovalNumber (0012,0082) vr=LO, vm=1, type=3.
Definition: drtiontr.h:2885
void cleanup()
resets the object to the default-constructed state
Definition: diqtstab.h:94
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getReferencedCalculatedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedCalculatedDoseReferenceNumber (3008,0092)
void * front()
returns the first element in the list.
virtual void resetRules()
Resets rules to their original values.
virtual OFCondition getRootTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get identifier and mapping resource of the root template (if any)
const char * getSpecificCharacterSet() const
get current value of specific character set
const char * SymbolicName
symbolic name of host
Definition: dcmqrcnf.h:175
OFCondition setBeamLimitingDeviceAngle(const OFString &value, const OFBool check=OFTrue)
set BeamLimitingDeviceAngle (300a,0120)
DcmIntegerString GeneralAccessoryNumber
GeneralAccessoryNumber (300a,0424) vr=IS, vm=1, type=1.
Definition: drtgas.h:199
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition getStructureSetTime(OFString &value, const signed long pos=0) const
get StructureSetTime (3006,0009)
@ OFround_toward_zero
Rounding toward zero.
Definition: oflimits.h:99
DcmIntegerString ObservationNumber
ObservationNumber (3006,0082) vr=IS, vm=1, type=1.
Definition: drtrros.h:283
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
const char * getPlaneLabel(unsigned int plane) const
get label of specified plane
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DRTBeamLimitingDeviceSequenceInRTImageModule & operator=(const DRTBeamLimitingDeviceSequenceInRTImageModule ©)
assigment operator
virtual ~DcmQueryRetrieveSCP()
destructor
Definition: dcmqrsrv.h:72
OFBool matches(const OFString &key) const
checks if this entry matches the given key
Definition: dcmsmap.h:90
DcmShortString AccessionNumber
AccessionNumber (0008,0050) vr=SH, vm=1, type=2.
Definition: drttreat.h:2753
const DRTSourceInstanceSequence & getSourceInstanceSequence() const
get SourceInstanceSequence (0042,0013)
Definition: drtplan.h:1910
DcmDate StudyDate
StudyDate (0008,0020) vr=DA, vm=1, type=2.
Definition: drtdose.h:4176
Class representing the General Anatomy Mandatory or Optional Macro.
Definition: iodmacro.h:713
OFCondition setCumulativeMetersetWeight(const OFString &value, const OFBool check=OFTrue)
set CumulativeMetersetWeight (300a,0134)
static DSRIODConstraintChecker * createIODConstraintChecker(const E_DocumentType documentType)
create specified SR IOD content relationship constraint checker object.
virtual void clear()
clear all member variables.
DRTRequestingServiceCodeSequence RequestingServiceCodeSequence
RequestingServiceCodeSequence (0032,1034) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3008
double getMonitorPixelWidth()
returns the width (in mm) of one pixel on the current monitor
DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
void clear()
clear all internal member variables
DcmCodeString PatientAlternativeCalendar
PatientAlternativeCalendar (0010,0035) vr=CS, vm=1, type=1C.
Definition: drtdose.h:4092
IODMultiframeDimensionModule m_DimensionModule
Multi-frame Dimension Module.
Definition: segdoc.h:587
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getLUTExplanation(OFString &value, const signed long pos=0) const
get LUTExplanation (0028,3003)
DRTOriginalAttributesSequence & getOriginalAttributesSequence()
get OriginalAttributesSequence (0400,0561)
Definition: drtplan.h:1580
void removeGraphicLayerRecommendedDisplayValue(size_t idx, OFBool rgb, OFBool monochrome)
removes recommended display values for the given graphic layer.
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
DRTReferencedSpatialRegistrationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DcmFloatingPointSingle TableTopPitchAngle
TableTopPitchAngle (300a,0140) vr=FL, vm=1, type=2C.
Definition: drticpds.h:876
Item class.
Definition: drtfms.h:36
void push_back(void *node)
inserts after the last element of the list.
@ COC_invalid
internal type used to indicate an error
Definition: dsrtypes.h:731
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition setGantryID(const OFString &value, const OFBool check=OFTrue)
set GantryID (0018,1008)
DcmLongString AuthorizationEquipmentCertificationNumber
AuthorizationEquipmentCertificationNumber (0100,0426) vr=LO, vm=1, type=3.
Definition: drtstrct.h:3109
DRTHL7StructuredDocumentReferenceSequence HL7StructuredDocumentReferenceSequence
HL7StructuredDocumentReferenceSequence (0040,a390) vr=SQ, vm=1, type=1C.
Definition: drtdose.h:4685
@ GENERIC
Generic (or unknown)
Definition: iodreferences.h:64
void sec(time_t s)
Sets the seconds value.
Definition: timehelp.h:84
Uint16 Src_X
width of source image
Definition: ditranst.h:123
@ PS_TooManyParameters
too many parameters
Definition: ofcmdln.h:165
OFListIterator(ItemStruct *) Iterator
internal cursor to current (selected) list item
OFCondition setSourceModelID(const OFString &value, const OFBool check=OFTrue)
set SourceModelID (300a,021b)
OFCondition getSourceEncapsulationNominalThickness(Float64 &value, const unsigned long pos=0) const
get SourceEncapsulationNominalThickness (300a,0222)
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition setContrastBolusTotalDose(const OFString &value, const OFBool check=OFTrue)
set ContrastBolusTotalDose (0018,1044)
virtual void notifyInstanceStored(const OFString &filename, const OFString &sopClassUID, const OFString &sopInstanceUID, DcmDataset *dataset=NULL) const
notification handler that is called for each DICOM object that has been received with a C-STORE reque...
DSRNumericMeasurementValue * getValuePtr()
get pointer to numeric measurement value
Definition: dsrnumvl.h:472
DcmCodeString QueryRetrieveView
QueryRetrieveView (0008,0053) vr=CS, vm=1, type=1C.
Definition: drtdose.h:4689
DcmDecimalString SourceToSurfaceDistance
SourceToSurfaceDistance (300a,0130) vr=DS, vm=1, type=3.
Definition: drtcps.h:687
double getHeightWidthRatio() const
get height width ratio (pixel aspect ratio: y/x).
Definition: dcmimage.h:342
Item class.
Definition: drtdcs.h:37
OFCondition setTableTopEccentricRotationDirection(const OFString &value, const OFBool check=OFTrue)
set TableTopEccentricRotationDirection (300a,0126)
void setStart(const Uint16 x, const Uint16 y)
set internal 'cursor' to a specific position
Definition: diovpln.h:549
Item(const Item ©)
copy constructor
Interface class for ReferencedPatientSequence (0008,1120)
Definition: drtrps.h:28
virtual OFCondition getDimensionIndexPointer(DcmTagKey &value, const signed long pos=0) const
Get Dimension Index Pointer.
int wrlock()
lock the lock for writing
OFCondition getReferencedROINumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedROINumber (3006,0084)
void clear()
reset the object to initial state.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmLongString DeviceSerialNumber
Device Serial Number: (LO, 1, 3)
Definition: dsrdoc.h:1371
virtual OFCondition setInstanceCreatorUID(const OFString &value, const OFBool check=OFTrue)
set InstanceCreatorUID (0008,0014)
DcmIODImage()
Constructor, creates new DcmIODImage instance with integer-based pixel data.
Definition: iodimage.h:83
DcmTLSCiphersuiteHandler(const DcmTLSCiphersuiteHandler &)
private undefined copy constructor
DcmShortText PersonAddress
PersonAddress (0040,1102) vr=ST, vm=1, type=3.
Definition: drtprsis.h:206
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtpcs.h:335
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getBeamNumber(Sint32 &value, const unsigned long pos=0) const
get BeamNumber (300a,00c0)
OFCondition getSoftwareVersions(OFString &value, const signed long pos=0) const
get SoftwareVersions (0018,1020)
virtual OFCondition setFrameIncrementPointer(const OFString &value, const OFBool check=OFTrue)
set FrameIncrementPointer (0028,0009)
OFBool TransferSyntaxCheck
check transfer syntax
Definition: dcddirif.h:1578
DRTReferencedFractionGroupSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrdrs6.h:325
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
const Item & getCurrentItem() const
get current item in the sequence
@ EIS_OtherError
other error
Definition: diutils.h:242
@ EVR_xs
SS or US depending on context.
Definition: dcvr.h:225
DcmIntegerString ReferencedBlockNumber
ReferencedBlockNumber (300c,00e0) vr=IS, vm=1, type=1.
Definition: drtrbls.h:171
OFCondition getNumberOfScanSpotPositions(OFString &value, const signed long pos=0) const
get NumberOfScanSpotPositions (300a,0392)
virtual OFCondition getPatientSex(OFString &value, const signed long pos=0) const
get PatientSex (0010,0040)
virtual OFCondition setICCProfile(const Uint8 *value, const unsigned long count)
set ICCProfile (0028,2000)
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmEnableUnlimitedCharactersVRGeneration
Global flag to enable/disable the generation of VR=UC, which has been introduced after the first edit...
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
Item EmptyItem
empty default item
Definition: drtrfors.h:316
DcmCodeString ConversionType
ConversionType (0008,0064) vr=CS, vm=1, type=2.
Definition: drtimage.h:5284
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DRTIssuerOfAccessionNumberSequence(const DRTIssuerOfAccessionNumberSequence ©)
copy constructor
const char * getTargetPrinterBorderDensity(const char *targetID, Uint32 idx, OFString &value)
returns one value from the BORDERDENSITY entry for the printer with the given target ID from the conf...
DcmDirectoryRecord * buildAssessmentRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update assessment record and copy required values from dataset
void clearAnnotation()
clear annotation of this node
Definition: dsrtree.h:127
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Item(const Item ©)
copy constructor
DcmLongString PositionReferenceIndicator
PositionReferenceIndicator (0020,1040) vr=LO, vm=1, type=2.
Definition: drtdose.h:4329
OFStackLink(const T &i)
constructor
Definition: ofstack.h:179
DcmDecimalString m_WindowCenter
Window Center (DS, VM 1-n, Required type 1)
Definition: fgframevoilut.h:197
Item & operator=(const Item ©)
assigment operator
void setIdentifierChecking(OFBool checkFind, OFBool checkMove)
Configure the DB module to perform (or not perform) checking of FIND and MOVE request identifiers.
unsigned long currentImageSelectedFrame
contains the current selected frame number of the attached image.
Definition: dvpstat.h:1246
virtual OFCondition setReferencedFrameNumber(const OFString &value, const OFBool checkValue=OFTrue)
Set ReferencedFrameNumber.
OFBool isEmpty() const
check whether list is empty
DSRCodedEntryValue SelectedValue
coded entry selected as the current value (optional, might be empty)
Definition: dsrctxgr.h:274
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition setApprovalStatus(const OFString &value, const OFBool check=OFTrue)
set ApprovalStatus (300e,0002)
DcmCodeString boundingBoxAnnotationUnits
VR=CS, VM=1, Type 1c.
Definition: dvpstx.h:194
virtual OFCondition setBitsAllocated(const Uint16 &value, const OFBool checkValue=OFTrue)
Set Bits Allocated.
E_ValueType getTargetValueType() const
get value type of the referenced node (target content item)
Definition: dsrreftn.h:160
virtual CodeSequenceMacro & getSegmentedPropertyCategoryCode()
Get Reference to Segmented Property Category Code.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition setSOPAuthorizationComment(const OFString &value, const OFBool check=OFTrue)
set SOPAuthorizationComment (0100,0424)
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
DcmSegment()
Protected default constructor.
Item EmptyItem
empty default item
Definition: drtpfms.h:315
virtual OFCondition getPatientIdentityRemoved(OFString &value, const signed long pos=0) const
get PatientIdentityRemoved (0012,0062)
OFCondition getContoursForROINumber(OFVector< DRTROIContourSequence::Item * > result, Sint32 roiNumber)
get all contours for a region of interest.
Uint16 getDDLforValue(const double value) const
get the DDL for a given luminance/OD value.
DcmIntegerString ReferencedToleranceTableNumber
ReferencedToleranceTableNumber (300c,00a0) vr=IS, vm=1, type=3.
Definition: drtibs.h:1049
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtmacds.h:149
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DimensionIndexItem(IODComponent *parent=NULL)
Constructor.
int hasPixelAspectRatio
is 'true' if attribute 'PixelAspectRatio' is present
Definition: diimage.h:660
@ VT_TCoord
DICOM Value Type: TCOORD.
Definition: dsrtypes.h:605
virtual OFCondition renderHTML(STD_NAMESPACE ostream &docStream, STD_NAMESPACE ostream &annexStream, size_t &annexNumber, const size_t flags) const
render composite reference value in HTML/XHTML format
Item(const Item ©)
copy constructor
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition setLeafPositionBoundaries(const OFString &value, const OFBool check=OFTrue)
set LeafPositionBoundaries (300a,00be)
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
virtual OFCondition setRTPlanDescription(const OFString &value, const OFBool check=OFTrue)
set RTPlanDescription (300a,0004)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTReferencedRTPlanSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
virtual OFCondition getContentQualification(OFString &value, const signed long pos=0) const
get ContentQualification (0018,9004)
virtual void closeAssociation(const DcmCloseAssociationType closeType)
Closes the association created by this SCU.
int writeCurveData(const char *filename, const OFBool mode=OFTrue)
write curve data to a text file
void clear()
clear all internal member variables
virtual OFCondition getRTPlanDescription(OFString &value, const signed long pos=0) const
get RTPlanDescription (300a,0004)
type m_expected
The expected value of an item.
Definition: drmsrch.h:86
OFBool getTargetDisableNewVRs(const char *targetID)
returns the DISABLENEWVRS entry for the communication partner with the given target ID from the confi...
signed long Left
left offset to all planes
Definition: diovlay.h:454
DcmDate DateOfLastCalibration
DateOfLastCalibration (0018,1200) vr=DA, vm=1-n, type=3.
Definition: drtces.h:337
Interface class for OtherPatientIDsSequence (0010,1002)
Definition: drtopis.h:29
static const char * documentTypeToModality(const E_DocumentType documentType)
convert SR document type to modality
OFCondition gotoNextItem()
goto next item in the sequence
const DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence() const
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtiontr.h:1425
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition getRows(Uint16 &value, const signed long pos=0)
Get Rows.
OFCondition setScanSpotReordered(const OFString &value, const OFBool check=OFTrue)
set ScanSpotReordered (300a,0393)
DRTReferencedDoseReferenceSequenceInRTIonBeamsModule & operator=(const DRTReferencedDoseReferenceSequenceInRTIonBeamsModule ©)
assigment operator
OFCondition(const OFCondition &arg)
copy constructor
Definition: ofcond.h:206
static void initialize()
initialize this context group explicitly.
A struct for creating a failed to load certificate error condition.
Definition: tlscond.h:77
@ TSP_Profile_BCP195
DICOM BCP 195 TLS Profile, based on RFC 7525.
Definition: tlsciphr.h:73
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
const char * getGLDescription()
get graphic layer description of this layer.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtcncs.h:355
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
virtual ~DcmPresentationState()
destructor
virtual ~DPMParametricMapIOD()
Virtual Destructor, frees memory.
void setPeerPort(const Uint16 peerPort)
Set SCP's port number to connect to for association negotiation.
DailyRollingFileAppender extends FileAppender so that the underlying file is rolled over at a user ch...
Definition: fileap.h:250
virtual OFCondition loadFile(const OFFilename &fileName, const E_FileReadMode readMode=ERM_autoDetect, const E_TransferSyntax readXfer=EXS_Unknown)
load an object from a file
void addGraphicObject(DVPSGraphicObject *graphic)
adds the given graphic object to the list of graphic objects managed by this object.
virtual OFCondition write(DcmItem &destination)
Write attributes from this class into given item.
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
DRTStrainStockSequence & getStrainStockSequence()
get StrainStockSequence (0010,0216)
Definition: drtplan.h:1952
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition getAttributeModificationDateTime(OFString &value, const signed long pos=0) const
get AttributeModificationDateTime (0400,0562)
DcmDecimalString MeasuredAPDimension
MeasuredAPDimension (0010,1023) vr=DS, vm=1, type=3.
Definition: drtplan.h:3114
OFCondition setRows(const Uint16 value, const OFBool checkValue=OFTrue)
Set Rows.
Definition: modimagepixelvariant.h:216
const unsigned long MaxValue
maximum output value
Definition: dimoopx.h:145
const char * getFilename() const
gets the filename of the temporary file.
Definition: oftempf.h:69
virtual OFBool attributeRequired(const DcmTagKey &key) const =0
checks whether an attribute with the given tag is required to be signed for the current security prof...
virtual ~FGPixelMeasures()
Virtual destructor, frees memory.
virtual OFCondition setClinicalTrialSubjectID(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialSubjectID (0012,0040)
virtual OFCondition getAcquisitionNumber(OFString &value, const signed long pos=0)
Get Acquisition Number.
virtual OFCondition getInstanceNumber(OFString &value, const signed long pos=0) const
Get Instance Number.
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_WrongStreamMode
Stream mode (R/W, random/sequence) is wrong.
DcmTLSCipherProtocolVersion
This enum describes the minimum SSL/TLS protocol version required for a certain ciphersuite.
Definition: tlsciphr.h:117
DcmCodeString SOPInstanceStatus
SOPInstanceStatus (0100,0410) vr=CS, vm=1, type=3.
Definition: drtstrct.h:3103
virtual OFCondition getClinicalTrialSiteName(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteName (0012,0031)
DcmTime TimeOfLastCalibration
TimeOfLastCalibration (0018,1201) vr=TM, vm=1-n, type=3.
Definition: drtdose.h:4358
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTContrastBolusAgentSequence ContrastBolusAgentSequence
ContrastBolusAgentSequence (0018,0012) vr=SQ, vm=1, type=3.
Definition: drtimage.h:5187
EP_Interpretation
constants for photometric interpretation
Definition: diutils.h:115
int getMinParamCount() const
gets minimum number of parameters which should be accepted.
Definition: ofcmdln.h:448
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
int isOriginal
is 'false' if derived from original image data (e.g. scaled)
Definition: diimage.h:662
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
Item(const Item ©)
copy constructor
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtcbars.h:360
DcmLongText AdditionalPatientHistory
AdditionalPatientHistory (0010,21b0) vr=LT, vm=1, type=3.
Definition: drtionpl.h:3051
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtsptcs.h:324
DcmShortString TemplateType
TemplateType (300a,0242) vr=SH, vm=1, type=3.
Definition: drtass.h:294
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual int getOutputData(void *buffer, const unsigned long size, const unsigned long frame, const int bits, const int planar=0)
get pixel data with specified format.
void assign(int code, const OFerror_category &category)
Replaces the contents with the given error code and category.
virtual OFCondition getPatientID(OFString &value, const signed long pos=0) const
get PatientID (0010,0020)
OFBool isSuitableAsShutter(unsigned long x, unsigned long y)
checks if the overlay is suitable as a bitmap shutter for an image with the given image size.
OFBool isEmpty() const
checks whether this object stores an empty filename
@ LargeIntestine
(14742008,SCT,"Large intestine")
Definition: cid4031.h:140
DRTRecordedSnoutSequence & operator=(const DRTRecordedSnoutSequence ©)
assigment operator
virtual ~DRTReferencedSetupImageSequence()
destructor
DcmDictEntryList repDict
dictionary of repeating tags
Definition: dcdict.h:197
DcmIntegerString ReferencedROINumber
ReferencedROINumber (3006,0084) vr=IS, vm=1, type=1.
Definition: drtrbos7.h:139
Item EmptyItem
empty default item
Definition: drtoas.h:364
OFCondition setNumberOfControlPoints(const OFString &value, const OFBool check=OFTrue)
set NumberOfControlPoints (300a,0110)
OFCondition setBreedRegistrationNumber(const OFString &value, const OFBool check=OFTrue)
set BreedRegistrationNumber (0010,2295)
DRTReferencedDoseSequence & getReferencedDoseSequence()
get ReferencedDoseSequence (300c,0080)
Definition: drtionpl.h:1691
virtual OFCondition putString(const char *stringVal, const Uint32 stringLen)
set element value from the given character string.
RIPEMD160_CTX * ctx
OpenSSL RIPEMD 160 context.
Definition: siripemd.h:94
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtdcs.h:327
const DRTOtherPatientIDsSequence & getOtherPatientIDsSequence() const
get OtherPatientIDsSequence (0010,1002)
Definition: drtimage.h:2776
OFBool supportPatientStudyOnly_
support for patient/study only q/r model
Definition: dcmqropt.h:137
E_FileWriteMode
mode for file writing
Definition: dctypes.h:156
void clear()
clear all internal member variables
int acse_timeout_
timeout for ACSE operations
Definition: dcmqropt.h:161
int set(void *value)
sets the thread specific value for this object.
OFCondition setPatientSupportID(const OFString &value, const OFBool check=OFTrue)
set PatientSupportID (300a,0352)
Item EmptyItem
empty default item
Definition: drtrris6.h:338
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFBool empty() const
checks whether study cache is empty
Definition: dvcache.h:748
OFCondition getReferencedFrameNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFrameNumber (0008,1160)
DcmShortString TimezoneOffsetFromUTC
TimezoneOffsetFromUTC (0008,0201) vr=SH, vm=1, type=3.
Definition: drtiontr.h:3175
virtual OFCondition getReferringPhysicianName(OFString &value, const signed long pos=0) const
get ReferringPhysicianName (0008,0090)
Item & operator=(const Item ©)
assigment operator
virtual OFCondition setClinicalTrialProtocolName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolName (0012,0021)
const char * getSenderName()
returns the filename (path) of the DICOM Store SCU application used for sending images,...
void setConnectionTimeout(const Uint32 timeout)
Set the timeout that should be waited for connection requests.
Sint32 biXPelsPerMeter
horizontal resolution: pixels/meter, usually set to '0'
Definition: diutils.h:192
OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
OFCondition getBrachyAccessoryDeviceNominalTransmission(Float64 &value, const unsigned long pos=0) const
get BrachyAccessoryDeviceNominalTransmission (300a,026c)
DcmLongString ClinicalTrialTimePointID
ClinicalTrialTimePointID (0012,0050) vr=LO, vm=1, type=2.
Definition: drtionpl.h:3068
Class representing an object of the "Tractography Results" object IOD.
Definition: trctractographyresults.h:42
log4cplus::tstring const & getName() const
Return the logger name.
Interface class for SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtspgis.h:29
@ OPTIONAL_KEY
optional key
Definition: dcmqridx.h:58
const char * getMagnificationType()
gets the (optional) magnification type.
OFCondition read(DcmItem &dataset, const size_t flags)
read list of items from the referenced instance sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getMappingResourceUID(OFString &value, const signed long pos=0) const
get MappingResourceUID (0008,0118)
Item EmptyItem
empty default item
Definition: drtrvis.h:315
OFCondition getPersonTelephoneNumbers(OFString &value, const signed long pos=0) const
get PersonTelephoneNumbers (0040,1103)
OFCondition write(DcmItem &item)
write elements to sequence item
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtfgss.h:381
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
@ EVR_UR
universal resource identifier or universal resource locator (URI/URL)
Definition: dcvr.h:210
static OFFilename & appendFilenameExtension(OFFilename &result, const OFFilename &fileName, const OFFilename &fileExtension)
append a filename extension to the given filename
OFCondition getTargetPrescriptionDose(Float64 &value, const unsigned long pos=0) const
get TargetPrescriptionDose (300a,0026)
DcmPersonName ResponsiblePerson
ResponsiblePerson (0010,2297) vr=PN, vm=1, type=2C.
Definition: drtionpl.h:2938
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
virtual OFBool attributeRequired(const DcmTagKey &key) const
checks whether an attribute with the given tag is required to be signed for the current security prof...
void getCertIssuerName(OFString &str)
returns the issuer name (distinguished name) of the current certificate.
virtual ~DRTRTReferencedSeriesSequence()
destructor
Uint8 overlayGroup
lower byte of the overlay repeating group managed by this object
Definition: dvpsov.h:145
static const char * DEF_StandardSubdirectory
default value for the name of the subdirectory that might be used for the "normal" case
Definition: dstorscp.h:291
DRTContextGroupIdentificationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition error() const
returns current status flag
Definition: dctag.h:177
Item class.
Definition: drtrss.h:36
OFCondition createDefaultDisplayedArea(DcmItem &dset)
creates a default displayed area selection for the given dataset.
DcmDataset * Dataset
dataset of the SOP instance to be transferred (if no 'Filename' given)
Definition: dstorscu.h:408
OFCondition getROINumber(OFString &value, const signed long pos=0) const
get ROINumber (3006,0022)
OFCondition setAfterloaderChannelID(const OFString &value, const OFBool check=OFTrue)
set AfterloaderChannelID (300a,0273)
DiMono2Image(const DiMonoImage *image, const int degree)
constructor, rotate
DSRDocumentTreeNode(const DSRDocumentTreeNode &node)
copy constructor.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmCodeString UniversalEntityIDType
UniversalEntityIDType (0040,0033) vr=CS, vm=1, type=1C.
Definition: drtiais.h:148
virtual OFCondition getEthnicGroup(OFString &value, const signed long pos=0) const
get EthnicGroup (0010,2160)
virtual OFBool isLosslessProcess() const
returns true if the transfer syntax supported by this codec is lossless.
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
FGBase * create(const DcmFGTypes::E_FGType fgtype)
Create new functional group based on given type.
Item EmptyItem
empty default item
Definition: drtrws.h:400
OFCondition setTrayAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set TrayAccessoryCode (300a,0355)
void literal(unsigned char *cp, unsigned char nbytes)
this method expands a literal run
Definition: dcrledec.h:221
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtrrpcs.h:341
Interface class for SegmentedPropertyCategoryCodeSequence (0062,0003)
Definition: drtspccs.h:29
OFCondition getEndCumulativeMetersetWeight(Float64 &value, const unsigned long pos=0) const
get EndCumulativeMetersetWeight (300c,0009)
OFCondition getTime(OFString &value, const signed long pos=0) const
get Time (0040,a122)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DiCIELABFunction(const double *val_tab, const unsigned long count, const Uint16 max=255, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0)
constructor, use given array of luminance/OD values.
objects of this class represent individual RGB pixels.
Definition: diqtpix.h:38
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition setReferencedROINumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedROINumber (3006,0084)
DcmDateTime ObservationDateTime
ObservationDateTime (0040,a032) vr=DT, vm=1, type=3.
Definition: drtcims.h:351
virtual OFCondition setPatientBodyMassIndex(const OFString &value, const OFBool check=OFTrue)
set PatientBodyMassIndex (0010,1022)
static void copyContainer(const Container &src, Container &dst)
Clones and copies all elements from source to destination container by copy constructing all elements...
Definition: iodutil.h:859
static const size_t XF_addSchemaReference
write: add Schema reference to XML document
Definition: dsrtypes.h:388
OFCondition setSpecificCharacterSet(const OFString &value, const OFBool check=OFTrue)
set specific character set, which is used for checking the affected element values.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
OFString logPath
full path of the file into which the DIMSE log is written
Definition: dvpsprt.h:309
IODReference(const MAX_LEVEL level)
Constructor, creates empty reference with specified level.
OFCondition setMaterialID(const OFString &value, const OFBool check=OFTrue)
set MaterialID (300a,00e1)
virtual OFCondition getSOPAuthorizationComment(OFString &value, const signed long pos=0) const
get SOPAuthorizationComment (0100,0424)
OFBool HaltOnInvalidFileMode
flag indicating whether to halt on invalid file
Definition: dstorscu.h:520
OFCondition getBeamLimitingDeviceAngle(Float64 &value, const unsigned long pos=0) const
get BeamLimitingDeviceAngle (300a,0120)
DcmLongString BeamName
BeamName (300a,00c2) vr=LO, vm=1, type=1.
Definition: drtibs.h:961
void clear()
clear all internal member variables
DVPSVOIWindow_PList & operator=(const DVPSVOIWindow_PList &)
private undefined assignment operator
@ ChiSquare
(126221,DCM,"Chi-square"), included from CID 7180
Definition: cid7469.h:196
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtccs.h:324
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
@ ERW_init
object prepared for transfer, no data transferred yet
Definition: dctypes.h:134
DcmDictEntry(const DcmDictEntry &e)
copy constructor
virtual void clear()
clear internal member variables.
virtual OFCondition readItem(DcmItem &dataset, const size_t flags)
read numeric measurement value from dataset
Item(const Item ©)
copy constructor
virtual OFCondition getFrameIncrementPointer(OFString &value, const signed long pos=0) const
get FrameIncrementPointer (0028,0009)
virtual OFCondition getServiceEpisodeDescription(OFString &value, const signed long pos=0) const
get ServiceEpisodeDescription (0038,0062)
Item & operator[](const size_t num)
get particular item in the sequence
DRTPrimaryFluenceModeSequence PrimaryFluenceModeSequence
PrimaryFluenceModeSequence (3002,0050) vr=SQ, vm=1, type=3.
Definition: drtes.h:546
virtual ~DRTConceptNameCodeSequence()
destructor
@ EPD_noChange
no change of padding tags
Definition: dctypes.h:114
OFCondition read(DcmItem &item)
read elements from sequence item
virtual ~Item()
destructor
virtual OFBool good() const =0
returns the status of the consumer.
virtual OFCondition readXML(const OFString &filename, const size_t flags=0)
read SR document from XML file.
DcmDecimalString OrganAtRiskMaximumDose
OrganAtRiskMaximumDose (300a,002c) vr=DS, vm=1, type=3.
Definition: drtrdrs8.h:364
OFCondition setGreenPaletteColorLookupTableDescriptor(const Uint16 value, const unsigned long pos=0)
set GreenPaletteColorLookupTableDescriptor (0028,1102)
virtual ~DVPSGraphicLayer()
destructor
virtual OFCondition getSeriesNumber(OFString &value, const signed long pos=0) const
Get Series Number.
DcmRLEDecoderRegistration & operator=(const DcmRLEDecoderRegistration &)
private undefined copy assignment operator
virtual ~Item()
destructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtbrdrs.h:325
DRTReferencedPatientSequence & getReferencedPatientSequence()
get ReferencedPatientSequence (0008,1120)
Definition: drtstrct.h:1638
virtual OFCondition convert(DcmDataset &dataset) const =0
Outputs SOP class specific information into dataset.
@ DivideByZero
(114003,DCM,"Divide by zero")
Definition: cid42.h:50
OFCondition getFixationDevicePitchAngle(Float32 &value, const unsigned long pos=0) const
get FixationDevicePitchAngle (300a,0199)
OFDate(const unsigned int year, const unsigned int month, const unsigned int day)
constructor with init values
virtual OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags) const
print content item.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getRescaleIntercept(Float64 &value, const unsigned long pos=0) const
get RescaleIntercept (0028,1052)
virtual DcmElement * remove(const unsigned long num)
remove element from list.
OFCondition getDoseReferenceType(OFString &value, const signed long pos=0) const
get DoseReferenceType (300a,0020)
const OFString & getUID() const
get context group UID (optional)
Definition: dsrctxgr.h:100
static const size_t PF_printTemplateIdentification
print template identification (TID and mapping resource)
Definition: dsrtypes.h:429
DRTWedgePositionSequence(const DRTWedgePositionSequence ©)
copy constructor
DRTSetupDeviceSequence SetupDeviceSequence
SetupDeviceSequence (300a,01b4) vr=SQ, vm=1, type=3.
Definition: drtpss.h:337
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
const DJCodecParameter * cparam
codec parameters
Definition: djdijg12.h:109
OFCondition getContextGroupExtensionCreatorUID(OFString &value, const signed long pos=0) const
get ContextGroupExtensionCreatorUID (0008,010d)
void reset()
reset object to initial state (zero CRC)
Definition: ofcrc32.h:49
CID10013_CTAcquisitionType(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
const DRTQuantityDefinitionSequence & getQuantityDefinitionSequence() const
get QuantityDefinitionSequence (0040,9220)
Definition: drtrwvms.h:182
OFCondition getSubjectRelativePositionInImage(Uint16 &value, const unsigned long pos=0) const
get SubjectRelativePositionInImage (0010,0028)
const OFString & getCodingSchemeDesignator() const
get coding scheme designator.
Definition: dsrcodvl.h:399
OFCondition getInstitutionName(OFString &value, const signed long pos=0) const
get InstitutionName (0008,0080)
const DRTReferencedImageSequence & getReferencedImageSequence() const
get ReferencedImageSequence (0008,1140)
Definition: drtstrct.h:1608
char isDeclaration() const
is this node a declaration <? .... ?>
const OFString & getStorageMediaFileSetUID(OFString &stringValue) const
get the storage media file set UID of the currently selected entry (optional)
const Uint32 DCM_SEG_MAX_SEGMENTS
DICOM assigns unique number to each Segment within the Segmentation object using an unsigned 16 Bit I...
Definition: segtypes.h:58
static DSRCodedEntryValue mapImageLaterality(const OFString &enumeratedValue, const OFBool enhancedEncodingMode=OFFalse)
map an enumerated value for Image Laterality (0020,0062) to the associated coded entry
SiRIPEMD160(SiRIPEMD160 &arg)
private undefined copy constructor
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtrrpcs.h:211
OFCondition setMeasuredDoseDescription(const OFString &value, const OFBool check=OFTrue)
set MeasuredDoseDescription (3008,0012)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition getStationName(OFString &value, const signed long pos=0) const
get StationName (0008,1010)
virtual OFCondition getDoseType(OFString &value, const signed long pos=0) const
get DoseType (3004,0004)
OFCondition read(DcmItem &dset)
reads a list of text objects from a DICOM dataset.
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtscs.h:349
DiLookupTable(const DiDocument *docu, const DcmTagKey &sequence, const DcmTagKey &descriptor, const DcmTagKey &data, const DcmTagKey &explanation, const EL_BitsPerTableEntry descripMode=ELM_UseValue, const unsigned long pos=0, unsigned long *card=NULL)
constructor
OFBool ContainsOnlyValidCharacters(const char *s, const char *charset)
This function returns OFTrue if all the characters of s can be found in the string charset.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtspgis.h:328
void clear()
erases the contents of the dictionary.
@ OFdenorm_absent
The type does not support subnormal values.
Definition: oflimits.h:116
DcmTime SeriesTime
Series Time: (TM, 1, 3)
Definition: dsrdoc.h:1406
size_t getNumberOfItems() const
get number of items in the sequence
DRTReferencedSOPSequence(const DRTReferencedSOPSequence ©)
copy constructor
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
virtual OFCondition getPatientBodyMassIndex(Float64 &value, const unsigned long pos=0) const
get PatientBodyMassIndex (0010,1022)
Interface class for PatientSizeCodeSequence (0010,1021)
Definition: drtpsics.h:29
void getBinaryRepresentation(struct BinaryRepresentation &val) const
Get the binary representation of this UUID.
DRTApplicationSetupSequence::Item & getApplicationSetup(Sint32 setupNumber)
find a application setup by its application setup number.
DCMTK_DCMNET_EXPORT void DUL_markProcessAsForkedChild()
this function marks the current process as a child created by the DICOM network layer during receipt ...
virtual DcmIODTypes::IOD_IE getIE() const
Get Information Entity the related attribute belongs to.
ReferencedSeriesItem(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL)
Constructor.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition write(DcmItem &item)
write elements to sequence item
XMLNode getChildNode(int i=0) const
return ith child node
virtual OFCondition getStopTrim(Sint32 &value, const unsigned long pos=0) const
get StopTrim (0008,2143)
Class for managing sets of dicom attributes (e.g. macros and modules).
Definition: modbase.h:48
OFCondition errorFlag
current error code, EC_Normal if a valid VR for the tag is known
Definition: dctag.h:216
void increaseRefCount()
increase reference counter for this object
static void ftoa(char *target, size_t targetSize, double value, unsigned int flags=0, int width=0, int precision=-1)
formats a floating-point number into an ASCII string.
OFListIterator(Item *) CurrentItem
currently selected item
DcmDataset * identifiers
the search mask which is contained in the C-Find RQ message
Definition: wlds.h:62
@ VolumeOfMesh
(RNU0,IBSI,"Volume of Mesh"), included from CID 7472
Definition: cid7469.h:414
@ HemodynamicResistance
(110825,DCM,"Hemodynamic Resistance"), included from CID 7180
Definition: cid7469.h:166
static void fixPaddingIfNecessary(Uint8 *buffer, size_t bufSize, unsigned long &bytesWritten, OFBool useFFpadding)
Adjust the padding of the JPEG-LS bitstream in the buffer if it has odd length, such that the End of ...
static void copyPatientModule(DcmItem &src, DcmItem &dest)
Copy Patient Module attributes.
const void * getOverlayData(const unsigned long frame, const unsigned int plane, unsigned int &left_pos, unsigned int &top_pos, unsigned int &width, unsigned int &height, EM_Overlay &mode, const unsigned int idx, const int bits=8, const Uint16 fore=0xff, const Uint16 back=0x0)
create bitmap for specified overlay plane.
virtual int processNextFrames(const unsigned long fcount)
process next couple of frames
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
static OFCondition encode(const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const E_TransferSyntax toRepType, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, DcmStack &pixelStack)
looks for a codec that is able to transcode (re-compresses) from the given transfer syntax to the giv...
void save_cursor()
puts the current cursor position on a cursor stack.
DRTPurposeOfReferenceCodeSequence & getPurposeOfReferenceCodeSequence()
get PurposeOfReferenceCodeSequence (0040,a170)
Definition: drtsins.h:114
DcmFloatingPointDouble BeamDeliveryDurationLimit
BeamDeliveryDurationLimit (300a,00c5) vr=FD, vm=1, type=3.
Definition: drtrbs8.h:273
Logger getInstance(const log4cplus::tstring &name)
Calls the getInstance() method on the locked Hierarchy.
OFBool opt_noSequenceExpansion
indicates if an expansion of empty sequences in C-Find RQ messages shall take place or not
Definition: wlcefs.h:80
DcmDecimalString PatientSize
PatientSize (0010,1020) vr=DS, vm=1, type=3.
Definition: drttreat.h:2784
Uint16 getOverlayInImageGroup(size_t idx)
gets the repeating group number of the given overlay in the attached image.
OFString m_DeviceSerialNumber
Device Serial Number (VM 1)
Definition: modenhequipment.h:91
DcmTransportLayerStatus setCipherSuites(const char *suites)
sets the list of ciphersuites to negotiate, in OpenSSL syntax.
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getPixelSpacing(OFString &value, const signed long pos=0) const
get PixelSpacing (0028,0030)
Item class.
Definition: drtpfms.h:36
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
DIC_AE dstAETitle
destination title for move
Definition: dcmqrcbm.h:169
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
DRTIssuerOfAccessionNumberSequence IssuerOfAccessionNumberSequence
IssuerOfAccessionNumberSequence (0008,0051) vr=SQ, vm=1, type=3.
Definition: drtras.h:269
void removeSoftcopyVOI(DVPSReferencedSeries_PList &allReferences, const char *instanceUID, unsigned long frame, unsigned long numberOfFrames, DVPSObjectApplicability applicability)
removes the softcopy VOI for a set of references controlled by the applicability, instanceUID and fra...
virtual void disable(LogLevel ll)
Disable all logging requests of LogLevel equal to or below the ll parameter p, for all loggers in thi...
OFCondition getSpatialLocationsPreserved(OFString &value, const signed long pos=0) const
get SpatialLocationsPreserved (0028,135a)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item class.
Definition: drtitts.h:37
DRTMACParametersSequence MACParametersSequence
MACParametersSequence (4ffe,0001) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4677
virtual OFCondition setModality(const OFString &value, const OFBool check=OFTrue)
set Modality (0008,0060)
virtual OFCondition setPixelSpacing(const OFString &value, const OFBool checkValue=OFTrue)
Set Pixel Spacing.
long * nextgerr
green error vector for next row. Points to an array of (columns + 2) entries.
Definition: diqtfs.h:198
virtual OFCondition deleteSubAndPurgeFile(const unsigned long num)
remove child directory record and delete file referenced by that record, if any
static OFBool registered
flag indicating whether the decoders are already registered.
Definition: djdecode.h:74
OFString getFileType()
Returns the current filetype.
Item & operator=(const Item ©)
assigment operator
this class maintains the context information that is passed to the callback function called by DIMSE_...
Definition: dcmqrcbm.h:39
static OFCondition checkSOPClass(DcmItem *item, const OFString &desiredSOPClass, OFString &valueFound)
Check whether SOP class UID matches the expected value.
virtual ~DiYBRPixelTemplate()
destructor
Definition: diybrpxt.h:68
virtual OFString isValid(DcmDataset &dataset) const =0
Do some completeness / validity checks.
the list of presentation LUTs contained in a stored print object.
Definition: dvpspll.h:41
DcmIntegerString verticesOfThePolygonalShutter
Module=Display_Shutter, VR=IS, VM=2-2n, Type 1C.
Definition: dcmpstat.h:904
OFCondition setROIElementalCompositionAtomicMassFraction(const Float32 value, const unsigned long pos=0)
set ROIElementalCompositionAtomicMassFraction (3006,00b8)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition setImageMagnificationType(size_t idx, const char *value)
sets the (optional) magnification type for the given registered image box.
DcmPixelSequence(const DcmPixelSequence &old)
copy constructor
DSA * dsa
DSA key used for signature/verification.
Definition: sidsa.h:110
Item & getItem(const size_t num)
get particular item in the sequence
OFBool isEmpty()
check if item is empty
void clear()
clear all internal member variables
virtual OFCondition getSpatialResolution(OFString &value, const signed long pos=0) const
get SpatialResolution (0018,1050)
~DcmQuantFloydSteinberg()
destructor
Class representing a Measurement within the Tractography Results IOD.
Definition: trcmeasurement.h:40
virtual OFCondition getContrastBolusIngredientConcentration(OFString &value, const signed long pos=0) const
get ContrastBolusIngredientConcentration (0018,1049)
type definitions, constants, global variables and functions for the dcmnet/dimse module
virtual ~DiMonoOutputPixel()
destructor
@ NegativeInfinity
(114001,DCM,"Negative Infinity")
Definition: cid42.h:46
DcmQueryRetrieveFindContext(DcmQueryRetrieveDatabaseHandle &handle, const DcmQueryRetrieveOptions &options, DIC_US priorStat, const DcmQueryRetrieveCharacterSetOptions &characterSetOptions)
constructor
Definition: dcmqrcbf.h:44
OFCondition getDeviceDiameter(Float64 &value, const unsigned long pos=0) const
get DeviceDiameter (0050,0016)
virtual void notifyInstanceStored(const OFString &filename, const OFString &sopClassUID, const OFString &sopInstanceUID) const
This function is called if an object was received due to a C-GET request and can be overwritten by a ...
virtual E_TransferSyntax supportedTransferSyntax() const
returns the transfer syntax that this particular codec is able to encode and decode.
const Item & getItem(const size_t num) const
get particular item in the sequence
void updateAttributes()
update various DICOM attributes
DSRRootTemplate(const DSRRootTemplate &rootTemplate)
copy constructor.
Item & getCurrentItem()
get current item in the sequence
OFCondition getRangeModulatorGatingStartValue(Float32 &value, const unsigned long pos=0) const
get RangeModulatorGatingStartValue (300a,0382)
virtual OFCondition getICCProfile(OFVector< Uint8 > &values)
Get ICC Profile.
OFCondition getParameterItemIndex(Sint32 &value, const unsigned long pos=0) const
get ParameterItemIndex (3008,0063)
void put(DcmDictEntry *entry)
inserts an entry into hash table (deletes old entry if present)
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtpsics.h:327
OFBool isEmpty()
check if item is empty
DRTStrainCodeSequence & getStrainCodeSequence()
get StrainCodeSequence (0010,0219)
Definition: drtdose.h:2620
void clear()
clear all internal member variables
OFCondition setReferencedDoseReferenceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceUID (300a,0083)
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
DcmDecimalString MeasuredAPDimension
MeasuredAPDimension (0010,1023) vr=DS, vm=1, type=3.
Definition: drtdose.h:4227
virtual OFBool isEmpty(const OFBool normalize=OFTrue)
check if this sequence is empty
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
const DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence() const
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtstrct.h:1356
unsigned long getValue(const DcmTagKey &tag, const Uint16 *&returnVal, DcmItem *item=NULL) const
get value of given tag (Uint16 array)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtss.h:620
size_t getNumberOfItems() const
get number of items in the sequence
const Item & getCurrentItem() const
get current item in the sequence
DRTReferencedInstanceSequence ReferencedInstanceSequence
ReferencedInstanceSequence (0008,114a) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3241
E_DecompressionColorSpaceConversion decompressionCSConversion
color conversion mode for decompression
Definition: djcparam.h:335
OFCondition setReferencedDoseReferenceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedDoseReferenceUID (300a,0083)
virtual OFCondition setPerformedProcedureStepEndDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndDate (0040,0250)
virtual ~DSRDateTimeTreeNode()
destructor
DRTReferencedDoseReferenceSequenceInRTBeamsModule & operator=(const DRTReferencedDoseReferenceSequenceInRTBeamsModule ©)
assigment operator
OFCondition setBeamDose(const OFString &value, const OFBool check=OFTrue)
set BeamDose (300a,0084)
DcmLongString PrivateCreatorReference
PrivateCreatorReference (0008,0302) vr=LO, vm=1, type=1.
Definition: drtpdecs.h:192
Item(const Item ©)
copy constructor
const Item & getItem(const size_t num) const
get particular item in the sequence
Item class.
Definition: drticps.h:42
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Item class.
Definition: drtporcs.h:37
const DcmQueryRetrieveOptions & options_
reference to Q/R service options
Definition: dcmqrcbg.h:118
DicomImage * createScaledImage(const unsigned long width, const unsigned long height=0, const int interpolate=0, int aspect=0) const
create scaled copy of current image object (given by exact size).
OFBool correctUIDPadding_
silently correct space-padded UIDs
Definition: dcmqropt.h:67
@ CreatinePlusCholinePerCitrateRatio
(113096,DCM,"Creatine+Choline/Citrate Ratio"), included from CID 4033
Definition: cid7469.h:74
virtual ~SiRIPEMD160()
destructor
OFBool isEmpty()
check if sequence is empty
OFCondition getCalculatedDoseReferenceDoseValue(Float64 &value, const unsigned long pos=0) const
get CalculatedDoseReferenceDoseValue (3008,0076)
Definition: thredimp.h:98
@ Tmax
(113084,DCM,"Tmax"), included from CID 4108
Definition: cid7469.h:280
virtual OFCondition createFloat32Array(const Uint32 numFloats, Float32 *&floatVals)
create an empty Float32 array of given number of float values and set it.
OFCondition getDoubleFloatRealWorldValueFirstValueMapped(Float64 &value, const unsigned long pos=0) const
get DoubleFloatRealWorldValueFirstValueMapped (0040,9214)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const Item & getCurrentItem() const
get current item in the sequence
Interface class for BlockSlabSequence (300a,0441)
Definition: drtbss.h:28
DB_ElementList & operator=(const DB_ElementList ©)
private undefined copy assignment operator
const char * getCurveDescription()
gets the curve description string if present.
Definition: dvpscu.h:95
OFBool isEmpty()
check if item is empty
OFBool isEmpty()
check if item is empty
Item & operator[](const size_t num)
get particular item in the sequence
const unsigned long CIF_NeverAccessEmbeddedOverlays
never access embedded overlays since this requires to load and uncompress the complete pixel data
Definition: diutils.h:100
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
Item EmptyItem
empty default item
Definition: drtrtrs4.h:315
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
Item & getCurrentItem()
get current item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmUniqueIdentifier FrameOfReferenceUID
FrameOfReferenceUID (0020,0052) vr=UI, vm=1, type=1.
Definition: drtrfors.h:131
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtaadcs.h:339
virtual OFCondition getManufacturer(OFString &value, const signed long pos=0) const
get Manufacturer (0008,0070)
void clearAnnotations()
clear annotations of all tree nodes
Definition: dsrtree.h:576
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtsins.h:325
DcmShortString ROIObservationLabel
ROIObservationLabel (3006,0085) vr=SH, vm=1, type=3.
Definition: drtrros.h:289
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition getFrameOfReferenceUID(OFString &value, const signed long pos=0) const
get FrameOfReferenceUID (0020,0052)
OFCondition getApplicationSetupNumber(Sint32 &value, const unsigned long pos=0) const
get ApplicationSetupNumber (300a,0234)
virtual void flushBuffer(void *&buffer, offile_off_t &length)
retrieves and flushes the underlying buffer.
virtual OFBool getCheckFGOnWrite()
Returns whether functional group structure is checked before actual writing is performed in the write...
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtass.h:273
virtual void makeOptional()
Make component optional by turning all attributes requirement types of it to type 3.
const DRTBrachyReferencedDoseReferenceSequence & getBrachyReferencedDoseReferenceSequence() const
get BrachyReferencedDoseReferenceSequence (300c,0055)
Definition: drtbcps.h:175
virtual bool exists(const log4cplus::tstring &name)
Returns true if the named logger exists (in the default hierarchy).
OFCondition setRetrieveURI(const OFString &value, const OFBool check=OFTrue)
set RetrieveURI (0040,e010)
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtdimcs.h:211
Item & getCurrentItem()
get current item in the sequence
virtual ~OFRandom()
destructor
Definition: ofrand.h:41
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
virtual OFCondition setClinicalTrialProtocolName(const OFString &value, const OFBool check=OFTrue)
set ClinicalTrialProtocolName (0012,0021)
static const OFString & convertToPrintString(const OFString &sourceString, OFString &printString)
convert character string to print string.
InstanceStruct * getCurrentInstance() const
get pointer to currently selected instance structure (if any)
OFCondition setOrganAtRiskLimitDose(const OFString &value, const OFBool check=OFTrue)
set OrganAtRiskLimitDose (300a,002b)
OFCondition getTrayAccessoryCode(OFString &value, const signed long pos=0) const
get TrayAccessoryCode (300a,0355)
DRTFluenceMapSequence & getFluenceMapSequence()
get FluenceMapSequence (3002,0040)
Definition: drtimage.h:2578
DcmUniqueIdentifier InstanceCreatorUID
InstanceCreatorUID (0008,0014) vr=UI, vm=1, type=3.
Definition: drtdose.h:4650
DcmListNode * nextNode
pointer to next node in double-linked list
Definition: dclist.h:59
WlmFileSystemInteractionManager()
default constructor.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DcmDecimalString TableTopLongitudinalPosition
TableTopLongitudinalPosition (300a,0129) vr=DS, vm=1, type=2C.
Definition: drticps.h:827
virtual void resetRules()
Resets rules to their original values.
virtual DcmEVR ident() const
get element type identifier
static const size_t XF_encodeEverythingAsAttribute
shortcut: combines all XF_xxxAsAttribute write flags (see above)
Definition: dsrtypes.h:403
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool isEmpty()
check if sequence is empty
const DRTBreedRegistryCodeSequence & getBreedRegistryCodeSequence() const
get BreedRegistryCodeSequence (0010,2296)
Definition: drtbrs.h:113
virtual OFCondition setResponsiblePersonRole(const OFString &value, const OFBool check=OFTrue)
set ResponsiblePersonRole (0010,2298)
@ EXS_MPEG4StereoHighProfileLevel4_2
MPEG4 Stereo High Profile / Level 4.2.
Definition: dcxfer.h:117
OFCondition gotoNextItem()
goto next item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmPersonName PhysiciansOfRecord
PhysiciansOfRecord (0008,1048) vr=PN, vm=1-n, type=3.
Definition: drtionpl.h:3000
static OFCondition getComponentGroup(const OFString &allCmpGroups, const unsigned int groupNo, OFString &cmpGroup)
get single component group from specified DICOM person name.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
virtual void removeAppender(const log4cplus::tstring &name)
Remove the appender with the name passed as parameter from the list of appenders.
virtual OFCondition setObservationUID(const OFString &observationUID, const OFBool check=OFTrue)
set observation unique identifier.
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtecs.h:322
DRTRequestingServiceCodeSequence & getRequestingServiceCodeSequence()
get RequestingServiceCodeSequence (0032,1034)
Definition: drttreat.h:1647
virtual OFCondition setRTImageOrientation(const OFString &value, const OFBool check=OFTrue)
set RTImageOrientation (3002,0010)
virtual OFCondition getHighBit(Uint16 &value, const signed long pos=0)
Get High Bit.
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DcmObject * nextRecord
pointer to the referenced object. NULL means that no object is referenced.
Definition: dcvrulup.h:133
void clear()
clear all internal member variables
OFBool isEmpty()
check if sequence is empty
Interface class for FixationDeviceSequence (300a,0190)
Definition: drtfds.h:28
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtcbars.h:342
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmIntegerString NumberOfBeams
NumberOfBeams (300a,0080) vr=IS, vm=1, type=1.
Definition: drtfgs.h:332
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtdimcs.h:331
virtual offile_off_t read(void *buf, offile_off_t buflen)
reads as many bytes as possible into the given block.
DcmIntegerString ReferencedRangeModulatorNumber
ReferencedRangeModulatorNumber (300c,0104) vr=IS, vm=1, type=1.
Definition: drtrmss7.h:155
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Class representing the Pixel Measures Functional Group Macro.
Definition: fgpixmsr.h:33
static DcmSegTypes::E_SegmentationType OFString2Segtype(const OFString &value)
Return enum representation of segmentation type string as found in segmentation objects.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getReferencedSOPClassUID(OFString &value, const signed long pos=0) const
get ReferencedSOPClassUID (0008,1150)
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtgas.h:193
OFListIterator(Item *) CurrentItem
currently selected item
DcmDate PatientBirthDate
PatientBirthDate (0010,0030) vr=DA, vm=1, type=2.
Definition: drtiontr.h:2802
virtual ~DiColorScaleTemplate()
destructor
Definition: dicosct.h:88
OFString & append(const OFString &str, size_t pos=0, size_t n=OFString_npos)
Appends characters from the input string str to the current string object.
DSRDocumentSubTree & operator=(DSRDocumentSubTree tree)
assignment operator.
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmLongString MedicalAlerts
MedicalAlerts (0010,2000) vr=LO, vm=1-n, type=3.
Definition: drtplan.h:3120
void clear()
clear all internal member variables
OFCondition read(DcmItem &item)
read elements from sequence item
const DRTSourceImageSequence & getSourceImageSequence() const
get SourceImageSequence (0008,2112)
Definition: drtiontr.h:1785
virtual OFCondition getClinicalTrialProtocolName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolName (0012,0021)
const DRTStrainCodeSequence & getStrainCodeSequence() const
get StrainCodeSequence (0010,0219)
Definition: drtdose.h:2626
const char * getPrinterOwnerID()
gets the (optional) print session owner ID.
@ MagnetizationTransferRatio
(113098,DCM,"Magnetization Transfer Ratio"), included from CID 7180
Definition: cid7469.h:252
virtual ~Item()
destructor
DcmShortString studyID
Module=General_Study, VR=SH, VM=1, Type 2.
Definition: dvpssp.h:974
OFCondition setMeasurementMethod(const T_Method &method, const OFBool check=OFTrue)
set the value of the 'Measurement Method' content item (TID 1419 - Row 1).
DRTReferencedSeriesSequence ReferencedSeriesSequence
ReferencedSeriesSequence (0008,1115) vr=SQ, vm=1, type=1.
Definition: drtscris.h:131
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition getDerivationDescription(OFString &value, const signed long pos=0) const
get DerivationDescription (0008,2111)
const Item & getItem(const size_t num) const
get particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
DcmUniqueIdentifier SeriesInstanceUID
SeriesInstanceUID (0020,000e) vr=UI, vm=1, type=1.
Definition: drtionpl.h:3083
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrmss6.h:382
OFCondition setTableTopVerticalSetupDisplacement(const OFString &value, const OFBool check=OFTrue)
set TableTopVerticalSetupDisplacement (300a,01d2)
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
DcmLongString BreedRegistrationNumber
BreedRegistrationNumber (0010,2295) vr=LO, vm=1, type=1.
Definition: drtbrs.h:131
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition setQualityControlSubject(const OFString &value, const OFBool check=OFTrue)
set QualityControlSubject (0010,0200)
const DRTReferencedStructureSetSequence & getReferencedStructureSetSequence() const
get ReferencedStructureSetSequence (300c,0060)
Definition: drtionpl.h:1793
size_t getNumberOfCurvesInImage()
returns the number of curves in the attached image that could be activated in the presentation state.
OFBool setTime(const unsigned int hour, const unsigned int minute, const double second, const double timeZone=0)
set the time value to the specified time.
virtual ~DRTApplicatorSequenceInRTIonBeamsSessionRecordModule()
destructor
OFCmdUnsignedInt opt_sleepBeforeFindReq
indicates how many seconds the application is supposed to sleep before handling a find request
Definition: wlmactmg.h:50
void addOnlyNewItem(const T &item)
add item to the list only if it's not already contained
Definition: dsrtlist.h:250
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition addImage(const DSRCodedEntryValue &conceptName, DcmItem &dataset, const OFBool check=OFTrue)
add an 'Image' content item (TID 320 - Row 1) referencing the image used as a source of the measureme...
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Item & operator=(const Item ©)
assigment operator
DcmDecimalString IsocenterPosition
IsocenterPosition (300a,012c) vr=DS, vm=3, type=2C.
Definition: drticps.h:787
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual DcmTransportLayerStatus renegotiate(const char *newSuite)=0
performs a re-negotiation of the connection with different connection parameters.
virtual ~IODSOPCommonModule()
Destructor.
OFCondition getWedgeFactor(Float64 &value, const unsigned long pos=0) const
get WedgeFactor (300a,00d6)
DRTReferencedInstanceSequence ReferencedInstanceSequence
ReferencedInstanceSequence (0008,114a) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:3059
void printNestingLevel(STD_NAMESPACE ostream &out, const size_t flags, const int level)
print line indentation, e.g. a couple of spaces for each nesting level.
OFBool isValid() const
check if item is valid, i.e. not the empty default item
const DRTPatientSizeCodeSequence & getPatientSizeCodeSequence() const
get PatientSizeCodeSequence (0010,1021)
Definition: drtstrct.h:1464
XMLDLLENTRY XMLSTR stringDup(XMLCSTR source, int cbData=-1)
Duplicate (copy in a new allocated buffer) the source string.
static OFBool isReadable(const OFFilename &pathName)
check whether the given path is readable.
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtrpcs.h:351
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Reads Content Identification Macro from given item.
This abstract class defines the "Factory" interface to create "Appender" objects.
Definition: factory.h:105
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition setTableTopPitchRotationDirection(const OFString &value, const OFBool check=OFTrue)
set TableTopPitchRotationDirection (300a,0142)
DRTGeneralAccessorySequence GeneralAccessorySequence
GeneralAccessorySequence (300a,0420) vr=SQ, vm=1, type=3.
Definition: drtibs.h:979
virtual OFCondition getColumns(Uint16 &value, const unsigned long pos=0) const
get Columns (0028,0011)
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
DcmUnlimitedCharacters StrainDescription
StrainDescription (0010,0212) vr=UC, vm=1, type=3.
Definition: drttreat.h:2685
OFCondition nextFindResponse(DcmDataset **findResponseIdentifiers, DcmQueryRetrieveDatabaseStatus *status, const DcmQueryRetrieveCharacterSetOptions &characterSetOptions)
return the next available FIND response as a new DICOM dataset.
void clear()
clear all internal member variables
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getMetersetExposure(OFString &value, const signed long pos=0) const
get MetersetExposure (3002,0032)
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition setPatientState(const OFString &value, const OFBool check=OFTrue)
set PatientState (0038,0500)
Item(const Item ©)
copy constructor
OFCondition getFixationLightAzimuthalAngleTolerance(Float64 &value, const unsigned long pos=0) const
get FixationLightAzimuthalAngleTolerance (300a,0154)
DcmDecimalString SourceApplicatorWallNominalTransmission
SourceApplicatorWallNominalTransmission (300a,029e) vr=DS, vm=1, type=3.
Definition: drtchs.h:675
the representation of one Curve in a DICOM image.
Definition: dvpscu.h:39
virtual OFCondition setAssociation(T_ASC_Association *assoc)
Set the association that should be handled by the worker thread.
const char * getModalityLutExplanation() const
get description of performed modality LUT transformation
Definition: dimoimg.h:357
OFVector< CodeSequenceMacro * > m_SegmentedPropertyTypeModifierCode
Segmented Property Type Modifier Code (SQ, VM 1-n, Type 3)
Definition: segtypes.h:223
OFCondition setTreatmentDate(const OFString &value, const OFBool check=OFTrue)
set TreatmentDate (3008,0250)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrrtps4.h:311
Item(const Item ©)
copy constructor
E_DecompressionColorSpaceConversion
describes how color space conversion should be handled during the conversion of a JPEG-compressed DIC...
Definition: djutils.h:150
a class representing the DICOM value representation 'Attribute Tag' (AT)
Definition: dcvrat.h:38
virtual OFCondition setPerformedProcedureStepEndDate(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepEndDate (0040,0250)
virtual OFCondition setTableTopEccentricAngle(const OFString &value, const OFBool check=OFTrue)
set TableTopEccentricAngle (300a,0125)
virtual OFCondition write(DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, DcmWriteCache *wcache)
write object to a stream
virtual ~Item()
destructor
unsigned long getWindowCount() const
get number of VOI windows (stored in image file)
Definition: dimoimg.h:266
OFCondition gotoNextItem()
goto next item in the sequence
DRTPersonIdentificationCodeSequence & operator=(const DRTPersonIdentificationCodeSequence ©)
assigment operator
DcmCodeString BlockMountingPosition
BlockMountingPosition (300a,00fb) vr=CS, vm=1, type=3.
Definition: drtbl5.h:331
virtual OFCondition getContentQualification(OFString &value, const signed long pos=0) const
get ContentQualification (0018,9004)
DcmLongString PatientBirthDateInAlternativeCalendar
PatientBirthDateInAlternativeCalendar (0010,0033) vr=LO, vm=1, type=3.
Definition: drtionpl.h:2892
virtual OFCondition getStudyDate(OFString &value, const signed long pos=0) const
get StudyDate (0008,0020)
DcmHashDictIterator(const DcmHashDict *d, OFBool atEnd=OFFalse)
constructor, creates iterator to existing hash dictionary
Definition: dchashdi.h:129
DcmDecimalString GantryAngle
GantryAngle (300a,011e) vr=DS, vm=1, type=1C.
Definition: drticpds.h:816
DRTControlPointSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getReferencedSourceNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedSourceNumber (300c,000e)
OFCondition setBrachyAccessoryDeviceNominalTransmission(const OFString &value, const OFBool check=OFTrue)
set BrachyAccessoryDeviceNominalTransmission (300a,026c)
virtual OFCondition getLossyImageCompressionRatio(Float64 &value, const unsigned long pos=0) const
get LossyImageCompressionRatio (0028,2112)
virtual OFCondition getInstanceNumber(Sint32 &value, const unsigned long pos=0) const
get InstanceNumber (0020,0013)
OFBool isEmpty()
check if sequence is empty
DcmLongString ServiceEpisodeID
ServiceEpisodeID (0038,0060) vr=LO, vm=1, type=3.
Definition: drtionpl.h:3057
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getIsocenterPosition(Float64 &value, const unsigned long pos=0) const
get IsocenterPosition (300a,012c)
OFCondition setBrachyAccessoryDeviceID(const OFString &value, const OFBool check=OFTrue)
set BrachyAccessoryDeviceID (300a,0263)
static void convertValue(const T3_ input, Uint16 &output)
helper routine: convert to unsigned 16 bit value
Definition: dicrvfit.h:217
DcmCodeString trim
Module=Film_Box_Module, VR=CS, VM=1, Type 3.
Definition: dvpssp.h:1028
void notifyReceivedUnencryptedDICOMConnection(Uint32 status, const char *txt)
sends ReceivedUnencryptedDICOMConnection notification to server.
void setDIMSETimeout(const Uint32 dimseTimeout)
Set the timeout to be waited for incoming DIMSE message packets.
OFCondition setRealWorldValueMapping(const DSRCompositeReferenceValue &mappingValue, const OFBool check=OFTrue)
set reference to real world value mapping object.
OFCondition addGraphicLayer(const char *gLayer, const Sint32 gLayerOrder, const char *gLayerDescription=NULL)
adds a new graphic layer to the list.
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DVPSIPCClient(Uint32 clientType, const char *txt, int thePort, OFBool keepOpen)
constructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtspcs.h:551
OFBool isValid() const
check if item is valid, i.e. not the empty default item
virtual OFBool isValid()
check whether the current internal state is valid
OFBool isEmpty()
check if sequence is empty
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getConstraintWeight(OFString &value, const signed long pos=0) const
get ConstraintWeight (300a,0021)
OFCondition getTableTopPitchAngle(Float32 &value, const unsigned long pos=0) const
get TableTopPitchAngle (300a,0140)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setCommentsOnThePerformedProcedureStep(const OFString &value, const OFBool check=OFTrue)
set CommentsOnThePerformedProcedureStep (0040,0280)
OFBool readIndexRecord(const int pos, IdxRecord &record, int *oldpos=NULL)
reads specified index record (comparing pos with oldpos to avoid redundant loading)
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtfms.h:318
const Item & getCurrentItem() const
get current item in the sequence
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition setOccupation(const OFString &value, const OFBool check=OFTrue)
set Occupation (0010,2180)
virtual OFCondition getAlgorithmParameters(OFString &value, const signed long pos=0)
Get Algorithm Parameters.
OFCondition getBeamDescription(OFString &value, const signed long pos=0) const
get BeamDescription (300a,00c3)
OFCondition getAccessionNumber(OFString &value, const signed long pos=0) const
get AccessionNumber (0008,0050)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setPatientBodyMassIndex(const OFString &value, const OFBool check=OFTrue)
set PatientBodyMassIndex (0010,1022)
OFCondition setWindow(const double center, const double width)
set specified window (given by window width and center).
Definition: drmimage.h:204
virtual DcmTransportLayerStatus clientSideHandshake()
performs client side handshake on established socket.
OFCondition setMaterialID(const OFString &value, const OFBool check=OFTrue)
set MaterialID (300a,00e1)
Item & getCurrentItem()
get current item in the sequence
OFCondition setDigitalSignatureDateTime(const OFString &value, const OFBool check=OFTrue)
set DigitalSignatureDateTime (0400,0105)
int tryrdlock()
try to lock the lock for reading
static OFBool checkForValidReference(const OFString &stringValue)
check string for valid reference (as used for by-reference relationships).
virtual OFBool operator==(const DSRDocumentTreeNode &node) const
comparison operator "equal".
virtual ~DRTRangeShifterSettingsSequenceInRTIonBeamsSessionRecordModule()
destructor
virtual DcmDirectoryRecord & getRootRecord()
returns root directory record
OFCondition setDVHMinimumDose(const OFString &value, const OFBool check=OFTrue)
set DVHMinimumDose (3004,0070)
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition getResponsiblePerson(OFString &value, const signed long pos=0) const
get ResponsiblePerson (0010,2297)
DcmTime ReviewTime
ReviewTime (300e,0005) vr=TM, vm=1, type=2C.
Definition: drtstrct.h:3050
OFCondition selectStudy(const char *studyUID)
selects the study with the given UID in the database.
virtual OFVector< ReferencedSOPSequenceItem * > & getEntireReferencedSOPSequence()
Get a reference to the entire ReferencedSOPSequence, including items exceeding the value multiplicity...
const char * getPlaneDescription(unsigned int plane) const
get description of specified plane
static void create(DicomImage &sourceImage, unsigned long frameNumber, unsigned long maxval, DcmQuantColorHashTable &cht, DcmQuantColorTable &colormap, T1 &fs, T2 *tp)
converts a single frame of a color image into a palette color image.
Definition: diqtcmap.h:69
Metafunction to conditionally remove functions and classes from overload resolution.
Definition: oftraits.h:342
OFCondition getNumberOfRangeShifters(Sint32 &value, const unsigned long pos=0) const
get NumberOfRangeShifters (300a,0312)
DcmPersonName OtherPatientNames
OtherPatientNames (0010,1001) vr=PN, vm=1-n, type=3.
Definition: drtionpl.h:2910
virtual OFCondition getSOPClassUID(OFString &value, const signed long pos=0) const
get SOPClassUID (0008,0016)
this helper class maintains a map of transfer syntax lists.
Definition: dccftsmp.h:42
static OFCondition getAndCheckElementFromDataset(DcmItem &dataset, const DcmTagKey &tagKey, DcmElement *&delem, const OFString &vm, const OFString &type, const char *moduleName=NULL)
Get element from dataset and check it for correct value multiplicity and type.
virtual int setIlluminationValue(const double value)
set illumination value.
DSRCodedEntryValue * getValuePtr()
get pointer to this code
Definition: dsrcodvl.h:645
DcmCodeString CompensatorMountingPosition
CompensatorMountingPosition (300a,02e1) vr=CS, vm=1, type=1.
Definition: drtircs.h:414
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtrics.h:348
OFBool forceSingleFragmentPerFrame
flag indicating that while decompressing a multiframe image one fragment per frame should be assumed ...
Definition: djcparam.h:428
static void printUnknownValueWarningMessage(const char *valueName, const char *readValue=NULL, const char *action="Reading")
print a warning message that an unknown/unsupported value has been determined
OFCondition gotoNextItem()
goto next item in the sequence
OFBool isEmpty()
check if sequence is empty
DRTSourceImageSequence SourceImageSequence
SourceImageSequence (0008,2112) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:3144
Definition: jpeglib12.h:752
Item EmptyItem
empty default item
Definition: drtajcs.h:540
const Item & getCurrentItem() const
get current item in the sequence
void pop_back()
remove the last entry in this object
Definition: ofvector.h:309
Item class.
Definition: drtrdrs6.h:36
DcmLongString BlockName
BlockName (300a,00fe) vr=LO, vm=1, type=3.
Definition: drtbl5.h:333
virtual OFCondition getClinicalTrialSubjectID(OFString &value, const signed long pos=0) const
get ClinicalTrialSubjectID (0012,0040)
virtual OFCondition getFrameTimeVector(OFString &value, const signed long pos=0) const
get FrameTimeVector (0018,1065)
OFBool Checked
status flag to avoid double checking of referencing pstates
Definition: dvcache.h:113
DiMonoPixel * InterData
points to intermediate pixel data representation (object)
Definition: dimoimg.h:1137
double getColumnRowRatio() const
get pixel's column/rows ratio
Definition: diimage.h:198
@ LeadRadiologicTechnologist
(128674,DCM,"Lead Radiologic Technologist")
Definition: cid7452.h:64
OFCondition getBeamLimitingDeviceAngle(Float64 &value, const unsigned long pos=0) const
get BeamLimitingDeviceAngle (300a,0120)
virtual ~DcmUnlimitedCharacters()
destructor
const OFString & getFrameOfReferenceUID() const
get referenced frame of reference UID.
Definition: dsrsc3vl.h:200
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition getReviewDate(OFString &value, const signed long pos=0) const
get ReviewDate (300e,0004)
int opt_dimse_timeout
timeout for DIMSE operations
Definition: wlcefs.h:86
virtual OFCondition removeSubTree(const size_t searchID=0)
remove a subtree from this tree.
virtual OFCondition setRescaleType(const OFString &value, const OFBool check=OFTrue)
set RescaleType (0028,1054)
void notifyApplicationTerminates(Uint32 status)
sends ApplicationTerminates notification to server.
static OFCondition getAndCheckElementFromDataset(DcmItem &dataset, DcmElement *&delem, const IODRule *rule)
Get element from dataset and check it for correct value multiplicity and type.
DcmCodeString PatientSupportRotationDirection
PatientSupportRotationDirection (300a,0123) vr=CS, vm=1, type=1C.
Definition: drtcps.h:679
virtual OFCondition setPositionReferenceIndicator(const OFString &value, const OFBool check=OFTrue)
set PositionReferenceIndicator (0020,1040)
virtual OFCondition getSint32(Sint32 &sintVal, const unsigned long pos=0)
get particular integer value
virtual FilterResult decide(const InternalLoggingEvent &event) const
Returns NEUTRAL is there is no string match.
virtual log4cplus::tstring const & getTypeName() const =0
Returns the typename of the objects this factory creates.
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
DRTProtocolContextSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition setLargestImagePixelValue(const Uint16 value, const unsigned long pos=0)
set LargestImagePixelValue (0028,0107)
Interface class for ContributingEquipmentSequence (0018,a001)
Definition: drtces.h:30
virtual OFCondition getOverlayType(OFString &value, const signed long pos=0) const
get OverlayType (60xx,0040)
Uint16 m_messageIDRespondedTo
The message ID responded to (mandatory response field, equals message ID from request)
Definition: scu.h:93
DRTSegmentedPropertyTypeModifierCodeSequence(const DRTSegmentedPropertyTypeModifierCodeSequence ©)
copy constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual ~TrcTrackSet()
Destructor, frees memory.
virtual void emitMessage(int msg_level) const
callback function used to report warning messages and the like.
virtual DcmItem * getParentItem()
get parent item of this object, i.e. the item/dataset in which the surrounding pixel sequence is stor...
const char * getRetrieveAETitle()
gets the retrieveAETitle for this series reference.
DRTStrainSourceRegistryCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition getContextGroupExtensionFlag(OFString &value, const signed long pos=0) const
get ContextGroupExtensionFlag (0008,010b)
DcmCodeString ImageType
ImageType (0008,0008) vr=CS, vm=2-n, type=1.
Definition: drtimage.h:5282
OFList< DVPSOverlayCurveActivationLayer * > list_
the list maintained by this object
Definition: dvpsall.h:171
virtual OFCondition getReferencedSegmentNumber(Uint16 &value, const signed long pos=0) const
Get ReferencedSegmentNumber.
virtual OFCondition setVR(DcmEVR vr)
set/change the current value representation of the uncompressed image representation,...
DRTReferencedReferenceImageSequenceInRTIonBeamsModule & getReferencedReferenceImageSequence()
get ReferencedReferenceImageSequence (300c,0042)
Definition: drtibs.h:648
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
int rdlock()
gets a read lock.
const DRTRecordedCompensatorSequence & getRecordedCompensatorSequence() const
get RecordedCompensatorSequence (3008,00c0)
Definition: drttsibs.h:592
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drttms9.h:197
DRTGeneticModificationsSequence GeneticModificationsSequence
GeneticModificationsSequence (0010,0221) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4132
@ EXS_JPEGProcess7_9
JPEG Spectral Selection, Non-Hierarchical (lossy, 8/12 bit), arithmetic coding.
Definition: dcxfer.h:57
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrrms.h:363
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtmucs.h:345
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFCondition setServiceEpisodeID(const OFString &value, const OFBool check=OFTrue)
set ServiceEpisodeID (0038,0060)
virtual OFCondition getPerformedProcedureStepEndTime(OFString &value, const signed long pos=0) const
get PerformedProcedureStepEndTime (0040,0251)
static OFCondition updateDerivationDescription(DcmItem *dataset, const char *description)
create Derivation Description.
DcmPathProcessor()
Constructor, creates an empty search object.
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrics.h:551
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
a list of stored print objects, each of which manages a single Basic Film Box in a Print SCP.
Definition: dvpsspl.h:43
const DRTIssuerOfAccessionNumberSequence & getIssuerOfAccessionNumberSequence() const
get IssuerOfAccessionNumberSequence (0008,0051)
Definition: drtstrct.h:1344
DcmDirectoryRecord * buildRTTreatmentRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update RT treatment record and copy required values from dataset
OFCondition gotoItem(const OFString &codingSchemeDesignator)
select the specified item as the current one
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
~DiMonoFlipTemplate()
destructor
Definition: dimoflt.h:79
void setSon(OFConfigFileNode *son)
set pointer to next object in tree on lower level
Definition: ofconfig.h:150
virtual OFCondition setPrimaryDosimeterUnit(const OFString &value, const OFBool check=OFTrue)
set PrimaryDosimeterUnit (300a,00b3)
Item EmptyItem
empty default item
Definition: drtcpis.h:395
OFCondition getChannelTotalTime(OFString &value, const signed long pos=0) const
get ChannelTotalTime (300a,0286)
virtual OFCondition getTreatmentProtocols(OFString &value, const signed long pos=0) const
get TreatmentProtocols (300a,0009)
CID29e_AcquisitionModality(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool AllowIllegalProposalMode
flag indicating whether to allow illegal proposals
Definition: dstorscu.h:524
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n")
check whether given string value conforms to the VR "AE" (Application Entity) and to the specified VM...
OFCondition read(DcmItem &item)
read elements from sequence item
const Item & operator[](const size_t num) const
get particular item in the sequence
virtual OFCondition setStationName(const OFString &value, const OFBool check=OFTrue)
set StationName (0008,1010)
virtual OFCondition setSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set SOPClassUID (0008,0016)
virtual OFCondition setBitsStored(const Uint16 value, const OFBool checkValue=OFTrue)
Set Bits Stored.
virtual OFCondition getContentCreatorName(OFString &value, const signed long pos=0) const
Get Content Creator Name.
OFString m_privateKeyFile
The file containing the private key (if authentication is enabled)
Definition: tlsscu.h:221
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getShieldingDevicePosition(OFString &value, const signed long pos=0) const
get ShieldingDevicePosition (300a,01a8)
virtual ~DSRUIDRefTreeNode()
destructor
DcmCodeString LateralSpreadingDeviceType
LateralSpreadingDeviceType (300a,0338) vr=CS, vm=1, type=1.
Definition: drtlsds.h:187
OFMap< OFString, DcmPresentationContextList * >::const_iterator end()
const iterator pointing to end of presentation context map (behind last entry)
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition setQualityControlSubject(const OFString &value, const OFBool check=OFTrue)
set QualityControlSubject (0010,0200)
OFBool m_lossyCompressed
After reading pixel data, this denotes whether the source data is already lossy compressed.
Definition: i2djpgs.h:350
Definition: syncimpl.h:189
virtual OFCondition setTrackValues(const size_t trackNumber, const Float32 *measurementValues, const unsigned long &numValues, const Uint32 *pointIndices)
Set measurement values for a single track.
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
DcmIODTypes::IOD_IE m_IE
The Information Entity the related attribute belongs to according to the DICOM Model of the Real Worl...
Definition: iodrules.h:248
const Item & operator[](const size_t num) const
get particular item in the sequence
DRTPhysiciansOfRecordIdentificationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
void scale(const T *pixel, const unsigned int bits, const int interpolate, const Uint16 pvalue)
scale pixel data
Definition: dimosct.h:108
int showOverlay(const unsigned int plane, const EM_Overlay mode, const double fore=1.0, const double thresh=0.5, const unsigned int idx=0)
activate specified overlay plane and change some parameters
Definition: dcmimage.h:1076
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
void rotateLeft(T *data[])
rotate image left and store result in the same storage area
Definition: dirotat.h:243
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFBool isEmpty()
check if item is empty
virtual OFCondition checkCodedEntry(const DSRCodedEntryValue &codedEntryValue, const OFBool definedContextGroup) const
check whether a given coded entry is valid.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtcncs.h:533
void addItem(const OFString &uid, const DVIFhierarchyStatus status=DVIF_objectIsNew)
adds a new item to the cache list.
Definition: dvcache.h:862
OFListIterator(Item *) CurrentItem
currently selected item
DcmCodeString BlockDivergence
BlockDivergence (300a,00fa) vr=CS, vm=1, type=2.
Definition: drtbl2.h:350
OFList< DVPSVOIWindow * > list_
the list maintained by this object
Definition: dvpsvwl.h:90
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrcps.h:325
DcmDecimalString BrachyApplicationSetupDose
BrachyApplicationSetupDose (300a,00a4) vr=DS, vm=1, type=3.
Definition: drtrbas8.h:171
const DRTPatientSpeciesCodeSequence & getPatientSpeciesCodeSequence() const
get PatientSpeciesCodeSequence (0010,2202)
Definition: drttreat.h:1437
void setAdditivity(bool additive)
Set the additivity flag for this Logger instance.
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtporcs.h:337
virtual OFBool isClinicalTrialStudyModulePresent(const OFBool complete=OFFalse)
check whether ClinicalTrialStudyModule (U) is present.
OFCondition sendIOD(const char *targetID, const char *studyUID, const char *seriesUID, const char *instanceUID)
sends a single instance (image or presentation state) over network to a different DICOM peer.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual OFCondition setMeasuredAPDimension(const OFString &value, const OFBool check=OFTrue)
set MeasuredAPDimension (0010,1023)
DcmDate RTPlanDate
RTPlanDate (300a,0006) vr=DA, vm=1, type=2.
Definition: drtionpl.h:3178
DRTContentItemModifierSequence & operator=(const DRTContentItemModifierSequence ©)
assigment operator
virtual OFCondition getPatientWeight(OFString &value, const signed long pos=0) const
get PatientWeight (0010,1030)
virtual OFCondition sendCGETRequest(const T_ASC_PresentationContextID presID, DcmDataset *dataset, OFList< RetrieveResponse * > *responses)
Sends a C-GET Request on given presentation context and receives list of responses.
Base Class for plugins extracting pixel data from standard image files.
Definition: i2dimgs.h:35
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtdcs.h:339
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmCodeString FixationDeviceType
FixationDeviceType (300a,0192) vr=CS, vm=1, type=1.
Definition: drtfds.h:212
OFCondition getBeamLimitingDeviceAngle(OFString &value, const signed long pos=0) const
get BeamLimitingDeviceAngle (300a,0120)
virtual OFCondition getPhysiciansOfRecord(OFString &value, const signed long pos=0) const
get PhysiciansOfRecord (0008,1048)
virtual OFCondition getOperatorsName(OFString &value, const signed long pos=0) const
Get Operators' Name.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
DcmLongString AdmittingDiagnosesDescription
AdmittingDiagnosesDescription (0008,1080) vr=LO, vm=1-n, type=3.
Definition: drtdose.h:4215
virtual OFString getName() const
Get name of component.
IteratorBasedFilter(const IteratorBasedFilter &)
disable copy constructor.
Uint32 randa
internal state of the PRNG
Definition: ofrand.h:86
static const OFBool has_denorm_loss
OFTrue for all floating-point types T capable of distinguishing loss of precision due to denormalizat...
Definition: oflimits.h:351
unsigned int getCount() const
get number of overlay planes
Definition: diovlay.h:234
@ EXS_MPEG2MainProfileAtMainLevel
MPEG2 Main Profile at Main Level.
Definition: dcxfer.h:105
DCMTK_DCMDATA_EXPORT OFBool dcmIsImageStorageSOPClassUID(const char *uid)
returns true if the uid is one of the Image Storage SOP Classes.
The NDC class implements nested diagnostic contexts as defined by Neil Harrison in the article "Patte...
Definition: ndc.h:111
OFCondition setReferencedROINumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedROINumber (3006,0084)
static OFString & dump(OFString &str, OFCondition cond)
Get a string representation for the given condition code This method is intended as a replacement for...
IODGeneralImageModule & getGeneralImage()
Get General Image Module.
Definition: iodimage.h:115
DSRDocumentTreeNodeCursor & operator=(DSRDocumentTreeNode *node)
assignment operator.
@ ExtraluminalRoute
(C38213,NCIt,"Extraluminal route")
Definition: cid11.h:72
DcmDecimalString BlockThickness
BlockThickness (300a,0100) vr=DS, vm=1, type=1.
Definition: drtibls.h:356
DRTBlockSlabSequence BlockSlabSequence
BlockSlabSequence (300a,0441) vr=SQ, vm=1, type=1C.
Definition: drtibls.h:354
DcmObject & operator=(const DcmObject &obj)
copy assignment operator
socklen_t size() const
return size of sockaddr struct depending on current protocol family
void clear()
clear all internal member variables
void clear()
clear all internal member variables
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getBeamDosePointSSD(Float32 &value, const unsigned long pos=0) const
get BeamDosePointSSD (300a,008a)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
XMLNode getChildNode(XMLCSTR name, int i) const
return ith child node with specific name (return an empty node if failing). If i==-1,...
OFCondition write(DcmItem &item)
write elements to sequence item
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtbas.h:211
OFCondition gotoNextItem()
goto next item in the sequence
DiOverlay(const DiOverlay *overlay, const signed long left_pos, const signed long top_pos, const double xfactor, const double yfactor)
constructor, clip/scale
virtual OFCondition get(const Float32 *&dataValues, unsigned long &numValues, const Uint32 *&trackPointIndices)
Get measurement values and the point indices (if applicable)
virtual unsigned long getSize() const
returns the size of a MAC in bytes.
DRTPrivateDataElementDefinitionSequence & operator=(const DRTPrivateDataElementDefinitionSequence ©)
assigment operator
OFCondition getCalculatedDoseReferenceNumber(Sint32 &value, const unsigned long pos=0) const
get CalculatedDoseReferenceNumber (3008,0072)
virtual OFCondition getStructureSetDescription(OFString &value, const signed long pos=0) const
get StructureSetDescription (3006,0006)
OFFile jpegFile
The JPEG file, if opened.
Definition: i2djpgs.h:329
virtual unsigned long getNumberOfValues()
get number of values stored in this element
OFCondition checkFrameOfReferenceUID(const OFString &frameOfReferenceUID) const
check the specified frame of reference UID for validity
OFCondition getReferencedBeamNumber(OFString &value, const signed long pos=0) const
get ReferencedBeamNumber (300c,0006)
size_t getNumberOfItems() const
get number of items in the sequence
DPMParametricMapSeriesModule m_DPMParametricMapSeriesModule
Parametric Map Series Module.
Definition: dpmparametricmapbase.h:227
DJCodecParameter(const DJCodecParameter &arg)
copy constructor
virtual void resetRules()
Resets rules to their original values.
virtual OFCondition read(DcmItem &dataset, const size_t flags)
read spatial coordinates value from dataset
OFCondition setTreatmentTerminationStatus(const OFString &value, const OFBool check=OFTrue)
set TreatmentTerminationStatus (3008,002a)
OFIterator< T > & operator++()
moves the iterator to the next element of the list.
Definition: oflist.h:253
JLS_UIDCreation
describes the condition under which a compressed or decompressed image receives a new SOP instance UI...
Definition: djlsutil.h:57
Item(const Item ©)
copy constructor
DRTDVHSequence & operator=(const DRTDVHSequence ©)
assigment operator
This template class provides a data structure and operations for administrating an unordered set of e...
Definition: ofuoset.h:46
E_ParseStatus parseLine(int argCount, char *argValue[], const int flags=0, const int startPos=1)
parses specified command line arguments (argc, argv).
@ TKE_ECDH
Elliptic Curve Diffie–Hellman.
Definition: tlsciphr.h:136
DRTIonBlockSequence IonBlockSequence
IonBlockSequence (300a,03a6) vr=SQ, vm=1, type=1C.
Definition: drtibs.h:989
DRTSourcePatientGroupIdentificationSequence & getSourcePatientGroupIdentificationSequence()
get SourcePatientGroupIdentificationSequence (0010,0026)
Definition: drtiontr.h:1803
const DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence() const
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drtionpl.h:1853
Abstract base class to handle pixel data.
Definition: dipixel.h:38
const OFString & getText() const
get annotation text, i.e. the internally stored character string
Definition: dsrtnant.h:104
@ Colon
(71854001,SCT,"Colon")
Definition: cid4031.h:84
OFBool matchesApplicability(const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability)
checks if the object containing this list of image references matches exactly the applicability defin...
DcmShortString RangeShifterID
RangeShifterID (300a,0318) vr=SH, vm=1, type=1.
Definition: drtrrshs.h:153
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmNativeSocketType getSocket()
returns the socket file descriptor managed by this object.
Definition: dcmtrans.h:193
OFLogger(const dcmtk::log4cplus::Logger &base)
copy constructor
static const char * characterSetToDefinedTerm(const E_CharacterSet characterSet)
convert character set to DICOM defined term
OFCondition gotoNextItem()
goto next item in the sequence
virtual OFCondition getPositionMeasuringDevice(OFString &value, const signed long pos=0)
Get Position Measuring Device.
virtual OFBool isShort(const size_t flags) const
check whether the content is short.
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrlsds.h:331
Item class.
Definition: drtpdeds.h:36
OFCondition setWedgeID(const OFString &value, const OFBool check=OFTrue)
set WedgeID (300a,00d4)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DRTReferencedPatientPhotoSequence & getReferencedPatientPhotoSequence()
get ReferencedPatientPhotoSequence (0010,1100)
Definition: drtimage.h:2926
static const size_t XF_writeBinaryData
write binary data to XML output file. DCMTK-specific format only.
Definition: dctypes.h:209
Item class.
Definition: drtsns.h:36
OFCondition getRangeShifterID(OFString &value, const signed long pos=0) const
get RangeShifterID (300a,0318)
Item & operator=(const Item ©)
assigment operator
DRTBeamLimitingDeviceSequenceInRTImageModule & getBeamLimitingDeviceSequence()
get BeamLimitingDeviceSequence (300a,00b6)
Definition: drtes.h:339
DcmSimpleMap & operator=(const DcmSimpleMap &arg)
private undefined copy assignment operator
OFCondition print(STD_NAMESPACE ostream &stream, const size_t flags=0, const char separator=',') const
print list of referenced date/time.
Item(const Item ©)
copy constructor
virtual OFCondition getClinicalTrialCoordinatingCenterName(OFString &value, const signed long pos=0) const
get ClinicalTrialCoordinatingCenterName (0012,0060)
DVPSImageBoxContent()
default constructor
OFCondition setReferencedLateralSpreadingDeviceNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedLateralSpreadingDeviceNumber (300c,0102)
OFCondition getReferencedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
Interface class for TreatmentSummaryCalculatedDoseReferenceSequence (3008,0050)
Definition: drttscds.h:28
virtual OFCondition getAdditionalPatientHistory(OFString &value, const signed long pos=0) const
get AdditionalPatientHistory (0010,21b0)
OFCondition getNumberOfRangeShifters(OFString &value, const signed long pos=0) const
get NumberOfRangeShifters (300a,0312)
virtual OFCondition getSpatialTransformOfDose(OFString &value, const signed long pos=0) const
get SpatialTransformOfDose (3004,0005)
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtscs.h:333
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
IODGeneralSeriesModule()
Constructor.
DcmPixelSequence * pixelSeqForWrite
in write function: pointer to current pixel sequence
Definition: dcpixel.h:181
OFCondition getRadiationChargeState(Sint16 &value, const unsigned long pos=0) const
get RadiationChargeState (300a,0306)
virtual ~DRTROIContourSequence()
destructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual EP_Representation getRepresentation() const
determine integer representation for template type T
Definition: dipxrept.h:78
virtual unsigned long getNumberOfValues()
get number of values stored in this element
int suspension
position of last suspend
Definition: djdijg12.h:115
virtual OFCondition setPatientOrientation(const OFString &value, const OFBool checkValue=OFTrue)
Set Patient Orientation.
Sint32 biHeight
height of the image (in pixels)
Definition: diutils.h:182
CodeSequenceMacro m_Type
Single item from Concept Name Code Sequence (type of measurement)
Definition: trcmeasurement.h:239
virtual OFCondition findCodedEntry(const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const
search for a given coded entry in this context group
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
virtual OFCondition getContentTime(OFString &value, const signed long pos=0)
Get Content Time.
static OFCondition parsePresentationContexts(DcmAssociationConfiguration &cfg, OFConfigFile &config)
parses the presentation context lists in the config file.
DcmDictEntryListIterator repeatingEnd()
returns an iterator to the end of the repeating tag dictionary
Definition: dcdict.h:153
virtual OFBool Contains(const T &item) const
Determines if a certain item is contained in the set.
Definition: ofuoset.h:261
OFBool gotoItem(const T &item, OFLIST_TYPENAME OFListConstIterator(T) &iterator) const
goto specified item
Definition: dsrtlist.h:339
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const DRTWADORetrievalSequence & getWADORetrievalSequence() const
get WADORetrievalSequence (0040,e023)
Definition: drtrpphs.h:180
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DiMonoImage(const DiMonoImage *image, const int horz, const int vert)
constructor, flip
E_JPGMARKER marker
The marker byte itself.
Definition: i2djpgs.h:68
virtual OFCondition setPregnancyStatus(const Uint16 value, const unsigned long pos=0)
set PregnancyStatus (0010,21c0)
OFCondition setIsocenterToWedgeTrayDistance(const Float32 value, const unsigned long pos=0)
set IsocenterToWedgeTrayDistance (300a,00d9)
virtual OFCondition getOperatorsName(OFString &value, const signed long pos=0) const
get OperatorsName (0008,1070)
T_ASC_Association * subAssoc
pointer to sub-association for outgoing C-STORE-RQ
Definition: dcmqrcbm.h:145
OFBool checkExistsWithMinMaxValue(DcmItem *dataset, const DcmTagKey &key, const long min, const long max, const OFFilename &filename=OFFilename(), const OFBool reject=OFTrue)
check whether given tag exists in the DICOM dataset and has an integer value in the expected range
virtual OFCondition write(DcmItem &dataset)
Overwrites DcmIODCommon::write()
virtual ~DRTPhysiciansReadingStudyIdentificationSequence()
destructor
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
CID7181_AbstractMultiDimensionalImageModelComponentUnits(const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue())
(default) constructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getScanSpotPrescribedIndices(OFString &value, const signed long pos=0) const
get ScanSpotPrescribedIndices (300a,0391)
DRTPhysiciansOfRecordIdentificationSequence PhysiciansOfRecordIdentificationSequence
PhysiciansOfRecordIdentificationSequence (0008,1049) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2847
DRTPatientBreedCodeSequence & getPatientBreedCodeSequence()
get PatientBreedCodeSequence (0010,2293)
Definition: drtdose.h:2272
OFCondition getImageReference(size_t idx, OFString &sopclassUID, OFString &instanceUID, OFString &frames)
gets an image reference with the given index.
virtual OFCondition encode(const Uint16 *pixelData, const Uint32 length, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
compresses the given uncompressed DICOM image and stores the result in the given pixSeq element.
OFCondition setValue(const DcmElement &delem, const unsigned long pos=0, const OFBool check=OFTrue)
set string value from element.
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtsptcs.h:533
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtbvcps.h:370
@ ERW_inWork
object transfer in progress
Definition: dctypes.h:138
CID100_QuantitativeDiagnosticImagingProcedures(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
EP_Representation getRepresentation() const
get integer representation
Definition: dimomod.h:101
unsigned int value
current CRC
Definition: ofcrc32.h:78
TID1501_MeasurementGroup(const OFBool createGroup=OFFalse)
(default) constructor
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition getTableTopLongitudinalPositionTolerance(OFString &value, const signed long pos=0) const
get TableTopLongitudinalPositionTolerance (300a,0052)
OFCondition getFractionGroupDescription(OFString &value, const signed long pos=0) const
get FractionGroupDescription (300a,0072)
OFCondition setRealWorldValueSlope(const Float64 value, const unsigned long pos=0)
set RealWorldValueSlope (0040,9225)
OFBool isEmpty()
check if item is empty
OFString & replace(size_t pos, size_t n, const char *s, size_t n2)
constructs a temporary string from the input and replaces the range [pos, n] in the current string wi...
OFCommandLine * CmdLine
Pointer to associated CommandLine class.
Definition: ofconapp.h:232
OFCondition setCorrectionValue(const Float32 value, const unsigned long pos=0)
set CorrectionValue (3008,006a)
virtual void enableAll()
Undoes the effect of calling any of disable, {}, #disableDebug} and #disableInfo} methods.
virtual OFCondition getPhysiciansOfRecord(OFString &value, const signed long pos=0) const
get PhysiciansOfRecord (0008,1048)
OFerror_category()
Default constructor, used by derived classes.
Definition: oferror.h:87
static const size_t HF_renderNumericUnitCodes
external: render the code of the numeric measurement unit
Definition: dsrtypes.h:299
OFCondition setOrganAtRiskOverdoseVolumeFraction(const OFString &value, const OFBool check=OFTrue)
set OrganAtRiskOverdoseVolumeFraction (300a,002d)
static void cleanup()
deregisters encoders.
E_JPEGEncapsulated
enumeration of pixel data encapsulation options
Definition: dcxfer.h:151
@ RT_inferredFrom
DICOM Relationship Type: INFERRED FROM.
Definition: dsrtypes.h:571
@ StandardizedUptakeValueBodyWeight
(g/ml{SUVbw},UCUM,"Standardized Uptake Value body weight"), included from CID 85
Definition: cid7181.h:80
DRTRangeModulatorSettingsSequenceInRTIonBeamsModule & getRangeModulatorSettingsSequence()
get RangeModulatorSettingsSequence (300a,0380)
Definition: drticps.h:489
void setOurAETitle(const char *ae)
set the AEtitle under which this application operates
Definition: dcmqrcbf.h:60
virtual ~DSRDocumentTreeNodeConceptNameFilter()
destructor
DcmDecimalString SurfaceEntryPoint
SurfaceEntryPoint (300a,012e) vr=DS, vm=3, type=3.
Definition: drticps.h:823
const DRTBlockSequenceInRTBeamsModule & getBlockSequence() const
get BlockSequence (300a,00f4)
Definition: drtbs.h:408
virtual OFCondition status() const =0
returns the status of the producer as an OFCondition object.
@ OpticCanal
(55024004,SCT,"Optic canal")
Definition: cid4031.h:174
OFCondition gotoNextItem()
goto next item in the sequence
virtual DcmObject * clone() const
clone method
Definition: dcvrus.h:87
DRTConceptCodeSequence ConceptCodeSequence
ConceptCodeSequence (0040,a168) vr=SQ, vm=1, type=1C.
Definition: drtpcxs.h:350
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTStrainCodeSequence & getStrainCodeSequence()
get StrainCodeSequence (0010,0219)
Definition: drttreat.h:1707
const OFBool DELETE_LEADING
delete leading spaces
Definition: dcbytstr.h:475
CID4031e_CommonAnatomicRegions(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
Implementation of DCMR Template: TID 1500 - Measurement Report (and included templates 1204,...
Definition: tid1500.h:74
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition setPatientBodyMassIndex(const OFString &value, const OFBool check=OFTrue)
set PatientBodyMassIndex (0010,1022)
@ InternalAuditoryCanal
(361078006,SCT,"Internal Auditory Canal")
Definition: cid4031.h:132
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual ~Item()
destructor
OFCondition setScanningSpotSize(const Float32 value, const unsigned long pos=0)
set ScanningSpotSize (300a,0398)
DcmUnsignedShort Columns
Columns (0028,0011) vr=US, vm=1, type=1.
Definition: drtdose.h:4434
void setOptionColumns(const int longCols, const int shortCols)
sets default width of option columns
E_ParseStatus
status of command line parsing
Definition: ofcmdln.h:151
DRTStructureSetROISequence StructureSetROISequence
StructureSetROISequence (3006,0020) vr=SQ, vm=1, type=1.
Definition: drtdose.h:4621
virtual OFCondition setAccessionNumber(const OFString &value, const OFBool checkValue=OFTrue)
Set Accession Number.
OFCondition setCode(const DSRBasicCodedEntry &basicCodedEntry, const OFBool check=OFFalse)
set code.
DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule & operator=(const DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule ©)
assigment operator
virtual OFCondition getStereoPairsPresent(OFString &value, const signed long pos=0) const
get StereoPairsPresent (0022,0028)
virtual OFCondition setDateOfLastCalibration(const OFString &value, const OFBool check=OFTrue)
set DateOfLastCalibration (0018,1200)
DJ_RPLossless(int aPrediction=1, int aPt=0)
constructor
DiMonoPixel(DiMonoOutputPixel *pixel, DiMonoModality *modality)
constructor
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write image reference in XML format
virtual OFCondition getSOPInstanceUID(OFString &value, const signed long pos=0) const
get SOP instance UID
DiOverlay * getOverlayPtr(const unsigned int idx)
get pointer to specified overlay managing object
Definition: dimoimg.h:475
static OFString & getValueFromXMLNodeContent(const DSRXMLDocument &doc, DSRXMLCursor cursor, OFString &timeValue, const OFBool clearString=OFTrue)
get DICOM time value from given XML element.
OFCondition gotoFirstItem()
goto first item in the sequence
virtual OFCondition read(DcmItem &item)
Read functional group from item, must contain the Real World Value Mapping Sequence.
V & operator[](const K &key)
index operator.
Definition: ofmap.h:95
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getFractionGroupNumber(OFString &value, const signed long pos=0) const
get FractionGroupNumber (300a,0071)
OFBool verifyUserPassword(const char *userID, const char *passwd)
verifies the given password for the given user ID.
virtual OFCondition write(DcmItem &item)
Write functional group to given item.
OFBool compareSequenceAttributes(DcmItem *dataset, DcmTagKey &key, DcmDirectoryRecord *record, const OFFilename &sourceFilename)
compare sequence attribute from dataset and record and report any deviation
OFCondition getLUTData(Uint16 *&value, unsigned long *count=NULL) const
get LUTData (0028,3006)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTPhysiciansReadingStudyIdentificationSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTReferencedSeriesSequence & getReferencedSeriesSequence()
get ReferencedSeriesSequence (0008,1115)
Definition: drttreat.h:1587
this class manages an instance entry of the index file.
Definition: dcmqridx.h:357
virtual OFCondition copyFrom(const DcmObject &rhs)
virtual object copying.
size_t getNumberOfInstances() const
get number of instance stored in the list of instances
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
virtual void createDerivationDescription(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, double ratio, OFString &derivationDescription) const =0
creates 'derivation description' string after encoding.
virtual OFCondition setInStackPositionNumber(const Uint32 &value, const OFBool checkValue=OFTrue)
Set In-Stack Position Number.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
void clear()
reset the object to initial state.
DSRDocumentTreeNodeRelationshipTypeFilter(const DSRTypes::E_RelationshipType &relationshipType)
constructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtrrshs.h:148
OFMap< OFString, DcmRoleSelectionList * > map_
map of role selection lists
Definition: dccfrsmp.h:181
EL_BitsPerTableEntry
bits per table entry modes.
Definition: diutils.h:313
DCMTK_DCMFG_EXPORT const OFConditionConst FG_EC_CouldNotInsertFG
Could not insert functional group.
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
Item(const Item ©)
copy constructor
DRTRangeShifterSequence RangeShifterSequence
RangeShifterSequence (300a,0314) vr=SQ, vm=1, type=1C.
Definition: drtibs.h:1039
virtual OFCondition getAdditionalPatientHistory(OFString &value, const signed long pos=0) const
get AdditionalPatientHistory (0010,21b0)
virtual OFBool readFromFile(const OFString &filename, const OFVector< Uint32 > frameNumbers)
Initialize reference from given file.
OFCondition readXMLStudyData(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read XML "study" data
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmShortText DerivationDescription
DerivationDescription (0008,2111) vr=ST, vm=1, type=3.
Definition: drtplan.h:3339
const DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence() const
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtdose.h:2002
static CodeList * Codes
pointer to internal code list (use a static variable for singleton pattern)
Definition: cid11.h:194
DcmPersonName ConsultingPhysicianName
ConsultingPhysicianName (0008,009c) vr=PN, vm=1-n, type=3.
Definition: drttreat.h:2747
OFBool currentValuesValid
flag indicating whether the currentXX values are up to date
Definition: dvpssp.h:1077
@ Sternum
(56873002,SCT,"Sternum")
Definition: cid4031.h:218
DRTWADORSRetrievalSequence(const DRTWADORSRetrievalSequence ©)
copy constructor
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtics.h:345
Interface class for FractionStatusSummarySequence (3008,0240)
Definition: drtfsss.h:28
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
OFBool isEmpty()
check if sequence is empty
virtual int compare(const FGBase &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
unsigned long AutoStudyNumber
current study number used to invent missing attribute values
Definition: dcddirif.h:1610
@ TPV_SSLv3
Secure Socket Layer (SSL) version 3 or newer.
Definition: tlsciphr.h:119
virtual OFBool isValid() const
check whether the current internal state is valid.
virtual E_MACType macType() const
returns the type of MAC algorithm computed by this object
OFListIterator(TransferEntry *) CurrentTransferEntry
iterator pointing to the current entry in the list of SOP instances to be transferred
~DcmExtendedNegotiationMap()
destructor
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFBool isEmpty()
check if sequence is empty
virtual OFCondition setAccessionNumber(const OFString &value, const OFBool check=OFTrue)
set AccessionNumber (0008,0050)
virtual ~ReferencedSOPSequenceItem()
Virtual Destructor.
Item & operator=(const Item ©)
assigment operator
DcmPersonName PatientName
PatientName (0010,0010) vr=PN, vm=1, type=2.
Definition: drtstrct.h:2727
DRTReferencedRTPlanSequenceInRTGeneralPlanModule ReferencedRTPlanSequence
ReferencedRTPlanSequence (300c,0002) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3194
DVPSVOIWindow * clone()
clone method.
Definition: dvpsvw.h:50
virtual DcmObject * clone() const
clone method
Definition: dcvrulup.h:71
~DcmFileCache()
destructor
Definition: dcfcache.h:48
virtual void setDHParam(const OFString &dhParam)
Set Diffie-Hellman parameters from file.
OFCondition write(DcmItem &item)
write elements to sequence item
OFBool state() const
Required: state query, must return OFTrue when "engaged" and OFFalse otherwhise.
virtual OFCondition setTreatmentDate(const OFString &value, const OFBool check=OFTrue)
set TreatmentDate (3008,0250)
virtual OFCondition getResponsiblePersonRole(OFString &value, const signed long pos=0) const
get ResponsiblePersonRole (0010,2298)
OFCondition getXRayImageReceptorAngle(Float64 &value, const unsigned long pos=0) const
get XRayImageReceptorAngle (3002,000e)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DVPSVOILUT_PList(const DVPSVOILUT_PList ©)
copy constructor
DcmUniqueIdentifier storageMediaFileSetUID
VR=UI, VM=1, Type 3.
Definition: dvpsrs.h:191
void convert(const T *pixel[3], const double red, const double green, const double blue)
convert color pixel data to monochrome format
Definition: dicomot.h:84
IODImagePixelVariant()
Constructor.
Definition: modimagepixelvariant.h:73
virtual OFCondition writeJson(STD_NAMESPACE ostream &out, DcmJsonFormat &format)
write object in JSON format
DicomImage(const char *filename, const unsigned long flags=0, const unsigned long fstart=0, const unsigned long fcount=0)
constructor, open a DICOM file.
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual OFCondition getPhotometricInterpretation(OFString &value, const signed long pos=0)
Get Photometric Interpretation.
DcmShortString WedgeID
WedgeID (300a,00d4) vr=SH, vm=1, type=3.
Definition: drtrws.h:211
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtitts.h:610
void renameLayer(const char *oldName, const char *newName)
renames the activation layer name in all activations with a matching old activation layer name.
DicomImage * createClippedImage(const signed long left_pos, const signed long top_pos, unsigned long width=0, unsigned long height=0, const Uint16 pvalue=0) const
create copy of specified area of the current image object (clipping).
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
Item & getCurrentItem()
get current item in the sequence
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtcncs.h:357
DRTConsentForClinicalTrialUseSequence ConsentForClinicalTrialUseSequence
ConsentForClinicalTrialUseSequence (0012,0083) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2835
virtual OFCondition setInstanceCreationTime(const OFString &value, const OFBool check=OFTrue)
set InstanceCreationTime (0008,0013)
ReferencedSOPSequenceItem(IODComponent *parent=NULL)
Constructor.
class for managing filenames consisting either of conventional (8-bit) or wide (e....
Definition: offile.h:125
void join()
combines the cerr and cout streams.
OFList< OFListIterator_OFString > OptionPosList
list of option positions within argument list
Definition: ofcmdln.h:1077
Definition: syncprim.h:178
Item class.
Definition: drtpdecs.h:38
OFCondition read(DcmItem &item)
read elements from sequence item
virtual DcmEVR ident() const
get element type identifier
OFConfigFileNodePtr * array_
the cursor is an array of pointers to OFConfigFileNode objects
Definition: ofconfig.h:323
static OFCondition getDicomDateTimeFromOFDateTime(const OFDateTime &dateTimeValue, OFString &dicomDateTime, const OFBool seconds=OFTrue, const OFBool fraction=OFFalse, const OFBool timeZone=OFFalse)
get the specified OFDateTime value in DICOM format.
DCMTK_DCMJPLS_EXPORT const OFConditionConst EC_JLSTooMuchCompressedData
error condition constant: Trailing data after image
OFCondition readSegmentationFractionalType(DcmItem &item)
Read Fractional Type of segmentation.
Item & getItem(const size_t num)
get particular item in the sequence
DcmDateTime DigitalSignatureDateTime
DigitalSignatureDateTime (0400,0105) vr=DT, vm=1, type=1.
Definition: drtdss.h:237
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
DcmCodeString graphicType
VR=CS, VM=1, Type 1.
Definition: dvpsgr.h:135
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
get ManufacturerModelName (0008,1090)
unsigned long create6xxx3000OverlayData(Uint8 *&buffer, const unsigned int plane, unsigned int &width, unsigned int &height, unsigned long &frames, const unsigned int idx=0) const
create bitmap for specified overlay plane and store it in (6xxx,3000) format.
Definition: dcmimage.h:1348
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition setPatientName(const OFString &value, const OFBool check=OFTrue)
set PatientName (0010,0010)
virtual OFCondition getMetersetExposure(OFString &value, const signed long pos=0) const
get MetersetExposure (3002,0032)
OFCondition gotoFirstItem()
goto first item in the sequence
DcmShortText BeamDescription
BeamDescription (300a,00c3) vr=ST, vm=1, type=3.
Definition: drtibs.h:959
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtadcs.h:355
DRTDoseIOD & operator=(const DRTDoseIOD ©)
assigment operator
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtrpcs.h:333
DcmUnsignedShort RedPaletteColorLookupTableDescriptor
RedPaletteColorLookupTableDescriptor (0028,1101) vr=US/SS, vm=3, type=1C.
Definition: drtiis.h:437
DcmIntegerString imageNumber
Module=Presentation_State, VR=IS, VM=1, Type 1.
Definition: dcmpstat.h:849
virtual ~ImageSOPInstanceReferenceMacro()
Virtual Destructor.
OFCondition getPrivateDataElementEncoding(OFString &value, const signed long pos=0) const
get PrivateDataElementEncoding (0008,030f)
DCMTK_DCMDATA_EXPORT OFGlobal< OFBool > dcmReadImplPrivAttribMaxLengthAsSQ
This flag indicates, whether private attributes with implicit transfer syntax having a maximum length...
DRTReferencedFrameOfReferenceSequence(const DRTReferencedFrameOfReferenceSequence ©)
copy constructor
OFCondition setWedgeThinEdgePosition(const Float32 value, const unsigned long pos=0)
set WedgeThinEdgePosition (300a,00db)
Item & getItem(const size_t num)
get particular item in the sequence
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtdcs.h:329
Class representing Floating Point Image Pixel Module:
Definition: modfloatingpointimagepixel.h:41
void assign(DcmQuantComponent r, DcmQuantComponent g, DcmQuantComponent b)
assigns new R, G and B values to this pixel
Definition: diqtpix.h:124
virtual OFString getName() const
Get name of component.
virtual OFCondition selectValue(const OFString &selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its associated defined term as the current value
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setDoseReferenceNumber(const OFString &value, const OFBool check=OFTrue)
set DoseReferenceNumber (300a,0012)
OFBool printSCPSet(DVConfiguration &cfg, const char *cfgname, DcmDataset *rqDataset, T_DIMSE_Message &rsp, DcmDataset *&rspDataset, OFBool presentationLUTnegotiated, DVPSPresentationLUT_PList &globalPresentationLUTList, DVPSStoredPrint_PList &basicFilmBoxList)
performs a Print SCP Basic Film Session N-SET operation on an instance of this class.
Uint16 getShutterPresentationValue()
gets the shutter presentation value.
static FGPlaneOrientationPatient * createMinimal(const OFString &imageOrientationPatientRowX, const OFString &imageOrientationPatientRowY, const OFString &imageOrientationPatientRowZ, const OFString &imageOrientationPatientColX, const OFString &imageOrientationPatientColY, const OFString &imageOrientationPatientColZ)
Convenience function to create a minimal functional group.
virtual ~OFThread()
destructor.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
const DRTMACParametersSequence & getMACParametersSequence() const
get MACParametersSequence (4ffe,0001)
Definition: drtionpl.h:1517
Appends log events to a file.
Definition: syslogap.h:70
void clear()
clear all internal member variables
DcmLongString DoseReferenceDescription
DoseReferenceDescription (300a,0016) vr=LO, vm=1, type=3.
Definition: drtdrs.h:485
Uint16 element
tag element number
Definition: dctagkey.h:217
void swap(OFFilename &arg)
fast, non-throwing swap function.
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition handleIncomingCommand(T_DIMSE_Message *incomingMsg, const DcmPresentationContextInfo &presInfo)
Handle incoming command set and react accordingly, e.g. sending response via DIMSE_sendXXXResponse().
virtual ~DiOverlay()
destructor
OFCondition getIsocenterToBeamLimitingDeviceDistance(Float32 &value, const unsigned long pos=0) const
get IsocenterToBeamLimitingDeviceDistance (300a,00bb)
Interface class for ConceptCodeSequence (0040,a168)
Definition: drtccs.h:29
const DRTPrimaryFluenceModeSequence & getPrimaryFluenceModeSequence() const
get PrimaryFluenceModeSequence (3002,0050)
Definition: drtbs.h:468
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition getSOPInstanceUIDOfConcatenationSource(OFString &value, const signed long pos)
Get SOP Instance UID of Concatenation Source.
OFCondition getReferencedDoseReferenceNumber(OFString &value, const signed long pos=0) const
get ReferencedDoseReferenceNumber (300c,0051)
OFBool renderPresentationLUTinSCP
presentation LUTs are rendered on SCP side
Definition: dvpssp.h:1110
DSRStringValue & operator=(const DSRStringValue &stringValue)
assignment operator
OFCondition setDoseValue(const OFString &value, const OFBool check=OFTrue)
set DoseValue (3004,0012)
static void cleanup()
cleanup this context group, i.e. delete the internal list of standard coded entries.
DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule & operator=(const DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule ©)
assigment operator
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Reads Anatomic Region Sequence and Primary Anatomic Structure Macro from given item.
virtual ~DcmSignedShort()
destructor
OFCondition addPersonObserver(const OFString &personName, const OFString &organizationName="", const CID7452_OrganizationalRoles &organizationRole=CID7452_OrganizationalRoles(), const CID7453_PerformingRoles &procedureRole=CID7453_PerformingRoles(), const OFBool check=OFTrue)
add content items for TID 1002 (Observer Context) with Observer Type being "Person".
@ CubicCentimeter
(cm3,UCUM,"cubic centimeter"), included from CID 7462
Definition: cid7181.h:74
@ Endoscopy
(ES,DCM,"Endoscopy")
Definition: cid29.h:64
SiMACConstructor & operator=(SiMACConstructor &arg)
private undefined copy assignment operator
Item & getCurrentItem()
get current item in the sequence
OFCondition setReferencedWedgeNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedWedgeNumber (300c,00c0)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmCodeString ContextGroupExtensionFlag
ContextGroupExtensionFlag (0008,010b) vr=CS, vm=1, type=3.
Definition: drtcbars.h:352
const DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence() const
get ConversionSourceAttributesSequence (0020,9172)
Definition: drttreat.h:1197
Interface class for ReferencedInstanceSequence (0008,114a)
Definition: drtris.h:29
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DcmCodeString LongitudinalTemporalEventType
LongitudinalTemporalEventType (0012,0053) vr=CS, vm=1, type=1C.
Definition: drtdose.h:4270
virtual OFCondition getManufacturerModelName(OFString &value, const signed long pos=0) const
Get Manufacturer's Model Name.
DcmFloatingPointSingle RangeModulatorGatingStopValue
RangeModulatorGatingStopValue (300a,0384) vr=FL, vm=1, type=1C.
Definition: drtrmss6.h:199
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition getBeamDoseType(OFString &value, const signed long pos=0) const
get BeamDoseType (300a,0090)
virtual OFCondition sendSTOREResponse(T_ASC_PresentationContextID presID, Uint16 status, const T_DIMSE_C_StoreRQ &request)
Sends back a C-STORE response on the given presentation context, with the designated status,...
virtual int getBits(const int bits=0) const
get number of bits per sample.
Definition: diimage.h:249
DcmObject * m_obj
Pointer to object this search node points to.
Definition: dcpath.h:61
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
Uint16 ImageFrameOrigin
number of starting frame
Definition: diovpln.h:425
char value_type
type that is contained in this
Definition: ofstring.h:813
virtual size_t gotoMatchingNode(const DSRDocumentTreeNodeFilter &filter, const OFBool startFromRoot=OFTrue, const OFBool searchIntoSub=OFTrue)
set internal cursor to a matching node.
const Item & getCurrentItem() const
get current item in the sequence
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
const DRTReferencedSeriesSequence & getReferencedSeriesSequence() const
get ReferencedSeriesSequence (0008,1115)
Definition: drtdose.h:2506
DRTStudiesContainingOtherReferencedInstancesSequence & getStudiesContainingOtherReferencedInstancesSequence()
get StudiesContainingOtherReferencedInstancesSequence (0008,1200)
Definition: drtplan.h:1964
virtual OFCondition write(DcmItem &item)
Writes functional group to item, i.e. writes the Plane Position (Volume) Sequence.
@ DegreesCelsius
(Cel,UCUM,"degrees Celsius")
Definition: cid7181.h:146
unsigned long untrustSignaturesImage
number of untrustworthy signatures in current Image
Definition: dvsighdl.h:206
@ CS_ChineseGBK
GBK: Chinese.
Definition: dsrtypes.h:823
virtual OFCondition setColorSpace(const OFString &value, const OFBool check=OFTrue)
set ColorSpace (0028,2002)
DcmLongString patientID
Module=Image_Box_List, VR=LO, VM=1, Type 2.
Definition: dvpsib.h:371
Item & getItem(const size_t num)
get particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
virtual OFCondition getSliceThickness(Float64 &value, const unsigned long pos=0) const
get SliceThickness (0018,0050)
const DcmPresentationContextList * getPresentationContextList(const OFString &pcName)
get list of presentation contexts given the corresponding symbolic name
~DcmIODTypes()
Private undefined destructor.
Definition: iodtypes.h:138
@ EXS_JPEGProcess1
JPEG Baseline (lossy)
Definition: dcxfer.h:49
virtual ~SiSHA384()
destructor
int pad_
this flag indicates whether the RLE codec must pad encoded data to an even number of bytes (as requir...
Definition: dcrleenc.h:374
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
DiColorOutputPixelTemplate(void *buffer, const DiColorPixel *pixel, const unsigned long count, const unsigned long frame, const int bits1, const int bits2, const int planar, const int inverse)
constructor
Definition: dicoopxt.h:60
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFCondition getXRayTubeCurrent(OFString &value, const signed long pos=0) const
get XRayTubeCurrent (0018,1151)
Uint16 * DataBuffer
pointer to data buffer (will be deleted in the destructor)
Definition: dibaslut.h:298
A class for measurement of time.
Definition: oftimer.h:40
size_t find_last_not_of(const char *s, size_t pos, size_t n) const
scans the current string up to the position pos and determines the highest location,...
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtcbars.h:551
DcmLongString SoftwareVersions
SoftwareVersions (0018,1020) vr=LO, vm=1-n, type=3.
Definition: drtdose.h:4348
const_iterator find(const K &key) const
looks up the given key in this map
Definition: ofmap.h:147
@ UltrasoundBoneDensitometry
(BDUS,DCM,"Ultrasound Bone Densitometry")
Definition: cid29.h:46
virtual OFCondition getStudyInstanceUID(OFString &value, const signed long pos=0) const
get StudyInstanceUID (0020,000d)
double getPixelHeight() const
get pixel's height
Definition: diimage.h:180
virtual OFBool isAffectedBySpecificCharacterSet() const
check if this object is affected by SpecificCharacterSet at any nesting level.
Item & getItem(const size_t num)
get particular item in the sequence
Item EmptyItem
empty default item
Definition: drtrcps.h:329
virtual void resetRules()
Resets rules to their original values.
virtual void clearData()
Clear all data.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DcmTime Time
Time (0040,a122) vr=TM, vm=1, type=1C.
Definition: drtqds.h:363
OFCondition getChannelShieldName(OFString &value, const signed long pos=0) const
get ChannelShieldName (300a,02b4)
virtual ~Item()
destructor
DcmUniversalResourceIdentifierOrLocator PixelDataProviderURL
PixelDataProviderURL (0028,7fe0) vr=UR, vm=1, type=1C.
Definition: drtimage.h:5178
void clear()
reset all member variables to initial state delete all list items.
Definition: dvcache.h:731
virtual ~I2DOutputPlugNewSC()
Virtual Destructor, clean up memory.
queue_storage_type queue
Queue storage.
Definition: queue.h:131
virtual OFCondition setAdmittingDiagnosesDescription(const OFString &value, const OFBool checkValue=OFTrue)
Set Admitting Diagnoses Description.
OFBool ignore_un_modifies
if enabled, no value modifications on attributes having VR of UN are not executed
Definition: mdfdsman.h:246
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
int yy_bs_lineno
The line count.
Definition: vrscanl.h:188
void clear()
clear all internal member variables
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
Class to compute and store the Display lookup table.
Definition: didislut.h:39
static DSRDocumentTreeNode * createDocumentTreeNode(const E_RelationshipType relationshipType, const E_ValueType valueType)
create specified document tree node.
Uint16 getPrintReflectedAmbientLight()
gets the current reflected ambient light setting used with the print Presentation LUT SOP Class.
DVPSCurve(const DVPSCurve ©)
copy constructor
@ AP_UltrasoundSCMF
Ultrasound Single & Multi-Frame with Spatial Calibration (STD-UD-SC-MF-xxxx)
Definition: dcddirif.h:169
virtual ~DRTReferencedTreatmentRecordSequenceInRTGeneralTreatmentRecordModule()
destructor
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
@ ESP_Inverse
shape INVERSE
Definition: diutils.h:292
void inventMissingSeriesLevelAttributes(DcmDirectoryRecord *parent)
invent missing type 1 attributes for all child records (from series level)
OFCondition setURNCodeValue(const OFString &value, const OFBool check=OFTrue)
set URNCodeValue (0008,0120)
size_t getNumberOfItems() const
get number of items in the sequence
static OFCondition parseProfiles(DcmAssociationConfiguration &cfg, OFConfigFile &config)
parses the association configuration profile lists in the config file.
Class for referenced time offset list.
Definition: dsrtcoto.h:41
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition getPatientAge(OFString &value, const signed long pos=0) const
get PatientAge (0010,1010)
OFCondition getTableTopRollAngle(Float32 &value, const unsigned long pos=0) const
get TableTopRollAngle (300a,0144)
const Item & getCurrentItem() const
get current item in the sequence
DcmLongString PerformedProcedureStepDescription
PerformedProcedureStepDescription (0040,0254) vr=LO, vm=1, type=3.
Definition: drtimage.h:5012
virtual OFCondition encode(const Uint16 *pixelData, const Uint32 length, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
compresses the given uncompressed DICOM image and stores the result in the given pixSeq element.
static unsigned int compute(const void *ptr, unsigned long size)
compute CRC for given block of data using a temporary CRC object
virtual DSRImageTreeNode * clone() const
clone this tree node.
const Item & getCurrentItem() const
get current item in the sequence
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtdspcs.h:211
DcmFloatingPointDouble LongitudinalTemporalOffsetFromEvent
LongitudinalTemporalOffsetFromEvent (0012,0052) vr=FD, vm=1, type=3.
Definition: drttreat.h:2831
virtual ~Item()
destructor
Item(const Item ©)
copy constructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DRTRecordedRangeShifterSequence & operator=(const DRTRecordedRangeShifterSequence ©)
assigment operator
DcmIntegerString ReferencedFractionGroupNumber
ReferencedFractionGroupNumber (300c,0022) vr=IS, vm=1, type=3.
Definition: drtimage.h:5316
static OFBool writeToFile(const char *ofname, DcmDataset *dataset)
static helper function that writes the content of the given dataset into a DICOM file (using the DICO...
static void registerCodecs(OFBool pCreateSOPInstanceUID=OFFalse, OFBool pReverseDecompressionByteOrder=OFFalse)
registers RLE decoder.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition read(DcmItem &item)
read elements from sequence item
Item(const Item ©)
copy constructor
const DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence() const
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drttreat.h:1281
EI_Status getStatus() const
get current status information
Definition: dcmimage.h:202
DcmUnsignedLong & operator=(const DcmUnsignedLong &obj)
assignment operator
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Interface class for PrimaryFluenceModeSequence (3002,0050)
Definition: drtpfms.h:28
OFSemaphore(unsigned int numResources)
constructor.
Provides an interface to query properties of all fundamental numeric types.
OFBool isEmpty()
check if sequence is empty
virtual OFCondition getEthnicGroup(OFString &value, const signed long pos=0) const
get EthnicGroup (0010,2160)
IODGeneralStudyModule m_Study
General Study Module.
Definition: iodcommn.h:249
int invertTable(const int flag=0x1)
invert all LUT values.
DRTRequestingServiceCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtos.h:396
Definition: jpeglib12.h:435
table_type m_Table
hash array of lists for color/value pairs
Definition: diqthash.h:125
Helper class containing the reference to the managed object and the reference counter.
Definition: ofmem.h:175
DRTIonControlPointDeliverySequence(const DRTIonControlPointDeliverySequence ©)
copy constructor
void restore_cursor()
restores a previously stored cursor position from the cursor stack.
OFCondition getContextGroupLocalVersion(OFString &value, const signed long pos=0) const
get ContextGroupLocalVersion (0008,0107)
DcmShortString AfterloaderChannelID
AfterloaderChannelID (300a,0273) vr=SH, vm=1, type=3.
Definition: drtchs.h:627
virtual OFCondition setContentDate(const OFString &value, const OFBool checkValue=OFTrue)
Set Content Date.
virtual ~DiMono1Image()
destructor
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the stored date value, is valid
@ BolusArrivalTime
(126371,DCM,"Bolus Arrival Time"), included from CID 4109
Definition: cid7469.h:302
virtual OFCondition selectValue(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
select a coded entry given by its type as the current value
DRTInstitutionCodeSequence & operator=(const DRTInstitutionCodeSequence ©)
assigment operator
DcmShortString CodingSchemeVersion
CodingSchemeVersion (0008,0103) vr=SH, vm=1, type=1C.
Definition: drtgmcs.h:333
OFString UID
instance UID
Definition: dvcache.h:101
virtual void clearData()
Clears all data.
static unsigned int my_sleep(unsigned int seconds)
makes the current process sleep until seconds seconds have elapsed or a signal arrives which is not i...
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtspcs.h:360
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DRTApplicatorGeometrySequence & getApplicatorGeometrySequence()
get ApplicatorGeometrySequence (300a,0431)
Definition: drtas1.h:135
OFVector< SOPInstanceReferenceMacro * > m_ReferencedInstanceSequence
Vector containing the data of all items of the Referenced Instance Sequence.
Definition: iodmacro.h:568
virtual ~DiPixel()
destructor
Definition: dipixel.h:56
OFBool tagExists(const DcmTagKey &key, OFBool searchIntoSub=OFFalse)
check if an element with the given attribute tag exists in the dataset
XMLCSTR getAttributeName(int i=0) const
return ith attribute name
const Item & getItem(const size_t num) const
get particular item in the sequence
E_TransferSyntax getTransferSyntax()
Returns the transfer syntax.
OFBool hasImageLibrary() const
check whether the content item 'Image Library' (TID 1600 - Row 1) is present.
OFVector< IODModule * > m_Modules
Collects all modules of this class for convenience (iteration)
Definition: iodcommn.h:267
static OFBool jobOptionExpectsParameters(const OFString &job)
Checks whether given job expects more values on commandline, e.
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
OFCondition setCodingSchemeDesignator(const OFString &value, const OFBool check=OFTrue)
set CodingSchemeDesignator (0008,0102)
DcmFloatingPointDouble LongitudinalTemporalOffsetFromEvent
LongitudinalTemporalOffsetFromEvent (0012,0052) vr=FD, vm=1, type=3.
Definition: drtdose.h:4268
virtual OFCondition setFrameReferenceDateTime(const OFString &value, const OFBool checkValue=OFTrue)
Set Frame Frame Reference Date Time.
OFBool quotaSystemEnabled
flag indicating whether or not the quota system is enabled
Definition: dcmqrdbi.h:404
virtual T * Find(const T &item) const =0
Tries to find a given object in the set.
DRTApplicatorSequenceInRTImageModule(const DRTApplicatorSequenceInRTImageModule ©)
copy constructor
DcmCodeString m_RespiratoryCyclePosition
Respiratory Cycle Position (CS, 1, 3)
Definition: fgfracon.h:357
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtspcs.h:212
OFCondition getCodeMeaning(OFString &value, const signed long pos=0) const
get CodeMeaning (0008,0104)
OFMap< OFString, DcmTransferSyntaxList * >::const_iterator begin()
const iterator pointing to start of transfer syntax map
unsigned int RLE_bindex_
index of next unused byte in RLE_buff_.
Definition: dcrleenc.h:412
DRTAdditionalDrugSequence & operator=(const DRTAdditionalDrugSequence ©)
assigment operator
virtual OFCondition getTimezoneOffsetFromUTC(OFString &value, const signed long pos=0) const
Get Timeho e Offset from UTC.
DcmUnsignedLongOffset(const DcmUnsignedLongOffset &old)
copy constructor
virtual Hierarchy & getHierarchy() const
Return the the Hierarchy where this Logger instance is attached.
virtual ~DRTPrimaryFluenceModeSequence()
destructor
DcmCodeString BeamType
BeamType (300a,00c4) vr=CS, vm=1, type=1.
Definition: drtibs.h:965
void copy(const OFList< T > &oldList)
inserts a copy of the given list into the current list.
Definition: oflist.h:320
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition prepareBasicImageBox(DcmItem &dset)
writes the attributes managed by this objects that are part of a basic grayscale image box N-SET requ...
virtual OFCondition getLongitudinalTemporalInformationModified(OFString &value, const signed long pos=0) const
get LongitudinalTemporalInformationModified (0028,0303)
const char * getSOPClassUID()
returns the referencedSOPClassUID from the ReferencedImageSequence
DcmIntegerString ReferencedFractionGroupNumber
ReferencedFractionGroupNumber (300c,0022) vr=IS, vm=1, type=3.
Definition: drtfgss.h:202
DcmShortText StructureSetDescription
StructureSetDescription (3006,0006) vr=ST, vm=1, type=3.
Definition: drtdose.h:4610
virtual E_MACType macType() const
returns the type of MAC algorithm computed by this object
Item & operator[](const size_t num)
get particular item in the sequence
Item & operator[](const size_t num)
get particular item in the sequence
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format to a stream
OFBool operator==(const OFUUID &other) const
Compare this instance to another OFUUID instance.
E_ValueStatus getValueAndCheckMin(OFCmdSignedInt &value, const OFCmdSignedInt low, const OFExplicitBool incl=OFTrue)
returns next argument as a signed integer value and checks for given boundary
const DRTReferencedSetupImageSequence & getReferencedSetupImageSequence() const
get ReferencedSetupImageSequence (300a,0401)
Definition: drtpss.h:225
void setACSETimeout(const Uint32 acseTimeout)
Set the timeout used during ACSE messaging protocol.
virtual OFCondition insertMultiFrameAttribs(DcmDataset *targetDataset) const
Inserts attributes for Multi-frame Module.
EnumType
types of generic intensity and size measurements
Definition: cid7469.h:42
pure virtual abstract base class for producers, i.e.
Definition: dcistrma.h:37
@ PSMA617_Ga68
(126759,DCM,"PSMA-617 Ga^68^")
Definition: cid4021.h:240
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
DcmUniqueIdentifier ContextGroupExtensionCreatorUID
ContextGroupExtensionCreatorUID (0008,010d) vr=UI, vm=1, type=1C.
Definition: drtporcs.h:335
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition setGantryPitchAngle(const Float32 value, const unsigned long pos=0)
set GantryPitchAngle (300a,014a)
DcmPersonName PatientName
PatientName (0010,0010) vr=PN, vm=1, type=2.
Definition: drttreat.h:2641
virtual void log(LogLevel ll, const log4cplus::tstring &message, const char *file=NULL, int line=-1)
This generic form is intended to be used by wrappers.
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
OFCondition setReferencedReferenceImageNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedReferenceImageNumber (300c,0007)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmOtherByteOtherWord CertifiedTimestamp
CertifiedTimestamp (0400,0310) vr=OB, vm=1, type=3.
Definition: drtdss.h:233
const DRTPatientSetupSequence & getPatientSetupSequence() const
get PatientSetupSequence (300a,0180)
Definition: drtplan.h:1622
DcmRoleSelectionMap roleselection_
map of role selection lists
Definition: dcasccfg.h:247
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
OFCondition getBrachyApplicationSetupDoseSpecificationPoint(OFVector< Float64 > &value) const
get BrachyApplicationSetupDoseSpecificationPoint (300a,00a2)
DCMTK_DCMNET_EXPORT OFCondition DIMSE_receiveDataSetInMemory(T_ASC_Association *association, T_DIMSE_BlockingMode blocking, int timeout, T_ASC_PresentationContextID *presID, DcmDataset **dataObject, DIMSE_ProgressCallback callback, void *callbackContext)
receive one data set (of instance data) via network from another DICOM application and store in memor...
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual ~DRTPatientSizeCodeSequence()
destructor
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFCondition write(DcmItem &item)
write elements to sequence item
DRTConceptCodeSequence ConceptCodeSequence
ConceptCodeSequence (0040,a168) vr=SQ, vm=1, type=1C.
Definition: drtcims.h:337
Uint16 version_and_time_high
4 bits for the version and the 12 highest bits of the time
Definition: ofuuid.h:124
@ SmallIntestine
(30315005,SCT,"Small intestine")
Definition: cid4031.h:212
DRTROIElementalCompositionSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item(const Item ©)
copy constructor
OFBool canUseDisplayedAreaTrueSize()
checks if "TRUE SIZE" can be used as presentation size mode for the current image and frame (i....
void setPrependLighting(OFBool value)
sets the Prepend Lighting annotation flag.
Definition: dviface.h:1431
static void configure(OFLogger::LogLevel level=OFLogger::WARN_LOG_LEVEL)
set up the logging and enable it
DRTReferencedBolusSequenceInRTIonBeamsModule ReferencedBolusSequence
ReferencedBolusSequence (300c,00b0) vr=SQ, vm=1, type=1C.
Definition: drtibs.h:1041
virtual OFCondition setPatientAge(const OFString &value, const OFBool check=OFTrue)
set PatientAge (0010,1010)
virtual OFCondition setPerformedProcedureStepStartTime(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepStartTime (0040,0245)
const DRTContributingEquipmentSequence & getContributingEquipmentSequence() const
get ContributingEquipmentSequence (0018,a001)
Definition: drttreat.h:1185
DcmLongString MedicalAlerts
MedicalAlerts (0010,2000) vr=LO, vm=1-n, type=3.
Definition: drtimage.h:4936
Class representing the Segmented Property Type Code and Segmented Property Type Code Modifier Code Se...
Definition: segtypes.h:167
OFCondition getTemplateName(OFString &value, const signed long pos=0) const
get TemplateName (300a,0244)
DRTReferencedTreatmentRecordSequenceInRTDoseModule & getReferencedTreatmentRecordSequence()
get ReferencedTreatmentRecordSequence (3008,0030)
Definition: drtdose.h:2548
const DRTGeneticModificationsSequence & getGeneticModificationsSequence() const
get GeneticModificationsSequence (0010,0221)
Definition: drtimage.h:2608
static double getLocalTimeZone()
get the local time zone.
OFCondition setApplicatorOpeningX(const Float32 value, const unsigned long pos=0)
set ApplicatorOpeningX (300a,0434)
const DRTRelatedRTROIObservationsSequence & getRelatedRTROIObservationsSequence() const
get RelatedRTROIObservationsSequence (3006,00a0)
Definition: drtrros.h:209
DRTEquivalentCodeSequence EquivalentCodeSequence
EquivalentCodeSequence (0008,0121) vr=SQ, vm=1, type=3.
Definition: drtpscs.h:347
E_PlanarConfiguration
describes how the decoder should handle planar configuration of decompressed color images.
Definition: djutils.h:110
OFCondition setStringValue(const OFString &stringValue, const OFBool check=OFTrue)
set string value.
virtual OFCondition getReferencedBeamNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedBeamNumber (300c,0006)
double getAnchorPoint_y()
gets the anchor point y value.
DVPSReferencedImage_PList referencedImageList
ReferencedImageSequence, Type 1c.
Definition: dvpsda.h:252
OFCondition getSpatialResolution(Float64 &value, const unsigned long pos=0) const
get SpatialResolution (0018,1050)
DcmShortString StationName
StationName (0008,1010) vr=SH, vm=1, type=3.
Definition: drtimage.h:5043
Uint16 jpls_t2_
JPEG-LS parameter "Threshold 2", 0 if unused.
Definition: djcparam.h:239
int calculateGSDF()
calculate GSDF (array of 1023 luminance/OD values)
DSRTypes::E_GraphicType GraphicType
Graphic Type (associated DICOM VR=CS, type 1)
Definition: dsrscovl.h:273
const DRTPerformedProtocolCodeSequence & getPerformedProtocolCodeSequence() const
get PerformedProtocolCodeSequence (0040,0260)
Definition: drtplan.h:1658
Item(const Item ©)
copy constructor
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtmss.h:340
DcmCodeString ContextIdentifier
ContextIdentifier (0008,010f) vr=CS, vm=1, type=3.
Definition: drtgmcs.h:343
OFCondition gotoNextItem()
goto next item in the sequence
const DRTDeidentificationMethodCodeSequence & getDeidentificationMethodCodeSequence() const
get DeidentificationMethodCodeSequence (0012,0064)
Definition: drttreat.h:1209
DVPSSoftcopyVOI_PList & operator=(const DVPSSoftcopyVOI_PList &)
private undefined assignment operator
size_t find_last_of(char s, size_t pos=OFString_npos) const
determines the highest location, loc, up to pos, such that the character at loc matches the given cha...
size_t capacity() const
returns the size of the allocated storage in the string.
Definition: ofstring.h:443
OFCondition getExternalContourEntryPoint(Float32 &value, const unsigned long pos=0) const
get ExternalContourEntryPoint (300a,0133)
virtual OFCondition getOccupation(OFString &value, const signed long pos=0) const
get Occupation (0010,2180)
DVPSOverlay_PList overlayList
Overlay(s), Module=Overlay_Plane.
Definition: dcmpstat.h:920
virtual OFCondition setDoseUnits(const OFString &value, const OFBool check=OFTrue)
set DoseUnits (3004,0002)
int ImageSize
image size (in bytes)
Definition: dvcache.h:109
OFString opt_deviceSerialNumber
Device Serial Number (VM 1)
Definition: dcencdoc.h:279
virtual DcmObject * clone() const
clone method
Definition: dcdirrec.h:194
OFCondition setNumericContentItemFromValue(const DSRCodedEntryValue &conceptName, const DSRNumericMeasurementValue &numericValue, const DSRCodedEntryValue &measurementUnit, const OFString &annotationText, const OFBool check)
search for a particular NUM content item (given by the concept name) and set its numeric measurement ...
OFBool isEmpty()
check if item is empty
OFBool isEmpty()
check if item is empty
DRTChannelSequence & operator=(const DRTChannelSequence ©)
assigment operator
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual OFVector< TrcTrackSet * > & getTrackSets()
Return Track Sets (from Tractography Results Module)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmIntegerString BlockNumberOfPoints
BlockNumberOfPoints (300a,0104) vr=IS, vm=1, type=1.
Definition: drtibls.h:352
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DRTAssigningFacilitySequence & operator=(const DRTAssigningFacilitySequence ©)
assigment operator
OFCondition setInstitutionalDepartmentName(const OFString &value, const OFBool check=OFTrue)
set InstitutionalDepartmentName (0008,1040)
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given language to the associated coded entry
OFVector< DcmIODTypes::Frame * > m_Frames
Binary frame data.
Definition: segdoc.h:590
OFCondition addItem(Item *&item)
add new item to the end of this sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition write(DcmItem &item)
write elements to sequence item
DSRDocument * pReport
pointer to the current structured reporting object (should never be NULL)
Definition: dviface.h:1604
void clear()
clear additional information
Definition: dsrrefin.h:203
virtual ~Item()
destructor
DRTControlPointSequence ControlPointSequence
ControlPointSequence (300a,0111) vr=SQ, vm=1, type=1.
Definition: drtbs.h:737
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtbrcss.h:331
virtual OFCondition setImageOrientationPatient(const OFString &value, const OFBool check=OFTrue)
set ImageOrientationPatient (0020,0037)
static OFString & getFullNodePath(const DSRXMLCursor &cursor, OFString &stringValue, const OFBool omitCurrent=OFFalse)
get the full path (incl. all predecessors) to the current node
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getBeamType(OFString &value, const signed long pos=0) const
get BeamType (300a,00c4)
DJEncoderLossless()
default constructor
Class for standalone overlay images.
Definition: diovlimg.h:39
a class representing the DICOM value representation 'Signed Long' (SL)
Definition: dcvrsl.h:35
DcmIntegerString AcquisitionNumber
AcquisitionNumber (0020,0012) vr=IS, vm=1, type=3.
Definition: drtimage.h:5080
OFCondition getWindow(double ¢er, double &width)
get current window center and width values
Definition: drmimage.h:219
E_ValueStatus getValue(OFCmdString &value)
returns next argument as a C++ string
virtual ~DRTChannelSourceSequence()
destructor
DiMonoRotateTemplate(const DiMonoPixel *pixel, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int degree)
constructor
Definition: dimorot.h:58
void clear()
clear all internal member variables
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition write(DcmItem &dset)
writes the graphic annotation managed by this object to a DICOM dataset.
virtual void transferInit()
initialize the transfer state of this object.
OFCondition getOrganAtRiskOverdoseVolumeFraction(OFString &value, const signed long pos=0) const
get OrganAtRiskOverdoseVolumeFraction (300a,002d)
virtual OFCondition getLaterality(OFString &value, const signed long pos=0) const
Get Laterality.
OFCondition setContextUID(const OFString &value, const OFBool check=OFTrue)
set ContextUID (0008,0117)
Class representing a segment from the Segment Identification Sequence, as used within the Segmentatio...
Definition: segment.h:37
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition setFractionGroupDescription(const OFString &value, const OFBool check=OFTrue)
set FractionGroupDescription (300a,0072)
DRTXDSRetrievalSequence(const DRTXDSRetrievalSequence ©)
copy constructor
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtrrtps.h:325
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getPatientSex(OFString &value, const signed long pos=0) const
get PatientSex (0010,0040)
DcmLongString IssuerOfPatientID
IssuerOfPatientID (0010,0021) vr=LO, vm=1, type=3.
Definition: drtimage.h:4785
virtual OFVector< CodeSequenceMacro * > & getAnatomicRegionModifier()
Return Anatomic Region Modifier Codes.
virtual OFCondition getFloat32Array(Float32 *&val)
get a pointer to the element value of the current element as type Float32.
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DcmQueryRetrieveGetContext(DcmQueryRetrieveDatabaseHandle &handle, const DcmQueryRetrieveOptions &options, DIC_US priorstatus, T_ASC_Association *origassoc, DIC_US origmsgid, T_DIMSE_Priority prior, T_ASC_PresentationContextID origpresid)
constructor
Definition: dcmqrcbg.h:48
virtual void getTrustedCertDirs(OFList< OFString > &trustedDirs) const
Get directories containing considered to contain trusted certificates.
GeneralAnatomyMacro m_GeneralAnatomyCode
General Anatomy Mandatory Macro.
Definition: segtypes.h:351
Class representing the General Series Module:
Definition: modgeneralseries.h:46
virtual ~DicomDirImagePlugin()
destructor (virtual)
Definition: dcddirif.h:56
void Prev()
Sets the iterator to the previous element in the set.
Definition: ofsetit.h:107
Uint16 m_peerPort
Port of remote application entity (default: 104)
Definition: scu.h:1041
DcmUniversalResourceIdentifierOrLocator URNCodeValue
URNCodeValue (0008,0120) vr=UR, vm=1, type=1C.
Definition: drtssrcs.h:357
OFCondition getApplicationSetupNumber(OFString &value, const signed long pos=0) const
get ApplicationSetupNumber (300a,0234)
virtual OFCondition getPatientOrientation(OFString &value, const signed long pos=0)
Get Patient Orientation.
Item & operator[](const size_t num)
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition addItem(Item *&item)
add new item to the end of this sequence
const DRTReasonForPerformedProcedureCodeSequence & getReasonForPerformedProcedureCodeSequence() const
get ReasonForPerformedProcedureCodeSequence (0040,1012)
Definition: drtimage.h:2896
virtual ~StudiesOtherInstancesItem()
Destructor.
@ GT_Circle
DICOM Graphic Type: CIRCLE.
Definition: dsrtypes.h:671
static DcmTLSCipherMAC getCipherSuiteMAC(size_t idx)
returns the message authentication code (MAC) algorithm used by the ciphersuite with the given index
virtual DSRTimeTreeNode * clone() const
clone this tree node.
OFBool getTargetPrinterSessionLabelAnnotation(const char *targetID)
returns OFTrue if an SESSIONLABELANNOTATION entry for the printer with the given target ID from the c...
OFCondition getFixationEye(OFString &value, const signed long pos=0) const
get FixationEye (300a,0150)
virtual LogLevel getChainedLogLevel() const
Starting from this logger, search the logger hierarchy for a "set" LogLevel and return it.
OFCondition setContextGroupLocalVersion(const OFString &value, const OFBool check=OFTrue)
set ContextGroupLocalVersion (0008,0107)
Interface class for RangeShifterSettingsSequence (300a,0360) in RTIonBeamsSessionRecordModule.
Definition: drtrshs7.h:28
DRTSourceInstanceSequence & getSourceInstanceSequence()
get SourceInstanceSequence (0042,0013)
Definition: drtiontr.h:1791
OFString Description
instance description
Definition: dvcache.h:115
unsigned char * inputBuf_
input ring buffer
Definition: dcostrmz.h:163
@ withoutDescriptors
add image entry without descriptors
Definition: tid1600.h:85
virtual OFCondition setStudyTime(const OFString &value, const OFBool check=OFTrue)
set StudyTime (0008,0030)
OFString StandardSubdirectory
name of the subdirectory that might be used for the "normal" case, i.e. if the name of the subdirecto...
Definition: dstorscp.h:305
void addDocumentOptions(OFCommandLine &cmd)
Add command line options specific for documents to the OFCommandLine object passed to the constructor...
DcmDecimalString TableTopLongitudinalPosition
TableTopLongitudinalPosition (300a,0129) vr=DS, vm=1, type=3.
Definition: drtes.h:552
OFCondition write(DcmItem &item)
write elements to sequence item
static double invGammaCorrection(double n)
Perform inverse sRGB gamma correction, transforms R' to R.
OFBool quietMode() const
check quiet mode
OFCondition write(DcmItem &dset)
writes the list of displayed area selections managed by this object to a DICOM dataset.
OFBool getTargetUseTLS(const char *targetID)
returns the USETLS entry for the storage peer with the given target ID from the configuration file.
const char * getTargetHostname(const char *targetID)
returns the HOSTNAME entry for the communication partner with the given target ID from the configurat...
OFCondition getMetersetExposure(Float64 &value, const unsigned long pos=0) const
get MetersetExposure (3002,0032)
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
virtual ~Item()
destructor
const DRTIconImageSequence & getIconImageSequence() const
get IconImageSequence (0088,0200)
Definition: drtimage.h:2644
virtual ~DJDecompressIJG8Bit()
destructor
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
OFListIterator(DcmPathNode *) end()
Returns iterator pointing to last path component.
OFBool addOption(const char *longOpt, const int valueCount, const char *valueDescr, const char *optDescr, const int flags=0)
adds an item to the list of valid options (without short name)
static const OFString EmptyString
empty string value.
Definition: dsrcitem.h:603
DcmLongString InstitutionName
InstitutionName (0008,0080) vr=LO, vm=1, type=1C.
Definition: drtprsis.h:204
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmUniqueIdentifier referencedSOPInstanceUID
VR=UI, VM=1, Type 1c.
Definition: dvpsri.h:163
T * values_
array that is used for storing the entries in this OFVector
Definition: ofvector.h:73
DRTOperatorIdentificationSequence OperatorIdentificationSequence
OperatorIdentificationSequence (0008,1072) vr=SQ, vm=1, type=3.
Definition: drtimage.h:4996
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DVIFhierarchyStatus updateStatus()
updates hierarchical/review status for all list items.
Definition: dvcache.h:628
int trywrlock()
try to lock the lock for writing
Item & operator=(const Item ©)
assigment operator
virtual OFCondition convertCharacterSet(DcmSpecificCharacterSet &converter)
convert all element values that are contained in this record and that are affected by SpecificCharact...
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
virtual ~DRTApplicatorGeometrySequence()
destructor
OFCondition getCompensatorDescription(OFString &value, const signed long pos=0) const
get CompensatorDescription (300a,02eb)
DcmDate SeriesDate
SeriesDate (0008,0021) vr=DA, vm=1, type=3.
Definition: drtimage.h:4986
size_t getNumberOfItems() const
get number of items in the sequence
Item EmptyItem
empty default item
Definition: drtfsss.h:354
virtual OFCondition setSeriesDate(const OFString &value, const OFBool check=OFTrue)
set SeriesDate (0008,0021)
OFCondition gotoFirstItem()
goto first item in the sequence
OFBool isEmpty()
check if item is empty
E_TransferSyntax xferSyn
transfer syntax enum
Definition: dcxfer.h:316
virtual DcmEVR ident() const
get element type identifier
virtual DcmObject * clone() const
clone method
Definition: dcvras.h:65
@ OF_error
operation has not completed successfully
Definition: ofcond.h:52
virtual OFCondition readSequence(DcmItem &dataset, const size_t flags)
read measured value sequence and numeric value qualifier code sequence from dataset.
OFCondition getMappingResource(OFString &value, const signed long pos=0) const
get MappingResource (0008,0105)
DRTROIElementalCompositionSequence & operator=(const DRTROIElementalCompositionSequence ©)
assigment operator
DcmLongString ManufacturerModelName
ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3.
Definition: drttreat.h:2900
virtual OFCondition setSOPInstanceStatus(const OFString &value, const OFBool check=OFTrue)
set SOPInstanceStatus (0100,0410)
virtual ~DcmApplicationEntity()
destructor
OFCondition setRTImageOrientation(const OFString &value, const OFBool check=OFTrue)
set RTImageOrientation (3002,0010)
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition addOverlay(DcmItem &overlayIOD, Uint16 groupInItem, Uint16 newGroup)
adds a new overlay bitmap.
DSRReferencedSamplePositionList()
default constructor
Definition: jpeglib12.h:121
void incTransferredBytes(Uint32 val)
add to the number of transferred bytes for this object during serialization/deserialization
Definition: dcobject.h:754
static const char * getOpenSSLCipherSuiteName(size_t idx)
returns a ciphersuite name in OpenSSL form
void clear()
clear all internal member variables
DcmLongString PatientDeathDateInAlternativeCalendar
PatientDeathDateInAlternativeCalendar (0010,0034) vr=LO, vm=1, type=3.
Definition: drtiontr.h:2806
OFBool isaString() const
returns true if VR represents a string
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.
Definition: hierarchy.h:65
virtual OFCondition setPatientPosition(const OFString &value, const OFBool check=OFTrue)
set PatientPosition (0018,5100)
virtual CodeWithModifiers & getTrackSetAnatomy()
Get reference to Track Set Anatomical Type Code.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
const char * getVoiTransformationExplanation() const
get description of active VOI transformation
Definition: dimoimg.h:328
double getMaxValue() const
get maximum luminance/OD value from the characteristic curve.
Definition: didispfn.h:190
static OFCondition getNameComponentsFromString(const OFString &dicomName, OFString &lastName, OFString &firstName, OFString &middleName, OFString &namePrefix, OFString &nameSuffix, const unsigned int componentGroup=0)
get name components from specified DICOM person name.
@ EGL_withGL
add group length tags for every group
Definition: dctypes.h:106
Item EmptyItem
empty default item
Definition: drtwrs.h:299
const Item & getItem(const size_t num) const
get particular item in the sequence
OFCondition setSignature(const Uint8 *value, const unsigned long count)
set Signature (0400,0120)
char * buffer_
buffer during file read
Definition: ofconfig.h:525
@ SpinTaggingPerfusionMRSignalIntensity
(110800,DCM,"Spin Tagging Perfusion MR Signal Intensity"), included from CID 7180
Definition: cid7469.h:84
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
double getAbsMaximum() const
get absolute (possible) maximum pixel value after modality transform
Definition: dimomod.h:156
OFCondition getReferencedFrameNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedFrameNumber (0008,1160)
OFCondition setBeamLimitingDevicePositionTolerance(const OFString &value, const OFBool check=OFTrue)
set BeamLimitingDevicePositionTolerance (300a,004a)
DRTOperatorIdentificationSequence OperatorIdentificationSequence
OperatorIdentificationSequence (0008,1072) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2942
void clear()
empty the string of all contents
Definition: ofstring.h:458
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
void disableDigitalSignatureInformation(DVPSObjectType objtype)
disables the digital signature information for the given object type.
T_ASC_Association * m_assoc
Temporarily stores association parameter to be available for the run() method.
Definition: scppool.h:124
virtual void clear()
clear all member variables.
@ Radiofluoroscopy
(RF,DCM,"Radiofluoroscopy")
Definition: cid29.h:112
DRTPrivateDataElementCharacteristicsSequence PrivateDataElementCharacteristicsSequence
PrivateDataElementCharacteristicsSequence (0008,0300) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4695
void clipBorderPixel(const T *src[], T *dest[], const T value)
clip image to specified area and add a border if necessary
Definition: discalet.h:290
DRTProtocolContextSequence ProtocolContextSequence
ProtocolContextSequence (0040,0440) vr=SQ, vm=1, type=3.
Definition: drtspcs.h:370
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition getWedgeID(OFString &value, const signed long pos=0) const
get WedgeID (300a,00d4)
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DcmSequenceOfItems ReferencedPerformedProcedureStep
Series Description Code Sequence: (SQ, 1, 3)
Definition: dsrdoc.h:1414
DRTWADORSRetrievalSequence & operator=(const DRTWADORSRetrievalSequence ©)
assigment operator
const Item & operator[](const size_t num) const
get particular item in the sequence
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
DcmFloatingPointDouble XRayTubeCurrentInmA
XRayTubeCurrentInmA (0018,9330) vr=FD, vm=1, type=3.
Definition: drtes.h:562
STD_NAMESPACE ostream & lockCerr()
acquires a lock on the cerr stream and returns a reference to the stream.
Definition: ofconsol.h:128
DIC_US nFailed
number of failed sub-operations
Definition: dcmqrcbm.h:181
OFCondition setPersonAddress(const OFString &value, const OFBool check=OFTrue)
set PersonAddress (0040,1102)
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtdirs.h:113
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtrps.h:311
DRTGroupOfPatientsIdentificationSequence & getGroupOfPatientsIdentificationSequence()
get GroupOfPatientsIdentificationSequence (0010,0027)
Definition: drtdose.h:2116
OFReadWriteLocker(OFReadWriteLock &lock)
constructor
void clear()
clear all internal member variables
OFCondition getContourSlabThickness(OFString &value, const signed long pos=0) const
get ContourSlabThickness (3006,0044)
virtual OFCondition setCommentsOnThePerformedProcedureStep(const OFString &value, const OFBool check=OFTrue)
set CommentsOnThePerformedProcedureStep (0040,0280)
virtual OFCondition setStructureSetTime(const OFString &value, const OFBool check=OFTrue)
set StructureSetTime (3006,0009)
OFCondition findAndInsertCopyOfElement(const DcmTagKey &tagKey, DcmItem *destItem, const OFBool replaceOld=OFTrue)
find element, create a copy and insert it into the given destination dataset.
size_t getNumberOfItems() const
get number of items in the sequence
OFCondition getMaterialID(OFString &value, const signed long pos=0) const
get MaterialID (300a,00e1)
OFCondition getTableTopVerticalPosition(Float64 &value, const unsigned long pos=0) const
get TableTopVerticalPosition (300a,0128)
@ EXS_DeflatedLittleEndianExplicit
Deflated Explicit VR Little Endian.
Definition: dcxfer.h:87
const Item & getCurrentItem() const
get current item in the sequence
virtual OFCondition getTimezoneOffsetFromUTC(OFString &value, const signed long pos=0) const
get TimezoneOffsetFromUTC (0008,0201)
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getFinalCumulativeMetersetWeight(Float64 &value, const unsigned long pos=0) const
get FinalCumulativeMetersetWeight (300a,010e)
virtual OFCondition setPatientID(const OFString &value, const OFBool check=OFTrue)
set PatientID (0010,0020)
void copy(const T *pixel[3], const unsigned long offset)
copy specified amount of pixel data
Definition: dicocpt.h:79
virtual OFCondition getPerformedProcedureStepDescription(OFString &value, const signed long pos=0) const
get PerformedProcedureStepDescription (0040,0254)
static OFBool isinf(double d)
Determines if the given floating point number is a positive or negative infinity.
DSRTypes::E_CodeValueType CodeValueType
type of 'CodeValue': short (SH), long (UC) or Uniform Resource Name (UR)
Definition: dsrcodvl.h:709
@ Trastuzumab_89Zr
(126512,DCM,"Trastuzumab ^89^Zr")
Definition: cid4021.h:286
OFCondition getCompensatorRows(OFString &value, const signed long pos=0) const
get CompensatorRows (300a,00e7)
DRTConsultingPhysicianIdentificationSequence ConsultingPhysicianIdentificationSequence
ConsultingPhysicianIdentificationSequence (0008,009d) vr=SQ, vm=1, type=3.
Definition: drtiontr.h:2902
void * getDataArrayPtr()
get reference to pointer to internal pixel data.
Definition: dimopxt.h:158
DRTWedgeSequence & operator=(const DRTWedgeSequence ©)
assigment operator
OFCondition getFixationEye(OFString &value, const signed long pos=0) const
get FixationEye (300a,0150)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_CannotChangeRepresentation
Pixel representation cannot be changed to requested transfer syntax.
@ Mm2PerS
(mm2/s,UCUM,"mm2/s"), included from CID 7277
Definition: cid7181.h:118
DRTReferencedStudySequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
size_t copy(char *s, size_t n, size_t pos=0) const
replaces the string designated by s with a copy of a range of characters from the current string.
DcmUniqueIdentifier MappingResourceUID
MappingResourceUID (0008,0118) vr=UI, vm=1, type=3.
Definition: drtpbcs.h:355
DcmSimpleMap()
default constructor
Definition: dcmsmap.h:125
OFCondition read(DcmItem &item)
read elements from sequence item
virtual OFCondition getMeasuredLateralDimension(Float64 &value, const unsigned long pos=0) const
get MeasuredLateralDimension (0010,1024)
OFCondition getRealWorldValueSlope(Float64 &value, const unsigned long pos=0) const
get RealWorldValueSlope (0040,9225)
OFBool isForInternalUseOnly() const
returns true if VR is for internal use only
virtual OFBool operator>=(const OFDate &dateVal) const
comparison operator (greater than or equal)
virtual ~DSRStringValue()
destructor
Implementation of DCMR Template: TID 1001 - Observation Context (and included templates 1002-1004).
Definition: tid1001.h:37
DcmQueryRetrieveIndexDatabaseHandle * pHandle
handle to access database/index file
Definition: dviface.h:1656
DIC_NODENAME peerName
Name of peer.
Definition: scp.h:48
DJEncoderExtended()
default constructor
A class representing an directory entry.
Definition: offilsys.h:366
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFCondition getReferencedRangeModulatorNumber(Sint32 &value, const unsigned long pos=0) const
get ReferencedRangeModulatorNumber (300c,0104)
DcmLongString CodeMeaning
CodeMeaning (0008,0104) vr=LO, vm=1, type=1.
Definition: drtgmcs.h:327
OFCondition addItem(Item *&item)
add new item to the end of this sequence
DVPSannotationUnit getAnnotationUnits()
gets the graphic annotation units.
OFCondition setSourceNumber(const OFString &value, const OFBool check=OFTrue)
set SourceNumber (300a,0212)
OFBool isValid() const
check if item is valid, i.e. not the empty default item
DcmUniqueIdentifier UID
UID (0040,a124) vr=UI, vm=1, type=1C.
Definition: drtpcxs.h:380
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
void clear()
clear all internal member variables
Definition: jpegint12.h:64
virtual OFCondition getItem(DcmPixelItem *&item, const unsigned long num)
access a pixel item from the pixel sequence.
E_TransferState transferState() const
return the current transfer (read/write) state of this object.
Definition: dcobject.h:333
OFCondition setROIName(const OFString &value, const OFBool check=OFTrue)
set ROIName (3006,0026)
virtual OFCondition read(DcmItem &dataset)
read object from dataset
virtual OFCondition setPositionReferenceIndicator(const OFString &value, const OFBool check=OFTrue)
set PositionReferenceIndicator (0020,1040)
OFList< CID7445_DeviceParticipatingRoles > DeviceParticipatingRolesList
type used for storing and managing a list of device participating roles
Definition: tid1001.h:42
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition startReceiver()
starts the network receiver processes (Storage Service Class SCPs).
Implementation of DCMR Context Group: CID 5001 - Countries.
Definition: cid5001.h:33
OFCondition getCodingSchemeVersion(OFString &value, const signed long pos=0) const
get CodingSchemeVersion (0008,0103)
virtual OFBool isRTDVHModulePresent(const OFBool complete=OFFalse)
check whether RTDVHModule (U) is present.
virtual DJEncoder * createEncoderInstance(const DcmRepresentationParameter *toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample) const
creates an instance of the compression library to be used for encoding/decoding.
static OFCondition togglePlanarConfiguration16(Uint16 *pixelData, const size_t numValues, const Uint16 samplesPerPixel, const Uint16 oldPlanarConfig)
toggles Planar Configuration of 16-bit pixel data from "by pixel" to "by plane" and vice versa.
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
Item class.
Definition: drtrbs8.h:36
const DRTPatientSetupSequence & getPatientSetupSequence() const
get PatientSetupSequence (300a,0180)
Definition: drtiontr.h:1521
@ DGM_NoSubdirectory
do not generate any subdirectories
Definition: dstorscp.h:61
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
Class representing the Patient Module:
Definition: modpatient.h:40
DRTStructureSetROISequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
Item(const Item ©)
copy constructor
DCMTK_CMR_EXPORT const OFConditionConst CMR_EC_NoImageLibraryEntryDescriptorsToBeMoved
normal: there are no (common) image library entry descriptors to be moved (to the image group)
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
DRTContextGroupIdentificationSequence & getContextGroupIdentificationSequence()
get ContextGroupIdentificationSequence (0008,0123)
Definition: drtimage.h:2446
static int Interpolation(const T1 *xa, const T2 *ya, const T3_ *y2a, const unsigned int na, const T1 *x, T2 *y, const unsigned int n)
perform cubic spline interpolation for given points.
Definition: displint.h:138
void scaleData(const T *src[], T *dest[], const int interpolate, const T value=0)
choose scaling/clipping algorithm depending on specified parameters.
Definition: discalet.h:187
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition getClinicalTrialProtocolID(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolID (0012,0020)
OFCondition addItem(Item *&item)
add new item to the end of this sequence
virtual OFCondition setSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set SOPClassUID (0008,0016)
unsigned long correctSignaturesImage
number of correct signatures in current Image
Definition: dvsighdl.h:200
virtual int compare(const GeneralAnatomyMacro &rhs) const
Comparison operator that compares the normalized value of this object with a given object of the same...
IODCommonInstanceReferenceModule m_CommonInstanceReferenceModule
Common Instance Reference Module.
Definition: iodcommn.h:264
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmDecimalString CompensatorTransmissionData
CompensatorTransmissionData (300a,00eb) vr=DS, vm=1-n, type=1C.
Definition: drtcos.h:469
virtual OFCondition setOriginalSpecializedSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set OriginalSpecializedSOPClassUID (0008,001b)
~MdfConsoleEngine()
Destructor.
DSRTreeNodeCursor(const DSRTreeNodeCursor< T > &cursor)
copy constructor
Definition: dsrtncsr.h:334
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
const Item & operator[](const size_t num) const
get particular item in the sequence
OFBool isEmpty()
check if item is empty
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFBool isValid() const
check if item is valid, i.e. not the empty default item
int port
TCP/IP port number on which the server is listening.
Definition: dvpsmsg.h:257
static OFBool selectReadableAssociation(DcmTransportConnection *connections[], int connCount, int timeout)
indicates which of the specified transport connections is ready for reading.
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
uid_t pw_uid
the user ID.
Definition: ofpwd.h:94
virtual OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags) const
write temporal coordinates value in XML format
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD
virtual OFCondition setQueryRetrieveView(const OFString &value, const OFBool check=OFTrue)
set QueryRetrieveView (0008,0053)
OFCondition setNominalBeamEnergy(const OFString &value, const OFBool check=OFTrue)
set NominalBeamEnergy (300a,0114)
Uint32 getTargetPrinterNumberOfSmoothingTypes(const char *targetID)
returns the number of distinct values (separated by backslash characters) in the SMOOTHINGTYPE entry ...
DCMTK_DCMSR_EXPORT const OFConditionConst SR_EC_CodedEntryIsExtensionOfContextGroup
normal: a given coded entry is known as an extension of the context group
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
OFCondition setTime(const OFString &value, const OFBool check=OFTrue)
set Time (0040,a122)
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
static const size_t HF_renderConceptNameCodes
external: render concept name codes (default: code meaning only)
Definition: dsrtypes.h:296
const DRTReferencedMeasuredDoseReferenceSequence & getReferencedMeasuredDoseReferenceSequence() const
get ReferencedMeasuredDoseReferenceSequence (3008,0080)
Definition: drttsibs.h:688
void clear()
clear all internal member variables
OFBool isEmpty()
check if item is empty
virtual OFCondition setAdmittingDiagnosesDescription(const OFString &value, const OFBool check=OFTrue)
set AdmittingDiagnosesDescription (0008,1080)
OFCondition getFixationLightPolarAngle(Float32 &value, const unsigned long pos=0) const
get FixationLightPolarAngle (300a,0358)
DRTSegmentedPropertyTypeModifierCodeSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
const DRTOperatorIdentificationSequence & getOperatorIdentificationSequence() const
get OperatorIdentificationSequence (0008,1072)
Definition: drtstrct.h:1416
DcmCodeString StereoPairsPresent
StereoPairsPresent (0022,0028) vr=CS, vm=1, type=3.
Definition: drtimage.h:5243
DVPSCurve()
default constructor
DcmQuantIdent(unsigned long cols)
constructor
Definition: diqtid.h:48
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
@ VolumeEstimatedFromTwoNonCoplanar2DRegions
(121218,DCM,"Volume estimated from two non-coplanar 2D regions"), included from CID 7472
Definition: cid7469.h:402
static OFCondition activateOverlayHelper(DVPSOverlay &ovl, DicomImage &image, OFBool asShutter=OFFalse, Uint16 pvalue=0)
helper method that activates the given overlay in the given image
OFBool compareStringAttributes(DcmItem *dataset, const DcmTagKey &datKey, DcmDirectoryRecord *record, const DcmTagKey &recKey, const OFFilename &sourceFilename, const OFBool errorMsg=OFFalse)
compare string attribute from dataset and record and report any deviation
virtual void close()
Closes the transport connection.
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtspcs.h:352
Item(const Item ©)
copy constructor
OFBool setDateTime(const unsigned int year, const unsigned int month, const unsigned int day, const unsigned int hour, const unsigned int minute, const double second, const double timeZone=0)
set the date/time value.
OFCondition getDeliveryWarningDose(Float64 &value, const unsigned long pos=0) const
get DeliveryWarningDose (300a,0022)
int numberOfSupportedAbstractSyntaxes
number of array fields
Definition: wlmactmg.h:81
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition setPrintIllumination(Uint16 value)
sets the illumination to be used with the print Presentation LUT SOP Class.
const char * getEthnicGroup()
returns the Patient Ethnic Group of the currently selected study.
virtual OFCondition encode(const Uint16 *pixelData, const Uint32 length, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DcmCodecParameter *cp, DcmStack &objStack) const
compresses the given uncompressed DICOM image and stores the result in the given pixSeq element.
virtual unsigned long getVM()
get value multiplicity
static OFBool isDateValid(const unsigned int year, const unsigned int month, const unsigned int day)
check whether the given date is valid.
void clearTLSProfile()
clear the current list of ciphersuites.
DcmShortText SetupImageComment
SetupImageComment (300a,0402) vr=ST, vm=1, type=3.
Definition: drtrsis.h:187
virtual OFCondition readContentItem(DcmItem &dataset, const size_t flags)
read content item (value) from dataset
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition getScanSpotPrescribedIndices(Sint32 &value, const unsigned long pos=0) const
get ScanSpotPrescribedIndices (300a,0391)
const DRTReferencedInstanceSequence & getReferencedInstanceSequence() const
get ReferencedInstanceSequence (0008,114a)
Definition: drtplan.h:1754
const char * getSOPInstanceUID()
gets the current SOP Instance UID.
@ DCMSCP_TOO_MANY_ASSOCIATIONS
Too many associations (SCP cannot handle a further association)
Definition: scp.h:77
@ ERW_notInitialized
object not prepared for transfer operation
Definition: dctypes.h:140
DicomImage * currentImage
a pointer to the dcmimage representation of the image to which the presentation state is currently ap...
Definition: dvpstat.h:1206
static void * createPackedBitmap(const void *buffer, const unsigned long size, const unsigned long count, const int alloc, const int stored)
create packed bitmap (e.g.
OFString getFilename() const
Returns filename of the file that is currently loaded.
DcmQueryRetrieveIndexDatabaseHandleFactory(const DcmQueryRetrieveIndexDatabaseHandleFactory &other)
private undefined copy constructor
OFCondition gotoFirstItem()
goto first item in the sequence
DRTFractionGroupSequence(const DRTFractionGroupSequence ©)
copy constructor
Item & getCurrentItem()
get current item in the sequence
DcmShortString MaterialID
MaterialID (300a,00e1) vr=SH, vm=1, type=2.
Definition: drtibls.h:364
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
virtual OFCondition write(DcmItem &dataset)
write object to dataset
virtual OFCondition setReferencedBeamNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedBeamNumber (300c,0006)
static OFDateTime getCurrentDateTime()
get the current system date and time
OFCondition setMappingResourceUID(const OFString &value, const OFBool check=OFTrue)
set MappingResourceUID (0008,0118)
const char * getTargetAETitle(const char *targetID)
returns the AETITLE entry for the communication partner with the given target ID from the configurati...
OFCondition addAnnotationBox(const char *instanceuid, const char *text, Uint16 position)
creates a new annotation object and sets the content of this annotation object.
const DRTStrainSourceRegistryCodeSequence & getStrainSourceRegistryCodeSequence() const
get StrainSourceRegistryCodeSequence (0010,0215)
Definition: drtsss.h:120
Interface class for BlockSequence (300a,00f4) in RTBeamsModule.
Definition: drtbl2.h:28
OFBool ignore_errors_option
ignore errors option
Definition: mdfconen.h:160
@ Median
(373099004,SCT,"Median")
Definition: cid7464.h:54
virtual void printCodes(STD_NAMESPACE ostream &stream) const
print details on coded entries that are contained in this context group.
XMLCSTR updateText_WOSD(XMLSTR lpszNewValue, int i=0)
if the text to update is missing, a new one will be added
OFCondition getGantryAngle(Float64 &value, const unsigned long pos=0) const
get GantryAngle (300a,011e)
OFCondition getCertifiedTimestamp(Uint8 *&value, unsigned long *count=NULL) const
get CertifiedTimestamp (0400,0310)
virtual OFCondition addModifier(const CodeSequenceMacro &modifier)
Adds modifier code.
@ R2Star
(126395,DCM,"R2*"), included from CID 7180
Definition: cid7469.h:250
DcmLongString BlockName
BlockName (300a,00fe) vr=LO, vm=1, type=3.
Definition: drtibls.h:348
int setMinMaxWindow(const int idx=0)
set automatically calculated minimum/maximum window.
Definition: dcmimage.h:627
a class representing the DICOM value representation 'Long String' (LO)
Definition: dcvrlo.h:38
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_InvalidCharacter
Invalid character, e.g. non-ASCII character used but no Specific Character Set defined.
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
OFCmdUnsignedInt maxReceivePDULength
number of bytes per PDU we can receive
Definition: dcmqrtis.h:273
@ THK5317_F18
(C4550127,UMLS,"THK5317 F^18^")
Definition: cid4021.h:280
T * getChild() const
get pointer to first child node
Definition: dsrtncsr.h:849
OFCondition setBeamDosePointDepth(const Float32 value, const unsigned long pos=0)
set BeamDosePointDepth (300a,0088)
DVPSInstanceType getType() const
gets type of all instances in the series
Definition: dvcache.h:594
static void printContentItemErrorMessage(const char *action, const OFCondition &result, const DSRDocumentTreeNode *node, const char *location=NULL)
print an error message for the current content item.
Class for checking the relationship content constraints of the Radiopharmaceutical Radiation Dose SR ...
Definition: dsrrrdcc.h:43
pure virtual base class for a timestamp client.
Definition: sitstamp.h:40
const Item & operator[](const size_t num) const
get particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmLongString AccessoryCode
AccessoryCode (300a,00f9) vr=LO, vm=1, type=3.
Definition: drtrlsds.h:151
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
void setMaxReceivePDULength(const Uint32 maxRecPDU)
Set maximum PDU length (to be received by SCU)
XMLNode(struct XMLNodeDataTag *pParent, XMLSTR lpszName, char isDecl)
Constructors are protected, so use instead one of: XMLNode::parseString, XMLNode::parseFile,...
E_RelationshipType getRelationshipType() const
get relationship type.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtras.h:264
OFListIterator(Item *) CurrentItem
currently selected item
virtual OFCondition getInstitutionAddress(OFString &value, const signed long pos=0) const
get InstitutionAddress (0008,0081)
size_t size() const
get number of text objects in this list.
Definition: dvpstxl.h:85
virtual DcmItem * getItem(const unsigned long num)
access an item from the sequence.
OFCondition gotoNextItem()
select the next item in the list.
const Item & getItem(const size_t num) const
get particular item in the sequence
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtads.h:351
General purpose class hiding constants from the global namespace.
Definition: dctypes.h:173
DcmUnlimitedCharacters LongCodeValue
LongCodeValue (0008,0119) vr=UC, vm=1, type=1C.
Definition: drtrrpcs.h:349
OFCondition setSourceToApplicatorMountingPositionDistance(const Float32 value, const unsigned long pos=0)
set SourceToApplicatorMountingPositionDistance (300a,0436)
virtual OFCondition setEndCumulativeMetersetWeight(const OFString &value, const OFBool check=OFTrue)
set EndCumulativeMetersetWeight (300c,0009)
OFVector< TrcMeasurement * > m_Measurements
Measurements for this Track Set.
Definition: trctrackset.h:452
OFBool isEmpty()
check if item is empty
CID5001_Countries(const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse)
constructor
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setMappingResourceName(const OFString &value, const OFBool check=OFTrue)
set MappingResourceName (0008,0122)
Interface class for RangeShifterSettingsSequence (300a,0360) in RTIonBeamsModule.
Definition: drtrshs6.h:28
virtual OFCondition setStrainNomenclature(const OFString &value, const OFBool check=OFTrue)
set StrainNomenclature (0010,0213)
OFCondition setPrinterMediumType(const char *value)
sets the (optional) print medium type.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition setFixationDeviceLabel(const OFString &value, const OFBool check=OFTrue)
set FixationDeviceLabel (300a,0194)
DRTConversionSourceAttributesSequence & getConversionSourceAttributesSequence()
get ConversionSourceAttributesSequence (0020,9172)
Definition: drtdose.h:2020
const char * getGraphicLayerName(size_t idx)
gets the unique name of the graphic layer with the given index.
virtual ~IODImagePixelBase()
Destructor.
OFCondition setRangeModulatorDescription(const OFString &value, const OFBool check=OFTrue)
set RangeModulatorDescription (300a,034a)
OFCondition getRTImagePlane(OFString &value, const signed long pos=0) const
get RTImagePlane (3002,000c)
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition read(DcmItem &item)
read elements from sequence item
OFBool getVerbosePCMode() const
Returns the verbose presentation context mode configured specifying whether details on the presentati...
virtual OFCondition putSint32(const Sint32 val, const unsigned long pos=0)
insert into the element value a copy of the given Sint32 value.
DcmLongString * errorComment
error comment
Definition: wlds.h:68
@ NuclearMedicine
(NM,DCM,"Nuclear Medicine")
Definition: cid29.h:86
OFBool isEmpty()
check if sequence is empty
DcmShortString BlockTrayID
BlockTrayID (300a,00f5) vr=SH, vm=1, type=3.
Definition: drtbl2.h:364
virtual ~SiNullProfile()
destructor
Definition: sinullpr.h:45
virtual OFCondition setLossyImageCompressionMethod(const OFString &value, const OFBool check=OFTrue)
set LossyImageCompressionMethod (0028,2114)
IODCommonInstanceReferenceModule()
Constructor.
virtual void Resize(unsigned int newSize)
Resizes the set.
Definition: ofset.h:158
DSRDocumentTreeNode(const E_RelationshipType relationshipType, const E_ValueType valueType)
constructor.
OFCondition getActiveSourceDiameter(Float64 &value, const unsigned long pos=0) const
get ActiveSourceDiameter (300a,0218)
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
DcmDecimalString CompensatorPixelSpacing
CompensatorPixelSpacing (300a,00e9) vr=DS, vm=2, type=1.
Definition: drtcos.h:461
Item & operator=(const Item ©)
assigment operator
virtual OFCondition setTimezoneOffsetFromUTC(const OFString &value, const OFBool check=OFTrue)
set TimezoneOffsetFromUTC (0008,0201)
@ EXS_RLELossless
Run Length Encoding (lossless)
Definition: dcxfer.h:85
OFBool operator!=(const DcmTagKey &key) const
negation operator.
Definition: dctagkey.h:390
virtual ~SiCertificate()
destructor
DcmDateTime ContextGroupVersion
ContextGroupVersion (0008,0106) vr=DT, vm=1, type=1C.
Definition: drtpbcs.h:341
virtual ~DSRIODConstraintChecker()
destructor
DRTPrimaryFluenceModeSequence & operator=(const DRTPrimaryFluenceModeSequence ©)
assigment operator
virtual OFCondition setStudyInstanceUID(const OFString &value, const OFBool check=OFTrue)
set StudyInstanceUID (0020,000d)
virtual void notifyReleaseRequest()
Overwrite this function to be notified about an incoming association release request.
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
DRTSourceInstanceSequence SourceInstanceSequence
SourceInstanceSequence (0042,0013) vr=SQ, vm=1, type=3.
Definition: drttreat.h:2962
DcmDate LastMenstrualDate
LastMenstrualDate (0010,21d0) vr=DA, vm=1, type=3.
Definition: drtimage.h:4944
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
const DRTSeriesDescriptionCodeSequence & getSeriesDescriptionCodeSequence() const
get SeriesDescriptionCodeSequence (0008,103f)
Definition: drttreat.h:1665
virtual OFCondition setPatientName(const OFString &value, const OFBool check=OFTrue)
set PatientName (0010,0010)
virtual ~I2DBmpSource()
Destructor, frees some memory.
static const char * temporalRangeTypeToEnumeratedValue(const E_TemporalRangeType temporalRangeType)
convert temporal range type to DICOM enumerated value
OFCondition read(DcmItem &item)
read elements from sequence item
DcmFloatingPointSingle IsocenterToBeamLimitingDeviceDistance
IsocenterToBeamLimitingDeviceDistance (300a,00bb) vr=FL, vm=1, type=2.
Definition: drtiblds.h:178
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
DcmCodeString LossyImageCompressionMethod
LossyImageCompressionMethod (0028,2114) vr=CS, vm=1-n, type=3.
Definition: drtimage.h:5102
virtual ~IODSegmentationSeriesModule()
Destructor.
gid_t gr_gid
the group ID.
Definition: ofgrp.h:90
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
Interface class for ReferencedBolusSequence (300c,00b0) in RTBeamsModule.
Definition: drtrbos1.h:28
DcmDate MostRecentTreatmentDate
MostRecentTreatmentDate (3008,0056) vr=DA, vm=1, type=2.
Definition: drttreat.h:2941
Item & operator=(const Item ©)
assigment operator
Item & getItem(const size_t num)
get particular item in the sequence
virtual OFCondition read(DcmItem &dataset)
Read Parametric Map attributes (all those handled by this class) from given item.
DCMTK_DCMDATA_EXPORT const int numberOfDcmImageSOPClassUIDs
number of entries in dcmImageSOPClassUIDs
static OFLogger getLogger(const char *name)
create a new logger object.
virtual OFCondition getSeriesNumber(Sint32 &value, const unsigned long pos=0) const
get SeriesNumber (0020,0011)
DJCodecEncoder()
default constructor
OFCondition gotoNextItem()
goto next item in the sequence
const Item & getItem(const size_t num) const
get particular item in the sequence
virtual OFCondition setInstanceCreatorUID(const OFString &value, const OFBool check=OFTrue)
set InstanceCreatorUID (0008,0014)
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmCodeString SOPInstanceStatus
SOPInstanceStatus (0100,0410) vr=CS, vm=1, type=3.
Definition: drttreat.h:2998
DcmUnsignedShort PreferredPlaybackSequencing
PreferredPlaybackSequencing (0018,1244) vr=US, vm=1, type=3.
Definition: drtimage.h:5212
const Item & getItem(const size_t num) const
get particular item in the sequence
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getBitsStored(Uint16 &value, const unsigned long pos=0) const
get BitsStored (0028,0101)
DcmShortString CodingSchemeDesignator
CodingSchemeDesignator (0008,0102) vr=SH, vm=1, type=1C.
Definition: drtdcs.h:331
virtual OFCondition getClinicalTrialSiteName(OFString &value, const signed long pos=0) const
get ClinicalTrialSiteName (0012,0031)
DcmDirectoryRecord * RootRec
root directory record of this DICOMDIR
Definition: dcdicdir.h:215
DSRDocumentTree DocumentTree
SR document tree.
Definition: dsrdoc.h:1292
@ VelocityEncoded
(113070,DCM,"Velocity encoded"), included from CID 7180
Definition: cid7469.h:86
virtual OFCondition getClinicalTrialProtocolName(OFString &value, const signed long pos=0) const
get ClinicalTrialProtocolName (0012,0021)
virtual OFCondition setDoubleFloatRealWorldValueFirstValueMapped(const Float64 value, const OFBool checkValue=OFTrue)
Set Double Float Real World Value First Value Mapped.
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition setPatientSupportAngle(const OFString &value, const OFBool check=OFTrue)
set PatientSupportAngle (300a,0122)
OFCondition read(DcmItem &dset)
reads a list of annotations (AnnotationContentSequence) from a DICOM dataset.
void setHostLookupEnabled(const OFBool mode)
Enables or disables looking up the host name from a connecting system.
virtual DcmEVR ident() const
return identifier for this class.
Definition: dcsequen.h:124
OFBool warnAboutInconsistentAttributes(DcmDirectoryRecord *record, DcmItem *dataset, const OFFilename &sourceFilename, const OFBool abortCheck=OFFalse)
check if all the attributes in record match the values in dataset and warn if not
OFBool setTime(const OFTime &timeVal)
set the time component to the specified time.
OFBool isEmpty()
check if sequence is empty
@ Skewness
(126051,DCM,"Skewness")
Definition: cid7464.h:62
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual OFCondition decode(Uint8 *compressedFrameBuffer, Uint32 compressedFrameBufferSize, Uint8 *uncompressedFrameBuffer, Uint32 uncompressedFrameBufferSize, OFBool isSigned)
suspended decompression routine.
DRTProcedureCodeSequence ProcedureCodeSequence
ProcedureCodeSequence (0008,1032) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2857
virtual OFCondition setRadiationMachineName(const OFString &value, const OFBool check=OFTrue)
set RadiationMachineName (3002,0020)
static CodeList & getCodes()
get list of standard coded entries that are managed by this context group.
virtual ~Item()
destructor
void deleteOutputData() const
delete internal memory buffer used for rendered images.
Definition: dcmimage.h:480
OFBool operator!=(const DSRListOfItems< T > &lst) const
comparison operator "not equal"
Definition: dsrtlist.h:128
void renderHTMLPatientData(STD_NAMESPACE ostream &stream, const size_t flags)
render patient name, sex, birthdate and ID in HTML/XHTML format
Item & operator=(const Item ©)
assigment operator
OFBool isEmpty()
check if sequence is empty
void updateAttributes()
update various DICOM attributes
DRTRecordedBlockSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
OFCondition setMappingResource(const OFString &value, const OFBool check=OFTrue)
set MappingResource (0008,0105)
OFCondition setRadiationType(const OFString &value, const OFBool check=OFTrue)
set RadiationType (300a,00c6)
OFCondition read(DcmItem &item)
read elements from sequence item
DcmPersonName ConsultingPhysicianName
ConsultingPhysicianName (0008,009c) vr=PN, vm=1-n, type=3.
Definition: drtiontr.h:2900
DcmDate SeriesDate
SeriesDate (0008,0021) vr=DA, vm=1, type=3.
Definition: drtdose.h:4283
DcmUnsignedLong(const DcmUnsignedLong &old)
copy constructor
Item(const Item ©)
copy constructor
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtpbcs.h:345
DRTUDISequence UDISequence
UDISequence (0018,100a) vr=SQ, vm=1, type=3.
Definition: drtstrct.h:2994
DRTIssuerOfAdmissionIDSequence & getIssuerOfAdmissionIDSequence()
get IssuerOfAdmissionIDSequence (0038,0014)
Definition: drtiontr.h:1395
MandatoryViewAndSliceProgressionDirectionMacro(IODComponent *parent=NULL)
Constructor.
@ EVT_Implicit
implicit VR encoding
Definition: dcxfer.h:143
static OFCondition setEnhancedEncodingMode(DSRCodedEntryValue &codedEntryValue)
set the "Enhanced Encoding Mode" for a given coded entry
OFCondition getMeasuredDoseType(OFString &value, const signed long pos=0) const
get MeasuredDoseType (3008,0014)
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
DRTBreedRegistrationSequence & getBreedRegistrationSequence()
get BreedRegistrationSequence (0010,2294)
Definition: drttreat.h:1119
void clear()
clear all internal member variables
unsigned int UsedBits
number of used bits
Definition: dimomod.h:258
virtual OFCondition getFloat32Array(Float32 *&floatVals)
get reference to stored float data
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
DSRTemporalCoordinatesValue(const DSRTypes::E_TemporalRangeType temporalRangeType)
constructor
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
void rewind()
sets the file position indicator for the stream pointed to by stream to the beginning of the file.
Definition: offile.h:589
OFBool hasTrackingUniqueIdentifier() const
check whether the 'Tracking Unique Identifier' content item (TID 1411 - Row 3) is present.
@ _75_Bromine
(17910003,SCT,"^75^Bromine")
Definition: cid4020.h:94
OFBool isEmpty()
check if sequence is empty
OFCondition gotoNextItem()
goto next item in the sequence
DcmIntegerString BlockNumberOfPoints
BlockNumberOfPoints (300a,0104) vr=IS, vm=1, type=2.
Definition: drtbl2.h:358
DRTTreatmentSessionIonBeamSequence TreatmentSessionIonBeamSequence
TreatmentSessionIonBeamSequence (3008,0021) vr=SQ, vm=1, type=1.
Definition: drtiontr.h:3114
virtual OFCondition getAccessionNumber(OFString &value, const signed long pos=0) const
get AccessionNumber (0008,0050)
OFBool attributesSigned(DcmItem &item, DcmAttributeTag &tagList) const
checks whether any attribute mentioned in the tag list is affected by digital signatures.
DVPSTextObject * getTextObject(size_t idx)
returns a pointer to the text object with the given index or NULL if it does not exist.
OFString & operator=(const OFString &rhs)
assigns the input string to the current string.
virtual OFBool isAllowableMAC(const SiMAC &mac) const
checks whether the given MAC object can be used with this security profile.
Item & operator=(const Item ©)
assigment operator
virtual ~DcmDirectoryRecord()
destructor
DRTReferencedBeamSequenceInRTFractionSchemeModule ReferencedBeamSequence
ReferencedBeamSequence (300c,0004) vr=SQ, vm=1, type=1C.
Definition: drtfgs.h:340
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition write(DcmItem &item)
write elements to sequence item
Item & operator=(const Item ©)
assigment operator
DcmDateTime InstanceCoercionDateTime
InstanceCoercionDateTime (0008,0015) vr=DT, vm=1, type=3.
Definition: drtiontr.h:3161
const OFString TransferSyntaxUID
Transfer Syntax UID of the SOP instance to be transferred.
Definition: dstorscu.h:416
DcmFileProducer(const DcmFileProducer &)
private unimplemented copy constructor
@ StandardizedUptakeValueBodySurfaceArea
(cm2/ml{SUVbsa},UCUM,"Standardized Uptake Value body surface area"), included from CID 85
Definition: cid7181.h:88
@ Bronchus
(955009,SCT,"Bronchus")
Definition: cid4031.h:66
OFBool isEmpty()
check if item is empty
Item & getItem(const size_t num)
get particular item in the sequence
unsigned long createDIB(void *&data, const unsigned long size, const Uint16 width, const Uint16 height, const unsigned long frame, const int fromBits, const int toBits, const int mode, const int upsideDown, const int padding) const
create true color (24/32 bit) bitmap for MS Windows.
Definition: dicopxt.h:251
void addGeneralOptions(OFCommandLine &cmd)
Add general command line options to the OFCommandLine object passed to the constructor.
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getMeasurementUnit(DSRCodedEntryValue &measurementUnit) const
get copy of measurement unit
DcmUnsignedShort RealWorldValueFirstValueMapped
RealWorldValueFirstValueMapped (0040,9216) vr=US/SS, vm=1, type=1C.
Definition: drtrwvms.h:268
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtas7.h:343
virtual OFCondition getDose(double &result, unsigned int x, unsigned int y, unsigned int frame=0) const
get the dose information for a single pixel.
Template class to scale monochrome images (on pixel data level).
Definition: dimosct.h:44
const T & at(size_type i) const
access an entry by index.
Definition: ofvector.h:348
@ ConsultingPhysician
(C1441532,UMLS,"Consulting Physician")
Definition: cid7452.h:82
virtual OFCondition setEthnicGroup(const OFString &value, const OFBool check=OFTrue)
set EthnicGroup (0010,2160)
@ EVR_UV
unsigned 64-bit very long
Definition: dcvr.h:219
OFCondition getContextIdentifier(OFString &value, const signed long pos=0) const
get ContextIdentifier (0008,010f)
DRTConsultingPhysicianIdentificationSequence & getConsultingPhysicianIdentificationSequence()
get ConsultingPhysicianIdentificationSequence (0008,009d)
Definition: drtstrct.h:1206
virtual ~Item()
destructor
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtdcs.h:536
DcmCodeString LongitudinalTemporalInformationModified
LongitudinalTemporalInformationModified (0028,0303) vr=CS, vm=1, type=3.
Definition: drttreat.h:3016
DRTPatientSetupSequence::Item & getPatientSetup(Sint32 setupNumber)
find a patient setup by its patient setup number.
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition getPrivateDataElementValueMultiplicity(Uint32 &value, const unsigned long pos=0) const
get PrivateDataElementValueMultiplicity (0008,0309)
virtual OFCondition getPatientState(OFString &value, const signed long pos=0) const
get PatientState (0038,0500)
@ EVR_FD
float double-precision
Definition: dcvr.h:147
virtual unsigned long getSize() const
returns the size of a MAC in bytes.
OFCondition setRedPaletteColorLookupTableData(const Uint16 *value, const unsigned long count)
set RedPaletteColorLookupTableData (0028,1201)
OFCondition getBluePaletteColorLookupTableDescriptor(Uint16 &value, const unsigned long pos=0) const
get BluePaletteColorLookupTableDescriptor (0028,1103)
virtual OFCondition getPatientPosition(OFString &value, const signed long pos=0) const
get PatientPosition (0018,5100)
DRTIonRangeCompensatorSequence & operator=(const DRTIonRangeCompensatorSequence ©)
assigment operator
static DSRCodedEntryValue getCodedEntry(const EnumType value, const OFBool enhancedEncodingMode=OFFalse)
map a given type to the associated coded entry
OFBool isValid() const
check if item is valid, i.e. not the empty default item
ReferencedSOPSequenceItem(OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL)
Constructor.
const Item & getCurrentItem() const
get current item in the sequence
OFBool isEmpty()
check if sequence is empty
const Item & getCurrentItem() const
get current item in the sequence
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtccs.h:533
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getWedgeAngle(OFString &value, const signed long pos=0) const
get WedgeAngle (300a,00d5)
OFCondition getCumulativeMetersetWeight(OFString &value, const signed long pos=0) const
get CumulativeMetersetWeight (300a,0134)
DcmUnsignedShort BlockSlabNumber
BlockSlabNumber (300a,0443) vr=US, vm=1, type=1.
Definition: drtbss.h:153
void clear()
reset the object to initial state.
void renderHTMLReferenceList(STD_NAMESPACE ostream &stream, DSRReferencedInstanceList &refList, const size_t flags)
render list of referenced SOP instances in HTML/XHTML format
@ Esophagus
(32849002,SCT,"Esophagus")
Definition: cid4031.h:92
DCMTK_DCMSIGN_EXPORT const OFConditionConst SI_EC_CertificateDoesNotMatchPrivateKey
certificate and private key do not match
virtual OFCondition setGreenPaletteColorLookupTableDescriptor(const Uint16 value, const unsigned long pos=0)
set GreenPaletteColorLookupTableDescriptor (0028,1102)
Interface class for ReferencedStructureSetSequence (300c,0060)
Definition: drtrsss.h:28
virtual OFCondition checkForCANCEL(T_ASC_PresentationContextID presID, const Uint16 messageID)
Check for C-CANCEL.
static OFCondition create(const OFString &sopClassUID, const OFString &sopInstanceUID, const OFVector< Uint16 > &refFramesOrSegments, ImageSOPInstanceReferenceMacro *&result)
Creates an ImageSOPInstanceReferenceMacro object with frame or segment references from required infor...
virtual int processNextFrames(const unsigned long fcount)
process next couple of frames
IODEnhGeneralEquipmentModule m_EnhancedGeneralEquipmentModule
Enhanced General Equipment Module.
Definition: trctractographyresults.h:274
TID1501_Measurements & getIndividualMeasurements() const
get individual measurements of this report as defined by TID 1501 (Measurement Group),...
Definition: tid1500.h:216
virtual OFCondition setQueryRetrieveView(const OFString &value, const OFBool check=OFTrue)
set QueryRetrieveView (0008,0053)
virtual OFCondition setPerformedProcedureStepID(const OFString &value, const OFBool check=OFTrue)
set PerformedProcedureStepID (0040,0253)
IOD_ENHUSIMAGETYPE
Enhanced US Image Module: Image Type (first value)
Definition: iodtypes.h:120
OFBool stringsAreCopies
true if strings are copies (i.e. should be deleted upon destruction)
Definition: dcdicent.h:388
@ DW
(126222,DCM,"D-W"), included from CID 7180
Definition: cid7469.h:198
OFCondition getControlPointIndex(Sint32 &value, const unsigned long pos=0) const
get ControlPointIndex (300a,0112)
virtual OFCondition setReferringPhysicianName(const OFString &value, const OFBool check=OFTrue)
set ReferringPhysicianName (0008,0090)
Item(const Item ©)
copy constructor
DiDisplayFunction(const double val_min, const double val_max, const unsigned long count=256, const E_DeviceType deviceType=EDT_Monitor, const signed int ord=0)
constructor, compute luminance/OD values automatically within the specified range.
OFExplicitBool(explicit OFBool value)
Construct an OFExplicitBool object from an explicit OFBool value.
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getSpecifiedTreatmentTime(OFString &value, const signed long pos=0) const
get SpecifiedTreatmentTime (3008,003a)
OFCondition getMaterialID(OFString &value, const signed long pos=0) const
get MaterialID (300a,00e1)
virtual ~DRTRecordedSnoutSequence()
destructor
void clear()
clear all internal member variables
< metafunction > OFtuple_size
A metafunction to determine the size of a tuple.
Definition: ofutil.h:483
OFCondition getCodingSchemeDesignator(OFString &value, const signed long pos=0) const
get CodingSchemeDesignator (0008,0102)
OFCondition getExposureTime(Sint32 &value, const unsigned long pos=0) const
get ExposureTime (0018,1150)
template class that maps a color image into a palette color image with given color palette.
Definition: diqtcmap.h:49
OFCondition write(DcmItem &item)
write elements to sequence item
virtual OFCondition getNumberOfFractionsPlanned(OFString &value, const signed long pos=0) const
get NumberOfFractionsPlanned (300a,0078)
@ ECC_lossyYCbCr
encode color images in YCbCr if lossy JPEG.
Definition: djutils.h:133
OFBool isValid() const
check if item is valid, i.e. not the empty default item
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0) const
get ReferencedSOPInstanceUID (0008,1155)
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtics.h:339
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
searchPropertyEqual(const type &expected, funcType func)
Constructor.
Definition: drmsrch.h:75
DiImage * createMono(const double dummy1, const double dummy2, const double dummy3) const
create monochrome copy of the current image.
OFCondition setRealWorldValueMap(const DSRCompositeReferenceValue &valueMap, const OFBool check=OFTrue)
set the value of the 'Real World Value Map used for measurement' content item (TID 300 - Row 18).
unsigned long corruptSignaturesSR
number of corrupt signatures in current SR
Definition: dvsighdl.h:194
virtual OFCondition getInstitutionalDepartmentName(OFString &value, const signed long pos=0) const
Get Institutional Department Name.
@ CLR1404_I131
(126716,DCM,"CLR1404 I^131^")
Definition: cid4021.h:94
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
virtual OFCondition getPhysiciansOfRecord(OFString &value, const signed long pos=0) const
get PhysiciansOfRecord (0008,1048)
virtual OFCondition getPatientSpeciesDescription(OFString &value, const signed long pos=0) const
get PatientSpeciesDescription (0010,2201)
const DRTReferencedReferenceImageSequenceInRTBrachyApplicationSetupsModule & getReferencedReferenceImageSequence() const
get ReferencedReferenceImageSequence (300c,0042)
Definition: drtass.h:209
size_t firstSize
The size in bytes of the first value, will be zero if the argument is an open range with no definite ...
Definition: dcmatch.h:86
OFCondition setWedgeOrientation(const OFString &value, const OFBool check=OFTrue)
set WedgeOrientation (300a,00d8)
OFListIterator(Item *) CurrentItem
currently selected item
OFCondition setParameterSequencePointer(const OFString &value, const OFBool check=OFTrue)
set ParameterSequencePointer (3008,0061)
void clear()
clear all internal member variables
OFBool operator==(const OFIterator< T > &x) const
comparison of two iterators.
Definition: oflist.h:220
static OFString getLocaleEncoding()
get the character encoding of the currently set global locale.
DcmUniqueIdentifier ReferencedSOPInstanceUID
ReferencedSOPInstanceUID (0008,1155) vr=UI, vm=1, type=1.
Definition: drtrsts.h:149
OFCondition getTargetMinimumDose(Float64 &value, const unsigned long pos=0) const
get TargetMinimumDose (300a,0025)
Class representing the General Image Module:
Definition: modgeneralimage.h:52
virtual OFCondition write(DcmItem &dataset) const
write temporal coordinates reference value to dataset.
DcmTime Time
Time (0040,a122) vr=TM, vm=1, type=1C.
Definition: drtpcxs.h:378
OFCondition setApplicatorType(const OFString &value, const OFBool check=OFTrue)
set ApplicatorType (300a,0109)
FGPlanePositionVolume()
Constructor, creates empty functional group.
void beginOptionBlock()
starts an option block which can be used to support mutually exclusive options.
Sends log events as Log4j XML to a remote a log server.
Definition: log4judp.h:61
OFCondition gotoFirstItem()
goto first item in the sequence
@ EVR_OB
other byte
Definition: dcvr.h:159
static const OFBool tinyness_before
OFTrue for all floating-point types T that test results of floating-point expressions for underflow b...
Definition: oflimits.h:706
virtual OFBool hasValidValue() const
check whether the value of the content item, i.e. the spatial coordinates value, is valid
virtual void printHeader(STD_NAMESPACE ostream &stream) const
print header with some general information on this context group
OFBool isEmpty()
check if sequence is empty
OFCondition write(DcmItem &item)
write elements to sequence item
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition getStudyID(OFString &value, const signed long pos=0) const
Get Study ID.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
@ FOM_Next
find next option
Definition: ofcmdln.h:217
OFCondition getGantryRotationDirection(OFString &value, const signed long pos=0) const
get GantryRotationDirection (300a,011f)
Item(const OFBool emptyDefaultItem=OFFalse)
(default) constructor
virtual void RemoveByIndex(unsigned int idx)=0
Removes one item from the set.
virtual OFCondition setPatientAge(const OFString &value, const OFBool check=OFTrue)
set PatientAge (0010,1010)
OFString current_file
name of file that is currently loaded
Definition: mdfdsman.h:236
OFBool operator==(const DSRImageReferenceValue &referenceValue) const
comparison operator "equal".
Item EmptyItem
empty default item
Definition: drtrsers.h:316
@ StandardizedUptakeValueLeanBodyMassJames128Multiplier
(g/ml{SUVlbm(James128)},UCUM,"Standardized Uptake Value lean body mass (James 128 multiplier)"),...
Definition: cid7181.h:84
OFCondition removeSignature(unsigned long i)
removes a signature from the dataset.
OFCondition getMappingResourceName(OFString &value, const signed long pos=0) const
get MappingResourceName (0008,0122)
const DRTProcedureCodeSequence & getProcedureCodeSequence() const
get ProcedureCodeSequence (0008,1032)
Definition: drtdose.h:2374
OFCondition exchangeImageAndPState(DVPresentationState *newState, DcmFileFormat *image, DcmFileFormat *state=NULL)
helper function that exchanges the current presentation state and image by the pointers passed and fr...
OFBool isEmpty()
check if item is empty
const Item & getCurrentItem() const
get current item in the sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const DRTContributingEquipmentSequence & getContributingEquipmentSequence() const
get ContributingEquipmentSequence (0018,a001)
Definition: drtimage.h:2488
OFCondition getRTBeamLimitingDeviceType(OFString &value, const signed long pos=0) const
get RTBeamLimitingDeviceType (300a,00b8)
DcmLongText PatientComments
PatientComments (0010,4000) vr=LT, vm=1, type=3.
Definition: drttreat.h:2673
OFCondition startExternalApplication(const char *application, const char *filename)
starts an external application and passes a filename.
int numberOfSkeletonEntries() const
returns the number of skeleton entries.
Definition: dcdict.h:93
OFCondition setContextGroupExtensionFlag(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionFlag (0008,010b)
virtual OFCondition setStudyInstanceUID(const OFString &value, const OFBool check=OFTrue)
set StudyInstanceUID (0020,000d)
OFBool ignoreOffsetTable_
flag indicating if temporary files should be kept, false if they should be deleted after use
Definition: djcparam.h:277
OFCondition gotoFirstItem()
goto first item in the sequence
T_ASC_Association * m_assoc
Association of this SCU. This class only handles 1 association at a time.
Definition: scu.h:983
Singleton class that is used to create functional groups by knowing their type or other unique featur...
Definition: fgfact.h:37
provides an operating system independent abstraction for thread specific data.
Definition: ofthread.h:200
OFBool opt_rejectWithoutImplementationUID
indicates if incoming associations shall be refused if no implementation class uid is specified
Definition: wlcefs.h:60
SeriesStruct * gotoSeries(const OFString &seriesUID)
set cursor to the specified series entry (if existent)
OFCondition getLongCodeValue(OFString &value, const signed long pos=0) const
get LongCodeValue (0008,0119)
Base class for implementing a DICOM Service Class Provider (SCP) that can serve as a worker in a thre...
Definition: scpthrd.h:36
DcmRLECodecEncoder(const DcmRLECodecEncoder &)
private undefined copy constructor
an ordered list of pointers to DcmDictEntry objects
Definition: dchashdi.h:40
OFCondition getSetupReferenceDescription(OFString &value, const signed long pos=0) const
get SetupReferenceDescription (300a,01d0)
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition setCodeValue(const OFString &value, const OFBool check=OFTrue)
set CodeValue (0008,0100)
void printerNGet(T_DIMSE_Message &rq, T_DIMSE_Message &rsp, DcmDataset *&rspDataset)
implements the N-GET operation for the Printer SOP Class.
IODPatientStudyModule m_PatientStudy
Patient Study Module.
Definition: iodcommn.h:246
OFCondition readSequence(DcmItem &dataset, const DcmTagKey &tagKey, const OFString &type, const size_t flags=0, const OFString &vm="1")
read code sequence from dataset.
virtual OFCondition getFrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix(Float64 &value, const unsigned long pos=0) const
get FrameOfReferenceToDisplayedCoordinateSystemTransformationMatrix (0070,030b)
DcmPersonName ResponsiblePerson
ResponsiblePerson (0010,2297) vr=PN, vm=1, type=2C.
Definition: drtdose.h:4134
virtual ~Item()
destructor
OFCondition getBlockNumber(Sint32 &value, const unsigned long pos=0) const
get BlockNumber (300a,00fc)
OFCondition getTableTopRollAngle(Float32 &value, const unsigned long pos=0) const
get TableTopRollAngle (300a,0144)
DcmCodeString MappingResource
MappingResource (0008,0105) vr=CS, vm=1, type=1C.
Definition: drtdcs.h:351
DRTBlockSlabSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
codec class for JPEG-LS lossless only TS decoding
Definition: djcodecd.h:322
virtual OFCondition getDateTime(OFString &value, const signed long pos=0) const
Get DateTime.
virtual OFCondition setVR(DcmEVR)
assign a new Value Representation (VR) to this object.
Definition: dcobject.h:412
OFCondition getContextUID(OFString &value, const signed long pos=0) const
get ContextUID (0008,0117)
OFCondition setReferencedSegmentNumber(const Uint16 value, const unsigned long pos=0)
set ReferencedSegmentNumber (0062,000b)
Item & operator=(const Item ©)
assigment operator
@ EXS_JPEGProcess11_13
JPEG Full Progression, Non-Hierarchical (lossy, 8/12 bit), arithmetic coding.
Definition: dcxfer.h:61
DSRReferencedDateTimeList()
default constructor
virtual OFBool isValid() const
check whether the current reference value is valid.
OFCondition parseFromBuffer(unsigned char *readBuffer, unsigned long &bytesRead, unsigned long availData)
Parse sub item from buffer.
static void dicomLab2RGB(double &R, double &G, double &B, double LDicom, double aDicom, double bDicom)
Convert CIELab color representation as found in DICOM to sRGB value representation.
OFCondition setReferencedSOPInstanceUID(const OFString &value, const OFBool check=OFTrue)
set ReferencedSOPInstanceUID (0008,1155)
void clear()
clear all internal member variables
@ IntramedullaryRoute
(60213007,SCT,"Intramedullary route")
Definition: cid11.h:56
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getPatientSexNeutered(OFString &value, const signed long pos=0) const
get PatientSexNeutered (0010,2203)
virtual OFCondition setColumns(const Uint16 value, const OFBool checkValue=OFTrue)
Set Columns.
@ GT_Ellipse
DICOM Graphic Type: ELLIPSE.
Definition: dsrtypes.h:673
const Item & getCurrentItem() const
get current item in the sequence
OFCondition setAccessoryCode(const OFString &value, const OFBool check=OFTrue)
set AccessoryCode (300a,00f9)
XMLNode getParentNode() const
return the parent node
virtual OFCondition check() const
Check whether functional group contains valid data.
OFUnorderedSet< T > Intersection(const OFUnorderedSet< T > &other) const
Determines the intersection of the two sets this and other, i.e.
Definition: ofuoset.h:350
DVPSCurve_PList(const DVPSCurve_PList ©)
copy constructor
DcmDecimalString NominalBeamEnergy
NominalBeamEnergy (300a,0114) vr=DS, vm=1, type=1C.
Definition: drticpds.h:836
void setRotation(const int degree, const signed long left_pos, const signed long top_pos, const Uint16 columns, const Uint16 rows)
set rotation
Sint32 getFirstEntry(const Sint32) const
get index of first LUT entry.
Definition: dibaslut.h:104
virtual E_DirRecType getRecordType()
get record type of this directory record
OFBool isEmpty()
check if sequence is empty
OFBool isValid() const
check if item is valid, i.e. not the empty default item
OFCondition setBrachyAccessoryDeviceName(const OFString &value, const OFBool check=OFTrue)
set BrachyAccessoryDeviceName (300a,0266)
Definition: pubtypes.h:34
OFCondition getBolusID(OFString &value, const signed long pos=0) const
get BolusID (300a,00dc)
@ EIS_MemoryFailure
memory exhausted etc.
Definition: diutils.h:238
int writeFrameToDataset(DcmItem &dataset, const int bits=0, const unsigned long frame=0, const int planar=0)
render pixel data of the given frame and write image related attributes to DICOM dataset.
Definition: dcmimage.h:1664
unsigned long Count
number of pixels per frame (intermediate representation)
Definition: dicoopx.h:130
void setModifyUNValues(OFBool modifyUNValues)
Sets whether attributes with VR of UN should be modified or left alone.
OFCondition gotoFirstItem()
goto first item in the sequence
DIC_US origMsgId
message id of request
Definition: dcmqrcbg.h:133
virtual OFCondition getTimeOfLastCalibration(OFString &value, const signed long pos=0) const
get TimeOfLastCalibration (0018,1201)
DRTIssuerOfServiceEpisodeIDSequence IssuerOfServiceEpisodeIDSequence
IssuerOfServiceEpisodeIDSequence (0038,0064) vr=SQ, vm=1, type=3.
Definition: drtplan.h:3142
DcmUnsignedShort PixelPaddingValue
PixelPaddingValue (0028,0120) vr=US/SS, vm=1, type=1C.
Definition: drtionpl.h:3164
OFCondition setContextIdentifier(const OFString &value, const OFBool check=OFTrue)
set ContextIdentifier (0008,010f)
virtual OFCondition setDimensionOrganizationType(const OFString &value, const OFBool checkValue=OFTrue)
Set Dimension Organization Type (Defined Terms as of DICOM 2014a "3D" and "3D_TEMPORAL")
DcmIODImage IODImage
typedef for old compilers that do not define the type 'DcmIODImage' in derived classes.
Definition: iodimage.h:71
virtual CodeSequenceMacro & getPurposeOfReferenceCode()
Return handle to to purpose of reference code.
DcmDecimalString DoseReferencePointCoordinates
DoseReferencePointCoordinates (300a,0018) vr=DS, vm=3, type=1C.
Definition: drtdrs.h:489
virtual OFCondition getSeriesDate(OFString &value, const signed long pos=0) const
get SeriesDate (0008,0021)
@ EXS_HEVCMain10ProfileLevel5_1
HEVC/H.265 Main 10 Profile / Level 5.1.
Definition: dcxfer.h:121
size_t getNumberOfItems() const
get number of items in the sequence
DcmProfileEntry(const DcmProfileEntry &arg)
copy constructor
OFBool equals(const DcmQuantPixel &colorP) const
compares the stored pixel value with the given pixel.
Definition: diqthitm.h:64
OFTime(const OFTime &timeVal)
copy constructor
@ DCV_checkCertificate
check peer certificate if present, succeed if no certificate is present
Definition: tlslayer.h:73
DcmShortString ToleranceTableLabel
ToleranceTableLabel (300a,0043) vr=SH, vm=1, type=3.
Definition: drtitts.h:432
OFBool setDateTime(const OFDate &dateVal, const OFTime &timeVal)
set the date and time component to the specified date/time.
OFCondition addOrReplaceContentItem(const size_t nodePos, const E_RelationshipType relationshipType, const E_ValueType valueType, const DSRCodedEntryValue &conceptName, const OFString &annotationText, const OFBool check)
add a new or replace an existing content item with a given node ID.
OFCondition gotoItem(const size_t num)
goto particular item in the sequence
Sint32 getQueryRetrieveTimeout()
returns the TIMEOUT entry for the the Q/R server from the section GENERAL/QUERY_RETRIEVE in the confi...
virtual OFCondition setContentLabel(const OFString &value, const OFBool checkValue=OFTrue)
Set Content Label.
DRTReferencedRTPlanSequence & operator=(const DRTReferencedRTPlanSequence ©)
assigment operator
DcmLongString PatientBirthDateInAlternativeCalendar
PatientBirthDateInAlternativeCalendar (0010,0033) vr=LO, vm=1, type=3.
Definition: drtdose.h:4088
OFCondition DB_unlock()
release lock on database
void freeNetwork()
Deletes internal networking structures from memory.
@ MicromolePerMinutePerMilliliter
(umol/min/ml,UCUM,"Micromole/minute/milliliter"), included from CID 84
Definition: cid7181.h:108
~DcmPath()
Desctructor, cleans up memory of path nodes.
@ UltrasoundAttenuation
(110833,DCM,"Ultrasound Attenuation"), included from CID 7180
Definition: cid7469.h:186
static OFCondition getOFDateFromString(const OFString &dicomDate, OFDate &dateValue)
get the specified DICOM date value in OFDate format.
const DRTConceptNameCodeSequence & getConceptNameCodeSequence() const
get ConceptNameCodeSequence (0040,a043)
Definition: drtqds.h:218
OFCondition setBluePaletteColorLookupTableDescriptor(const Uint16 value, const unsigned long pos=0)
set BluePaletteColorLookupTableDescriptor (0028,1103)
OFCondition setBeamDoseSpecificationPoint(const OFString &value, const OFBool check=OFTrue)
set BeamDoseSpecificationPoint (300a,0082)
OFCondition gotoNextItem()
goto next item in the sequence
OFCondition toBackGraphicLayer(size_t idx)
makes a graphic layer the lowest layer for display.
DRTIonRangeCompensatorSequence & getIonRangeCompensatorSequence()
get IonRangeCompensatorSequence (300a,02ea)
Definition: drtibs.h:564
DcmUniqueIdentifier ContextUID
ContextUID (0008,0117) vr=UI, vm=1, type=3.
Definition: drtcss.h:345
OFCondition getCumulativeMetersetWeight(Float64 &value, const unsigned long pos=0) const
get CumulativeMetersetWeight (300a,0134)
const LogLevel NOT_SET_LOG_LEVEL
The NOT_SET_LOG_LEVEL LogLevel is used to indicated that no particular LogLevel is desired and that t...
Definition: loglevel.h:96
OFMap< DcmTagKey, IODRule * > m_Rules
Map that holds all rules, accessible by their tag key.
Definition: iodrules.h:120
DcmLongString Allergies
Allergies (0010,2110) vr=LO, vm=1-n, type=3.
Definition: drtplan.h:3122
virtual OFBool getSegmentNumber(const DcmSegment *segment, unsigned int &segmentNumber)
Get logical segment number by providing a pointer to a given segment.
DRTReferencedBeamSequenceInRTDoseModule(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
DRTBeamLimitingDevicePositionSequence & getBeamLimitingDevicePositionSequence()
get BeamLimitingDevicePositionSequence (300a,011a)
Definition: drticpds.h:463
OFCondition getSurfaceEntryPoint(OFVector< Float64 > &value) const
get SurfaceEntryPoint (300a,012e)
virtual OFCondition setStudyDate(const OFString &value, const OFBool check=OFTrue)
set StudyDate (0008,0020)
DJLSCodecParameter(OFBool preferCookedEncoding, Uint16 jpls_t1=0, Uint16 jpls_t2=0, Uint16 jpls_t3=0, Uint16 jpls_reset=0, Uint32 fragmentSize=0, OFBool createOffsetTable=OFTrue, JLS_UIDCreation uidCreation=EJLSUC_default, OFBool convertToSC=OFFalse, JLS_PlanarConfiguration planarConfiguration=EJLSPC_restore, OFBool ignoreOffsetTable=OFFalse, interleaveMode jplsInterleaveMode=interleaveLine, OFBool useFFbitstreamPadding=OFTrue)
constructor, for use with encoders.
void clear()
clear all internal member variables
void clear()
clear all internal member variables
OFCondition getCurrentItem(Item *&item) const
get current item in the sequence
OFCondition getDeviceDiameter(OFString &value, const signed long pos=0) const
get DeviceDiameter (0050,0016)
OFCondition DB_IdxGetNext(int *idx, IdxRecord *idxRec)
Get next Index record that is in use (i.e.
size_t size() const
get number of graphic objects in this list.
Definition: dvpsgrl.h:84
@ EPR_Sint8
signed 8 bit integer
Definition: diutils.h:209
virtual OFCondition getRespiratoryCyclePosition(OFString &value, const signed long pos=0)
Get Respiratory Cycle Position.
Authorization Digital Signature Profile.
Definition: siautopr.h:36
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition getEthnicGroup(OFString &value, const signed long pos=0) const
get EthnicGroup (0010,2160)
DcmCodeString RTPlanGeometry
RTPlanGeometry (300a,000c) vr=CS, vm=1, type=1.
Definition: drtionpl.h:3188
const DRTCodingSchemeIdentificationSequence & getCodingSchemeIdentificationSequence() const
get CodingSchemeIdentificationSequence (0008,0110)
Definition: drtdose.h:1966
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get particular value as a character string
This class is used to create the default implementation of the Logger class.
Definition: logger.h:314
virtual ~Item()
destructor
OFCondition write(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
write sequence of items to dataset
OFCondition getAlternateBeamDose(Float64 &value, const unsigned long pos=0) const
get AlternateBeamDose (300a,0091)
const DRTIssuerOfServiceEpisodeIDSequence & getIssuerOfServiceEpisodeIDSequence() const
get IssuerOfServiceEpisodeIDSequence (0038,0064)
Definition: drtstrct.h:1380
DcmCodeString PatientSex
PatientSex (0010,0040) vr=CS, vm=1, type=2.
Definition: drtimage.h:4797
OFCondition read(DcmItem &dset)
reads an annotation content item from a DICOM dataset.
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
DcmDirectoryRecord * buildRawDataRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update raw data record and copy required values from dataset
OFCondition setSourceAxisDistance(const OFString &value, const OFBool check=OFTrue)
set SourceAxisDistance (300a,00b4)
DcmDate InstanceCreationDate
InstanceCreationDate (0008,0012) vr=DA, vm=1, type=3.
Definition: drttreat.h:2973
this struct defines the structure of each "Study Record" in the index.dat file maintained by this mod...
Definition: dcmqridx.h:275
void setDumpFile(FILE *f)
dump all data that is fed into the MAC algorithm into the given file, which must be opened and closed...
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
this class describes configuration settings for a single storage area
Definition: dcmqrcnf.h:139
DcmRoleSelectionMap & operator=(const DcmRoleSelectionMap &arg)
Copy assignment operator, creates deep copy.
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
OFCondition write(DcmItem &item)
write elements to sequence item
@ StandardizedUptakeValueLeanBodyMassJanma
(g/ml{SUVlbm(Janma)},UCUM,"Standardized Uptake Value lean body mass (Janma)"), included from CID 85
Definition: cid7181.h:86
OFCondition getItem(const size_t num, Item *&item)
get particular item in the sequence
virtual OFCondition setRelatedGeneralSOPClassUID(const OFString &value, const OFBool check=OFTrue)
set RelatedGeneralSOPClassUID (0008,001a)
virtual OFCondition setLossyImageCompression(const OFString &value, const OFBool check=OFTrue)
set LossyImageCompression (0028,2110)
virtual OFCondition read(DcmItem &source, const OFBool clearOldData=OFTrue)
Read Mandatory View and Slice Progression Direction Macro from given item.
E_SegmentationFractionalType
Segmentation object Fractional Type.
Definition: segtypes.h:117
OFCondition setCodeMeaning(const OFString &value, const OFBool check=OFTrue)
set CodeMeaning (0008,0104)
DcmFloatingPointSingle SnoutPosition
SnoutPosition (300a,030d) vr=FL, vm=1, type=2C.
Definition: drticps.h:821
E_ParamValueStatus getParam(const int pos, OFCmdFloat &value)
gets value of specified parameter as floating point.
void clear()
clear all internal member variables
DcmShortText MeasuredDoseDescription
MeasuredDoseDescription (3008,0012) vr=ST, vm=1, type=3.
Definition: drtmdrs.h:209
virtual OFCondition setPatientDeathDateInAlternativeCalendar(const OFString &value, const OFBool check=OFTrue)
set PatientDeathDateInAlternativeCalendar (0010,0034)
pointer get() const
Returns a pointer to the managed object or OFnullptr if no object is owned.
Definition: ofmem.h:389
This abstract template class provides a data structure and operations for administrating a set of ele...
Definition: ofset.h:38
static void configureLogger(dcmtk::log4cplus::LogLevel level)
set up the logging and enable it
OFBool isEmpty()
check if sequence is empty
OFBool setCurrentTime()
set the time value to the current system time.
virtual OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
get DeviceSerialNumber (0018,1000)
OFCondition deleteStudy(const char *studyUID)
deletes the given study from the database.
~TransferEntry()
destructor
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtws.h:267
DcmFloatingPointSingle IsocenterToRangeModulatorDistance
IsocenterToRangeModulatorDistance (300a,038a) vr=FL, vm=1, type=3.
Definition: drtrmss6.h:193
DRTPatientBreedCodeSequence PatientBreedCodeSequence
PatientBreedCodeSequence (0010,2293) vr=SQ, vm=1, type=2C.
Definition: drtionpl.h:2922
int hideAllPlanes()
make all planes invisible
@ PT_SegmentedVolumeRendering
Segmented Volume Rendering Volumetric Presentation State (SVR-VPS)
Definition: dsrtypes.h:649
Class for graphic data (3D) lists.
Definition: dsrsc3gr.h:90
OFCondition getDate(OFString &value, const signed long pos=0) const
get Date (0040,a121)
DcmShortText InstitutionAddress
InstitutionAddress (0008,0081) vr=ST, vm=1, type=3.
Definition: drtionpl.h:3142
virtual OFCondition getReferencedSOPInstanceUID(OFString &value, const signed long pos=0)
Get Referenced SOP Instance UID.
a class representing the DICOM value representation 'Date' (DA)
Definition: dcvrda.h:35
@ UpperUrinaryTract
(431491007,SCT,"Upper urinary tract")
Definition: cid4031.h:244
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
OFCondition setLongCodeValue(const OFString &value, const OFBool check=OFTrue)
set LongCodeValue (0008,0119)
int getImageSize() const
gets image size of current (selected) instance
Definition: dvcache.h:299
Class representing Double Floating Point Image Pixel Module:
Definition: modfloatingpointimagepixel.h:150
virtual OFCondition getSint32(Sint32 &sintVal, const unsigned long pos=0)
get particular integer value
virtual void append(DcmConsumer &consumer)
determines the consumer to which the filter is supposed to write it's output.
OFBool getLastArg(OFString &arg)
returns last command line argument as a C++ string
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
DcmLongString Manufacturer
Manufacturer (0008,0070) vr=LO, vm=1, type=3.
Definition: drtds.h:535
virtual OFCondition getServiceEpisodeID(OFString &value, const signed long pos=0) const
get ServiceEpisodeID (0038,0060)
DcmOther64bitVeryLong(const DcmTag &tag)
constructor.
OFCondition getReferencedWedgeNumber(OFString &value, const signed long pos=0) const
get ReferencedWedgeNumber (300c,00c0)
Item & operator=(const Item ©)
assigment operator
DRTDoseReferenceSequence DoseReferenceSequence
DoseReferenceSequence (300a,0010) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3203
OFConfigFileNode(const char *keyword)
constructor.
DRTImage & operator=(const DRTImage &)
undefined private assignment operator
OFString()
Default constructor.
Item EmptyItem
empty default item
Definition: drtrbos1.h:354
OFCondition getBlockSlabNumber(Uint16 &value, const unsigned long pos=0) const
get BlockSlabNumber (300a,0443)
OFCondition status_
status
Definition: dcistrmf.h:102
DCMTK_DCMDATA_EXPORT const OFConditionConst EC_StreamNotifyClient
I/O suspension or premature end of stream.
OFCondition addQualitativeEvaluation(const DSRCodedEntryValue &conceptName, const DSRCodedEntryValue &codeValue, const OFBool check=OFTrue)
add a qualitative evaluation related to the subject of the measurement group as a coded entry (TID 15...
OFCondition getCurrentMacID(Uint16 &macID)
returns the MAC ID of the current signature.
OFCondition getFluenceDataScale(Float64 &value, const unsigned long pos=0) const
get FluenceDataScale (3002,0042)
Interface class for WedgeSequence (300a,00d1)
Definition: drtws.h:28
DcmTime(const DcmTime &old)
copy constructor
OFBool isValid() const
check if sequence is valid, i.e. not the empty default sequence
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
const char * getPresentationDescription()
returns a description for the presentation state.
DCMTK_DCMNET_EXPORT OFBool DUL_processIsForkedChild()
this function returns true if the current process was created by the DICOM network layer during recei...
void scalePixel(const T *src[], T *dest[])
free scaling method without interpolation.
Definition: discalet.h:449
DcmLongString PersonTelephoneNumbers
PersonTelephoneNumbers (0040,1103) vr=LO, vm=1-n, type=3.
Definition: drtporis.h:212
virtual OFCondition setPatientSize(const OFString &value, const OFBool check=OFTrue)
set PatientSize (0010,1020)
OFString mangleProfileName(const OFString &profile) const
Mangles a given string into valid profile name.
virtual OFCondition getSeriesTime(OFString &value, const signed long pos=0) const
Get Series Time.
const OFString UID
context group UID (VR=UI, optional)
Definition: dsrctxgr.h:271
OFCondition removeItem(const size_t pos)
remove particular item from the sequence
OFCondition getSourceApplicatorWallNominalThickness(OFString &value, const signed long pos=0) const
get SourceApplicatorWallNominalThickness (300a,029c)
static OFCondition putStringValue(DcmItem *item, DcmTagKey tag, const char *value=NULL)
helper function that inserts a new element into a DICOM dataset.
DRTConsultingPhysicianIdentificationSequence ConsultingPhysicianIdentificationSequence
ConsultingPhysicianIdentificationSequence (0008,009d) vr=SQ, vm=1, type=3.
Definition: drtdose.h:4186
void * jsampBuffer
temporary storage for row buffer during suspension
Definition: djdijg12.h:118
@ French
(fra,RFC5646,"French")
Definition: cid5000.h:52
DCMR Context Group with enhanced functionality: CID 29 - Acquisition Modality.
Definition: cid29e.h:30
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
DRTWedgePositionSequence WedgePositionSequence
WedgePositionSequence (300a,0116) vr=SQ, vm=1, type=1C.
Definition: drtcps.h:711
const DRTEquivalentCodeSequence & getEquivalentCodeSequence() const
get EquivalentCodeSequence (0008,0121)
Definition: drtccs.h:211
void clear()
reset the object to initial state.
void setHostLookupEnabled(const OFBool mode)
Enables or disables looking up the host name from a connecting system.
virtual Uint16 checkAndProcessSTORERequest(const T_DIMSE_C_StoreRQ &reqMessage, DcmFileFormat &fileformat)
check the given C-STORE request and dataset for validity.
virtual ~DJDecoderLossless()
destructor
@ AGN150998_89Zr
(126729,DCM,"AGN-150998 ^89^Zr")
Definition: cid4021.h:54
OFCondition setToleranceTableNumber(const OFString &value, const OFBool check=OFTrue)
set ToleranceTableNumber (300a,0042)
DRTCorrectedParameterSequence CorrectedParameterSequence
CorrectedParameterSequence (3008,0068) vr=SQ, vm=1, type=3.
Definition: drticpds.h:812
OFCondition getDatasetInfo(DcmDataset *dataset, OFString &sopClassUID, OFString &sopInstanceUID, E_TransferSyntax &transferSyntax)
Returns SOP Class UID, SOP Instance UID and original transfer syntax for a given dataset.
@ TRT_Begin
DICOM Temporal Range Type: BEGIN.
Definition: dsrtypes.h:719
DcmDecimalString BeamLimitingDeviceAngleTolerance
BeamLimitingDeviceAngleTolerance (300a,0046) vr=DS, vm=1, type=3.
Definition: drttts.h:341
Item & getItem(const size_t num)
get particular item in the sequence
DRTSeriesDescriptionCodeSequence SeriesDescriptionCodeSequence
SeriesDescriptionCodeSequence (0008,103f) vr=SQ, vm=1, type=3.
Definition: drtionpl.h:3093
singleton class that registers encoders for all supported JPEG-LS processes.
Definition: djencode.h:38
virtual OFCondition setSoftwareVersions(const OFString &value, const OFBool check=OFTrue)
set software version(s)
OFCondition getTableTopLateralPositionTolerance(OFString &value, const signed long pos=0) const
get TableTopLateralPositionTolerance (300a,0053)
DRTIonWedgePositionSequence IonWedgePositionSequence
IonWedgePositionSequence (300a,03ac) vr=SQ, vm=1, type=1C.
Definition: drticps.h:785
size_t getNumberOfAnnotations()
gets the number of annotations currently registered in this object.
Definition: dvpssp.h:367
virtual void Clear()
Removes all items from the set.
Definition: ofset.h:184
OFBool isEmpty() const
check whether list is empty
Interface class for GeneticModificationsSequence (0010,0221)
Definition: drtgms.h:29
OFString m_DeviceSerialNumber
Device Serial Number (VM 1)
Definition: modequipment.h:82
OFCondition getURNCodeValue(OFString &value, const signed long pos=0) const
get URNCodeValue (0008,0120)
DRTReferencedMeasuredDoseReferenceSequence(const DRTReferencedMeasuredDoseReferenceSequence ©)
copy constructor
DRTModifiedAttributesSequence & operator=(const DRTModifiedAttributesSequence ©)
assigment operator
OFCondition gotoFirstItem()
goto first item in the sequence
virtual ~DSRSimplifiedAdultEchoSRConstraintChecker()
destructor
virtual ~DiMonoPixelTemplate()
destructor
Definition: dimopxt.h:115
@ EVR_ox
OB or OW depending on context.
Definition: dcvr.h:222
DcmUnsignedShort PixelPaddingValue
PixelPaddingValue (0028,0120) vr=US/SS, vm=1, type=1C.
Definition: drtplan.h:3247
DRTConsentForClinicalTrialUseSequence & getConsentForClinicalTrialUseSequence()
get ConsentForClinicalTrialUseSequence (0012,0083)
Definition: drtiontr.h:1227
OFBool EmptyDefaultSequence
internal flag used to mark the empty default sequence
Definition: drtgms.h:325
Item & getItem(const size_t num)
get particular item in the sequence
~DcmSpecificCharacterSet()
destructor
DcmShortString CodeValue
CodeValue (0008,0100) vr=SH, vm=1, type=1C.
Definition: drtspcs.h:342
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFCondition write(DcmItem &item)
write elements to sequence item
virtual ~Item()
destructor
OFCondition getCodeValue(OFString &value, const signed long pos=0) const
get CodeValue (0008,0100)
OFCondition setIsocenterToBlockTrayDistance(const Float32 value, const unsigned long pos=0)
set IsocenterToBlockTrayDistance (300a,00f7)
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition getAccessoryCode(OFString &value, const signed long pos=0) const
get AccessoryCode (300a,00f9)
Interface class for IonControlPointSequence (300a,03a8) in RTIonBeamsModule.
Definition: drticps.h:34
int ind
index of the color histogram array where the colors represented by this box start
Definition: diqtpbox.h:49
Item & getItem(const size_t num)
get particular item in the sequence
OFCondition checkDatasetForReading(DcmItem &dataset)
check the given dataset before reading.
virtual OFCondition getTagVal(DcmTagKey &tagVal, const unsigned long pos=0)
get particular tag value
DcmDirectoryRecord * buildRadiotherapyRecord(DcmDirectoryRecord *record, DcmFileFormat *fileformat, const OFString &referencedFileID, const OFFilename &sourceFilename)
create or update radiotherapy record and copy required values from dataset
void clear()
clear all internal member variables
DcmPersonName NameOfPhysiciansReadingStudy
NameOfPhysiciansReadingStudy (0008,1060) vr=PN, vm=1-n, type=3.
Definition: drtiontr.h:2916
DcmLongString ClinicalTrialSiteName
ClinicalTrialSiteName (0012,0031) vr=LO, vm=1, type=2.
Definition: drtimage.h:4864
virtual ~DVPSGraphicLayer_PList()
destructor
virtual OFCondition getDeviceSerialNumber(OFString &value, const signed long pos=0) const
Get Device Serial Number.
DcmFloatingPointSingle BeamDosePointSSD
BeamDosePointSSD (300a,008a) vr=FL, vm=1, type=1C.
Definition: drtbvcps.h:190
OFCondition insertItem(const size_t pos, Item *&item)
insert new item into the sequence
virtual int writePPM(FILE *stream, const unsigned long frame, const int bits)=0
write pixel data to PPM file (abstract).
const char & at(size_t pos) const
returns a constant reference to the character at position pos of the current string.
Definition: ofstring.h:343
OFCondition read(DcmItem &item)
read elements from sequence item
OFCondition gotoItem(const size_t num, OFListConstIterator(Item *) &iterator) const
goto particular item in the sequence
virtual unsigned long getSize() const =0
returns the size of a block of encrypted/decrypted ciphertext in bytes.
OFCondition getReferencedROINumber(OFString &value, const signed long pos=0) const
get ReferencedROINumber (3006,0084)
OFCondition getPreviewImageHeight(unsigned long &height)
gets current height of the preview image.
const char * privateCreator
private creator name, may be NULL
Definition: dcdicent.h:397
This Interface is for attaching Appenders to objects.
Definition: apndimpl.h:51
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtsds.h:190
OFList< Item * > SequenceOfItems
list of items in this sequence
Definition: drtpscs.h:536
OFBool EmptyDefaultItem
internal flag used to mark the empty default item
Definition: drtgpis.h:170
OFList< OFString > m_overrideKeys
These attributes are applied to the dataset after conversion (and are not checked by the isValid() fu...
Definition: i2d.h:226
size_t getNumberOfItems() const
get number of items in the sequence
virtual OFCondition getServiceEpisodeID(OFString &value, const signed long pos=0) const
get ServiceEpisodeID (0038,0060)
Item EmptyItem
empty default item
Definition: drtscris.h:316
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
OFCondition setReferencedFractionGroupNumber(const OFString &value, const OFBool check=OFTrue)
set ReferencedFractionGroupNumber (300c,0022)
DcmDateTime ContextGroupLocalVersion
ContextGroupLocalVersion (0008,0107) vr=DT, vm=1, type=1C.
Definition: drtds.h:507
DRTDerivationCodeSequence & getDerivationCodeSequence()
get DerivationCodeSequence (0008,9215)
Definition: drtplan.h:1400
DCMTK_OFSTD_EXPORT const OFConditionConst EC_InvalidFilename
condition constant: error, invalid filename
DcmCodeString PatientSex
Patient's Sex: (CS, 1, 2)
Definition: dsrdoc.h:1362
DRTEncryptedAttributesSequence(const OFBool emptyDefaultSequence=OFFalse)
(default) constructor
virtual ~Item()
destructor
DcmTLSSCU(const OFString &peerHost, const OFString &peerAETitle, const Uint16 portNum)
Initialize SCU with connection peer information.
static OFCondition getAndCheckStringValueFromDataset(DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue, const OFString &vm, const OFString &type, const char *moduleName=NULL, const OFBool acceptViolation=OFFalse)
get string value from dataset and check it for correct value multiplicity and type.
OFCondition read(DcmItem &dataset, const OFString &card, const OFString &type, const char *moduleName=NULL)
read sequence of items from dataset
OFBool isEmpty()
check if sequence is empty
OFCondition gotoItem(const size_t num, OFListIterator(Item *) &iterator)
goto particular item in the sequence
virtual OFCondition setRTPlanDate(const OFString &value, const OFBool check=OFTrue)
set RTPlanDate (300a,0006)
DcmVR getVR() const
returns VR object by value
Definition: dcdicent.h:105
virtual OFCondition writeContentItem(DcmItem &dataset) const
write content item (value) to dataset
OFCondition getReferencedPatientSetupNumber(OFString &value, const signed long pos=0) const
get ReferencedPatientSetupNumber (300c,006a)
OFCondition getIsocenterToRangeShifterDistance(Float32 &value, const unsigned long pos=0) const
get IsocenterToRangeShifterDistance (300a,0364)
OFCondition gotoFirstItem()
goto first item in the sequence
DRTReferencedDoseReferenceSequenceInRTFractionSchemeModule & getReferencedDoseReferenceSequence()
get ReferencedDoseReferenceSequence (300c,0050)
Definition: drtfgs.h:232
void clear()
clear all internal member variables
virtual OFCondition getReferringPhysicianName(OFString &value, const signed long pos=0) const
get referring physician's name
OFCondition gotoFirstItem()
goto first item in the sequence
OFCondition setContextGroupExtensionCreatorUID(const OFString &value, const OFBool check=OFTrue)
set ContextGroupExtensionCreatorUID (0008,010d)
T_DIMSE_BlockingMode opt_blockMode
blocking mode for DIMSE operations
Definition: wlcefs.h:84
virtual OFCondition getPositionReferenceIndicator(OFString &value, const signed long pos=0) const
get PositionReferenceIndicator (0020,1040)
Generated on Tue Nov 10 2020 for DCMTK Version 3.6.5 by Doxygen 1.8.20