56 MRMESH_API
void erase(
int i,
int n = 1 );
73 std::vector<PartialColorMap> dataSet_;
76 bool needUpdate_{
true };
80 bool checkInputData_(
const PartialColorMap& partitialColorMap );
81 void updateAggregated_(
int newSize );
Class for aggregate several color map in one Color maps are aggregated according order.
Definition MRColorMapAggregator.h:20
MRMESH_API void setDefaultColor(const Color &color)
set default (background) color
TaggedBitSet< Tag > ElementBitSet
Definition MRColorMapAggregator.h:23
const PartialColorMap & getPartialColorMap(int i)
get partial color map map by index
Definition MRColorMapAggregator.h:53
size_t getColorMapNumber()
get number of accumulated color maps
Definition MRColorMapAggregator.h:50
MRMESH_API void pushBack(const PartialColorMap &partitialColorMap)
add color map after all (more priority)
ColorMap colorMap
Definition MRColorMapAggregator.h:33
MRMESH_API void erase(int i, int n=1)
erase n color map from #i
MRMESH_API void setMode(AggregateMode mode)
set color map aggregating mode
MRMESH_API ColorMap aggregate(const ElementBitSet &elementBitSet)
get aggregated color map for active elements
ColorMapAggregator()=default
AggregateMode
color map aggregating mode
Definition MRColorMapAggregator.h:60
MRMESH_API void insert(int i, const PartialColorMap &partitialColorMap)
insert color map before element #i (0 - minimum priority)
ElementBitSet elements
color map
Definition MRColorMapAggregator.h:34
MRMESH_API void replace(int i, const PartialColorMap &partitialColorMap)
replace color map in #i position
MRMESH_API void reset()
reset all accumulated color map
@ Blending
result element color is element color of more priority color map (or default color,...
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
partial color map
Definition MRColorMapAggregator.h:32