|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_TREE_FORMATS_COLOR_WRITER_PLUGIN_H_
2 #define GENESIS_TREE_FORMATS_COLOR_WRITER_PLUGIN_H_
109 edge_colors_ = color_vector;
125 enable_color_ = value;
133 return enable_color_;
148 ignored_color_ = value;
149 use_ignored_color_ =
true;
157 return ignored_color_;
168 use_ignored_color_ = value;
176 return use_ignored_color_;
185 std::vector<utils::Color> edge_colors_;
186 bool enable_color_ =
true;
188 bool use_ignored_color_ =
false;
195 #endif // include guard
void ignored_color(utils::Color value)
Set a color that is used as marker for partially disabling the output of color tags.
void edge_colors(std::vector< utils::Color > const &color_vector)
Set the edge colors that shall be written to the output.
utils::Color ignored_color() const
Return the currently set ignored color. See the setter for more information.
virtual ~ColorWriterPlugin()=default
void use_ignored_color(bool value)
Set whether to use the ignored_color().
bool enable_color() const
Returns whether colors tags are written to the output.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
Color operators and functions.
bool use_ignored_color() const
Return whether currently an ignored color is used.
void enable_color(bool value)
Set whether colors tags are written to the output.
Base class for creating plugin classes that allow coloring of Tree edges.
std::vector< utils::Color > const & edge_colors() const
Return the edge colors that are currently set.