SIVIC API
0.9.26
|
#include <svkDcmtkAdapter.h>
Public Member Functions | |
vtkTypeMacro (svkDcmtkAdapter, svkDcmHeader) | |
Public Member Functions inherited from svkDcmHeader | |
vtkTypeMacro (svkDcmHeader, vtkObject) | |
void | MakeDerivedDcmHeader (svkDcmHeader *headerCopy, string seriesDescription) |
void | MakeDerivedDcmHeader (string seriesDescription="") |
string | GetDcmPatientName (string PatientName) |
void | SetDcmPatientName (string PatientName) |
void | SetPixelDataType (DcmPixelDataFormat dataType) |
int | GetPixelDataType (int vtkDataType=svkDcmHeader::UNDEFINED) |
int | GetOrigin (double origin[3], int frameNumber=0) |
void | GetPixelSpacing (double spacing[3]) |
void | GetPixelSize (double size[3]) |
void | GetOrientation (double orientation[2][3]) |
Orientation | GetOrientationType () |
int | GetOrientationIndex (svkDcmHeader::Orientation orientation) |
void | GetNormalVector (double normal[3]) |
void | GetDataDcos (double dcos[3][3], DcmDataOrderingDirection dataSliceOrder=SLICE_ORDER_UNDEFINED) |
void | SetSliceOrder (DcmDataOrderingDirection sliceOrderVal) |
int | GetNumberOfCoils () |
int | GetNumberOfSlices () |
int | GetNumberOfTimePoints () |
int | GetSliceForFrame (int frame) |
void | UpdateNumTimePoints () |
void | UpdateNumCoils () |
int | GetDimensionIndexPosition (string indexLabel) |
string | GetDimensionIndexLabel (int dimensionIndexNumber) |
void | AddDimensionIndex (svkDcmHeader::DimensionVector *dimensionVector, svkDcmHeader::DimensionIndexLabel indexType, int maxIndex=0) |
void | RemoveDimensionIndex (svkDcmHeader::DimensionIndexLabel indexType) |
void | SetDimensionIndexSize (svkDcmHeader::DimensionIndexLabel indexType, int maxIndex) |
DimensionVector | GetDimensionIndexVector () |
int | GetNumberOfFramesInDimension (int dimensionIndex) |
int | GetNumberOfFrames (svkDcmHeader::DimensionVector *dimensionVector) |
void | InitPatientModule (string PatientName, string patientID, string PatientBirthDate, string PatientSex) |
void | InitGeneralStudyModule (string studyDate, string studyTime, string referringPhysiciansName, string studyID, string accessionNumber, string studyInstanceUID) |
void | InitGeneralSeriesModule (string seriesNumber, string seriesDescription, string patientPosition) |
void | InitImagePixelModule (int rows, int columns, svkDcmHeader::DcmPixelDataFormat dataType) |
void | InitImagePlaneModule (string imagePositionPatient, string pixelSpacing="", string imageOrientationPatient="", string sliceThickness="") |
void | InitMRImageModule (string repetitionTime, string echoTime) |
void | InitPlaneOrientationMacro (double dcos[3][3]) |
void | InitPlaneOrientationMacro (string orientationString) |
void | InitPixelMeasuresMacro (string pixelSizes, string sliceThickness) |
void | InitMultiFrameDimensionModule (svkDcmHeader::DimensionVector *dimensionVector) |
void | InitPerFrameFunctionalGroupSequence (double toplc[3], double voxelSpacing[3], double dcos[3][3], svkDcmHeader::DimensionVector *dimensionVector) |
void | InitVOILUTModule (float center, float width) |
void | InitPixelValueTransformationMacro (double slope=1.00000, double intercept=0.00000) |
void | InitMRImagingModifierMacro (float transmitFreq, float pixelBandwidth, string magTransfer="NONE", string bloodNulling="NO") |
void | InitVolumeLocalizationSeq (float size[3], float center[3], float dcos[3][3]) |
void | InitMRTimingAndRelatedParametersMacro (float tr=UNKNOWN_TIME, float flipAngle=-999, int numEchoes=1) |
void | InitMREchoMacro (float TE=UNKNOWN_TIME) |
void | InitMRModifierMacro (float inversionTime=UNKNOWN_TIME) |
void | InitMRTransmitCoilMacro (string coilMfg="UNKNOWN", string coilName="UNKNOWN", string coilType="UNKNOWN") |
void | InitMRAveragesMacro (int numAverages=1) |
void | InitRawDataModule (string contentDate, string contentTime, void *rawFile) |
int | InitDerivedMRIHeader (svkDcmHeader *mri, vtkIdType dataType, string seriesDescription) |
int | ConvertEnhancedMriToMriHeader (svkDcmHeader *mri, vtkIdType dataType) |
void | Deidentify (PHIType phiType) |
void | Deidentify (PHIType phiType, string id) |
void | Deidentify (PHIType phyType, string patientId, string studyId) |
void | Redimension (svkDcmHeader::DimensionVector *dimensionVector) |
void | Redimension (svkDcmHeader::DimensionVector *dimensionVector, double *newToplcOrigin, double *newPixelSpacing) |
Protected Member Functions | |
svkDcmtkAdapter () | |
~svkDcmtkAdapter () | |
virtual void | CreateIOD (DcmIodType iodType) |
virtual void | SetSOPClassUID (DcmIodType iodType) |
virtual void | PrintDcmHeader () |
virtual void | PrintDcmHeader (ostream &os) |
virtual void | InsertEmptyElement (const char *name) |
virtual void | InsertUniqueUID (const char *name) |
string | GenerateUniqueUID () |
virtual void | SetValue (const char *name, int value) |
virtual void | SetValue (const char *name, float value) |
virtual void | SetValue (const char *name, double value) |
virtual void | SetValue (const char *name, string value, bool setMetaInfo=false) |
virtual void | SetValue (const char *name, unsigned char *values, int numValues) |
virtual void | SetValue (const char *name, unsigned short *values, int numValues) |
virtual void | SetValue (const char *name, signed short *values, int numValues) |
virtual void | SetValue (const char *name, float *values, int numValues) |
virtual void | ModifyValueRecursive (const char *name, string value) |
virtual void | GetByteValue (const char *name, char *values, long unsigned int numValues) |
virtual void | GetShortValue (const char *name, short *values, long unsigned int numValues) |
virtual unsigned short | GetShortValue (const char *name, long unsigned int position) |
virtual unsigned short | GetPixelValue (long unsigned int position) |
virtual int | GetIntValue (const char *name) |
virtual float | GetFloatValue (const char *name) |
virtual void | GetFloatValue (const char *name, float *values, long unsigned int numValues) |
virtual double | GetDoubleValue (const char *name) |
virtual string | GetStringValue (const char *name) |
virtual string | GetStringValue (const char *name, int pos) |
virtual void | AddSequenceItemElement (const char *parentSeqName, int parentSeqItemPosition, const char *elementName) |
virtual void | AddSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, string value, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual void | AddSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, char *values, int numValues, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual void | AddSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, unsigned short *values, int numValues, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual void | AddSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, unsigned int *values, int numValues, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual void | AddSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, float *values, unsigned long int numValues, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual void | AddSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, int value, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual void | AddSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, long int value, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual void | AddSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, float value, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual void | AddSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, double value, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual int | GetSequenceItemElementLength (const char *seqName, int seqItemPosition, const char *elementName, const char *parentSeqName, int parentSeqItemPosition) |
virtual void | CopySequence (svkDcmHeader *target, const char *seqName) |
virtual void | ClearSequence (const char *seqName) |
virtual void | ClearElement (const char *elementName) |
virtual void | RemoveElement (const char *elementName) |
virtual int | GetIntSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, const char *parentSeqName=NULL, int parentSeqItemPosition=0, int pos=0) |
virtual long int | GetLongIntSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, const char *parentSeqName=NULL, int parentSeqItemPosition=0, int pos=0) |
virtual float | GetFloatSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, const char *parentSeqName=NULL, int parentSeqItemPosition=0, int pos=0) |
virtual void | GetFloatSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, float *values, int numValues, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual double | GetDoubleSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual string | GetStringSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual string | GetStringSequenceItemElement (const char *seqName, int seqItemPosition, const char *elementName, int pos, const char *parentSeqName=NULL, int parentSeqItemPosition=0) |
virtual int | GetNumberOfElements (const char *elementName) |
virtual int | GetNumberOfItemsInSequence (const char *seqName) |
virtual int | GetNumberOfItemsInSequence (const char *seqName, const char *parentSeqName, int parentSeqItemPosition) |
virtual void | WriteDcmFile (string fileName) |
virtual void | WriteDcmFileCompressed (string fileName) |
virtual int | ReadDcmFile (string fileName, unsigned int maxLength) |
virtual int | ReadDcmFileHeaderOnly (string fileName) |
virtual int | GetOriginalXFerSyntax () |
virtual void | CopyDcmHeader (svkDcmHeader *headerCopy) |
virtual bool | ElementExists (const char *elementName, const char *parentSeqName) |
virtual void | ReplaceOldElements (bool replaceElements) |
virtual void | HandleTagNotFoundException (const svkTagNotFound &e) |
virtual string | GetDcmNameFromTag (string groupElementString) |
Protected Member Functions inherited from svkDcmHeader | |
svkDcmHeader () | |
~svkDcmHeader () | |
bool | WasModified () |
Additional Inherited Members | |
Public Types inherited from svkDcmHeader | |
enum | DcmIodType { MR_IMAGE = 0, ENHANCED_MR_IMAGE, MR_SPECTROSCOPY, SECONDARY_CAPTURE, MULTI_FRAME_BYTE_SC, MULTI_FRAME_WORD_SC, RAW_DATA } |
enum | { DCMTK_API = 0 } |
enum | DcmPixelDataFormat { UNDEFINED = -1, UNSIGNED_INT_1 = 0, UNSIGNED_INT_2, SIGNED_INT_2, SIGNED_FLOAT_4, SIGNED_FLOAT_8 } |
enum | Orientation { UNKNOWN_ORIENTATION = -1, AXIAL = 0, CORONAL, SAGITTAL } |
enum | DcmDataOrderingDirection { SLICE_ORDER_UNDEFINED = -1, INCREMENT_ALONG_POS_NORMAL = 0, INCREMENT_ALONG_NEG_NORMAL = 1 } |
enum | PHIType { PHI_IDENTIFIED = 0, PHI_LIMITED, PHI_DEIDENTIFIED } |
enum | DimensionIndexLabel { COL_INDEX = -2, ROW_INDEX = -1, SLICE_INDEX = 0, TIME_INDEX = 1, CHANNEL_INDEX = 2, EPSI_ACQ_INDEX = 3 } |
typedef vector< map < svkDcmHeader::DimensionIndexLabel, int > > | DimensionVector |
Static Public Attributes inherited from svkDcmHeader | |
static const float | UNKNOWN_TIME = -1 |
static const string | UNKNOWN_STRING = "UNKNOWN" |
Adapter Class to make a DCMTK DcmFileFormat look like a generic svkDcmHeader object.
|
protected |
Constructor.
|
protected |
Destructor.
|
protectedvirtual |
Add the nested sequence within the specified item of the parent sequence.
parentSeqName | the string name of the parent sequence |
parentSeqItemPosition | the position of the item in that sequence |
elementName | the string name of the item in the sequence |
Implements svkDcmHeader.
|
protectedvirtual |
Add an item to the specified item in the specified sequence(seqName), where the nestedSequence is nested within a specific parent sequence(parentSeqName) and item(parentSeqItemPosition).
seqName | the string name of the parent sequence |
seqItemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
value | the value of the element being added to the specified item ("EMPTY_ELEMENT") inserts an empty element. |
parentSeqName | the string name of the parent sequence |
parentSeqItemPosition | the position of the item in that sequence |
Implements svkDcmHeader.
References svkDcmtkUtils::setValue().
|
protectedvirtual |
Add an item to the specified item in the specified sequence(seqName), where the sequence is nested within a specific parent sequence(parentSeqName) and item(parentSeqItemPosition).
seqName | the string name of the parent sequence |
seqItemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
values | array of value of the element being added to the specified item |
numValues | number of values in values array. |
parentSeqName | the string name of the parent sequence |
parentSeqItemPosition | the position of the item in that sequence |
Implements svkDcmHeader.
|
protectedvirtual |
Add an item to the specified item in the specified sequence(seqName), where the sequence is nested within a specific parent sequence(parentSeqName) and item(parentSeqItemPosition).
seqName | the string name of the parent sequence |
seqItemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
values | array of value of the element being added to the specified item |
numValues | number of values in values array. |
parentSeqName | the string name of the parent sequence |
parentSeqItemPosition | the position of the item in that sequence |
Implements svkDcmHeader.
|
protectedvirtual |
Add an item to the specified item in the specified sequence(seqName), where the sequence is nested within a specific parent sequence(parentSeqName) and item(parentSeqItemPosition).
seqName | the string name of the parent sequence |
seqItemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
values | array of value of the element being added to the specified item |
numValues | number of values in values array. |
parentSeqName | the string name of the parent sequence |
parentSeqItemPosition | the position of the item in that sequence |
Implements svkDcmHeader.
|
protectedvirtual |
Add an item to the specified item in the specified sequence(seqName), where the sequence is nested within a specific parent sequence(parentSeqName) and item(parentSeqItemPosition).
seqName | the string name of the parent sequence |
seqItemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
values | array of value of the element being added to the specified item |
numValues | number of values in values array. |
parentSeqName | the string name of the parent sequence |
parentSeqItemPosition | the position of the item in that sequence |
Implements svkDcmHeader.
|
protectedvirtual |
Add an item to the specified item in the specified sequence(seqName), where the sequence is nested within a specific parent sequence(parentSeqName) and item(parentSeqItemPosition).
seqName | the string name of the parent sequence |
seqItemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
value | the value of the element being added to the specified item |
parentSeqName | the string name of the parent sequence |
parentSeqItemPosition | the position of the item in that sequence |
Implements svkDcmHeader.
References svkDcmtkUtils::setValue().
|
protectedvirtual |
Add an item to the specified item in the specified sequence(seqName), where the sequence is nested within a specific parent sequence(parentSeqName) and item(parentSeqItemPosition).
seqName | the string name of the parent sequence |
seqItemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
value | the value of the element being added to the specified item |
parentSeqName | the string name of the parent sequence |
parentSeqItemPosition | the position of the item in that sequence |
Implements svkDcmHeader.
References svkDcmtkUtils::setValue().
|
protectedvirtual |
Add an item to the specified item in the specified sequence(seqName), where the nestedSequence is nested within a specific parent sequence(parentSeqName) and item(parentSeqItemPosition).
seqName | the string name of the parent sequence |
seqItemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
value | the value of the element being added to the specified item |
parentSeqName | the string name of the parent sequence |
parentSeqItemPosition | the position of the item in that sequence |
Implements svkDcmHeader.
References svkDcmtkUtils::setValue().
|
protectedvirtual |
Add an item to the specified item in the specified sequence(seqName), where the nestedSequence is nested within a specific parent sequence(parentSeqName) and item(parentSeqItemPosition).
seqName | the string name of the parent sequence |
seqItemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
value | the value of the element being added to the specified item |
parentSeqName | the string name of the parent sequence |
parentSeqItemPosition | the position of the item in that sequence |
Implements svkDcmHeader.
References svkDcmtkUtils::setValue().
|
protectedvirtual |
Clears the specified element
seqName | the string name of the parent sequence to clear |
Implements svkDcmHeader.
|
protectedvirtual |
Removes all items from the specified sequence
seqName | the string name of the parent sequence to clear |
Implements svkDcmHeader.
|
protectedvirtual |
Copies the current DICOM header to the headerCopy, generating new series and instance UIDs, but retaining the reference header studyUID. VTK doesn't support copy constructors, so this is a method.
headerCopy | header object to copy current object into. |
Implements svkDcmHeader.
|
protectedvirtual |
Copies a top-level sequence from this header to the target header.
Implements svkDcmHeader.
|
protectedvirtual |
Factory method implementation
Implements svkDcmHeader.
|
protectedvirtual |
Test for existence of a particular element. If patentSeqName is set to "top" then only check top level attributes (i.e. searchIntoSub = false).
Implements svkDcmHeader.
|
protectedvirtual |
Static utility method to generate a new unique DICOM UID.
Implements svkDcmHeader.
Referenced by svkDcmtkAdapter::InsertUniqueUID().
|
protectedvirtual |
Gets the array of values for a given tag.
name | the name of the tag whose value you wish to set |
values | the pointer to the array of values you wish the tag to have |
numValues | the number of elements in the array of values |
Implements svkDcmHeader.
|
protectedvirtual |
Lookup a name from a group/element Args: groupElementString "(gggg,eeee)"
Implements svkDcmHeader.
|
protectedvirtual |
Get an item from the specified item in the specified sequence.
seqName | the string name of the sequence |
itemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
Implements svkDcmHeader.
References svkDcmtkUtils::getDoubleValue().
|
protectedvirtual |
Gets the value of a given tag as a double.
name | the name of the tag whose value you wish to get |
Implements svkDcmHeader.
References svkDcmtkIod::getDoubleValue().
|
protectedvirtual |
Get an item from the specified item in the specified sequence.
seqName | the string name of the sequence |
itemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
Implements svkDcmHeader.
References svkDcmtkUtils::getFloatValue().
|
protectedvirtual |
Get an item from the specified item in the specified sequence.
seqName | the string name of the sequence |
itemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
Implements svkDcmHeader.
|
protectedvirtual |
Gets the value of a given tag as a float.
name | the name of the tag whose value you wish to get |
Implements svkDcmHeader.
References svkDcmtkIod::getFloatValue().
|
protectedvirtual |
Gets the array of values for a given tag.
name | the name of the tag whose value you wish to set |
values | the pointer to the array of values you wish the tag to have |
numValues | the number of elements in the array of values |
Implements svkDcmHeader.
|
protectedvirtual |
Get an item from the specified item in the specified sequence.
seqName | the string name of the sequence |
itemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
Implements svkDcmHeader.
References svkDcmtkUtils::getIntValue().
|
protectedvirtual |
Gets the value of a given tag as an integer.
name | the name of the tag whose value you wish to get |
Implements svkDcmHeader.
References svkDcmtkIod::getIntValue().
|
protectedvirtual |
Get an item from the specified item in the specified sequence.
seqName | the string name of the sequence |
itemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
Implements svkDcmHeader.
References svkDcmtkUtils::getStringValue(), and svkTypeUtils::StringToLInt().
|
protectedvirtual |
Returns the number of elements in the data set with the specified element name.
elementName | the name of the tag you wish to know the number of elements in |
Implements svkDcmHeader.
|
protectedvirtual |
Returns the number of items in the specified sequence.
seqName | the name of the sequence you wish to know the number of elements in |
Implements svkDcmHeader.
|
protectedvirtual |
Returns the number of items in the specified sequence.
seqName | the name of the sequence you wish to know the number of elements in |
Implements svkDcmHeader.
|
protectedvirtual |
Return the original transfer syntax of the data set.
Implements svkDcmHeader.
|
protectedvirtual |
Return one short word at the specified index from the PixelData field.
Implements svkDcmHeader.
|
protectedvirtual |
Returns the length of the element
elementName | the name of the tag you wish to know the number of elements in |
Implements svkDcmHeader.
|
protectedvirtual |
Gets the array of values for a given tag.
name | the name of the tag whose value you wish to set |
values | the pointer to the array of values you wish the tag to have |
numValues | the number of elements in the array of values |
Implements svkDcmHeader.
|
protectedvirtual |
Gets the value at a given position for a given tag.
name | the name of the tag whose value you wish to set |
position | the position in the array of the value |
Implements svkDcmHeader.
|
protectedvirtual |
Get an item from the specified item in the specified sequence.
seqName | the string name of the sequence |
itemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
Implements svkDcmHeader.
References svkDcmtkUtils::getStringValue().
|
protectedvirtual |
Get an item from the specified item in the specified sequence.
seqName | the string name of the sequence |
itemPosition | the position of the item in that sequence |
elementName | the name of the element being added to the specified item |
pos | the position within the element |
Implements svkDcmHeader.
References svkDcmtkUtils::getStringValue().
|
protectedvirtual |
Gets the value of a given tag as a string.
name | the name of the tag whose value you wish to get |
Implements svkDcmHeader.
References svkDcmtkIod::getStringValue(), and svkDcmtkAdapter::HandleTagNotFoundException().
|
protectedvirtual |
Gets the value of a given tag, for a given position as a string.
name | the name of the tag whose value you wish to get |
pos | the position of the element in the string whose value you wish to get |
Implements svkDcmHeader.
References svkDcmtkIod::getStringValue(), and svkDcmtkAdapter::HandleTagNotFoundException().
|
protectedvirtual |
Some exceptions are acceptable so lets filter those out. If in debug mode report all exceptions.
Referenced by svkDcmtkAdapter::GetStringValue().
|
protectedvirtual |
Sets the value of a given tag.
name | the name of the tag whose value you wish to set |
value | the integer value you wish the tag to have |
Implements svkDcmHeader.
|
protectedvirtual |
Generate and insert a unique UID as the value of the specified tag.
name | the name of the tag whose value you wish to set |
whether | to set the UID in the dataset or meta information. |
Implements svkDcmHeader.
References svkDcmtkAdapter::GenerateUniqueUID(), and svkDcmtkIod::setValue().
|
protectedvirtual |
Sets the array of value for a given tag.
name | the name of the tag whose value you wish to set |
values | the pointer to the array of values you wish the tag to have |
numValues | the number of elements in the array of values |
Implements svkDcmHeader.
|
static |
Referenced by svkImageData::svkImageData(), and svkDICOMMRIWriter::Write().
|
protectedvirtual |
Print the header information to standard out.
Implements svkDcmHeader.
|
protectedvirtual |
Print the header information to standard the given stream.
Implements svkDcmHeader.
|
protectedvirtual |
Read the DICOM file to the specified file name
fileName | name of the output file root (no extension). |
Implements svkDcmHeader.
References HEADER_MAX_READ_LENGTH.
Referenced by svkDcmtkAdapter::ReadDcmFileHeaderOnly().
|
protectedvirtual |
Read the DICOM header only to the specified file name
fileName | name of the output file root (no extension). |
Implements svkDcmHeader.
References HEADER_MAX_READ_LENGTH, and svkDcmtkAdapter::ReadDcmFile().
|
protectedvirtual |
Removes the specified element
seqName | the string name of the element to remove |
Implements svkDcmHeader.
|
protectedvirtual |
determines whether insert new element statements replace existing values or not.
Implements svkDcmHeader.
|
protectedvirtual |
Set the SOP CLass UID.
Implements svkDcmHeader.
References svkDcmHeader::ENHANCED_MR_IMAGE, svkDcmHeader::MR_IMAGE, svkDcmHeader::MR_SPECTROSCOPY, svkDcmHeader::RAW_DATA, and svkDcmHeader::SECONDARY_CAPTURE.
|
protectedvirtual |
Sets the value of a given tag.
name | the name of the tag whose value you wish to set |
value | the integer value you wish the tag to have |
Implements svkDcmHeader.
References svkDcmtkIod::setValue().
|
protectedvirtual |
Sets the value of a given tag.
name | the name of the tag whose value you wish to set |
value | the float value you wish the tag to have |
Implements svkDcmHeader.
References svkDcmtkIod::setValue().
|
protectedvirtual |
Sets the value of a given tag.
name | the name of the tag whose value you wish to set |
value | the double value you wish the tag to have |
Implements svkDcmHeader.
References svkDcmtkIod::setValue().
|
protectedvirtual |
Sets the value of a given tag.
name | the name of the tag whose value you wish to set |
value | the string value you wish the tag to have |
whether | to set the value in the dataset or metaInfo |
Implements svkDcmHeader.
References svkDcmtkIod::setValue().
|
protectedvirtual |
Sets the array of value for a given tag.
name | the name of the tag whose value you wish to set |
values | the pointer to the array of values you wish the tag to have |
numValues | the number of elements in the array of values |
Implements svkDcmHeader.
|
protectedvirtual |
Sets the array of value for a given tag.
name | the name of the tag whose value you wish to set |
values | the pointer to the array of values you wish the tag to have |
numValues | the number of elements in the array of values |
Implements svkDcmHeader.
|
protectedvirtual |
Sets the array of value for a given tag.
name | the name of the tag whose value you wish to set |
values | the pointer to the array of values you wish the tag to have |
numValues | the number of elements in the array of values |
Implements svkDcmHeader.
|
protectedvirtual |
Sets the array of value for a given tag.
name | the name of the tag whose value you wish to set |
values | the pointer to the array of values you wish the tag to have |
numValues | the number of elements in the array of values |
Implements svkDcmHeader.
vtkTypeMacro | ( | svkDcmtkAdapter | , |
svkDcmHeader | |||
) |
|
protectedvirtual |
Writes the DICOM file to the specified file name
fileName | name of the output file root (no extension). |
Implements svkDcmHeader.
|
protectedvirtual |
Writes the DICOM file to the specified file name and using RLE Lossless compression transfer syntax.
fileName | name of the output file root (no extension). |
Implements svkDcmHeader.