The display-settings for a channel.
More...
#include <libCZI_Metadata.h>
The display-settings for a channel.
◆ Clone()
Makes a deep copy of the information in this object and store the information in the POD.
- Parameters
-
| disp | The channel-display-settings object. |
[in,out] | pod | The POD-channel-display-settings object to store the information in. |
◆ GetBlackWhitePoint()
virtual void libCZI::IChannelDisplaySetting::GetBlackWhitePoint |
( |
float * |
pBlack, |
|
|
float * |
pWhite |
|
) |
| const |
|
pure virtual |
Gets the black point and the white point.
- Parameters
-
[out] | pBlack | If non-null, the black point will be returned. |
[out] | pWhite | If non-null, the white point will be returned. |
◆ GetGradationCurveMode()
Gets gradation curve mode.
- Returns
- The gradation curve mode.
◆ GetIsEnabled()
virtual bool libCZI::IChannelDisplaySetting::GetIsEnabled |
( |
| ) |
const |
|
pure virtual |
Gets a boolean indicating whether the corresponding channel is 'active' in the multi-channel-composition.
- Returns
- True if the corresponding channel is 'active', false otherwise.
◆ GetWeight()
virtual float libCZI::IChannelDisplaySetting::GetWeight |
( |
| ) |
const |
|
pure virtual |
Gets the weight of the channel (for multi-channel-composition).
- Returns
- The weight.
◆ TryGetGamma()
virtual bool libCZI::IChannelDisplaySetting::TryGetGamma |
( |
float * |
gamma | ) |
const |
|
pure virtual |
Attempts to get the gamma - this will only be available if gradation curve mode is Gamma
.
- Parameters
-
[out] | gamma | If non-null and applicable, the gamma will be returned. |
- Returns
- True if the corresponding channel uses gradation curve mode
Gamma
(and a value for gamma is available), false otherwise.
◆ TryGetSplineControlPoints()
Attempts to get spline control points - this will only be available if gradation curve mode is Spline
.
- Parameters
-
[in,out] | ctrlPts | If non-null, the control points will be written to this vector. |
- Returns
- True if it succeeds, false if it fails.
◆ TryGetSplineData()
Attempts to get the spline data - this will only be available if gradation curve mode is Spline
.
- Parameters
-
[in,out] | data | If non-null, the spline data will be written to this vector. |
- Returns
- True if the corresponding channels uses gradation curve mode
Spline
, false otherwise.
◆ TryGetTintingColorRgb8()
virtual bool libCZI::IChannelDisplaySetting::TryGetTintingColorRgb8 |
( |
libCZI::Rgb8Color * |
pColor | ) |
const |
|
pure virtual |
Attempts to get the RGB24-tinting color for the corresponding channel. If tinting is not enabled, then this method will return false.
- Parameters
-
[out] | pColor | If tinting is enabled for the corresponding channel, then (if non-null) will receive the tinting-color. |
- Returns
- True if tinting is enabled for the corresponding channel (and in this case
pColor
will be set), false otherwise (and pColor
will not be set).
The documentation for this class was generated from the following file: