Template Class VertexPainter

Inheritance Relationships

Base Type

Class Documentation

template<typename TN>
class VertexPainter : public sequant::VertexPainterImpl

Public Functions

VertexPainterImpl(const NamedIndexSet &named_indices, bool distinct_named_indices = true, const NamedIndexColorMap *named_index_colors = nullptr)
Parameters:
  • named_indices – indices not in this list will use colors based on their Index::color()

  • distinct_named_indices – if false, will use same color for all named indices that have same Index::color(), else will use distinct color for each named_index

  • named_index_colors – optional per-named-index loop-color map; when non-null, a named index found here has its loop-color folded into its vertex color so that same-space named indices bound to different loops become distinguishable. A null (default) or empty map leaves coloring byte-identical to space-only named coloring.