VTK
9.1.0
|
some medical image properties. More...
#include <vtkMedicalImageProperties.h>
Public Types | |
enum | OrientationType { AXIAL = 0 , CORONAL , SAGITTAL } |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual vtkTypeBool | IsA (const char *type) |
Return 1 if this class is the same type of (or a subclass of) the named class. More... | |
vtkMedicalImageProperties * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. More... | |
virtual void | Clear () |
Convenience method to reset all fields to an empty string/value. More... | |
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) |
Provides the inverse mapping. More... | |
int | GetOrientationType (int volumeidx) |
void | SetOrientationType (int volumeidx, int orientation) |
virtual void | DeepCopy (vtkMedicalImageProperties *p) |
Copy the contents of p to this instance. More... | |
virtual void | SetPatientName (const char *) |
Patient name For ex: DICOM (0010,0010) = DOE,JOHN. More... | |
virtual char * | GetPatientName () |
Patient name For ex: DICOM (0010,0010) = DOE,JOHN. More... | |
virtual void | SetPatientID (const char *) |
Patient ID For ex: DICOM (0010,0020) = 1933197. More... | |
virtual char * | GetPatientID () |
Patient ID For ex: DICOM (0010,0020) = 1933197. More... | |
virtual void | SetPatientAge (const char *) |
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... | |
virtual char * | GetPatientAge () |
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... | |
virtual void | SetPatientSex (const char *) |
Patient sex For ex: DICOM (0010,0040) = M. More... | |
virtual char * | GetPatientSex () |
Patient sex For ex: DICOM (0010,0040) = M. More... | |
virtual void | SetPatientBirthDate (const char *) |
Patient birth date Format: yyyymmdd For ex: DICOM (0010,0030) = 19680427. More... | |
virtual char * | GetPatientBirthDate () |
Patient birth date Format: yyyymmdd For ex: DICOM (0010,0030) = 19680427. More... | |
virtual void | SetStudyDate (const char *) |
Study Date Format: yyyymmdd For ex: DICOM (0008,0020) = 20030617. More... | |
virtual char * | GetStudyDate () |
Study Date Format: yyyymmdd For ex: DICOM (0008,0020) = 20030617. More... | |
virtual void | SetAcquisitionDate (const char *) |
Acquisition Date Format: yyyymmdd For ex: DICOM (0008,0022) = 20030617. More... | |
virtual char * | GetAcquisitionDate () |
Acquisition Date Format: yyyymmdd For ex: DICOM (0008,0022) = 20030617. More... | |
virtual void | SetStudyTime (const char *) |
Study Time Format: hhmmss.frac (any trailing component(s) can be omitted) For ex: DICOM (0008,0030) = 162552.0705 or 230012, or 0012. More... | |
virtual char * | GetStudyTime () |
Study Time Format: hhmmss.frac (any trailing component(s) can be omitted) For ex: DICOM (0008,0030) = 162552.0705 or 230012, or 0012. More... | |
virtual void | SetAcquisitionTime (const char *) |
Acquisition time Format: hhmmss.frac (any trailing component(s) can be omitted) For ex: DICOM (0008,0032) = 162552.0705 or 230012, or 0012. More... | |
virtual char * | GetAcquisitionTime () |
Acquisition time Format: hhmmss.frac (any trailing component(s) can be omitted) For ex: DICOM (0008,0032) = 162552.0705 or 230012, or 0012. More... | |
virtual void | SetImageDate (const char *) |
Image Date aka Content Date Format: yyyymmdd For ex: DICOM (0008,0023) = 20030617. More... | |
virtual char * | GetImageDate () |
Image Date aka Content Date Format: yyyymmdd For ex: DICOM (0008,0023) = 20030617. More... | |
virtual void | SetImageTime (const char *) |
Image Time Format: hhmmss.frac (any trailing component(s) can be omitted) For ex: DICOM (0008,0033) = 162552.0705 or 230012, or 0012. More... | |
virtual char * | GetImageTime () |
Image Time Format: hhmmss.frac (any trailing component(s) can be omitted) For ex: DICOM (0008,0033) = 162552.0705 or 230012, or 0012. More... | |
virtual void | SetImageNumber (const char *) |
Image number For ex: DICOM (0020,0013) = 1. More... | |
virtual char * | GetImageNumber () |
Image number For ex: DICOM (0020,0013) = 1. More... | |
virtual void | SetSeriesNumber (const char *) |
Series number For ex: DICOM (0020,0011) = 902. More... | |
virtual char * | GetSeriesNumber () |
Series number For ex: DICOM (0020,0011) = 902. More... | |
virtual void | SetSeriesDescription (const char *) |
Series Description User provided description of the Series For ex: DICOM (0008,103e) = SCOUT. More... | |
virtual char * | GetSeriesDescription () |
Series Description User provided description of the Series For ex: DICOM (0008,103e) = SCOUT. More... | |
virtual void | SetStudyID (const char *) |
Study ID For ex: DICOM (0020,0010) = 37481. More... | |
virtual char * | GetStudyID () |
Study ID For ex: DICOM (0020,0010) = 37481. More... | |
virtual void | SetStudyDescription (const char *) |
Study description For ex: DICOM (0008,1030) = BRAIN/C-SP/FACIAL. More... | |
virtual char * | GetStudyDescription () |
Study description For ex: DICOM (0008,1030) = BRAIN/C-SP/FACIAL. More... | |
virtual void | SetModality (const char *) |
Modality For ex: DICOM (0008,0060)= CT. More... | |
virtual char * | GetModality () |
Modality For ex: DICOM (0008,0060)= CT. More... | |
virtual void | SetManufacturer (const char *) |
Manufacturer For ex: DICOM (0008,0070) = Siemens. More... | |
virtual char * | GetManufacturer () |
Manufacturer For ex: DICOM (0008,0070) = Siemens. More... | |
virtual void | SetManufacturerModelName (const char *) |
Manufacturer's Model Name For ex: DICOM (0008,1090) = LightSpeed QX/i. More... | |
virtual char * | GetManufacturerModelName () |
Manufacturer's Model Name For ex: DICOM (0008,1090) = LightSpeed QX/i. More... | |
virtual void | SetStationName (const char *) |
Station Name For ex: DICOM (0008,1010) = LSPD_OC8. More... | |
virtual char * | GetStationName () |
Station Name For ex: DICOM (0008,1010) = LSPD_OC8. More... | |
virtual void | SetInstitutionName (const char *) |
Institution Name For ex: DICOM (0008,0080) = FooCity Medical Center. More... | |
virtual char * | GetInstitutionName () |
Institution Name For ex: DICOM (0008,0080) = FooCity Medical Center. More... | |
virtual void | SetConvolutionKernel (const char *) |
Convolution Kernel (or algorithm used to reconstruct the data) For ex: DICOM (0018,1210) = Bone. More... | |
virtual char * | GetConvolutionKernel () |
Convolution Kernel (or algorithm used to reconstruct the data) For ex: DICOM (0018,1210) = Bone. More... | |
virtual void | SetSliceThickness (const char *) |
Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438. More... | |
virtual char * | GetSliceThickness () |
Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438. More... | |
virtual double | GetSliceThicknessAsDouble () |
Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438. More... | |
virtual void | SetKVP (const char *) |
Peak kilo voltage output of the (x-ray) generator used For ex: DICOM (0018,0060) = 120. More... | |
virtual char * | GetKVP () |
Peak kilo voltage output of the (x-ray) generator used For ex: DICOM (0018,0060) = 120. More... | |
virtual void | SetGantryTilt (const char *) |
Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15. More... | |
virtual char * | GetGantryTilt () |
Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15. More... | |
virtual double | GetGantryTiltAsDouble () |
Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15. More... | |
virtual void | SetEchoTime (const char *) |
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... | |
virtual char * | GetEchoTime () |
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... | |
virtual void | SetEchoTrainLength (const char *) |
Echo Train Length (Number of lines in k-space acquired per excitation per image) For ex: DICOM (0018,0091) = 35. More... | |
virtual char * | GetEchoTrainLength () |
Echo Train Length (Number of lines in k-space acquired per excitation per image) For ex: DICOM (0018,0091) = 35. More... | |
virtual void | SetRepetitionTime (const char *) |
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... | |
virtual char * | GetRepetitionTime () |
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... | |
virtual void | SetExposureTime (const char *) |
Exposure time (time of x-ray exposure in msec) For ex: DICOM (0018,1150) = 5. More... | |
virtual char * | GetExposureTime () |
Exposure time (time of x-ray exposure in msec) For ex: DICOM (0018,1150) = 5. More... | |
virtual void | SetXRayTubeCurrent (const char *) |
X-ray tube current (in mA) For ex: DICOM (0018,1151) = 400. More... | |
virtual char * | GetXRayTubeCurrent () |
X-ray tube current (in mA) For ex: DICOM (0018,1151) = 400. More... | |
virtual void | SetExposure (const char *) |
Exposure (The exposure expressed in mAs, for example calculated from Exposure Time and X-ray Tube Current) For ex: DICOM (0018,1152) = 114. More... | |
virtual char * | GetExposure () |
Exposure (The exposure expressed in mAs, for example calculated from Exposure Time and X-ray Tube Current) For ex: DICOM (0018,1152) = 114. More... | |
virtual void | SetDirectionCosine (double, double, double, double, double, double) |
Get the direction cosine (default to 1,0,0,0,1,0) More... | |
virtual void | SetDirectionCosine (double[6]) |
Get the direction cosine (default to 1,0,0,0,1,0) More... | |
virtual double * | GetDirectionCosine () |
Get the direction cosine (default to 1,0,0,0,1,0) More... | |
virtual void | GetDirectionCosine (double &, double &, double &, double &, double &, double &) |
Get the direction cosine (default to 1,0,0,0,1,0) More... | |
virtual void | GetDirectionCosine (double[6]) |
Get the direction cosine (default to 1,0,0,0,1,0) More... | |
virtual int | AddWindowLevelPreset (double w, double l) |
Add/Remove/Query the window/level presets that may have been associated to a medical image. More... | |
virtual void | RemoveWindowLevelPreset (double w, double l) |
Add/Remove/Query the window/level presets that may have been associated to a medical image. More... | |
virtual void | RemoveAllWindowLevelPresets () |
Add/Remove/Query the window/level presets that may have been associated to a medical image. More... | |
virtual int | GetNumberOfWindowLevelPresets () |
Add/Remove/Query the window/level presets that may have been associated to a medical image. More... | |
virtual int | HasWindowLevelPreset (double w, double l) |
Add/Remove/Query the window/level presets that may have been associated to a medical image. More... | |
virtual int | GetWindowLevelPresetIndex (double w, double l) |
Add/Remove/Query the window/level presets that may have been associated to a medical image. More... | |
virtual int | GetNthWindowLevelPreset (int idx, double *w, double *l) |
Add/Remove/Query the window/level presets that may have been associated to a medical image. More... | |
virtual double * | GetNthWindowLevelPreset (int idx) |
Add/Remove/Query the window/level presets that may have been associated to a medical image. More... | |
virtual void | SetNthWindowLevelPresetComment (int idx, const char *comment) |
Add/Remove/Query the window/level presets that may have been associated to a medical image. More... | |
virtual const char * | GetNthWindowLevelPresetComment (int idx) |
Add/Remove/Query the window/level presets that may have been associated to a medical image. More... | |
const char * | GetInstanceUIDFromSliceID (int volumeidx, int sliceid) |
Mapping from a sliceidx within a volumeidx into a DICOM Instance UID Some DICOM reader can populate this structure so that later on from a slice index in a vtkImageData volume we can backtrack and find out which 2d slice it was coming from. More... | |
void | SetInstanceUIDFromSliceID (int volumeidx, int sliceid, const char *uid) |
Mapping from a sliceidx within a volumeidx into a DICOM Instance UID Some DICOM reader can populate this structure so that later on from a slice index in a vtkImageData volume we can backtrack and find out which 2d slice it was coming from. More... | |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
Turn debugging output on. More... | |
virtual void | DebugOff () |
Turn debugging output off. More... | |
bool | GetDebug () |
Get the value of the debug flag. More... | |
void | SetDebug (bool debugFlag) |
Set the value of the debug flag. More... | |
virtual void | Modified () |
Update the modification time for this object. More... | |
virtual vtkMTimeType | GetMTime () |
Return this object's modified time. More... | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. More... | |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
vtkTypeBool | HasObserver (unsigned long event) |
vtkTypeBool | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
vtkCommand * | GetCommand (unsigned long tag) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
void | RemoveObserver (vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
void | RemoveObservers (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
void | RemoveObservers (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More... | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More... | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Allow user to set the AbortFlagOn() with the return value of the callback method. More... | |
int | InvokeEvent (unsigned long event, void *callData) |
This method invokes an event and return whether the event was aborted or not. More... | |
int | InvokeEvent (const char *event, void *callData) |
This method invokes an event and return whether the event was aborted or not. More... | |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
Return the class name as a string. More... | |
virtual vtkTypeBool | IsA (const char *name) |
Return 1 if this class is the same type of (or a subclass of) the named class. More... | |
virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More... | |
virtual void | Delete () |
Delete a VTK object. More... | |
virtual void | FastDelete () |
Delete a reference to this object. More... | |
void | InitializeObjectBase () |
void | Print (ostream &os) |
Print an object to an ostream. More... | |
virtual void | Register (vtkObjectBase *o) |
Increase the reference count (mark as used by another object). More... | |
virtual void | UnRegister (vtkObjectBase *o) |
Decrease the reference count (release by another object). More... | |
int | GetReferenceCount () |
Return the current reference count of this object. More... | |
void | SetReferenceCount (int) |
Sets the reference count. More... | |
bool | GetIsInMemkind () const |
A local state flag that remembers whether this object lives in the normal or extended memory space. More... | |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. More... | |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. More... | |
Static Public Member Functions | |
static vtkMedicalImageProperties * | New () |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkMedicalImageProperties * | SafeDownCast (vtkObjectBase *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 | GetTimeAsFields (const char *time, int &hour, int &minute, int &second) |
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. 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) |
Static Public Member Functions inherited from vtkObject | |
static vtkObject * | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
static void | BreakOnError () |
This method is called when vtkErrorMacro executes. More... | |
static void | SetGlobalWarningDisplay (int val) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOn () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOff () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static int | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
Static Public Member Functions inherited from vtkObjectBase | |
static vtkTypeBool | IsTypeOf (const char *name) |
Return 1 if this class type is the same type of (or a subclass of) the named class. More... | |
static vtkIdType | GetNumberOfGenerationsFromBaseType (const char *name) |
Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More... | |
static vtkObjectBase * | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
static void | SetMemkindDirectory (const char *directoryname) |
The name of a directory, ideally mounted -o dax, to memory map an extended memory space within. More... | |
static bool | GetUsingMemkind () |
A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space. More... | |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkMedicalImageProperties () | |
~vtkMedicalImageProperties () override | |
Protected Member Functions inherited from vtkObject | |
vtkObject () | |
~vtkObject () override | |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
These methods allow a command to exclusively grab all events. More... | |
void | InternalReleaseFocus () |
These methods allow a command to exclusively grab all events. More... | |
Protected Member Functions inherited from vtkObjectBase | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) |
virtual void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) |
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 |
PIMPL Encapsulation for STL containers. More... | |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
std::atomic< int32_t > | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
Static Protected Member Functions inherited from vtkObjectBase | |
static vtkMallocingFunction | GetCurrentMallocFunction () |
static vtkReallocingFunction | GetCurrentReallocFunction () |
static vtkFreeingFunction | GetCurrentFreeFunction () |
static vtkFreeingFunction | GetAlternateFreeFunction () |
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.
Definition at line 35 of file vtkMedicalImageProperties.h.
Definition at line 39 of file vtkMedicalImageProperties.h.
Enumerator | |
---|---|
AXIAL | |
CORONAL | |
SAGITTAL |
Definition at line 467 of file vtkMedicalImageProperties.h.
|
protected |
|
overrideprotected |
|
static |
|
static |
|
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 vtkObjectBase.
|
static |
|
protectedvirtual |
vtkMedicalImageProperties * vtkMedicalImageProperties::NewInstance | ( | ) | const |
|
overridevirtual |
|
virtual |
Convenience method to reset all fields to an empty string/value.
|
virtual |
Patient name For ex: DICOM (0010,0010) = DOE,JOHN.
|
virtual |
Patient name For ex: DICOM (0010,0010) = DOE,JOHN.
|
virtual |
Patient ID For ex: DICOM (0010,0020) = 1933197.
|
virtual |
Patient ID For ex: DICOM (0010,0020) = 1933197.
|
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 |
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 |
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.
int vtkMedicalImageProperties::GetPatientAgeYear | ( | ) |
int vtkMedicalImageProperties::GetPatientAgeMonth | ( | ) |
int vtkMedicalImageProperties::GetPatientAgeWeek | ( | ) |
int vtkMedicalImageProperties::GetPatientAgeDay | ( | ) |
|
virtual |
Patient sex For ex: DICOM (0010,0040) = M.
|
virtual |
Patient sex For ex: DICOM (0010,0040) = M.
|
virtual |
Patient birth date Format: yyyymmdd For ex: DICOM (0010,0030) = 19680427.
|
virtual |
Patient birth date Format: yyyymmdd For ex: DICOM (0010,0030) = 19680427.
int vtkMedicalImageProperties::GetPatientBirthDateYear | ( | ) |
int vtkMedicalImageProperties::GetPatientBirthDateMonth | ( | ) |
int vtkMedicalImageProperties::GetPatientBirthDateDay | ( | ) |
|
virtual |
Study Date Format: yyyymmdd For ex: DICOM (0008,0020) = 20030617.
|
virtual |
Study Date Format: yyyymmdd For ex: DICOM (0008,0020) = 20030617.
|
virtual |
Acquisition Date Format: yyyymmdd For ex: DICOM (0008,0022) = 20030617.
|
virtual |
Acquisition Date Format: yyyymmdd For ex: DICOM (0008,0022) = 20030617.
int vtkMedicalImageProperties::GetAcquisitionDateYear | ( | ) |
int vtkMedicalImageProperties::GetAcquisitionDateMonth | ( | ) |
int vtkMedicalImageProperties::GetAcquisitionDateDay | ( | ) |
|
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 |
Study Time Format: hhmmss.frac (any trailing component(s) can be omitted) For ex: DICOM (0008,0030) = 162552.0705 or 230012, or 0012.
|
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 |
Acquisition time Format: hhmmss.frac (any trailing component(s) can be omitted) For ex: DICOM (0008,0032) = 162552.0705 or 230012, or 0012.
|
virtual |
Image Date aka Content Date Format: yyyymmdd For ex: DICOM (0008,0023) = 20030617.
|
virtual |
Image Date aka Content Date Format: yyyymmdd For ex: DICOM (0008,0023) = 20030617.
int vtkMedicalImageProperties::GetImageDateYear | ( | ) |
int vtkMedicalImageProperties::GetImageDateMonth | ( | ) |
int vtkMedicalImageProperties::GetImageDateDay | ( | ) |
|
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 |
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 |
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 |
Image Time Format: hhmmss.frac (any trailing component(s) can be omitted) For ex: DICOM (0008,0033) = 162552.0705 or 230012, or 0012.
|
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 |
Image number For ex: DICOM (0020,0013) = 1.
|
virtual |
Image number For ex: DICOM (0020,0013) = 1.
|
virtual |
Series number For ex: DICOM (0020,0011) = 902.
|
virtual |
Series number For ex: DICOM (0020,0011) = 902.
|
virtual |
Series Description User provided description of the Series For ex: DICOM (0008,103e) = SCOUT.
|
virtual |
Series Description User provided description of the Series For ex: DICOM (0008,103e) = SCOUT.
|
virtual |
Study ID For ex: DICOM (0020,0010) = 37481.
|
virtual |
Study ID For ex: DICOM (0020,0010) = 37481.
|
virtual |
Study description For ex: DICOM (0008,1030) = BRAIN/C-SP/FACIAL.
|
virtual |
Study description For ex: DICOM (0008,1030) = BRAIN/C-SP/FACIAL.
|
virtual |
Modality For ex: DICOM (0008,0060)= CT.
|
virtual |
Modality For ex: DICOM (0008,0060)= CT.
|
virtual |
Manufacturer For ex: DICOM (0008,0070) = Siemens.
|
virtual |
Manufacturer For ex: DICOM (0008,0070) = Siemens.
|
virtual |
Manufacturer's Model Name For ex: DICOM (0008,1090) = LightSpeed QX/i.
|
virtual |
Manufacturer's Model Name For ex: DICOM (0008,1090) = LightSpeed QX/i.
|
virtual |
Station Name For ex: DICOM (0008,1010) = LSPD_OC8.
|
virtual |
Station Name For ex: DICOM (0008,1010) = LSPD_OC8.
|
virtual |
Institution Name For ex: DICOM (0008,0080) = FooCity Medical Center.
|
virtual |
Institution Name For ex: DICOM (0008,0080) = FooCity Medical Center.
|
virtual |
Convolution Kernel (or algorithm used to reconstruct the data) For ex: DICOM (0018,1210) = Bone.
|
virtual |
Convolution Kernel (or algorithm used to reconstruct the data) For ex: DICOM (0018,1210) = Bone.
|
virtual |
Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438.
|
virtual |
Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438.
|
virtual |
Slice Thickness (Nominal reconstructed slice thickness, in mm) For ex: DICOM (0018,0050) = 0.273438.
|
virtual |
Peak kilo voltage output of the (x-ray) generator used For ex: DICOM (0018,0060) = 120.
|
virtual |
Peak kilo voltage output of the (x-ray) generator used For ex: DICOM (0018,0060) = 120.
|
virtual |
Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15.
|
virtual |
Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15.
|
virtual |
Gantry/Detector tilt (Nominal angle of tilt in degrees of the scanning gantry.) For ex: DICOM (0018,1120) = 15.
|
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 |
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 |
Echo Train Length (Number of lines in k-space acquired per excitation per image) For ex: DICOM (0018,0091) = 35.
|
virtual |
Echo Train Length (Number of lines in k-space acquired per excitation per image) For ex: DICOM (0018,0091) = 35.
|
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 |
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 |
Exposure time (time of x-ray exposure in msec) For ex: DICOM (0018,1150) = 5.
|
virtual |
Exposure time (time of x-ray exposure in msec) For ex: DICOM (0018,1150) = 5.
|
virtual |
X-ray tube current (in mA) For ex: DICOM (0018,1151) = 400.
|
virtual |
X-ray tube current (in mA) For ex: DICOM (0018,1151) = 400.
|
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 |
Exposure (The exposure expressed in mAs, for example calculated from Exposure Time and X-ray Tube Current) For ex: DICOM (0018,1152) = 114.
|
virtual |
Get the direction cosine (default to 1,0,0,0,1,0)
|
virtual |
Get the direction cosine (default to 1,0,0,0,1,0)
|
virtual |
Get the direction cosine (default to 1,0,0,0,1,0)
|
virtual |
Get the direction cosine (default to 1,0,0,0,1,0)
|
virtual |
Get the direction cosine (default to 1,0,0,0,1,0)
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.
int vtkMedicalImageProperties::GetOrientationType | ( | int | volumeidx | ) |
void vtkMedicalImageProperties::SetOrientationType | ( | int | volumeidx, |
int | orientation | ||
) |
|
static |
|
virtual |
Copy the contents of p to this instance.
|
protected |
Definition at line 487 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 488 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 489 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 490 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 491 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 492 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 493 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 494 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 495 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 496 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 497 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 498 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 499 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 500 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 501 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 502 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 503 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 504 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 505 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 506 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 507 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 508 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 509 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 510 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 511 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 512 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 513 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 514 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 515 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 516 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 517 of file vtkMedicalImageProperties.h.
|
protected |
Definition at line 518 of file vtkMedicalImageProperties.h.
|
protected |
PIMPL Encapsulation for STL containers.
Definition at line 523 of file vtkMedicalImageProperties.h.