# vtkMedicalImageProperties Class Reference

`#include <vtkMedicalImageProperties.h>`

Inheritance diagram for vtkMedicalImageProperties:
[legend]

List of all members.

## Public Types

enum | OrientationType { AXIAL = 0, CORONAL, SAGITTAL }

## Public Member Functions

void | AddUserDefinedValue (const char *name, const char *value)
virtual void | AddWindowLevelPreset (double w, double l)
virtual void | Clear ()
virtual void | DeepCopy (vtkMedicalImageProperties *p)
int | GetAcquisitionDateDay ()
int | GetAcquisitionDateMonth ()
int | GetAcquisitionDateYear ()
virtual double | GetGantryTiltAsDouble ()
int | GetImageDateDay ()
int | GetImageDateMonth ()
int | GetImageDateYear ()
const char * | GetInstanceUIDFromSliceID (int volumeidx, int sliceid)
virtual int | GetNthWindowLevelPreset (int idx, double *w, double *l)
virtual double * | GetNthWindowLevelPreset (int idx)
virtual const char * | GetNthWindowLevelPresetComment (int idx)
unsigned int | GetNumberOfUserDefinedValues ()
virtual int | GetNumberOfWindowLevelPresets ()
int | GetOrientationType (int volumeidx)
int | GetPatientAgeDay ()
int | GetPatientAgeMonth ()
int | GetPatientAgeWeek ()
int | GetPatientAgeYear ()
int | GetPatientBirthDateDay ()
int | GetPatientBirthDateMonth ()
int | GetPatientBirthDateYear ()
int | GetSliceIDFromInstanceUID (int &volumeidx, const char *uid)
virtual double | GetSliceThicknessAsDouble ()
const char * | GetUserDefinedNameByIndex (unsigned int idx)
const char * | GetUserDefinedValue (const char *name)
const char * | GetUserDefinedValueByIndex (unsigned int idx)
virtual int | HasWindowLevelPreset (double w, double l)
void | PrintSelf (ostream &os, vtkIndent indent)
virtual void | RemoveAllWindowLevelPresets ()
virtual void | RemoveWindowLevelPreset (double w, double l)
void | SetInstanceUIDFromSliceID (int volumeidx, int sliceid, const char *uid)
virtual void | SetNthWindowLevelPresetComment (int idx, const char *comment)
void | SetOrientationType (int volumeidx, int orientation)
| vtkGetStringMacro (SeriesNumber)
| vtkGetStringMacro (AcquisitionTime)
| vtkGetStringMacro (SliceThickness)
| vtkGetStringMacro (ImageDate)
| vtkGetStringMacro (KVP)
| vtkGetStringMacro (GantryTilt)
| vtkGetStringMacro (PatientBirthDate)
| vtkGetStringMacro (EchoTime)
| vtkGetStringMacro (StudyID)
| vtkGetStringMacro (EchoTrainLength)
| vtkGetStringMacro (RepetitionTime)
| vtkGetStringMacro (PatientAge)
| vtkGetStringMacro (ImageTime)
| vtkGetStringMacro (XRayTubeCurrent)
| vtkGetStringMacro (ImageNumber)
| vtkGetStringMacro (SeriesDescription)
| vtkGetStringMacro (ExposureTime)
| vtkGetStringMacro (PatientName)
| vtkGetStringMacro (Modality)
| vtkGetStringMacro (StudyDate)
| vtkGetStringMacro (AcquisitionDate)
| vtkGetStringMacro (Manufacturer)
| vtkGetStringMacro (StudyDescription)
| vtkGetStringMacro (ManufacturerModelName)
| vtkGetStringMacro (Exposure)
| vtkGetStringMacro (StudyTime)
| vtkGetStringMacro (StationName)
| vtkGetStringMacro (InstitutionName)
| vtkGetStringMacro (PatientID)
| vtkGetStringMacro (ConvolutionKernel)
| vtkGetStringMacro (PatientSex)
| vtkSetStringMacro (GantryTilt)
| vtkSetStringMacro (EchoTime)
| vtkSetStringMacro (PatientSex)
| vtkSetStringMacro (StudyTime)
| vtkSetStringMacro (XRayTubeCurrent)
| vtkSetStringMacro (ImageTime)
| vtkSetStringMacro (RepetitionTime)
| vtkSetStringMacro (SeriesDescription)
| vtkSetStringMacro (AcquisitionDate)
| vtkSetStringMacro (StudyDate)
| vtkSetStringMacro (Modality)
| vtkSetStringMacro (PatientID)
| vtkSetStringMacro (Manufacturer)
| vtkSetStringMacro (PatientBirthDate)
| vtkSetStringMacro (KVP)
| vtkSetStringMacro (InstitutionName)
| vtkSetStringMacro (AcquisitionTime)
| vtkSetStringMacro (StudyID)
| vtkSetStringMacro (Exposure)
| vtkSetStringMacro (StationName)
| vtkSetStringMacro (SeriesNumber)
| vtkSetStringMacro (ImageDate)
| vtkSetStringMacro (PatientAge)
| vtkSetStringMacro (ExposureTime)
| vtkSetStringMacro (ManufacturerModelName)
| vtkSetStringMacro (ConvolutionKernel)
| vtkSetStringMacro (SliceThickness)
| vtkSetStringMacro (PatientName)
| vtkSetStringMacro (EchoTrainLength)
| vtkSetStringMacro (ImageNumber)
| vtkSetStringMacro (StudyDescription)
| vtkTypeRevisionMacro (vtkMedicalImageProperties, vtkObject)

## Static Public Member Functions

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 | GetDateAsLocale (const char *date, char *locale)
static const char * | GetStringFromOrientationType (unsigned int type)
static vtkMedicalImageProperties * | New ()

## Protected Member Functions

| vtkMedicalImageProperties ()
| ~vtkMedicalImageProperties ()

## Protected Attributes

char * | AcquisitionDate
char * | AcquisitionTime
char * | ConvolutionKernel
char * | EchoTime
char * | EchoTrainLength
char * | Exposure
char * | ExposureTime
char * | GantryTilt
char * | ImageDate
char * | ImageNumber
char * | ImageTime
char * | InstitutionName
vtkMedicalImagePropertiesInternals * | Internals
char * | KVP
char * | Manufacturer
char * | ManufacturerModelName
char * | Modality
char * | PatientAge
char * | PatientBirthDate
char * | PatientID
char * | PatientName
char * | PatientSex
char * | RepetitionTime
char * | SeriesDescription
char * | SeriesNumber
char * | SliceThickness
char * | StationName
char * | StudyDate
char * | StudyDescription
char * | StudyID
char * | StudyTime
char * | XRayTubeCurrent

## Detailed Description

Examples:

  HelloActiviz2.cs, HelloVTKWorld.cs, and HelloVTKWorld.java.

## Member Enumeration Documentation

enum vtkMedicalImageProperties::OrientationType

Enumerator:

  AXIAL |
  CORONAL |
  SAGITTAL |

## Constructor & Destructor Documentation

vtkMedicalImageProperties::vtkMedicalImageProperties | ( |  | ) | `[protected]`

vtkMedicalImageProperties::~vtkMedicalImageProperties | ( |  | ) | `[protected]`

## Member Function Documentation

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

virtual void vtkMedicalImageProperties::AddWindowLevelPreset | ( | double | w,
|  | double | l
| ) |  | `[virtual]`

virtual void vtkMedicalImageProperties::Clear | ( |  | ) | `[virtual]`

Reimplemented in vtkGDCMMedicalImageProperties.

virtual void vtkMedicalImageProperties::DeepCopy | ( | vtkMedicalImageProperties * | p | ) | `[virtual]`

int vtkMedicalImageProperties::GetAcquisitionDateDay | ( |  | ) |

int vtkMedicalImageProperties::GetAcquisitionDateMonth | ( |  | ) |

int vtkMedicalImageProperties::GetAcquisitionDateYear | ( |  | ) |

static int vtkMedicalImageProperties::GetAgeAsFields | ( | const char * | age,
|  | int & | year,
|  | int & | month,
|  | int & | week,
|  | int & | day
| ) |  | `[static]`

static int vtkMedicalImageProperties::GetDateAsFields | ( | const char * | date,
|  | int & | year,
|  | int & | month,
|  | int & | day
| ) |  | `[static]`

static int vtkMedicalImageProperties::GetDateAsLocale | ( | const char * | date,
|  | char * | locale
| ) |  | `[static]`

virtual double vtkMedicalImageProperties::GetGantryTiltAsDouble | ( |  | ) | `[virtual]`

int vtkMedicalImageProperties::GetImageDateDay | ( |  | ) |

int vtkMedicalImageProperties::GetImageDateMonth | ( |  | ) |

int vtkMedicalImageProperties::GetImageDateYear | ( |  | ) |

const char* vtkMedicalImageProperties::GetInstanceUIDFromSliceID | ( | int | volumeidx,
|  | int | sliceid
| ) |  |

virtual int vtkMedicalImageProperties::GetNthWindowLevelPreset | ( | int | idx,
|  | double * | w,
|  | double * | l
| ) |  | `[virtual]`

virtual double* vtkMedicalImageProperties::GetNthWindowLevelPreset | ( | int | idx | ) | `[virtual]`

virtual const char* vtkMedicalImageProperties::GetNthWindowLevelPresetComment | ( | int | idx | ) | `[virtual]`

unsigned int vtkMedicalImageProperties::GetNumberOfUserDefinedValues | ( |  | ) |

virtual int vtkMedicalImageProperties::GetNumberOfWindowLevelPresets | ( |  | ) | `[virtual]`

int vtkMedicalImageProperties::GetOrientationType | ( | int | volumeidx | ) |

int vtkMedicalImageProperties::GetPatientAgeDay | ( |  | ) |

int vtkMedicalImageProperties::GetPatientAgeMonth | ( |  | ) |

int vtkMedicalImageProperties::GetPatientAgeWeek | ( |  | ) |

int vtkMedicalImageProperties::GetPatientAgeYear | ( |  | ) |

int vtkMedicalImageProperties::GetPatientBirthDateDay | ( |  | ) |

int vtkMedicalImageProperties::GetPatientBirthDateMonth | ( |  | ) |

int vtkMedicalImageProperties::GetPatientBirthDateYear | ( |  | ) |

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

virtual double vtkMedicalImageProperties::GetSliceThicknessAsDouble | ( |  | ) | `[virtual]`

static const char* vtkMedicalImageProperties::GetStringFromOrientationType | ( | unsigned int | type | ) | `[static]`

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

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

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

virtual int vtkMedicalImageProperties::HasWindowLevelPreset | ( | double | w,
|  | double | l
| ) |  | `[virtual]`

static vtkMedicalImageProperties* vtkMedicalImageProperties::New | ( |  | ) | `[static]`

Reimplemented in vtkGDCMMedicalImageProperties.

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

Reimplemented in vtkGDCMMedicalImageProperties.

virtual void vtkMedicalImageProperties::RemoveAllWindowLevelPresets | ( |  | ) | `[virtual]`

virtual void vtkMedicalImageProperties::RemoveWindowLevelPreset | ( | double | w,
|  | double | l
| ) |  | `[virtual]`

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

virtual void vtkMedicalImageProperties::SetNthWindowLevelPresetComment | ( | int | idx,
|  | const char * | comment
| ) |  | `[virtual]`

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

vtkMedicalImageProperties::vtkGetStringMacro | ( | PatientSex |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | ConvolutionKernel |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | InstitutionName |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | AcquisitionTime |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | SliceThickness |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | ImageDate |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | KVP |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | GantryTilt |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | RepetitionTime |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | StudyDescription |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | PatientID |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | PatientBirthDate |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | SeriesDescription |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | EchoTrainLength |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | StudyDate |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | ImageNumber |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | ExposureTime |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | XRayTubeCurrent |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | SeriesNumber |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | EchoTime |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | PatientName |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | PatientAge |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | AcquisitionDate |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | Modality |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | Exposure |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | StudyID |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | Manufacturer |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | ManufacturerModelName |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | ImageTime |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | StationName |  | ) |

vtkMedicalImageProperties::vtkGetStringMacro | ( | StudyTime |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | AcquisitionTime |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | ExposureTime |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | ManufacturerModelName |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | Manufacturer |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | EchoTime |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | ImageDate |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | GantryTilt |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | ImageTime |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | SliceThickness |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | PatientAge |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | SeriesNumber |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | PatientSex |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | RepetitionTime |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | KVP |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | Modality |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | PatientID |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | StudyTime |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | AcquisitionDate |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | StudyDescription |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | Exposure |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | XRayTubeCurrent |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | StudyID |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | EchoTrainLength |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | StudyDate |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | ImageNumber |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | StationName |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | InstitutionName |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | PatientName |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | PatientBirthDate |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | SeriesDescription |  | ) |

vtkMedicalImageProperties::vtkSetStringMacro | ( | ConvolutionKernel |  | ) |

vtkMedicalImageProperties::vtkTypeRevisionMacro | ( | vtkMedicalImageProperties | ,
|  | vtkObject |
| ) |  |

## Member Data Documentation

char* vtkMedicalImageProperties::AcquisitionDate `[protected]`

char* vtkMedicalImageProperties::AcquisitionTime `[protected]`

char* vtkMedicalImageProperties::ConvolutionKernel `[protected]`

char* vtkMedicalImageProperties::EchoTime `[protected]`

char* vtkMedicalImageProperties::EchoTrainLength `[protected]`

char* vtkMedicalImageProperties::Exposure `[protected]`

char* vtkMedicalImageProperties::ExposureTime `[protected]`

char* vtkMedicalImageProperties::GantryTilt `[protected]`

char* vtkMedicalImageProperties::ImageDate `[protected]`

char* vtkMedicalImageProperties::ImageNumber `[protected]`

char* vtkMedicalImageProperties::ImageTime `[protected]`

char* vtkMedicalImageProperties::InstitutionName `[protected]`

vtkMedicalImagePropertiesInternals* vtkMedicalImageProperties::Internals `[protected]`

char* vtkMedicalImageProperties::KVP `[protected]`

char* vtkMedicalImageProperties::Manufacturer `[protected]`

char* vtkMedicalImageProperties::ManufacturerModelName `[protected]`

char* vtkMedicalImageProperties::Modality `[protected]`

char* vtkMedicalImageProperties::PatientAge `[protected]`

char* vtkMedicalImageProperties::PatientBirthDate `[protected]`

char* vtkMedicalImageProperties::PatientID `[protected]`

char* vtkMedicalImageProperties::PatientName `[protected]`

char* vtkMedicalImageProperties::PatientSex `[protected]`

char* vtkMedicalImageProperties::RepetitionTime `[protected]`

char* vtkMedicalImageProperties::SeriesDescription `[protected]`

char* vtkMedicalImageProperties::SeriesNumber `[protected]`

char* vtkMedicalImageProperties::SliceThickness `[protected]`

char* vtkMedicalImageProperties::StationName `[protected]`

char* vtkMedicalImageProperties::StudyDate `[protected]`

char* vtkMedicalImageProperties::StudyDescription `[protected]`

char* vtkMedicalImageProperties::StudyID `[protected]`

char* vtkMedicalImageProperties::StudyTime `[protected]`

char* vtkMedicalImageProperties::XRayTubeCurrent `[protected]`

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

- vtkMedicalImageProperties.h