Class for aggregate several color map in one Color maps are aggregated according order. More...
Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::VertColorMapAggregator) -> &mut meshlib::VertColorMapAggregator |
| void | set_default_color (color:&meshlib::Color) |
| void | push_back (partitialColorMap:&meshlib::ColorMapAggregator_MR_VertTag_PartialColorMap) |
| void | insert (i:core::ffi::c_int, partitialColorMap:&meshlib::ColorMapAggregator_MR_VertTag_PartialColorMap) |
| void | replace (i:core::ffi::c_int, partitialColorMap:&meshlib::ColorMapAggregator_MR_VertTag_PartialColorMap) |
| void | reset () |
| auto | get_color_map_number () -> usize |
| auto | get_partial_color_map (i:core::ffi::c_int) -> &meshlib::ColorMapAggregator_MR_VertTag_PartialColorMap |
| void | erase (i:core::ffi::c_int, n:Option< core::ffi::c_int >) |
| void | set_mode (mode:meshlib::ColorMapAggregator_MR_VertTag_AggregateMode) |
| auto | aggregate (elementBitSet:&meshlib::VertBitSet) -> meshlib::Owned< meshlib::VertColors > |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::VertColorMapAggregator > |
| static auto | construct_from_another (_other:&meshlib::VertColorMapAggregator) -> meshlib::Owned< meshlib::VertColorMapAggregator > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Class for aggregate several color map in one Color maps are aggregated according order.
Generated from class MR::VertColorMapAggregator.
Generated from class MR::VertColorMapAggregator. Heap-allocated instances are held in Owned<VertColorMapAggregator>.
| auto meshlib::VertColorMapAggregator::aggregate | ( | elementBitSet:&meshlib::VertBitSet | ) | -> meshlib::Owned< meshlib::VertColors > |
get aggregated color map for active elements Generated from method MR::VertColorMapAggregator::aggregate.
Calls MR_VertColorMapAggregator_aggregate().
| auto meshlib::VertColorMapAggregator::assign_from_another | ( | _other:&meshlib::VertColorMapAggregator | ) | -> &mut meshlib::VertColorMapAggregator |
Generated from method MR::VertColorMapAggregator::operator=.
Calls MR_VertColorMapAggregator_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::VertColorMapAggregator::VertColorMapAggregator.
Calls MR_VertColorMapAggregator_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::VertColorMapAggregator::erase | ( | i:core::ffi::c_int | , |
| n:Option< core::ffi::c_int > | ) |
erase n color map from i Generated from method MR::VertColorMapAggregator::erase.
Calls MR_VertColorMapAggregator_erase().
| auto meshlib::VertColorMapAggregator::get_color_map_number | ( | ) | -> usize |
get number of accumulated color maps Generated from method MR::VertColorMapAggregator::getColorMapNumber.
Calls MR_VertColorMapAggregator_getColorMapNumber().
| auto meshlib::VertColorMapAggregator::get_partial_color_map | ( | i:core::ffi::c_int | ) | -> &meshlib::ColorMapAggregator_MR_VertTag_PartialColorMap |
get partial color map map by index Generated from method MR::VertColorMapAggregator::getPartialColorMap.
Calls MR_VertColorMapAggregator_getPartialColorMap().
| void meshlib::VertColorMapAggregator::insert | ( | i:core::ffi::c_int | , |
| partitialColorMap:&meshlib::ColorMapAggregator_MR_VertTag_PartialColorMap | ) |
insert color map before element i (0 - minimum priority) Generated from method MR::VertColorMapAggregator::insert.
Calls MR_VertColorMapAggregator_insert().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_VertColorMapAggregator_DefaultConstruct().
| void meshlib::VertColorMapAggregator::push_back | ( | partitialColorMap:&meshlib::ColorMapAggregator_MR_VertTag_PartialColorMap | ) |
add color map after all (more priority) Generated from method MR::VertColorMapAggregator::pushBack.
Calls MR_VertColorMapAggregator_pushBack().
| void meshlib::VertColorMapAggregator::replace | ( | i:core::ffi::c_int | , |
| partitialColorMap:&meshlib::ColorMapAggregator_MR_VertTag_PartialColorMap | ) |
replace color map at position i Generated from method MR::VertColorMapAggregator::replace.
Calls MR_VertColorMapAggregator_replace().
| void meshlib::VertColorMapAggregator::reset | ( | ) |
reset all accumulated color map Generated from method MR::VertColorMapAggregator::reset.
Calls MR_VertColorMapAggregator_reset().
| void meshlib::VertColorMapAggregator::set_default_color | ( | color:&meshlib::Color | ) |
set default (background) color Generated from method MR::VertColorMapAggregator::setDefaultColor.
Calls MR_VertColorMapAggregator_setDefaultColor().
| void meshlib::VertColorMapAggregator::set_mode | ( | mode:meshlib::ColorMapAggregator_MR_VertTag_AggregateMode | ) |
set color map aggregating mode Generated from method MR::VertColorMapAggregator::setMode.
Calls MR_VertColorMapAggregator_setMode().