![]() |
ULIS
dev4.0.7
Utility Library for Imaging Systems
|
The FFormatMetrics class provides a way to store cached information extrapolated from the eFormat bitfield. More...
Public Member Functions | |
FFormatMetrics (const FFormatMetrics &iOther) | |
FFormatMetrics (eFormat iFMT) | |
FFormatMetrics (FFormatMetrics &&iOther) | |
~FFormatMetrics () | |
FFormatMetrics & | operator= (const FFormatMetrics &iOther) |
FFormatMetrics | ReinterpretedFloatType (eType iType) const |
Public Attributes | |
uint8 | AID |
uint8 | BPC |
uint8 | BPP |
eColorModel | CM |
eFormat | FMT |
bool | HEA |
uint8 * | IDT |
bool | LIN |
uint8 | NCC |
bool | PLA |
bool | PRE |
uint8 | PRO |
bool | REV |
uint8 | RSC |
uint8 | SPP |
bool | SWA |
eType | TP |
The FFormatMetrics class is meant to be used when cached format info is needed for organization of documents or in various algorithms.
FFormatMetrics::~FFormatMetrics | ( | ) |
Destructor.
FFormatMetrics::FFormatMetrics | ( | eFormat | iFMT | ) |
Constructor from eFormat.
FFormatMetrics::FFormatMetrics | ( | const FFormatMetrics & | iOther | ) |
Copy constructor.
FFormatMetrics::FFormatMetrics | ( | FFormatMetrics && | iOther | ) |
Move constructor.
FFormatMetrics& FFormatMetrics::operator= | ( | const FFormatMetrics & | iOther | ) |
Copy assignment operator.
FFormatMetrics FFormatMetrics::ReinterpretedFloatType | ( | eType | iType | ) | const |
Reinterpret the format by changing its type only.
uint8 FFormatMetrics::AID |
Cached Alpha Index
uint8 FFormatMetrics::BPC |
Cached Bytes Per Channel
uint8 FFormatMetrics::BPP |
Cached Bytes Per Pixel
eColorModel FFormatMetrics::CM |
Cached Color Model
eFormat FFormatMetrics::FMT |
Cached Format
bool FFormatMetrics::HEA |
Cached Has Extra Alpha
uint8* FFormatMetrics::IDT |
Cached Index Table
bool FFormatMetrics::LIN |
Cached Linear
uint8 FFormatMetrics::NCC |
Cached Num Color Channels
bool FFormatMetrics::PLA |
Cached Planar
bool FFormatMetrics::PRE |
Cached Premultiplied
uint8 FFormatMetrics::PRO |
Cached Default Profile Code
bool FFormatMetrics::REV |
Cached Reversed
uint8 FFormatMetrics::RSC |
Cached ReverseSwapped Code
uint8 FFormatMetrics::SPP |
Cached Samples Per Pixel
bool FFormatMetrics::SWA |
Cached Swapped
eType FFormatMetrics::TP |
Cached Type