the representation of one VOI Window in a DICOM image.
More...
|
double | windowCenter |
|
double | windowWidth |
|
OFString | windowCenterWidthExplanation |
|
the representation of one VOI Window in a DICOM image.
Definition at line 43 of file dvpsvw.h.
void DVPSVOIWindow::clear |
( |
| ) |
|
reset the object to initial state.
After this call, the object is in the same state as after creation with the default constructor.
const char* DVPSVOIWindow::getExplanation |
( |
| ) |
|
gets the Window center/width explanation for this VOI Window.
If no explanation exists, NULL is returned.
- Returns
- Window explanation or NULL
double DVPSVOIWindow::getWindowCenter |
( |
| ) |
|
|
inline |
gets the Window Center of this VOI Window.
- Returns
- window center
Definition at line 87 of file dvpsvw.h.
double DVPSVOIWindow::getWindowWidth |
( |
| ) |
|
|
inline |
gets the Window Width of this VOI Window.
- Returns
- window width
Definition at line 92 of file dvpsvw.h.
reads a VOI Window from DICOM elements.
The DICOM elements of the given VOI Window are copied to this object. If this method returns an error code, the object is in undefined state afterwards.
- Parameters
-
idx | the index of the VOI window to be read, must be < wcenter.getVM() |
wcenter | the window center(s) |
wwidth | the window width(s). wwidth.getVM() must be == wcenter.getVM(). |
expl | the window center/window width explanation. If omitted, explanation remains empty. |
- Returns
- EC_Normal if successful, an error code otherwise.
The documentation for this class was generated from the following file:
- dcmpstat/include/dcmtk/dcmpstat/dvpsvw.h