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)
 
 vtkSetStringMacro (PatientID)
 Patient ID For ex: DICOM (0010,0020) = 1933197. More...
 
 vtkGetStringMacro (PatientID)
 
 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)
 
int GetPatientAgeYear ()
 
int GetPatientAgeMonth ()
 
int GetPatientAgeWeek ()
 
int GetPatientAgeDay ()
 
 vtkSetStringMacro (PatientSex)
 Patient sex For ex: DICOM (0010,0040) = M. More...
 
 vtkGetStringMacro (PatientSex)
 
 vtkSetStringMacro (PatientBirthDate)
 Patient birth date Format: yyyymmdd For ex: DICOM (0010,0030) = 19680427. More...
 
 vtkGetStringMacro (PatientBirthDate)
 
int GetPatientBirthDateYear ()
 
int GetPatientBirthDateMonth ()
 
int GetPatientBirthDateDay ()
 
 vtkSetStringMacro (StudyDate)
 Study Date Format: yyyymmdd For ex: DICOM (0008,0020) = 20030617. More...
 
 vtkGetStringMacro (StudyDate)
 
 vtkSetStringMacro (AcquisitionDate)
 Acquisition Date Format: yyyymmdd For ex: DICOM (0008,0022) = 20030617. More...
 
 vtkGetStringMacro (AcquisitionDate)
 
int GetAcquisitionDateYear ()
 
int GetAcquisitionDateMonth ()
 
int GetAcquisitionDateDay ()
 
 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)
 
 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)
 
 vtkSetStringMacro (ImageDate)
 Image Date aka Content Date Format: yyyymmdd For ex: DICOM (0008,0023) = 20030617. More...
 
 vtkGetStringMacro (ImageDate)
 
int GetImageDateYear ()
 
int GetImageDateMonth ()
 
int GetImageDateDay ()
 
 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)
 
 vtkSetStringMacro (ImageNumber)
 Image number For ex: DICOM (0020,0013) = 1. More...
 
 vtkGetStringMacro (ImageNumber)
 
 vtkSetStringMacro (SeriesNumber)
 Series number For ex: DICOM (0020,0011) = 902. More...
 
 vtkGetStringMacro (SeriesNumber)
 
 vtkSetStringMacro (SeriesDescription)
 Series Description User provided description of the Series For ex: DICOM (0008,103e) = SCOUT. More...
 
 vtkGetStringMacro (SeriesDescription)
 
 vtkSetStringMacro (StudyID)
 Study ID For ex: DICOM (0020,0010) = 37481. More...
 
 vtkGetStringMacro (StudyID)
 
 vtkSetStringMacro (StudyDescription)
 Study description For ex: DICOM (0008,1030) = BRAIN/C-SP/FACIAL. More...
 
 vtkGetStringMacro (StudyDescription)
 
 vtkSetStringMacro (Modality)
 Modality For ex: DICOM (0008,0060)= CT. More...
 
 vtkGetStringMacro (Modality)
 
 vtkSetStringMacro (Manufacturer)
 Manufacturer For ex: DICOM (0008,0070) = Siemens. More...
 
 vtkGetStringMacro (Manufacturer)
 
 vtkSetStringMacro (ManufacturerModelName)
 Manufacturer's Model Name For ex: DICOM (0008,1090) = LightSpeed QX/i. More...
 
 vtkGetStringMacro (ManufacturerModelName)
 
 vtkSetStringMacro (StationName)
 Station Name For ex: DICOM (0008,1010) = LSPD_OC8. More...
 
 vtkGetStringMacro (StationName)
 
 vtkSetStringMacro (InstitutionName)
 Institution Name For ex: DICOM (0008,0080) = FooCity Medical Center. More...
 
 vtkGetStringMacro (InstitutionName)
 
 vtkSetStringMacro (ConvolutionKernel)
 Convolution Kernel (or algorithm used to reconstruct the data) For ex: DICOM (0018,1210) = Bone. More...
 
 vtkGetStringMacro (ConvolutionKernel)
 
 vtkSetStringMacro (SliceThickness)
 Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438. More...
 
 vtkGetStringMacro (SliceThickness)
 
virtual double GetSliceThicknessAsDouble ()
 
 vtkSetStringMacro (KVP)
 Peak kilo voltage output of the (x-ray) generator used For ex: DICOM (0018,0060) = 120. More...
 
 vtkGetStringMacro (KVP)
 
 vtkSetStringMacro (GantryTilt)
 Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15. More...
 
 vtkGetStringMacro (GantryTilt)
 
virtual double GetGantryTiltAsDouble ()
 
 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)
 
 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)
 
 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)
 
 vtkSetStringMacro (ExposureTime)
 Exposure time (time of x-ray exposure in msec) For ex: DICOM (0018,1150) = 5. More...
 
 vtkGetStringMacro (ExposureTime)
 
 vtkSetStringMacro (XRayTubeCurrent)
 X-ray tube current (in mA) For ex: DICOM (0018,1151) = 400. More...
 
 vtkGetStringMacro (XRayTubeCurrent)
 
 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)
 
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...
 
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)
 
virtual void RemoveAllWindowLevelPresets ()
 
virtual int GetNumberOfWindowLevelPresets ()
 
virtual int HasWindowLevelPreset (double w, double l)
 
virtual int GetNthWindowLevelPreset (int idx, double *w, double *l)
 
virtual double * GetNthWindowLevelPreset (int idx)
 
virtual void SetNthWindowLevelPresetComment (int idx, const char *comment)
 
virtual const char * GetNthWindowLevelPresetComment (int idx)
 
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)
 
int GetSliceIDFromInstanceUID (int &volumeidx, const char *uid)
 Provides the inverse mapping. More...
 
int GetOrientationType (int volumeidx)
 
void SetOrientationType (int volumeidx, int orientation)
 

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  )

◆ 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  )

◆ 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  )

◆ vtkSetStringMacro() [5/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( PatientBirthDate  )

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

◆ vtkGetStringMacro() [5/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( PatientBirthDate  )

◆ 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  )

◆ vtkSetStringMacro() [7/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( AcquisitionDate  )

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

◆ vtkGetStringMacro() [7/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( AcquisitionDate  )

◆ 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  )

◆ 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  )

◆ 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  )

◆ 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  )

◆ vtkSetStringMacro() [12/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( ImageNumber  )

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

◆ vtkGetStringMacro() [12/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( ImageNumber  )

◆ vtkSetStringMacro() [13/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( SeriesNumber  )

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

◆ vtkGetStringMacro() [13/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( SeriesNumber  )

◆ 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  )

◆ vtkSetStringMacro() [15/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( StudyID  )

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

◆ vtkGetStringMacro() [15/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( StudyID  )

◆ vtkSetStringMacro() [16/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( StudyDescription  )

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

◆ vtkGetStringMacro() [16/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( StudyDescription  )

◆ vtkSetStringMacro() [17/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( Modality  )

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

◆ vtkGetStringMacro() [17/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( Modality  )

◆ vtkSetStringMacro() [18/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( Manufacturer  )

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

◆ vtkGetStringMacro() [18/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( Manufacturer  )

◆ vtkSetStringMacro() [19/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( ManufacturerModelName  )

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

◆ vtkGetStringMacro() [19/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( ManufacturerModelName  )

◆ vtkSetStringMacro() [20/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( StationName  )

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

◆ vtkGetStringMacro() [20/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( StationName  )

◆ vtkSetStringMacro() [21/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( InstitutionName  )

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

◆ vtkGetStringMacro() [21/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( InstitutionName  )

◆ 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  )

◆ 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  )

◆ GetSliceThicknessAsDouble()

virtual double vtkGDCMMedicalImageProperties::GetSliceThicknessAsDouble ( )
virtual

◆ 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  )

◆ 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  )

◆ GetGantryTiltAsDouble()

virtual double vtkGDCMMedicalImageProperties::GetGantryTiltAsDouble ( )
virtual

◆ 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  )

◆ 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  )

◆ 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  )

◆ 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  )

◆ vtkSetStringMacro() [30/31]

vtkGDCMMedicalImageProperties::vtkSetStringMacro ( XRayTubeCurrent  )

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

◆ vtkGetStringMacro() [30/31]

vtkGDCMMedicalImageProperties::vtkGetStringMacro ( XRayTubeCurrent  )

◆ 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  )

◆ 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\WINDOW2

◆ RemoveWindowLevelPreset()

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

◆ RemoveAllWindowLevelPresets()

virtual void vtkGDCMMedicalImageProperties::RemoveAllWindowLevelPresets ( )
virtual

◆ GetNumberOfWindowLevelPresets()

virtual int vtkGDCMMedicalImageProperties::GetNumberOfWindowLevelPresets ( )
virtual

◆ HasWindowLevelPreset()

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

◆ GetNthWindowLevelPreset() [1/2]

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

◆ GetNthWindowLevelPreset() [2/2]

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

◆ SetNthWindowLevelPresetComment()

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

◆ GetNthWindowLevelPresetComment()

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

◆ 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 
)

◆ 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: