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. 
 | 
|  | 
|  | 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. 
 | 
|  | 
|  | 
| 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. 
 | 
|  | 
| 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. 
 | 
|  | 
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.