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...
|
|
| 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.
|
| void | setValueCheckOnWrite (const OFBool doCheck) |
| | Set whether attribute values should be checked on writing, i.e.
|
| | OFvariant () |
| | Constructs a variant holding a default constructed value of the first alternative.
|
|
| ~OFvariant () |
| | Destroys the value that the variant currently holds.
|
| OFvariant & | operator= (const OFvariant &rhs) |
| | Copy assigns the value rhs holds to *this.
|
| size_t | index () const |
| | Get the index of alternative that is currently being held.
|
template<OFVARIADIC_DECLARE_TEMPLATE_PARAMETER_PACK_WITH_DEFAULTS(T)>
class IODImagePixelVariant<>
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.
template<OFVARIADIC_DECLARE_TEMPLATE_PARAMETER_PACK_WITH_DEFAULTS(T)>
Set whether attribute values should be checked on writing, i.e.
if writing should fail if attribute values violate their VR, VM, character set or value length. A missing but required value is always considered an error, independent of this setting. If set to OFFalse, writing will always succeed, even if attribute value constraints are violated. A warning instead of an error will be printed to the logger.
- Parameters
-
| doCheck | If OFTrue, attribute value errors are handled as errors on writing, if OFFalse any errors are ignored. |