vtkgdcm
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
vtkGDCMMedicalImageProperties Class Reference

some medical image properties. More...

#include <vtkGDCMMedicalImageProperties.h>

Inherits vtkMedicalImageProperties.

Public Types

enum  OrientationType { AXIAL = 0, CORONAL, SAGITTAL }
 
typedef vtkMedicalImageProperties Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Clear ()
 Convenience method to reset all fields to an empty string/value. More...
 
 vtkSetStringMacro (PatientName)
 
 vtkGetStringMacro (PatientName)
 
int GetPatientAgeYear ()
 
int GetPatientAgeMonth ()
 
int GetPatientAgeWeek ()
 
int GetPatientAgeDay ()
 
int GetPatientBirthDateYear ()
 
int GetPatientBirthDateMonth ()
 
int GetPatientBirthDateDay ()
 
int GetAcquisitionDateYear ()
 
int GetAcquisitionDateMonth ()
 
int GetAcquisitionDateDay ()
 
int GetImageDateYear ()
 
int GetImageDateMonth ()
 
int GetImageDateDay ()
 
void AddUserDefinedValue (const char *name, const char *value)
 
const char * GetUserDefinedValue (const char *name)
 
unsigned int GetNumberOfUserDefinedValues ()
 
const char * GetUserDefinedNameByIndex (unsigned int idx)
 
const char * GetUserDefinedValueByIndex (unsigned int idx)
 
virtual void DeepCopy (vtkGDCMMedicalImageProperties *p)
 Copy the contents of p to this instance. More...
 
int GetSliceIDFromInstanceUID (int &volumeidx, const char *uid)
 Provides the inverse mapping. More...
 
int GetOrientationType (int volumeidx)
 
void SetOrientationType (int volumeidx, int orientation)
 
 vtkSetStringMacro (PatientID)
 Patient ID For ex: DICOM (0010,0020) = 1933197. More...
 
 vtkGetStringMacro (PatientID)
 Patient ID For ex: DICOM (0010,0020) = 1933197. More...
 
 vtkSetStringMacro (PatientAge)
 Patient age Format: nnnD, nnW, nnnM or nnnY (eventually nnD, nnW, nnY) with D (day), M (month), W (week), Y (year) For ex: DICOM (0010,1010) = 031Y. More...
 
 vtkGetStringMacro (PatientAge)
 Patient age Format: nnnD, nnW, nnnM or nnnY (eventually nnD, nnW, nnY) with D (day), M (month), W (week), Y (year) For ex: DICOM (0010,1010) = 031Y. More...
 
 vtkSetStringMacro (PatientSex)
 Patient sex For ex: DICOM (0010,0040) = M. More...
 
 vtkGetStringMacro (PatientSex)
 Patient sex For ex: DICOM (0010,0040) = M. More...
 
 vtkSetStringMacro (PatientBirthDate)
 Patient birth date Format: yyyymmdd For ex: DICOM (0010,0030) = 19680427. More...
 
 vtkGetStringMacro (PatientBirthDate)
 Patient birth date Format: yyyymmdd For ex: DICOM (0010,0030) = 19680427. More...
 
 vtkSetStringMacro (StudyDate)
 Study Date Format: yyyymmdd For ex: DICOM (0008,0020) = 20030617. More...
 
 vtkGetStringMacro (StudyDate)
 Study Date Format: yyyymmdd For ex: DICOM (0008,0020) = 20030617. More...
 
 vtkSetStringMacro (AcquisitionDate)
 Acquisition Date Format: yyyymmdd For ex: DICOM (0008,0022) = 20030617. More...
 
 vtkGetStringMacro (AcquisitionDate)
 Acquisition Date Format: yyyymmdd For ex: DICOM (0008,0022) = 20030617. More...
 
 vtkSetStringMacro (StudyTime)
 Study Time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0030) = 162552.0705 or 230012, or 0012. More...
 
 vtkGetStringMacro (StudyTime)
 Study Time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0030) = 162552.0705 or 230012, or 0012. More...
 
 vtkSetStringMacro (AcquisitionTime)
 Acquisition time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0032) = 162552.0705 or 230012, or 0012. More...
 
 vtkGetStringMacro (AcquisitionTime)
 Acquisition time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0032) = 162552.0705 or 230012, or 0012. More...
 
 vtkSetStringMacro (ImageDate)
 Image Date aka Content Date Format: yyyymmdd For ex: DICOM (0008,0023) = 20030617. More...
 
 vtkGetStringMacro (ImageDate)
 Image Date aka Content Date Format: yyyymmdd For ex: DICOM (0008,0023) = 20030617. More...
 
 vtkSetStringMacro (ImageTime)
 Image Time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0033) = 162552.0705 or 230012, or 0012. More...
 
 vtkGetStringMacro (ImageTime)
 Image Time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0033) = 162552.0705 or 230012, or 0012. More...
 
 vtkSetStringMacro (ImageNumber)
 Image number For ex: DICOM (0020,0013) = 1. More...
 
 vtkGetStringMacro (ImageNumber)
 Image number For ex: DICOM (0020,0013) = 1. More...
 
 vtkSetStringMacro (SeriesNumber)
 Series number For ex: DICOM (0020,0011) = 902. More...
 
 vtkGetStringMacro (SeriesNumber)
 Series number For ex: DICOM (0020,0011) = 902. More...
 
 vtkSetStringMacro (SeriesDescription)
 Series Description User provided description of the Series For ex: DICOM (0008,103e) = SCOUT. More...
 
 vtkGetStringMacro (SeriesDescription)
 Series Description User provided description of the Series For ex: DICOM (0008,103e) = SCOUT. More...
 
 vtkSetStringMacro (StudyID)
 Study ID For ex: DICOM (0020,0010) = 37481. More...
 
 vtkGetStringMacro (StudyID)
 Study ID For ex: DICOM (0020,0010) = 37481. More...
 
 vtkSetStringMacro (StudyDescription)
 Study description For ex: DICOM (0008,1030) = BRAIN/C-SP/FACIAL. More...
 
 vtkGetStringMacro (StudyDescription)
 Study description For ex: DICOM (0008,1030) = BRAIN/C-SP/FACIAL. More...
 
 vtkSetStringMacro (Modality)
 Modality For ex: DICOM (0008,0060)= CT. More...
 
 vtkGetStringMacro (Modality)
 Modality For ex: DICOM (0008,0060)= CT. More...
 
 vtkSetStringMacro (Manufacturer)
 Manufacturer For ex: DICOM (0008,0070) = Siemens. More...
 
 vtkGetStringMacro (Manufacturer)
 Manufacturer For ex: DICOM (0008,0070) = Siemens. More...
 
 vtkSetStringMacro (ManufacturerModelName)
 Manufacturer's Model Name For ex: DICOM (0008,1090) = LightSpeed QX/i. More...
 
 vtkGetStringMacro (ManufacturerModelName)
 Manufacturer's Model Name For ex: DICOM (0008,1090) = LightSpeed QX/i. More...
 
 vtkSetStringMacro (StationName)
 Station Name For ex: DICOM (0008,1010) = LSPD_OC8. More...
 
 vtkGetStringMacro (StationName)
 Station Name For ex: DICOM (0008,1010) = LSPD_OC8. More...
 
 vtkSetStringMacro (InstitutionName)
 Institution Name For ex: DICOM (0008,0080) = FooCity Medical Center. More...
 
 vtkGetStringMacro (InstitutionName)
 Institution Name For ex: DICOM (0008,0080) = FooCity Medical Center. More...
 
 vtkSetStringMacro (ConvolutionKernel)
 Convolution Kernel (or algorithm used to reconstruct the data) For ex: DICOM (0018,1210) = Bone. More...
 
 vtkGetStringMacro (ConvolutionKernel)
 Convolution Kernel (or algorithm used to reconstruct the data) For ex: DICOM (0018,1210) = Bone. More...
 
 vtkSetStringMacro (SliceThickness)
 Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438. More...
 
 vtkGetStringMacro (SliceThickness)
 Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438. More...
 
virtual double GetSliceThicknessAsDouble ()
 Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438. More...
 
 vtkSetStringMacro (KVP)
 Peak kilo voltage output of the (x-ray) generator used For ex: DICOM (0018,0060) = 120. More...
 
 vtkGetStringMacro (KVP)
 Peak kilo voltage output of the (x-ray) generator used For ex: DICOM (0018,0060) = 120. More...
 
 vtkSetStringMacro (GantryTilt)
 Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15. More...
 
 vtkGetStringMacro (GantryTilt)
 Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15. More...
 
virtual double GetGantryTiltAsDouble ()
 Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15. More...
 
 vtkSetStringMacro (EchoTime)
 Echo Time (Time in ms between the middle of the excitation pulse and the peak of the echo produced) For ex: DICOM (0018,0081) = 105. More...
 
 vtkGetStringMacro (EchoTime)
 Echo Time (Time in ms between the middle of the excitation pulse and the peak of the echo produced) For ex: DICOM (0018,0081) = 105. More...
 
 vtkSetStringMacro (EchoTrainLength)
 Echo Train Length (Number of lines in k-space acquired per excitation per image) For ex: DICOM (0018,0091) = 35. More...
 
 vtkGetStringMacro (EchoTrainLength)
 Echo Train Length (Number of lines in k-space acquired per excitation per image) For ex: DICOM (0018,0091) = 35. More...
 
 vtkSetStringMacro (RepetitionTime)
 Repetition Time The period of time in msec between the beginning of a pulse sequence and the beginning of the succeeding (essentially identical) pulse sequence. More...
 
 vtkGetStringMacro (RepetitionTime)
 Repetition Time The period of time in msec between the beginning of a pulse sequence and the beginning of the succeeding (essentially identical) pulse sequence. More...
 
 vtkSetStringMacro (ExposureTime)
 Exposure time (time of x-ray exposure in msec) For ex: DICOM (0018,1150) = 5. More...
 
 vtkGetStringMacro (ExposureTime)
 Exposure time (time of x-ray exposure in msec) For ex: DICOM (0018,1150) = 5. More...
 
 vtkSetStringMacro (XRayTubeCurrent)
 X-ray tube current (in mA) For ex: DICOM (0018,1151) = 400. More...
 
 vtkGetStringMacro (XRayTubeCurrent)
 X-ray tube current (in mA) For ex: DICOM (0018,1151) = 400. More...
 
 vtkSetStringMacro (Exposure)
 Exposure (The exposure expressed in mAs, for example calculated from Exposure Time and X-ray Tube Current) For ex: DICOM (0018,1152) = 114. More...
 
 vtkGetStringMacro (Exposure)
 Exposure (The exposure expressed in mAs, for example calculated from Exposure Time and X-ray Tube Current) For ex: DICOM (0018,1152) = 114. More...
 
virtual void AddWindowLevelPreset (double w, double l)
 Add/Remove/Query the window/level presets that may have been associated to a medical image. More...
 
virtual void RemoveWindowLevelPreset (double w, double l)
 Add/Remove/Query the window/level presets that may have been associated to a medical image. More...
 
virtual void RemoveAllWindowLevelPresets ()
 Add/Remove/Query the window/level presets that may have been associated to a medical image. More...
 
virtual int GetNumberOfWindowLevelPresets ()
 Add/Remove/Query the window/level presets that may have been associated to a medical image. More...
 
virtual int HasWindowLevelPreset (double w, double l)
 Add/Remove/Query the window/level presets that may have been associated to a medical image. More...
 
virtual int GetNthWindowLevelPreset (int idx, double *w, double *l)
 Add/Remove/Query the window/level presets that may have been associated to a medical image. More...
 
virtual double * GetNthWindowLevelPreset (int idx)
 Add/Remove/Query the window/level presets that may have been associated to a medical image. More...
 
virtual void SetNthWindowLevelPresetComment (int idx, const char *comment)
 Add/Remove/Query the window/level presets that may have been associated to a medical image. More...
 
virtual const char * GetNthWindowLevelPresetComment (int idx)
 Add/Remove/Query the window/level presets that may have been associated to a medical image. More...
 
const char * GetInstanceUIDFromSliceID (int volumeidx, int sliceid)
 Mapping from a sliceidx within a volumeidx into a DICOM Instance UID Some DICOM reader can populate this structure so that later on from a slice index in a vtkImageData volume we can backtrack and find out which 2d slice it was coming from. More...
 
void SetInstanceUIDFromSliceID (int volumeidx, int sliceid, const char *uid)
 Mapping from a sliceidx within a volumeidx into a DICOM Instance UID Some DICOM reader can populate this structure so that later on from a slice index in a vtkImageData volume we can backtrack and find out which 2d slice it was coming from. More...
 

Static Public Member Functions

static vtkGDCMMedicalImagePropertiesNew ()
 
static int IsTypeOf (const char *type)
 
static vtkGDCMMedicalImagePropertiesSafeDownCast (vtkObject *o)
 
static int GetAgeAsFields (const char *age, int &year, int &month, int &week, int &day)
 Take as input a string in VR=AS (DICOM PS3.5) and extract either different fields namely: year month week day Return 0 on error, 1 on success One can test fields if they are different from -1 upon success. More...
 
static int GetDateAsFields (const char *date, int &year, int &month, int &day)
 Take as input a string in ISO 8601 date (YYYY/MM/DD) and extract the different fields namely: year month day Return 0 on error, 1 on success. More...
 
static int GetDateAsLocale (const char *date, char *locale)
 Take as input a string in ISO 8601 date (YYYY/MM/DD) and construct a locale date based on the different fields (see GetDateAsFields to extract different fields) Return 0 on error, 1 on success. More...
 
static const char * GetStringFromOrientationType (unsigned int type)
 

Protected Member Functions

 vtkGDCMMedicalImageProperties ()
 
 ~vtkGDCMMedicalImageProperties ()
 
void PushBackFile (gdcm::File const &f)
 
gdcm::File const & GetFile (unsigned int t)
 

Friends

class vtkGDCMImageReader
 
class vtkGDCMImageReader2
 
class vtkGDCMImageWriter
 

Detailed Description

some medical image properties.

vtkGDCMMedicalImageProperties is a helper class that can be used by medical image readers and applications to encapsulate medical image/acquisition properties. Later on, this should probably be extended to add any user-defined property.

See also
vtkMedicalImageReader2

Definition at line 36 of file vtkGDCMMedicalImageProperties.h.

Member Typedef Documentation

◆ Superclass

typedef vtkMedicalImageProperties vtkGDCMMedicalImageProperties::Superclass

Definition at line 40 of file vtkGDCMMedicalImageProperties.h.

Member Enumeration Documentation

◆ OrientationType

Enumerator
AXIAL 
CORONAL 
SAGITTAL 

Definition at line 453 of file vtkGDCMMedicalImageProperties.h.

Constructor & Destructor Documentation

◆ vtkGDCMMedicalImageProperties()

vtkGDCMMedicalImageProperties::vtkGDCMMedicalImageProperties ( )
protected

◆ ~vtkGDCMMedicalImageProperties()

vtkGDCMMedicalImageProperties::~vtkGDCMMedicalImageProperties ( )
protected

Member Function Documentation

◆ New()

static vtkGDCMMedicalImageProperties* vtkGDCMMedicalImageProperties::New ( )
static

◆ GetClassName()

virtual const char* vtkGDCMMedicalImageProperties::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkGDCMMedicalImageProperties::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkGDCMMedicalImageProperties::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkGDCMMedicalImageProperties* vtkGDCMMedicalImageProperties::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkGDCMMedicalImageProperties::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ Clear()

virtual void vtkGDCMMedicalImageProperties::Clear ( )
virtual

Convenience method to reset all fields to an empty string/value.

◆ vtkSetStringMacro() [1/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( PatientName  )

◆ vtkGetStringMacro() [1/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( PatientName  )

◆ vtkSetStringMacro() [2/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( PatientID  )

Patient ID For ex: DICOM (0010,0020) = 1933197.

◆ vtkGetStringMacro() [2/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( PatientID  )

Patient ID For ex: DICOM (0010,0020) = 1933197.

◆ vtkSetStringMacro() [3/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( PatientAge  )

Patient age Format: nnnD, nnW, nnnM or nnnY (eventually nnD, nnW, nnY) with D (day), M (month), W (week), Y (year) For ex: DICOM (0010,1010) = 031Y.

◆ vtkGetStringMacro() [3/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( PatientAge  )

Patient age Format: nnnD, nnW, nnnM or nnnY (eventually nnD, nnW, nnY) with D (day), M (month), W (week), Y (year) For ex: DICOM (0010,1010) = 031Y.

◆ GetAgeAsFields()

static int vtkGDCMMedicalImageProperties::GetAgeAsFields ( const char *  age,
int &  year,
int &  month,
int &  week,
int &  day 
)
static

Take as input a string in VR=AS (DICOM PS3.5) and extract either different fields namely: year month week day Return 0 on error, 1 on success One can test fields if they are different from -1 upon success.

◆ GetPatientAgeYear()

int vtkGDCMMedicalImageProperties::GetPatientAgeYear ( )

◆ GetPatientAgeMonth()

int vtkGDCMMedicalImageProperties::GetPatientAgeMonth ( )

◆ GetPatientAgeWeek()

int vtkGDCMMedicalImageProperties::GetPatientAgeWeek ( )

◆ GetPatientAgeDay()

int vtkGDCMMedicalImageProperties::GetPatientAgeDay ( )

◆ vtkSetStringMacro() [4/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( PatientSex  )

Patient sex For ex: DICOM (0010,0040) = M.

◆ vtkGetStringMacro() [4/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( PatientSex  )

Patient sex For ex: DICOM (0010,0040) = M.

◆ vtkSetStringMacro() [5/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( PatientBirthDate  )

Patient birth date Format: yyyymmdd For ex: DICOM (0010,0030) = 19680427.

◆ vtkGetStringMacro() [5/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( PatientBirthDate  )

Patient birth date Format: yyyymmdd For ex: DICOM (0010,0030) = 19680427.

◆ GetPatientBirthDateYear()

int vtkGDCMMedicalImageProperties::GetPatientBirthDateYear ( )

◆ GetPatientBirthDateMonth()

int vtkGDCMMedicalImageProperties::GetPatientBirthDateMonth ( )

◆ GetPatientBirthDateDay()

int vtkGDCMMedicalImageProperties::GetPatientBirthDateDay ( )

◆ vtkSetStringMacro() [6/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( StudyDate  )

Study Date Format: yyyymmdd For ex: DICOM (0008,0020) = 20030617.

◆ vtkGetStringMacro() [6/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( StudyDate  )

Study Date Format: yyyymmdd For ex: DICOM (0008,0020) = 20030617.

◆ vtkSetStringMacro() [7/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( AcquisitionDate  )

Acquisition Date Format: yyyymmdd For ex: DICOM (0008,0022) = 20030617.

◆ vtkGetStringMacro() [7/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( AcquisitionDate  )

Acquisition Date Format: yyyymmdd For ex: DICOM (0008,0022) = 20030617.

◆ GetAcquisitionDateYear()

int vtkGDCMMedicalImageProperties::GetAcquisitionDateYear ( )

◆ GetAcquisitionDateMonth()

int vtkGDCMMedicalImageProperties::GetAcquisitionDateMonth ( )

◆ GetAcquisitionDateDay()

int vtkGDCMMedicalImageProperties::GetAcquisitionDateDay ( )

◆ vtkSetStringMacro() [8/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( StudyTime  )

Study Time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0030) = 162552.0705 or 230012, or 0012.

◆ vtkGetStringMacro() [8/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( StudyTime  )

Study Time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0030) = 162552.0705 or 230012, or 0012.

◆ vtkSetStringMacro() [9/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( AcquisitionTime  )

Acquisition time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0032) = 162552.0705 or 230012, or 0012.

◆ vtkGetStringMacro() [9/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( AcquisitionTime  )

Acquisition time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0032) = 162552.0705 or 230012, or 0012.

◆ vtkSetStringMacro() [10/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( ImageDate  )

Image Date aka Content Date Format: yyyymmdd For ex: DICOM (0008,0023) = 20030617.

◆ vtkGetStringMacro() [10/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( ImageDate  )

Image Date aka Content Date Format: yyyymmdd For ex: DICOM (0008,0023) = 20030617.

◆ GetImageDateYear()

int vtkGDCMMedicalImageProperties::GetImageDateYear ( )

◆ GetImageDateMonth()

int vtkGDCMMedicalImageProperties::GetImageDateMonth ( )

◆ GetImageDateDay()

int vtkGDCMMedicalImageProperties::GetImageDateDay ( )

◆ GetDateAsFields()

static int vtkGDCMMedicalImageProperties::GetDateAsFields ( const char *  date,
int &  year,
int &  month,
int &  day 
)
static

Take as input a string in ISO 8601 date (YYYY/MM/DD) and extract the different fields namely: year month day Return 0 on error, 1 on success.

◆ GetDateAsLocale()

static int vtkGDCMMedicalImageProperties::GetDateAsLocale ( const char *  date,
char *  locale 
)
static

Take as input a string in ISO 8601 date (YYYY/MM/DD) and construct a locale date based on the different fields (see GetDateAsFields to extract different fields) Return 0 on error, 1 on success.

◆ vtkSetStringMacro() [11/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( ImageTime  )

Image Time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0033) = 162552.0705 or 230012, or 0012.

◆ vtkGetStringMacro() [11/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( ImageTime  )

Image Time Format: hhmmss.frac (any trailing component(s) can be ommited) For ex: DICOM (0008,0033) = 162552.0705 or 230012, or 0012.

◆ vtkSetStringMacro() [12/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( ImageNumber  )

Image number For ex: DICOM (0020,0013) = 1.

◆ vtkGetStringMacro() [12/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( ImageNumber  )

Image number For ex: DICOM (0020,0013) = 1.

◆ vtkSetStringMacro() [13/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( SeriesNumber  )

Series number For ex: DICOM (0020,0011) = 902.

◆ vtkGetStringMacro() [13/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( SeriesNumber  )

Series number For ex: DICOM (0020,0011) = 902.

◆ vtkSetStringMacro() [14/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( SeriesDescription  )

Series Description User provided description of the Series For ex: DICOM (0008,103e) = SCOUT.

◆ vtkGetStringMacro() [14/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( SeriesDescription  )

Series Description User provided description of the Series For ex: DICOM (0008,103e) = SCOUT.

◆ vtkSetStringMacro() [15/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( StudyID  )

Study ID For ex: DICOM (0020,0010) = 37481.

◆ vtkGetStringMacro() [15/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( StudyID  )

Study ID For ex: DICOM (0020,0010) = 37481.

◆ vtkSetStringMacro() [16/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( StudyDescription  )

Study description For ex: DICOM (0008,1030) = BRAIN/C-SP/FACIAL.

◆ vtkGetStringMacro() [16/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( StudyDescription  )

Study description For ex: DICOM (0008,1030) = BRAIN/C-SP/FACIAL.

◆ vtkSetStringMacro() [17/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( Modality  )

Modality For ex: DICOM (0008,0060)= CT.

◆ vtkGetStringMacro() [17/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( Modality  )

Modality For ex: DICOM (0008,0060)= CT.

◆ vtkSetStringMacro() [18/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( Manufacturer  )

Manufacturer For ex: DICOM (0008,0070) = Siemens.

◆ vtkGetStringMacro() [18/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( Manufacturer  )

Manufacturer For ex: DICOM (0008,0070) = Siemens.

◆ vtkSetStringMacro() [19/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( ManufacturerModelName  )

Manufacturer's Model Name For ex: DICOM (0008,1090) = LightSpeed QX/i.

◆ vtkGetStringMacro() [19/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( ManufacturerModelName  )

Manufacturer's Model Name For ex: DICOM (0008,1090) = LightSpeed QX/i.

◆ vtkSetStringMacro() [20/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( StationName  )

Station Name For ex: DICOM (0008,1010) = LSPD_OC8.

◆ vtkGetStringMacro() [20/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( StationName  )

Station Name For ex: DICOM (0008,1010) = LSPD_OC8.

◆ vtkSetStringMacro() [21/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( InstitutionName  )

Institution Name For ex: DICOM (0008,0080) = FooCity Medical Center.

◆ vtkGetStringMacro() [21/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( InstitutionName  )

Institution Name For ex: DICOM (0008,0080) = FooCity Medical Center.

◆ vtkSetStringMacro() [22/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( ConvolutionKernel  )

Convolution Kernel (or algorithm used to reconstruct the data) For ex: DICOM (0018,1210) = Bone.

◆ vtkGetStringMacro() [22/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( ConvolutionKernel  )

Convolution Kernel (or algorithm used to reconstruct the data) For ex: DICOM (0018,1210) = Bone.

◆ vtkSetStringMacro() [23/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( SliceThickness  )

Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438.

◆ vtkGetStringMacro() [23/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( SliceThickness  )

Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438.

◆ GetSliceThicknessAsDouble()

virtual double vtkGDCMMedicalImageProperties::GetSliceThicknessAsDouble ( )
virtual

Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438.

◆ vtkSetStringMacro() [24/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( KVP  )

Peak kilo voltage output of the (x-ray) generator used For ex: DICOM (0018,0060) = 120.

◆ vtkGetStringMacro() [24/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( KVP  )

Peak kilo voltage output of the (x-ray) generator used For ex: DICOM (0018,0060) = 120.

◆ vtkSetStringMacro() [25/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( GantryTilt  )

Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15.

◆ vtkGetStringMacro() [25/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( GantryTilt  )

Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15.

◆ GetGantryTiltAsDouble()

virtual double vtkGDCMMedicalImageProperties::GetGantryTiltAsDouble ( )
virtual

Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15.

◆ vtkSetStringMacro() [26/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( EchoTime  )

Echo Time (Time in ms between the middle of the excitation pulse and the peak of the echo produced) For ex: DICOM (0018,0081) = 105.

◆ vtkGetStringMacro() [26/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( EchoTime  )

Echo Time (Time in ms between the middle of the excitation pulse and the peak of the echo produced) For ex: DICOM (0018,0081) = 105.

◆ vtkSetStringMacro() [27/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( EchoTrainLength  )

Echo Train Length (Number of lines in k-space acquired per excitation per image) For ex: DICOM (0018,0091) = 35.

◆ vtkGetStringMacro() [27/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( EchoTrainLength  )

Echo Train Length (Number of lines in k-space acquired per excitation per image) For ex: DICOM (0018,0091) = 35.

◆ vtkSetStringMacro() [28/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( RepetitionTime  )

Repetition Time The period of time in msec between the beginning of a pulse sequence and the beginning of the succeeding (essentially identical) pulse sequence.

For ex: DICOM (0018,0080) = 2040

◆ vtkGetStringMacro() [28/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( RepetitionTime  )

Repetition Time The period of time in msec between the beginning of a pulse sequence and the beginning of the succeeding (essentially identical) pulse sequence.

For ex: DICOM (0018,0080) = 2040

◆ vtkSetStringMacro() [29/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( ExposureTime  )

Exposure time (time of x-ray exposure in msec) For ex: DICOM (0018,1150) = 5.

◆ vtkGetStringMacro() [29/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( ExposureTime  )

Exposure time (time of x-ray exposure in msec) For ex: DICOM (0018,1150) = 5.

◆ vtkSetStringMacro() [30/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( XRayTubeCurrent  )

X-ray tube current (in mA) For ex: DICOM (0018,1151) = 400.

◆ vtkGetStringMacro() [30/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( XRayTubeCurrent  )

X-ray tube current (in mA) For ex: DICOM (0018,1151) = 400.

◆ vtkSetStringMacro() [31/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( Exposure  )

Exposure (The exposure expressed in mAs, for example calculated from Exposure Time and X-ray Tube Current) For ex: DICOM (0018,1152) = 114.

◆ vtkGetStringMacro() [31/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( Exposure  )

Exposure (The exposure expressed in mAs, for example calculated from Exposure Time and X-ray Tube Current) For ex: DICOM (0018,1152) = 114.

◆ AddUserDefinedValue()

void vtkGDCMMedicalImageProperties::AddUserDefinedValue ( const char *  name,
const char *  value 
)

◆ GetUserDefinedValue()

const char* vtkGDCMMedicalImageProperties::GetUserDefinedValue ( const char *  name)

◆ GetNumberOfUserDefinedValues()

unsigned int vtkGDCMMedicalImageProperties::GetNumberOfUserDefinedValues ( )

◆ GetUserDefinedNameByIndex()

const char* vtkGDCMMedicalImageProperties::GetUserDefinedNameByIndex ( unsigned int  idx)

◆ GetUserDefinedValueByIndex()

const char* vtkGDCMMedicalImageProperties::GetUserDefinedValueByIndex ( unsigned int  idx)

◆ DeepCopy()

virtual void vtkGDCMMedicalImageProperties::DeepCopy ( vtkGDCMMedicalImageProperties p)
virtual

Copy the contents of p to this instance.

◆ AddWindowLevelPreset()

virtual void vtkGDCMMedicalImageProperties::AddWindowLevelPreset ( double  w,
double  l 
)
virtual

Add/Remove/Query the window/level presets that may have been associated to a medical image.

Window is also known as 'width', level is also known as 'center'. The same window/level pair can not be added twice. As a convenience, a comment (aka Explanation) can be associated to a preset. For ex: DICOM Window Center (0028,1050) = 00045\000470 DICOM Window Width (0028,1051) = 0106\03412 DICOM Window Center Width Explanation (0028,1055) = WINDOW1

◆ RemoveWindowLevelPreset()

virtual void vtkGDCMMedicalImageProperties::RemoveWindowLevelPreset ( double  w,
double  l 
)
virtual

Add/Remove/Query the window/level presets that may have been associated to a medical image.

Window is also known as 'width', level is also known as 'center'. The same window/level pair can not be added twice. As a convenience, a comment (aka Explanation) can be associated to a preset. For ex: DICOM Window Center (0028,1050) = 00045\000470 DICOM Window Width (0028,1051) = 0106\03412 DICOM Window Center Width Explanation (0028,1055) = WINDOW1

◆ RemoveAllWindowLevelPresets()

virtual void vtkGDCMMedicalImageProperties::RemoveAllWindowLevelPresets ( )
virtual

Add/Remove/Query the window/level presets that may have been associated to a medical image.

Window is also known as 'width', level is also known as 'center'. The same window/level pair can not be added twice. As a convenience, a comment (aka Explanation) can be associated to a preset. For ex: DICOM Window Center (0028,1050) = 00045\000470 DICOM Window Width (0028,1051) = 0106\03412 DICOM Window Center Width Explanation (0028,1055) = WINDOW1

◆ GetNumberOfWindowLevelPresets()

virtual int vtkGDCMMedicalImageProperties::GetNumberOfWindowLevelPresets ( )
virtual

Add/Remove/Query the window/level presets that may have been associated to a medical image.

Window is also known as 'width', level is also known as 'center'. The same window/level pair can not be added twice. As a convenience, a comment (aka Explanation) can be associated to a preset. For ex: DICOM Window Center (0028,1050) = 00045\000470 DICOM Window Width (0028,1051) = 0106\03412 DICOM Window Center Width Explanation (0028,1055) = WINDOW1

◆ HasWindowLevelPreset()

virtual int vtkGDCMMedicalImageProperties::HasWindowLevelPreset ( double  w,
double  l 
)
virtual

Add/Remove/Query the window/level presets that may have been associated to a medical image.

Window is also known as 'width', level is also known as 'center'. The same window/level pair can not be added twice. As a convenience, a comment (aka Explanation) can be associated to a preset. For ex: DICOM Window Center (0028,1050) = 00045\000470 DICOM Window Width (0028,1051) = 0106\03412 DICOM Window Center Width Explanation (0028,1055) = WINDOW1

◆ GetNthWindowLevelPreset() [1/2]

virtual int vtkGDCMMedicalImageProperties::GetNthWindowLevelPreset ( int  idx,
double *  w,
double *  l 
)
virtual

Add/Remove/Query the window/level presets that may have been associated to a medical image.

Window is also known as 'width', level is also known as 'center'. The same window/level pair can not be added twice. As a convenience, a comment (aka Explanation) can be associated to a preset. For ex: DICOM Window Center (0028,1050) = 00045\000470 DICOM Window Width (0028,1051) = 0106\03412 DICOM Window Center Width Explanation (0028,1055) = WINDOW1

◆ GetNthWindowLevelPreset() [2/2]

virtual double* vtkGDCMMedicalImageProperties::GetNthWindowLevelPreset ( int  idx)
virtual

Add/Remove/Query the window/level presets that may have been associated to a medical image.

Window is also known as 'width', level is also known as 'center'. The same window/level pair can not be added twice. As a convenience, a comment (aka Explanation) can be associated to a preset. For ex: DICOM Window Center (0028,1050) = 00045\000470 DICOM Window Width (0028,1051) = 0106\03412 DICOM Window Center Width Explanation (0028,1055) = WINDOW1

◆ SetNthWindowLevelPresetComment()

virtual void vtkGDCMMedicalImageProperties::SetNthWindowLevelPresetComment ( int  idx,
const char *  comment 
)
virtual

Add/Remove/Query the window/level presets that may have been associated to a medical image.

Window is also known as 'width', level is also known as 'center'. The same window/level pair can not be added twice. As a convenience, a comment (aka Explanation) can be associated to a preset. For ex: DICOM Window Center (0028,1050) = 00045\000470 DICOM Window Width (0028,1051) = 0106\03412 DICOM Window Center Width Explanation (0028,1055) = WINDOW1

◆ GetNthWindowLevelPresetComment()

virtual const char* vtkGDCMMedicalImageProperties::GetNthWindowLevelPresetComment ( int  idx)
virtual

Add/Remove/Query the window/level presets that may have been associated to a medical image.

Window is also known as 'width', level is also known as 'center'. The same window/level pair can not be added twice. As a convenience, a comment (aka Explanation) can be associated to a preset. For ex: DICOM Window Center (0028,1050) = 00045\000470 DICOM Window Width (0028,1051) = 0106\03412 DICOM Window Center Width Explanation (0028,1055) = WINDOW1

◆ GetInstanceUIDFromSliceID()

const char* vtkGDCMMedicalImageProperties::GetInstanceUIDFromSliceID ( int  volumeidx,
int  sliceid 
)

Mapping from a sliceidx within a volumeidx into a DICOM Instance UID Some DICOM reader can populate this structure so that later on from a slice index in a vtkImageData volume we can backtrack and find out which 2d slice it was coming from.

◆ SetInstanceUIDFromSliceID()

void vtkGDCMMedicalImageProperties::SetInstanceUIDFromSliceID ( int  volumeidx,
int  sliceid,
const char *  uid 
)

Mapping from a sliceidx within a volumeidx into a DICOM Instance UID Some DICOM reader can populate this structure so that later on from a slice index in a vtkImageData volume we can backtrack and find out which 2d slice it was coming from.

◆ GetSliceIDFromInstanceUID()

int vtkGDCMMedicalImageProperties::GetSliceIDFromInstanceUID ( int &  volumeidx,
const char *  uid 
)

Provides the inverse mapping.

Returns -1 if a slice for this uid is not found.

◆ GetOrientationType()

int vtkGDCMMedicalImageProperties::GetOrientationType ( int  volumeidx)

◆ SetOrientationType()

void vtkGDCMMedicalImageProperties::SetOrientationType ( int  volumeidx,
int  orientation 
)

◆ GetStringFromOrientationType()

static const char* vtkGDCMMedicalImageProperties::GetStringFromOrientationType ( unsigned int  type)
static

◆ PushBackFile()

void vtkGDCMMedicalImageProperties::PushBackFile ( gdcm::File const &  f)
protected

◆ GetFile()

gdcm::File const& vtkGDCMMedicalImageProperties::GetFile ( unsigned int  t)
protected

Friends And Related Function Documentation

◆ vtkGDCMImageReader

friend class vtkGDCMImageReader
friend

Definition at line 468 of file vtkGDCMMedicalImageProperties.h.

◆ vtkGDCMImageReader2

friend class vtkGDCMImageReader2
friend

Definition at line 469 of file vtkGDCMMedicalImageProperties.h.

◆ vtkGDCMImageWriter

friend class vtkGDCMImageWriter
friend

Definition at line 470 of file vtkGDCMMedicalImageProperties.h.


The documentation for this class was generated from the following file: