Belle II Software development
|
Class template for coloring objects in different Colors. More...
#include <ColorMapping.h>
Public Member Functions | |
DefaultColorCycleMapping () | |
Constructor. | |
std::string | map (int index, AObject &t) override |
Return a value from the cycle value according to the given index. | |
virtual std::string | map (int index, T &t) |
Main function returning an attribute value for an object at the given index. | |
std::string | info () override |
Informal string summarizing the translation from the object to the attribute value. | |
Private Types | |
using | Super = CycleMapping< AObject > |
Type of the base class. | |
Private Attributes | |
std::vector< std::string > | m_values |
Memory for the attribute values to be cycled. | |
Class template for coloring objects in different Colors.
This Class uses the color list defined in the Colors class.
Definition at line 26 of file ColorMapping.h.
|
private |
Type of the base class.
Definition at line 30 of file ColorMapping.h.
|
inline |
Constructor.
Definition at line 34 of file ColorMapping.h.
|
inlineoverridevirtualinherited |
Informal string summarizing the translation from the object to the attribute value.
Reimplemented from Mapping< T >.
Definition at line 90 of file Mapping.h.
|
inlineoverrideinherited |
Return a value from the cycle value according to the given index.
Definition at line 83 of file Mapping.h.
|
inlinevirtualinherited |
Main function returning an attribute value for an object at the given index.
Reimplemented in ZeroDriftLengthStrokeWidthMap, ZeroDriftLengthColorMap, TakenFlagColorMap, RLColorMap, PosFlagColorMap, BackgroundTagColorMap, MCSegmentIdColorMap, TOFColorMap, ReassignedSecondaryMap, MCParticleColorMap, MCPDGCodeColorMap, MCPrimaryColorMap, SimHitPDGCodeColorMap, SimHitIsBkgColorMap, NLoopsColorMap, ConstantMapping< T >, and CycleMapping< T >.
Definition at line 30 of file Mapping.h.
|
privateinherited |