VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkMedicalImageProperties Class Reference

some medical image properties. More...

#include <vtkMedicalImageProperties.h>

Inheritance diagram for vtkMedicalImageProperties:
[legend]
Collaboration diagram for vtkMedicalImageProperties:
[legend]

Public Types

enum  OrientationType { AXIAL = 0, CORONAL, SAGITTAL }
 
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkMedicalImagePropertiesNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Clear ()
 
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 ()
 
virtual void AddUserDefinedValue (const char *name, const char *value)
 
virtual const char * GetUserDefinedValue (const char *name)
 
virtual unsigned int GetNumberOfUserDefinedValues ()
 
virtual const char * GetUserDefinedNameByIndex (unsigned int idx)
 
virtual const char * GetUserDefinedValueByIndex (unsigned int idx)
 
virtual void RemoveAllUserDefinedValues ()
 
int GetSliceIDFromInstanceUID (int &volumeidx, const char *uid)
 
int GetOrientationType (int volumeidx)
 
void SetOrientationType (int volumeidx, int orientation)
 
virtual void DeepCopy (vtkMedicalImageProperties *p)
 
virtual void SetPatientName (const char *)
 
virtual char * GetPatientName ()
 
virtual void SetPatientID (const char *)
 
virtual char * GetPatientID ()
 
virtual void SetPatientAge (const char *)
 
virtual char * GetPatientAge ()
 
virtual void SetPatientSex (const char *)
 
virtual char * GetPatientSex ()
 
virtual void SetPatientBirthDate (const char *)
 
virtual char * GetPatientBirthDate ()
 
virtual void SetStudyDate (const char *)
 
virtual char * GetStudyDate ()
 
virtual void SetAcquisitionDate (const char *)
 
virtual char * GetAcquisitionDate ()
 
virtual void SetStudyTime (const char *)
 
virtual char * GetStudyTime ()
 
virtual void SetAcquisitionTime (const char *)
 
virtual char * GetAcquisitionTime ()
 
virtual void SetImageDate (const char *)
 
virtual char * GetImageDate ()
 
virtual void SetImageTime (const char *)
 
virtual char * GetImageTime ()
 
virtual void SetImageNumber (const char *)
 
virtual char * GetImageNumber ()
 
virtual void SetSeriesNumber (const char *)
 
virtual char * GetSeriesNumber ()
 
virtual void SetSeriesDescription (const char *)
 
virtual char * GetSeriesDescription ()
 
virtual void SetStudyID (const char *)
 
virtual char * GetStudyID ()
 
virtual void SetStudyDescription (const char *)
 
virtual char * GetStudyDescription ()
 
virtual void SetModality (const char *)
 
virtual char * GetModality ()
 
virtual void SetManufacturer (const char *)
 
virtual char * GetManufacturer ()
 
virtual void SetManufacturerModelName (const char *)
 
virtual char * GetManufacturerModelName ()
 
virtual void SetStationName (const char *)
 
virtual char * GetStationName ()
 
virtual void SetInstitutionName (const char *)
 
virtual char * GetInstitutionName ()
 
virtual void SetConvolutionKernel (const char *)
 
virtual char * GetConvolutionKernel ()
 
virtual void SetSliceThickness (const char *)
 
virtual char * GetSliceThickness ()
 
virtual double GetSliceThicknessAsDouble ()
 
virtual void SetKVP (const char *)
 
virtual char * GetKVP ()
 
virtual void SetGantryTilt (const char *)
 
virtual char * GetGantryTilt ()
 
virtual double GetGantryTiltAsDouble ()
 
virtual void SetEchoTime (const char *)
 
virtual char * GetEchoTime ()
 
virtual void SetEchoTrainLength (const char *)
 
virtual char * GetEchoTrainLength ()
 
virtual void SetRepetitionTime (const char *)
 
virtual char * GetRepetitionTime ()
 
virtual void SetExposureTime (const char *)
 
virtual char * GetExposureTime ()
 
virtual void SetXRayTubeCurrent (const char *)
 
virtual char * GetXRayTubeCurrent ()
 
virtual void SetExposure (const char *)
 
virtual char * GetExposure ()
 
virtual void SetDirectionCosine (double, double, double, double, double, double)
 
virtual void SetDirectionCosine (double [6])
 
virtual doubleGetDirectionCosine ()
 
virtual void GetDirectionCosine (double &, double &, double &, double &, double &, double &)
 
virtual void GetDirectionCosine (double [6])
 
virtual int AddWindowLevelPreset (double w, double l)
 
virtual void RemoveWindowLevelPreset (double w, double l)
 
virtual void RemoveAllWindowLevelPresets ()
 
virtual int GetNumberOfWindowLevelPresets ()
 
virtual int HasWindowLevelPreset (double w, double l)
 
virtual int GetWindowLevelPresetIndex (double w, double l)
 
virtual int GetNthWindowLevelPreset (int idx, double *w, double *l)
 
virtual doubleGetNthWindowLevelPreset (int idx)
 
virtual void SetNthWindowLevelPresetComment (int idx, const char *comment)
 
virtual const char * GetNthWindowLevelPresetComment (int idx)
 
const char * GetInstanceUIDFromSliceID (int volumeidx, int sliceid)
 
void SetInstanceUIDFromSliceID (int volumeidx, int sliceid, const char *uid)
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual unsigned long GetMTime ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static vtkMedicalImagePropertiesNew ()
 
static int IsTypeOf (const char *type)
 
static vtkMedicalImagePropertiesSafeDownCast (vtkObjectBase *o)
 
static int GetAgeAsFields (const char *age, int &year, int &month, int &week, int &day)
 
static int GetDateAsFields (const char *date, int &year, int &month, int &day)
 
static int GetTimeAsFields (const char *time, int &hour, int &minute, int &second)
 
static int GetDateAsLocale (const char *date, char *locale)
 
static const char * GetStringFromOrientationType (unsigned int type)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkMedicalImageProperties ()
 
 ~vtkMedicalImageProperties ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

char * StudyDate
 
char * AcquisitionDate
 
char * StudyTime
 
char * AcquisitionTime
 
char * ConvolutionKernel
 
char * EchoTime
 
char * EchoTrainLength
 
char * Exposure
 
char * ExposureTime
 
char * GantryTilt
 
char * ImageDate
 
char * ImageNumber
 
char * ImageTime
 
char * InstitutionName
 
char * KVP
 
char * ManufacturerModelName
 
char * Manufacturer
 
char * Modality
 
char * PatientAge
 
char * PatientBirthDate
 
char * PatientID
 
char * PatientName
 
char * PatientSex
 
char * RepetitionTime
 
char * SeriesDescription
 
char * SeriesNumber
 
char * SliceThickness
 
char * StationName
 
char * StudyDescription
 
char * StudyID
 
char * XRayTubeCurrent
 
double DirectionCosine [6]
 
vtkMedicalImagePropertiesInternals * Internals
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

some medical image properties.

vtkMedicalImageProperties 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 34 of file vtkMedicalImageProperties.h.

Member Typedef Documentation

◆ Superclass

Definition at line 38 of file vtkMedicalImageProperties.h.

Member Enumeration Documentation

◆ OrientationType

Enumerator
AXIAL 
CORONAL 
SAGITTAL 

Definition at line 354 of file vtkMedicalImageProperties.h.

Constructor & Destructor Documentation

◆ vtkMedicalImageProperties()

vtkMedicalImageProperties::vtkMedicalImageProperties ( )
protected

◆ ~vtkMedicalImageProperties()

vtkMedicalImageProperties::~vtkMedicalImageProperties ( )
protected

Member Function Documentation

◆ New()

static vtkMedicalImageProperties* vtkMedicalImageProperties::New ( )
static

◆ IsTypeOf()

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

◆ IsA()

virtual int vtkMedicalImageProperties::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

◆ SafeDownCast()

static vtkMedicalImageProperties* vtkMedicalImageProperties::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkMedicalImageProperties::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkObject.

◆ NewInstance()

vtkMedicalImageProperties* vtkMedicalImageProperties::NewInstance ( ) const

◆ PrintSelf()

void vtkMedicalImageProperties::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

◆ Clear()

virtual void vtkMedicalImageProperties::Clear ( )
virtual

Convenience method to reset all fields to an emptry string/value

◆ SetPatientName()

virtual void vtkMedicalImageProperties::SetPatientName ( const char *  )
virtual

Patient name For ex: DICOM (0010,0010) = DOE,JOHN

◆ GetPatientName()

virtual char* vtkMedicalImageProperties::GetPatientName ( )
virtual

Patient name For ex: DICOM (0010,0010) = DOE,JOHN

◆ SetPatientID()

virtual void vtkMedicalImageProperties::SetPatientID ( const char *  )
virtual

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

◆ GetPatientID()

virtual char* vtkMedicalImageProperties::GetPatientID ( )
virtual

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

◆ SetPatientAge()

virtual void vtkMedicalImageProperties::SetPatientAge ( const char *  )
virtual

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

◆ GetPatientAge()

virtual char* vtkMedicalImageProperties::GetPatientAge ( )
virtual

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 vtkMedicalImageProperties::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 vtkMedicalImageProperties::GetPatientAgeYear ( )

◆ GetPatientAgeMonth()

int vtkMedicalImageProperties::GetPatientAgeMonth ( )

◆ GetPatientAgeWeek()

int vtkMedicalImageProperties::GetPatientAgeWeek ( )

◆ GetPatientAgeDay()

int vtkMedicalImageProperties::GetPatientAgeDay ( )

◆ SetPatientSex()

virtual void vtkMedicalImageProperties::SetPatientSex ( const char *  )
virtual

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

◆ GetPatientSex()

virtual char* vtkMedicalImageProperties::GetPatientSex ( )
virtual

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

◆ SetPatientBirthDate()

virtual void vtkMedicalImageProperties::SetPatientBirthDate ( const char *  )
virtual

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

◆ GetPatientBirthDate()

virtual char* vtkMedicalImageProperties::GetPatientBirthDate ( )
virtual

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

◆ GetPatientBirthDateYear()

int vtkMedicalImageProperties::GetPatientBirthDateYear ( )

◆ GetPatientBirthDateMonth()

int vtkMedicalImageProperties::GetPatientBirthDateMonth ( )

◆ GetPatientBirthDateDay()

int vtkMedicalImageProperties::GetPatientBirthDateDay ( )

◆ SetStudyDate()

virtual void vtkMedicalImageProperties::SetStudyDate ( const char *  )
virtual

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

◆ GetStudyDate()

virtual char* vtkMedicalImageProperties::GetStudyDate ( )
virtual

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

◆ SetAcquisitionDate()

virtual void vtkMedicalImageProperties::SetAcquisitionDate ( const char *  )
virtual

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

◆ GetAcquisitionDate()

virtual char* vtkMedicalImageProperties::GetAcquisitionDate ( )
virtual

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

◆ GetAcquisitionDateYear()

int vtkMedicalImageProperties::GetAcquisitionDateYear ( )

◆ GetAcquisitionDateMonth()

int vtkMedicalImageProperties::GetAcquisitionDateMonth ( )

◆ GetAcquisitionDateDay()

int vtkMedicalImageProperties::GetAcquisitionDateDay ( )

◆ SetStudyTime()

virtual void vtkMedicalImageProperties::SetStudyTime ( const char *  )
virtual

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

◆ GetStudyTime()

virtual char* vtkMedicalImageProperties::GetStudyTime ( )
virtual

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

◆ SetAcquisitionTime()

virtual void vtkMedicalImageProperties::SetAcquisitionTime ( const char *  )
virtual

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

◆ GetAcquisitionTime()

virtual char* vtkMedicalImageProperties::GetAcquisitionTime ( )
virtual

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

◆ SetImageDate()

virtual void vtkMedicalImageProperties::SetImageDate ( const char *  )
virtual

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

◆ GetImageDate()

virtual char* vtkMedicalImageProperties::GetImageDate ( )
virtual

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

◆ GetImageDateYear()

int vtkMedicalImageProperties::GetImageDateYear ( )

◆ GetImageDateMonth()

int vtkMedicalImageProperties::GetImageDateMonth ( )

◆ GetImageDateDay()

int vtkMedicalImageProperties::GetImageDateDay ( )

◆ GetDateAsFields()

static int vtkMedicalImageProperties::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

◆ GetTimeAsFields()

static int vtkMedicalImageProperties::GetTimeAsFields ( const char *  time,
int hour,
int minute,
int second 
)
static

Take as input a string in VR:TM format (HHMMSS) and extract the different fields namely: hour, minute and second Return 0 on error, 1 on success

◆ GetDateAsLocale()

static int vtkMedicalImageProperties::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

◆ SetImageTime()

virtual void vtkMedicalImageProperties::SetImageTime ( const char *  )
virtual

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

◆ GetImageTime()

virtual char* vtkMedicalImageProperties::GetImageTime ( )
virtual

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

◆ SetImageNumber()

virtual void vtkMedicalImageProperties::SetImageNumber ( const char *  )
virtual

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

◆ GetImageNumber()

virtual char* vtkMedicalImageProperties::GetImageNumber ( )
virtual

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

◆ SetSeriesNumber()

virtual void vtkMedicalImageProperties::SetSeriesNumber ( const char *  )
virtual

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

◆ GetSeriesNumber()

virtual char* vtkMedicalImageProperties::GetSeriesNumber ( )
virtual

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

◆ SetSeriesDescription()

virtual void vtkMedicalImageProperties::SetSeriesDescription ( const char *  )
virtual

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

◆ GetSeriesDescription()

virtual char* vtkMedicalImageProperties::GetSeriesDescription ( )
virtual

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

◆ SetStudyID()

virtual void vtkMedicalImageProperties::SetStudyID ( const char *  )
virtual

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

◆ GetStudyID()

virtual char* vtkMedicalImageProperties::GetStudyID ( )
virtual

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

◆ SetStudyDescription()

virtual void vtkMedicalImageProperties::SetStudyDescription ( const char *  )
virtual

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

◆ GetStudyDescription()

virtual char* vtkMedicalImageProperties::GetStudyDescription ( )
virtual

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

◆ SetModality()

virtual void vtkMedicalImageProperties::SetModality ( const char *  )
virtual

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

◆ GetModality()

virtual char* vtkMedicalImageProperties::GetModality ( )
virtual

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

◆ SetManufacturer()

virtual void vtkMedicalImageProperties::SetManufacturer ( const char *  )
virtual

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

◆ GetManufacturer()

virtual char* vtkMedicalImageProperties::GetManufacturer ( )
virtual

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

◆ SetManufacturerModelName()

virtual void vtkMedicalImageProperties::SetManufacturerModelName ( const char *  )
virtual

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

◆ GetManufacturerModelName()

virtual char* vtkMedicalImageProperties::GetManufacturerModelName ( )
virtual

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

◆ SetStationName()

virtual void vtkMedicalImageProperties::SetStationName ( const char *  )
virtual

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

◆ GetStationName()

virtual char* vtkMedicalImageProperties::GetStationName ( )
virtual

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

◆ SetInstitutionName()

virtual void vtkMedicalImageProperties::SetInstitutionName ( const char *  )
virtual

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

◆ GetInstitutionName()

virtual char* vtkMedicalImageProperties::GetInstitutionName ( )
virtual

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

◆ SetConvolutionKernel()

virtual void vtkMedicalImageProperties::SetConvolutionKernel ( const char *  )
virtual

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

◆ GetConvolutionKernel()

virtual char* vtkMedicalImageProperties::GetConvolutionKernel ( )
virtual

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

◆ SetSliceThickness()

virtual void vtkMedicalImageProperties::SetSliceThickness ( const char *  )
virtual

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

◆ GetSliceThickness()

virtual char* vtkMedicalImageProperties::GetSliceThickness ( )
virtual

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

◆ GetSliceThicknessAsDouble()

virtual double vtkMedicalImageProperties::GetSliceThicknessAsDouble ( )
virtual

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

◆ SetKVP()

virtual void vtkMedicalImageProperties::SetKVP ( const char *  )
virtual

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

◆ GetKVP()

virtual char* vtkMedicalImageProperties::GetKVP ( )
virtual

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

◆ SetGantryTilt()

virtual void vtkMedicalImageProperties::SetGantryTilt ( const char *  )
virtual

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

◆ GetGantryTilt()

virtual char* vtkMedicalImageProperties::GetGantryTilt ( )
virtual

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

◆ GetGantryTiltAsDouble()

virtual double vtkMedicalImageProperties::GetGantryTiltAsDouble ( )
virtual

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

◆ SetEchoTime()

virtual void vtkMedicalImageProperties::SetEchoTime ( const char *  )
virtual

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

◆ GetEchoTime()

virtual char* vtkMedicalImageProperties::GetEchoTime ( )
virtual

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

◆ SetEchoTrainLength()

virtual void vtkMedicalImageProperties::SetEchoTrainLength ( const char *  )
virtual

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

◆ GetEchoTrainLength()

virtual char* vtkMedicalImageProperties::GetEchoTrainLength ( )
virtual

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

◆ SetRepetitionTime()

virtual void vtkMedicalImageProperties::SetRepetitionTime ( const char *  )
virtual

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

◆ GetRepetitionTime()

virtual char* vtkMedicalImageProperties::GetRepetitionTime ( )
virtual

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

◆ SetExposureTime()

virtual void vtkMedicalImageProperties::SetExposureTime ( const char *  )
virtual

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

◆ GetExposureTime()

virtual char* vtkMedicalImageProperties::GetExposureTime ( )
virtual

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

◆ SetXRayTubeCurrent()

virtual void vtkMedicalImageProperties::SetXRayTubeCurrent ( const char *  )
virtual

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

◆ GetXRayTubeCurrent()

virtual char* vtkMedicalImageProperties::GetXRayTubeCurrent ( )
virtual

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

◆ SetExposure()

virtual void vtkMedicalImageProperties::SetExposure ( const char *  )
virtual

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

◆ GetExposure()

virtual char* vtkMedicalImageProperties::GetExposure ( )
virtual

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

◆ SetDirectionCosine() [1/2]

virtual void vtkMedicalImageProperties::SetDirectionCosine ( double  ,
double  ,
double  ,
double  ,
double  ,
double   
)
virtual

Get the direction cosine (default to 1,0,0,0,1,0)

◆ SetDirectionCosine() [2/2]

virtual void vtkMedicalImageProperties::SetDirectionCosine ( double  [6])
virtual

Get the direction cosine (default to 1,0,0,0,1,0)

◆ GetDirectionCosine() [1/3]

virtual double* vtkMedicalImageProperties::GetDirectionCosine ( )
virtual

Get the direction cosine (default to 1,0,0,0,1,0)

◆ GetDirectionCosine() [2/3]

virtual void vtkMedicalImageProperties::GetDirectionCosine ( double ,
double ,
double ,
double ,
double ,
double  
)
virtual

Get the direction cosine (default to 1,0,0,0,1,0)

◆ GetDirectionCosine() [3/3]

virtual void vtkMedicalImageProperties::GetDirectionCosine ( double  [6])
virtual

Get the direction cosine (default to 1,0,0,0,1,0)

◆ AddUserDefinedValue()

virtual void vtkMedicalImageProperties::AddUserDefinedValue ( const char *  name,
const char *  value 
)
virtual

◆ GetUserDefinedValue()

virtual const char* vtkMedicalImageProperties::GetUserDefinedValue ( const char *  name)
virtual

◆ GetNumberOfUserDefinedValues()

virtual unsigned int vtkMedicalImageProperties::GetNumberOfUserDefinedValues ( )
virtual

◆ GetUserDefinedNameByIndex()

virtual const char* vtkMedicalImageProperties::GetUserDefinedNameByIndex ( unsigned int  idx)
virtual

◆ GetUserDefinedValueByIndex()

virtual const char* vtkMedicalImageProperties::GetUserDefinedValueByIndex ( unsigned int  idx)
virtual

◆ RemoveAllUserDefinedValues()

virtual void vtkMedicalImageProperties::RemoveAllUserDefinedValues ( )
virtual

◆ AddWindowLevelPreset()

virtual int vtkMedicalImageProperties::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 vtkMedicalImageProperties::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\WINDOW2 

◆ RemoveAllWindowLevelPresets()

virtual void vtkMedicalImageProperties::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\WINDOW2 

◆ GetNumberOfWindowLevelPresets()

virtual int vtkMedicalImageProperties::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\WINDOW2 

◆ HasWindowLevelPreset()

virtual int vtkMedicalImageProperties::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\WINDOW2 

◆ GetWindowLevelPresetIndex()

virtual int vtkMedicalImageProperties::GetWindowLevelPresetIndex ( 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 

◆ GetNthWindowLevelPreset() [1/2]

virtual int vtkMedicalImageProperties::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\WINDOW2 

◆ GetNthWindowLevelPreset() [2/2]

virtual double* vtkMedicalImageProperties::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\WINDOW2 

◆ SetNthWindowLevelPresetComment()

virtual void vtkMedicalImageProperties::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\WINDOW2 

◆ GetNthWindowLevelPresetComment()

virtual const char* vtkMedicalImageProperties::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\WINDOW2 

◆ GetInstanceUIDFromSliceID()

const char* vtkMedicalImageProperties::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 vtkMedicalImageProperties::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 vtkMedicalImageProperties::GetSliceIDFromInstanceUID ( int volumeidx,
const char *  uid 
)

Provides the inverse mapping. Returns -1 if a slice for this uid is not found.

◆ GetOrientationType()

int vtkMedicalImageProperties::GetOrientationType ( int  volumeidx)

◆ SetOrientationType()

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

◆ GetStringFromOrientationType()

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

◆ DeepCopy()

virtual void vtkMedicalImageProperties::DeepCopy ( vtkMedicalImageProperties p)
virtual

Copy the contents of p to this instance.

Member Data Documentation

◆ StudyDate

char* vtkMedicalImageProperties::StudyDate
protected

Definition at line 371 of file vtkMedicalImageProperties.h.

◆ AcquisitionDate

char* vtkMedicalImageProperties::AcquisitionDate
protected

Definition at line 372 of file vtkMedicalImageProperties.h.

◆ StudyTime

char* vtkMedicalImageProperties::StudyTime
protected

Definition at line 373 of file vtkMedicalImageProperties.h.

◆ AcquisitionTime

char* vtkMedicalImageProperties::AcquisitionTime
protected

Definition at line 374 of file vtkMedicalImageProperties.h.

◆ ConvolutionKernel

char* vtkMedicalImageProperties::ConvolutionKernel
protected

Definition at line 375 of file vtkMedicalImageProperties.h.

◆ EchoTime

char* vtkMedicalImageProperties::EchoTime
protected

Definition at line 376 of file vtkMedicalImageProperties.h.

◆ EchoTrainLength

char* vtkMedicalImageProperties::EchoTrainLength
protected

Definition at line 377 of file vtkMedicalImageProperties.h.

◆ Exposure

char* vtkMedicalImageProperties::Exposure
protected

Definition at line 378 of file vtkMedicalImageProperties.h.

◆ ExposureTime

char* vtkMedicalImageProperties::ExposureTime
protected

Definition at line 379 of file vtkMedicalImageProperties.h.

◆ GantryTilt

char* vtkMedicalImageProperties::GantryTilt
protected

Definition at line 380 of file vtkMedicalImageProperties.h.

◆ ImageDate

char* vtkMedicalImageProperties::ImageDate
protected

Definition at line 381 of file vtkMedicalImageProperties.h.

◆ ImageNumber

char* vtkMedicalImageProperties::ImageNumber
protected

Definition at line 382 of file vtkMedicalImageProperties.h.

◆ ImageTime

char* vtkMedicalImageProperties::ImageTime
protected

Definition at line 383 of file vtkMedicalImageProperties.h.

◆ InstitutionName

char* vtkMedicalImageProperties::InstitutionName
protected

Definition at line 384 of file vtkMedicalImageProperties.h.

◆ KVP

char* vtkMedicalImageProperties::KVP
protected

Definition at line 385 of file vtkMedicalImageProperties.h.

◆ ManufacturerModelName

char* vtkMedicalImageProperties::ManufacturerModelName
protected

Definition at line 386 of file vtkMedicalImageProperties.h.

◆ Manufacturer

char* vtkMedicalImageProperties::Manufacturer
protected

Definition at line 387 of file vtkMedicalImageProperties.h.

◆ Modality

char* vtkMedicalImageProperties::Modality
protected

Definition at line 388 of file vtkMedicalImageProperties.h.

◆ PatientAge

char* vtkMedicalImageProperties::PatientAge
protected

Definition at line 389 of file vtkMedicalImageProperties.h.

◆ PatientBirthDate

char* vtkMedicalImageProperties::PatientBirthDate
protected

Definition at line 390 of file vtkMedicalImageProperties.h.

◆ PatientID

char* vtkMedicalImageProperties::PatientID
protected

Definition at line 391 of file vtkMedicalImageProperties.h.

◆ PatientName

char* vtkMedicalImageProperties::PatientName
protected

Definition at line 392 of file vtkMedicalImageProperties.h.

◆ PatientSex

char* vtkMedicalImageProperties::PatientSex
protected

Definition at line 393 of file vtkMedicalImageProperties.h.

◆ RepetitionTime

char* vtkMedicalImageProperties::RepetitionTime
protected

Definition at line 394 of file vtkMedicalImageProperties.h.

◆ SeriesDescription

char* vtkMedicalImageProperties::SeriesDescription
protected

Definition at line 395 of file vtkMedicalImageProperties.h.

◆ SeriesNumber

char* vtkMedicalImageProperties::SeriesNumber
protected

Definition at line 396 of file vtkMedicalImageProperties.h.

◆ SliceThickness

char* vtkMedicalImageProperties::SliceThickness
protected

Definition at line 397 of file vtkMedicalImageProperties.h.

◆ StationName

char* vtkMedicalImageProperties::StationName
protected

Definition at line 398 of file vtkMedicalImageProperties.h.

◆ StudyDescription

char* vtkMedicalImageProperties::StudyDescription
protected

Definition at line 399 of file vtkMedicalImageProperties.h.

◆ StudyID

char* vtkMedicalImageProperties::StudyID
protected

Definition at line 400 of file vtkMedicalImageProperties.h.

◆ XRayTubeCurrent

char* vtkMedicalImageProperties::XRayTubeCurrent
protected

Definition at line 401 of file vtkMedicalImageProperties.h.

◆ DirectionCosine

double vtkMedicalImageProperties::DirectionCosine[6]
protected

Definition at line 402 of file vtkMedicalImageProperties.h.

◆ Internals

vtkMedicalImagePropertiesInternals* vtkMedicalImageProperties::Internals
protected

PIMPL Encapsulation for STL containers

Definition at line 407 of file vtkMedicalImageProperties.h.


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