libCZI
Reading and Writing CZI documents made easy
|
#include <libCZI_Metadata.h>
Public Member Functions | |
LIBCZI_API void | Clear () |
Static Public Member Functions | |
static LIBCZI_API IChannelDisplaySetting * | CreateIChannelDisplaySetting (const ChannelDisplaySettingsPOD &pod) |
static LIBCZI_API std::shared_ptr< IChannelDisplaySetting > | CreateIChannelDisplaySettingSp (const ChannelDisplaySettingsPOD &pod) |
Public Attributes | |
bool | isEnabled |
A boolean indicating whether the corresponding channel is 'active' in the multi-channel-composition. | |
float | weight |
The weight of the channel (for multi-channel-composition). | |
IDisplaySettings::TintingMode | tintingMode |
The tinting mode. | |
libCZI::Rgb8Color | tintingColor |
The tinting color (only valid if tinting mode == Color). | |
float | blackPoint |
The (normalized) black point value. | |
float | whitePoint |
The (normalized) white point value. | |
IDisplaySettings::GradationCurveMode | gradationCurveMode |
The gradation curve mode. | |
float | gamma |
The value for gamma (only valid if gradation curve mode == Gamma). | |
std::vector< libCZI::IDisplaySettings::SplineControlPoint > | splineCtrlPoints |
The spline control points (only valid if gradation curve mode == Spline). | |
This POD ("plain-old-data") structure is intended to capture all information found inside an IChannelDisplaySetting-object. It allows for easy modification of the information.
|
inline |
Sets the structure to a defined standard value - not enabled, no tinting, linear gradation-curve and black-point to zero and white-point to one.
|
static |
Creates an IChannelDisplaySetting-object from the specified ChannelDisplaySettingsPOD-structure.
pod | The ChannelDisplaySettingsPOD-structure. |
|
static |
Creates an IChannelDisplaySetting-object from the specified ChannelDisplaySettingsPOD-structure, and return it as a shared pointer.
pod | The ChannelDisplaySettingsPOD-structure. |