VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkMedicalImageProperties Class Reference

some medical image properties. More...

#include <vtkMedicalImageProperties.h>

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

List of all members.

Public Types

enum  OrientationType { AXIAL = 0, CORONAL, SAGITTAL }
typedef vtkObject 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)

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)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkMedicalImageProperties ()
 ~vtkMedicalImageProperties ()

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

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

Reimplemented from vtkObject.

Definition at line 38 of file vtkMedicalImageProperties.h.


Member Enumeration Documentation

Enumerator:
AXIAL 
CORONAL 
SAGITTAL 

Definition at line 354 of file vtkMedicalImageProperties.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

static int vtkMedicalImageProperties::IsTypeOf ( const char *  name) [static]

Return 1 if this class type 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.

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.

Reimplemented from vtkObject.

virtual vtkObjectBase* vtkMedicalImageProperties::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkObject.

Reimplemented from vtkObject.

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.

virtual void vtkMedicalImageProperties::Clear ( ) [virtual]

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

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

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

virtual char* vtkMedicalImageProperties::GetPatientName ( ) [virtual]

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

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

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

virtual char* vtkMedicalImageProperties::GetPatientID ( ) [virtual]

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

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

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

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

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

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

virtual char* vtkMedicalImageProperties::GetPatientSex ( ) [virtual]

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

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

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

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

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

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

virtual char* vtkMedicalImageProperties::GetStudyDate ( ) [virtual]

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

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

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

virtual char* vtkMedicalImageProperties::GetAcquisitionDate ( ) [virtual]

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

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

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

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

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

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

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

virtual char* vtkMedicalImageProperties::GetImageDate ( ) [virtual]

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

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

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

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

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

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

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

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

virtual char* vtkMedicalImageProperties::GetImageNumber ( ) [virtual]

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

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

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

virtual char* vtkMedicalImageProperties::GetSeriesNumber ( ) [virtual]

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

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

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

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

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

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

virtual char* vtkMedicalImageProperties::GetStudyID ( ) [virtual]

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

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

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

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

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

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

virtual char* vtkMedicalImageProperties::GetModality ( ) [virtual]

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

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

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

virtual char* vtkMedicalImageProperties::GetManufacturer ( ) [virtual]

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

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

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

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

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

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

virtual char* vtkMedicalImageProperties::GetStationName ( ) [virtual]

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

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

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

virtual char* vtkMedicalImageProperties::GetInstitutionName ( ) [virtual]

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

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

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

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

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

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

virtual char* vtkMedicalImageProperties::GetSliceThickness ( ) [virtual]

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

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

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

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

virtual char* vtkMedicalImageProperties::GetKVP ( ) [virtual]

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

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

virtual char* vtkMedicalImageProperties::GetGantryTilt ( ) [virtual]

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

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

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

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

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

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

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

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

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

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

virtual char* vtkMedicalImageProperties::GetExposureTime ( ) [virtual]

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

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

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

virtual char* vtkMedicalImageProperties::GetXRayTubeCurrent ( ) [virtual]

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

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

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

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

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

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

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

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

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

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

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

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

virtual void vtkMedicalImageProperties::AddUserDefinedValue ( const char *  name,
const char *  value 
) [virtual]
virtual const char* vtkMedicalImageProperties::GetUserDefinedValue ( const char *  name) [virtual]
virtual const char* vtkMedicalImageProperties::GetUserDefinedNameByIndex ( unsigned int  idx) [virtual]
virtual const char* vtkMedicalImageProperties::GetUserDefinedValueByIndex ( unsigned 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 
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 

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 

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 

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 

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

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

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

int vtkMedicalImageProperties::GetSliceIDFromInstanceUID ( int volumeidx,
const char *  uid 
)

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

void vtkMedicalImageProperties::SetOrientationType ( int  volumeidx,
int  orientation 
)
static const char* vtkMedicalImageProperties::GetStringFromOrientationType ( unsigned int  type) [static]

Copy the contents of p to this instance.


Member Data Documentation

Definition at line 371 of file vtkMedicalImageProperties.h.

Definition at line 372 of file vtkMedicalImageProperties.h.

Definition at line 373 of file vtkMedicalImageProperties.h.

Definition at line 374 of file vtkMedicalImageProperties.h.

Definition at line 375 of file vtkMedicalImageProperties.h.

Definition at line 376 of file vtkMedicalImageProperties.h.

Definition at line 377 of file vtkMedicalImageProperties.h.

Definition at line 378 of file vtkMedicalImageProperties.h.

Definition at line 379 of file vtkMedicalImageProperties.h.

Definition at line 380 of file vtkMedicalImageProperties.h.

Definition at line 381 of file vtkMedicalImageProperties.h.

Definition at line 382 of file vtkMedicalImageProperties.h.

Definition at line 383 of file vtkMedicalImageProperties.h.

Definition at line 384 of file vtkMedicalImageProperties.h.

char* vtkMedicalImageProperties::KVP [protected]

Definition at line 385 of file vtkMedicalImageProperties.h.

Definition at line 386 of file vtkMedicalImageProperties.h.

Definition at line 387 of file vtkMedicalImageProperties.h.

Definition at line 388 of file vtkMedicalImageProperties.h.

Definition at line 389 of file vtkMedicalImageProperties.h.

Definition at line 390 of file vtkMedicalImageProperties.h.

Definition at line 391 of file vtkMedicalImageProperties.h.

Definition at line 392 of file vtkMedicalImageProperties.h.

Definition at line 393 of file vtkMedicalImageProperties.h.

Definition at line 394 of file vtkMedicalImageProperties.h.

Definition at line 395 of file vtkMedicalImageProperties.h.

Definition at line 396 of file vtkMedicalImageProperties.h.

Definition at line 397 of file vtkMedicalImageProperties.h.

Definition at line 398 of file vtkMedicalImageProperties.h.

Definition at line 399 of file vtkMedicalImageProperties.h.

Definition at line 400 of file vtkMedicalImageProperties.h.

Definition at line 401 of file vtkMedicalImageProperties.h.

Definition at line 402 of file vtkMedicalImageProperties.h.

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: