|
DCMTK Version 3.6.9
OFFIS DICOM Toolkit
|
Class representing different pixel modules from the DICOM standard: The class Image Pixel Module, the Floating Point Image Pixel module and the Double Floating Point Image Pixel module. More...
Inheritance diagram for IODImagePixelVariant<>:Public Member Functions | |
| IODImagePixelVariant () | |
| Constructor. | |
| template<typename T > | |
| IODImagePixelVariant (const T &t) | |
| Constructor, constructs pixel module based on given type. | |
| ~IODImagePixelVariant () | |
| Destructor. | |
| OFString | getName () const |
| Get name of module. | |
| IODImagePixelBase::DataType | getDataType () const |
| Get pixel data type. | |
| void | clearData () |
| Clear data (base class version) | |
| OFCondition | getSamplesPerPixel (Uint16 &value, const unsigned long pos=0) |
| Get Samples per Pixel. | |
| OFCondition | getPhotometricInterpretation (OFString &value, const signed long pos=0) |
| Get Photometric Interpretation. | |
| OFCondition | getRows (Uint16 &value, const unsigned long pos=0) |
| Get Rows. | |
| OFCondition | getColumns (Uint16 &value, const unsigned long pos=0) |
| Get Columns. | |
| OFCondition | getBitsAllocated (Uint16 &value, const unsigned long pos=0) |
| Get Bits Allocated. | |
| OFCondition | getPixelAspectRatio (Uint16 &value, const unsigned long pos=0) |
| Get Pixel Aspect Ratio. | |
| OFCondition | setRows (const Uint16 value, const OFBool checkValue=OFTrue) |
| Set Rows. | |
| OFCondition | setColumns (const Uint16 value, const OFBool checkValue=OFTrue) |
| Set Columns. | |
| OFCondition | setPixelAspectRatio (const OFString &verticalPixelSize, const OFString &horizontalPixelSize, const OFBool checkValue=OFTrue) |
| Set Pixel Aspect Ratio. | |
| OFCondition | write (DcmItem &dataset) |
| Write pixel module base class data to given item. | |
| OFCondition | read (DcmItem &dataset) |
| Read pixel module base class data from given item. | |
Public Member Functions inherited from OFvariant< OFmonostate, OFVARIADIC_TEMPLATE_PARAMETER_PACK(T)> | |
| OFvariant () | |
| Constructs a variant holding a default constructed value of the first alternative. | |
| OFvariant (const OFvariant &rhs) | |
| Copy constructs a variant holding a copy of the value rhs holds. | |
| OFvariant (OFvariant &&rhs) | |
| Move constructs a variant by moving the value rhs holds. | |
| OFvariant (T t) | |
| Constructs a variant holding the alternative that most closely matches the given argument. | |
| ~OFvariant () | |
| Destroys the value that the variant currently holds. | |
| OFvariant & | operator= (const OFvariant &rhs) |
| Copy assigns the value rhs holds to *this. | |
| OFvariant & | operator= (OFvariant &&rhs) |
| Move assigns the value rhs holds to *this. | |
| OFvariant & | operator= (T t) |
| Converts the given argument to one of the alternatives and assigns it to *this. | |
| size_t | index () const |
| Get the index of alternative that is currently being held. | |
Additional Inherited Members | |
Related Definitions inherited from OFvariant< OFmonostate, OFVARIADIC_TEMPLATE_PARAMETER_PACK(T)> | |
| Alternative * | OFget (OFvariant< Alternatives... > *v) |
| Try to get a pointer to the given alternative from an OFvariant object. | |
| const Alternative * | OFget (const OFvariant< Alternatives... > *v) |
| Try to get a pointer to the given alternative from an OFvariant object. | |
| Result | OFvisit (Visitor visitor, OFvariant< Alternatives... > &v) |
| Applies the given visitor to the given OFvariant object. | |
| Result | OFvisit (Visitor visitor, const OFvariant< Alternatives... > &v) |
| Applies the given visitor to the given OFvariant object. | |
Class representing different pixel modules from the DICOM standard: The class Image Pixel Module, the Floating Point Image Pixel module and the Double Floating Point Image Pixel module.
|
inline |
Constructor, constructs pixel module based on given type.
| t | The Image Pixel Module to be used |
|
inline |
Get Bits Allocated.
| value | Reference to variable in which the value should be stored |
| pos | Index of the value to get (0..vm-1) |
|
inline |
Get Columns.
| value | Reference to variable in which the value should be stored |
| pos | Index of the value to get (0..vm-1) |
|
inline |
Get pixel data type.
|
inline |
Get name of module.
|
inline |
Get Photometric Interpretation.
| value | Reference to variable in which the value should be stored |
| pos | Index of the value to get (0..vm-1) |
|
inline |
Get Pixel Aspect Ratio.
| value | Reference to variable in which the value should be stored |
| pos | Index of the value to get (0..vm-1) |
|
inline |
Get Rows.
| value | Reference to variable in which the value should be stored |
| pos | Index of the value to get (0..vm-1) |
|
inline |
Get Samples per Pixel.
| value | Reference to variable in which the value should be stored |
| pos | Index of the value to get (0..vm-1) |
|
inline |
Read pixel module base class data from given item.
| dataset | The item to read from (usually dataset level) |
|
inline |
Set Columns.
| value | Reference to variable in which the value should be stored |
| checkValue | Check 'value'. Not evaluated (here for consistency with other setter functions). |
|
inline |
Set Pixel Aspect Ratio.
| verticalPixelSize | The vertical pixel size (no unit) |
| horizontalPixelSize | The horizontal pixel size (no unit) |
| checkValue | Check 'value' for conformance with VR (IS) |
|
inline |
Set Rows.
| value | Reference to variable in which the value should be stored |
| checkValue | Check 'value'. Not evaluated (here for consistency with other setter functions). |
|
inline |
Write pixel module base class data to given item.
| dataset | The item to write to (usually dataset level) |
Referenced by DcmIODImage<>::write().