QMedical Command Reference
Values of Interest (VOI)
|
|
| QMed_SetCurrentVOI(areaRef; voiWidth; voiCenter):error | |||
|
|
areaRef | Longint | QMedical area reference |
|
|
voiWidth | Real | New window width |
|
|
voiCenter | Real | New window center |
|
|
error | Longint | Error result |
Changes 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 specify the new values of the window width and center respectively.
Related commands
| QMed_GetCurrentVOI | Returns 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 |