Class for aggregate several color map in one Color maps are aggregated according order. More...
Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::UndirEdgeColorMapAggregator) -> &mut meshlib::UndirEdgeColorMapAggregator |
| void | set_default_color (color:&meshlib::Color) |
| void | push_back (partitialColorMap:&meshlib::ColorMapAggregator_MR_UndirectedEdgeTag_PartialColorMap) |
| void | insert (i:core::ffi::c_int, partitialColorMap:&meshlib::ColorMapAggregator_MR_UndirectedEdgeTag_PartialColorMap) |
| void | replace (i:core::ffi::c_int, partitialColorMap:&meshlib::ColorMapAggregator_MR_UndirectedEdgeTag_PartialColorMap) |
| void | reset () |
| auto | get_color_map_number () -> usize |
| auto | get_partial_color_map (i:core::ffi::c_int) -> &meshlib::ColorMapAggregator_MR_UndirectedEdgeTag_PartialColorMap |
| void | erase (i:core::ffi::c_int, n:Option< core::ffi::c_int >) |
| void | set_mode (mode:meshlib::ColorMapAggregator_MR_UndirectedEdgeTag_AggregateMode) |
| auto | aggregate (elementBitSet:&meshlib::UndirectedEdgeBitSet) -> meshlib::Owned< meshlib::UndirectedEdgeColors > |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::UndirEdgeColorMapAggregator > |
| static auto | construct_from_another (_other:&meshlib::UndirEdgeColorMapAggregator) -> meshlib::Owned< meshlib::UndirEdgeColorMapAggregator > |
| 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::UndirEdgeColorMapAggregator.
Generated from class MR::UndirEdgeColorMapAggregator. Heap-allocated instances are held in Owned<UndirEdgeColorMapAggregator>.
| auto meshlib::UndirEdgeColorMapAggregator::aggregate | ( | elementBitSet:&meshlib::UndirectedEdgeBitSet | ) | -> meshlib::Owned< meshlib::UndirectedEdgeColors > |
get aggregated color map for active elements Generated from method MR::UndirEdgeColorMapAggregator::aggregate.
Calls MR_UndirEdgeColorMapAggregator_aggregate().
| auto meshlib::UndirEdgeColorMapAggregator::assign_from_another | ( | _other:&meshlib::UndirEdgeColorMapAggregator | ) | -> &mut meshlib::UndirEdgeColorMapAggregator |
Generated from method MR::UndirEdgeColorMapAggregator::operator=.
Calls MR_UndirEdgeColorMapAggregator_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::UndirEdgeColorMapAggregator::UndirEdgeColorMapAggregator.
Calls MR_UndirEdgeColorMapAggregator_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::UndirEdgeColorMapAggregator::erase | ( | i:core::ffi::c_int | , |
| n:Option< core::ffi::c_int > | ) |
erase n color map from i Generated from method MR::UndirEdgeColorMapAggregator::erase.
Calls MR_UndirEdgeColorMapAggregator_erase().
| auto meshlib::UndirEdgeColorMapAggregator::get_color_map_number | ( | ) | -> usize |
get number of accumulated color maps Generated from method MR::UndirEdgeColorMapAggregator::getColorMapNumber.
Calls MR_UndirEdgeColorMapAggregator_getColorMapNumber().
| auto meshlib::UndirEdgeColorMapAggregator::get_partial_color_map | ( | i:core::ffi::c_int | ) | -> &meshlib::ColorMapAggregator_MR_UndirectedEdgeTag_PartialColorMap |
get partial color map map by index Generated from method MR::UndirEdgeColorMapAggregator::getPartialColorMap.
Calls MR_UndirEdgeColorMapAggregator_getPartialColorMap().
| void meshlib::UndirEdgeColorMapAggregator::insert | ( | i:core::ffi::c_int | , |
| partitialColorMap:&meshlib::ColorMapAggregator_MR_UndirectedEdgeTag_PartialColorMap | ) |
insert color map before element i (0 - minimum priority) Generated from method MR::UndirEdgeColorMapAggregator::insert.
Calls MR_UndirEdgeColorMapAggregator_insert().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_UndirEdgeColorMapAggregator_DefaultConstruct().
| void meshlib::UndirEdgeColorMapAggregator::push_back | ( | partitialColorMap:&meshlib::ColorMapAggregator_MR_UndirectedEdgeTag_PartialColorMap | ) |
add color map after all (more priority) Generated from method MR::UndirEdgeColorMapAggregator::pushBack.
Calls MR_UndirEdgeColorMapAggregator_pushBack().
| void meshlib::UndirEdgeColorMapAggregator::replace | ( | i:core::ffi::c_int | , |
| partitialColorMap:&meshlib::ColorMapAggregator_MR_UndirectedEdgeTag_PartialColorMap | ) |
replace color map at position i Generated from method MR::UndirEdgeColorMapAggregator::replace.
Calls MR_UndirEdgeColorMapAggregator_replace().
| void meshlib::UndirEdgeColorMapAggregator::reset | ( | ) |
reset all accumulated color map Generated from method MR::UndirEdgeColorMapAggregator::reset.
Calls MR_UndirEdgeColorMapAggregator_reset().
| void meshlib::UndirEdgeColorMapAggregator::set_default_color | ( | color:&meshlib::Color | ) |
set default (background) color Generated from method MR::UndirEdgeColorMapAggregator::setDefaultColor.
Calls MR_UndirEdgeColorMapAggregator_setDefaultColor().
| void meshlib::UndirEdgeColorMapAggregator::set_mode | ( | mode:meshlib::ColorMapAggregator_MR_UndirectedEdgeTag_AggregateMode | ) |
set color map aggregating mode Generated from method MR::UndirEdgeColorMapAggregator::setMode.
Calls MR_UndirEdgeColorMapAggregator_setMode().