QMedical Command Reference
Values of Interest (VOI)
|
|
| QMed_GetCurrentVOI(areaRef; voiWidth; voiCenter):error | |||
|
|
areaRef | Longint | QMedical area reference |
|
|
voiWidth | Real | Current window width |
|
|
voiCenter | Real | Current window center |
|
|
error | Longint | Error result |
Returns the current values of the VOI parameters for the image currently assigned to a plug-in area.
The QMedical plug-in area is specified by areaRef. If areaRef is not a valid QMedical plug-in area reference, qmed_paramErr is returned.
Parameters voiWidth and voiCenter receive the current values of the window width and center respectively.
Related commands
| QMed_SetCurrentVOI | Changes the current values of the VOI parameters |
| QMed_GetVOILimits | Returns the minimum and maximum values of the VOI parameters |
| QMed_GetDefaultVOI | Returns the default values of the VOI parameters |