Class for graphic data (3D) lists.
More...
List of all members.
Detailed Description
Class for graphic data (3D) lists.
Definition at line 95 of file dsrsc3gr.h.
Constructor & Destructor Documentation
copy constructor
- Parameters:
-
Member Function Documentation
add value triplet to the list
- Parameters:
-
x | x value to be added |
y | y value to be added |
z | z value to be added |
get reference to the specified item
- Parameters:
-
idx | index of the item to be returned (starting from 1) |
- Returns:
- reference to the specified item if successful, EmptyItem otherwise
Reimplemented from DSRListOfItems< DSRGraphicData3DItem >.
get copy of the specified value triplet
- Parameters:
-
idx | index of the value triplet to be returned (starting from 1) |
x | x value of the specified index (set to 0 first) |
y | y value of the specified index (set to 0 first) |
z | z value of the specified index (set to 0 first) |
- Returns:
- status, EC_Normal if successful, an error code otherwise
assignment operator
- Parameters:
-
- Returns:
- reference to this list after 'lst' has been copied
print list of graphic data.
The output of a typical list looks like this: 0/0/0,127/127/127,255/255/255
- Parameters:
-
stream | output stream to which the list should be printed |
flags | flag used to customize the output (see DSRTypes::PF_xxx) |
tripletSeparator | character specifying the separator between the value triplets |
itemSeparator | character specifying the separator between the list items |
- Returns:
- status, EC_Normal if successful, an error code otherwise
put list of graphic data as a string.
This function expects the same input format as created by print(), i.e. a comma separated list of numerical value triplets.
- Parameters:
-
stringValue | string value to be set |
- Returns:
- status, EC_Normal if successful, an error code otherwise
read list of graphic data
- Parameters:
-
dataset | DICOM dataset from which the list should be read |
- Returns:
- status, EC_Normal if successful, an error code otherwise
write list of graphic data
- Parameters:
-
dataset | DICOM dataset to which the list should be written |
- Returns:
- status, EC_Normal if successful, an error code otherwise
The documentation for this class was generated from the following file: