Public Member Functions | |
DVPSVOIWindow () | |
default constructor | |
DVPSVOIWindow (const DVPSVOIWindow ©) | |
copy constructor | |
DVPSVOIWindow * | clone () |
clone method. | |
virtual | ~DVPSVOIWindow () |
destructor | |
OFCondition | read (size_t idx, DcmDecimalString &wcenter, DcmDecimalString &wwidth, DcmLongString *expl=NULL) |
reads a VOI Window from DICOM elements. | |
void | clear () |
reset the object to initial state. | |
const char * | getExplanation () |
gets the Window center/width explanation for this VOI Window. | |
double | getWindowCenter () |
gets the Window Center of this VOI Window. | |
double | getWindowWidth () |
gets the Window Width of this VOI Window. | |
void | setLog (OFConsole *stream, OFBool verbMode, OFBool dbgMode) |
sets a new log stream | |
Private Member Functions | |
DVPSVOIWindow & | operator= (const DVPSVOIWindow &) |
private undefined assignment operator | |
Private Attributes | |
double | windowCenter |
double | windowWidth |
OFString | windowCenterWidthExplanation |
OFConsole * | logstream |
output stream for error messages, never NULL | |
OFBool | verboseMode |
flag indicating whether we're operating in verbose mode | |
OFBool | debugMode |
flag indicating whether we're operating in debug mode |
Definition at line 48 of file dvpsvw.h.
|
reset the object to initial state. After this call, the object is in the same state as after creation with the default constructor. |
|
clone method.
Definition at line 61 of file dvpsvw.h. References DVPSVOIWindow(). |
|
gets the Window center/width explanation for this VOI Window. If no explanation exists, NULL is returned.
|
|
gets the Window Center of this VOI Window.
Definition at line 92 of file dvpsvw.h. References windowCenter. |
|
gets the Window Width of this VOI Window.
Definition at line 97 of file dvpsvw.h. References windowWidth. |
|
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.
|
|
sets a new log stream
|