Omnidome
Fulldome Mapping Software Toolkit
|
Common blend mask settings for the all tunings in a session. More...
#include <BlendSettings.h>
Public Types | |
enum | ColorMode { ColorMode::COLORED, ColorMode::WHITE } |
Blend Mask display colorColorMode. More... | |
Public Member Functions | |
ColorMode | colorMode () const |
Return colorColorMode of blend mask colorColorMode. More... | |
void | setColorMode (ColorMode) |
Set blend mask colorColorMode. More... | |
float | inputOpacity () const |
Return input opacity of blend mask. More... | |
void | setInputOpacity (float _input) |
Opacity of input when in blend mask colorColorMode. More... | |
bool | showInWarpMode () const |
Show blend mask in warp colorColorMode. More... | |
void | setShowInWarpMode (bool) |
Set flag if blend mask is visible in warp colorColorMode. More... | |
void | fromStream (QDataStream &) |
Deserialize from stream. More... | |
void | toStream (QDataStream &) const |
Serialize to stream. More... | |
Private Attributes | |
ColorMode | colorMode_ = ColorMode::COLORED |
bool | showInWarpMode_ = false |
float | inputOpacity_ = 0.0 |
Friends | |
bool | operator== (BlendSettings const &, BlendSettings const &) |
Test for equality. More... | |
Common blend mask settings for the all tunings in a session.
|
strong |
BlendSettings::ColorMode omni::BlendSettings::colorMode | ( | ) | const |
Return colorColorMode of blend mask colorColorMode.
void omni::BlendSettings::fromStream | ( | QDataStream & | _is | ) |
Deserialize from stream.
float omni::BlendSettings::inputOpacity | ( | ) | const |
Return input opacity of blend mask.
void omni::BlendSettings::setColorMode | ( | ColorMode | _colorMode | ) |
Set blend mask colorColorMode.
void omni::BlendSettings::setInputOpacity | ( | float | _input | ) |
Opacity of input when in blend mask colorColorMode.
void omni::BlendSettings::setShowInWarpMode | ( | bool | _showInWarpMode | ) |
Set flag if blend mask is visible in warp colorColorMode.
Set flag if blend mask is visible in warp colorMode.
bool omni::BlendSettings::showInWarpMode | ( | ) | const |
Show blend mask in warp colorColorMode.
Show blend mask in warp colorMode.
void omni::BlendSettings::toStream | ( | QDataStream & | _os | ) | const |
Serialize to stream.
|
friend |
Test for equality.
|
private |
|
private |
|
private |