Public Member Functions | |
DVPSCurve () | |
default constructor | |
DVPSCurve (const DVPSCurve ©) | |
copy constructor | |
DVPSCurve * | clone () |
clone method. | |
virtual | ~DVPSCurve () |
destructor | |
OFCondition | read (DcmItem &dset, Uint8 group) |
reads a curve from a DICOM dataset. | |
Uint8 | getCurveGroup () |
get group number of curve repeating group managed by this object. | |
size_t | getNumberOfPoints () |
gets the number of points in the curve. | |
DVPSCurveType | getTypeOfData () |
gets the type of data in the curve (ROI or POLY). | |
OFCondition | getPoint (size_t idx, double &x, double &y) |
gets one point from the curve data. | |
const char * | getCurveDescription () |
gets the curve description string if present. | |
const char * | getCurveLabel () |
gets the curve label string if present. | |
const char * | getCurveAxisUnitsX () |
gets the curve axis units string for the X dimension if present. | |
const char * | getCurveAxisUnitsY () |
gets the curve axis units string for the Y dimension if present. | |
void | setLog (OFConsole *stream, OFBool verbMode, OFBool dbgMode) |
sets a new log stream | |
Private Member Functions | |
DVPSCurve & | operator= (const DVPSCurve &) |
private undefined assignment operator | |
Private Attributes | |
Uint8 | curveGroup |
lower byte of the curve repeating group managed by this object | |
size_t | numberOfPoints |
number of points in curve data | |
DVPSCurveType | typeOfData |
type of curve data | |
double * | curveData |
curve data, converted to double | |
OFString | curveDescription |
curve data description if present | |
OFString | curveLabel |
curve label if present | |
OFString | axisUnitsX |
axis units X if present | |
OFString | axisUnitsY |
axis units Y if present | |
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 49 of file dvpscu.h.
|
clone method.
Definition at line 62 of file dvpscu.h. References DVPSCurve(). |
|
gets the curve axis units string for the X dimension if present. If the string is absent, this method returns NULL or an empty string.
Definition at line 118 of file dvpscu.h. References axisUnitsX, and OFString::c_str(). |
|
gets the curve axis units string for the Y dimension if present. If the string is absent, this method returns NULL or an empty string.
Definition at line 124 of file dvpscu.h. References axisUnitsY, and OFString::c_str(). |
|
gets the curve description string if present. If the description string is absent, this method returns NULL or an empty string.
Definition at line 106 of file dvpscu.h. References OFString::c_str(), and curveDescription. |
|
get group number of curve repeating group managed by this object.
Definition at line 82 of file dvpscu.h. References curveGroup. |
|
gets the curve label string if present. If the label string is absent, this method returns NULL or an empty string.
Definition at line 112 of file dvpscu.h. References OFString::c_str(), and curveLabel. |
|
gets the number of points in the curve.
Definition at line 87 of file dvpscu.h. References numberOfPoints. |
|
gets one point from the curve data.
|
|
gets the type of data in the curve (ROI or POLY).
Definition at line 92 of file dvpscu.h. References typeOfData. |
|
reads a curve from a DICOM dataset. The DICOM elements of the Graphic Object item are copied from the dataset to this object. The completeness of the curve (presence of all required elements, value multiplicity) is checked. If this method returns an error code, the object is in undefined state afterwards.
|
|
sets a new log stream
|