Class for aggregate several color map in one Color maps are aggregated according order. More...
Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::FaceColorMapAggregator) -> &mut meshlib::FaceColorMapAggregator |
| void | set_default_color (color:&meshlib::Color) |
| void | push_back (partitialColorMap:&meshlib::ColorMapAggregator_MR_FaceTag_PartialColorMap) |
| void | insert (i:core::ffi::c_int, partitialColorMap:&meshlib::ColorMapAggregator_MR_FaceTag_PartialColorMap) |
| void | replace (i:core::ffi::c_int, partitialColorMap:&meshlib::ColorMapAggregator_MR_FaceTag_PartialColorMap) |
| void | reset () |
| auto | get_color_map_number () -> usize |
| auto | get_partial_color_map (i:core::ffi::c_int) -> &meshlib::ColorMapAggregator_MR_FaceTag_PartialColorMap |
| void | erase (i:core::ffi::c_int, n:Option< core::ffi::c_int >) |
| void | set_mode (mode:meshlib::ColorMapAggregator_MR_FaceTag_AggregateMode) |
| auto | aggregate (elementBitSet:&meshlib::FaceBitSet) -> meshlib::Owned< meshlib::FaceColors > |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::FaceColorMapAggregator > |
| static auto | construct_from_another (_other:&meshlib::FaceColorMapAggregator) -> meshlib::Owned< meshlib::FaceColorMapAggregator > |
| 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::FaceColorMapAggregator.
Generated from class MR::FaceColorMapAggregator. Heap-allocated instances are held in Owned<FaceColorMapAggregator>.
| auto meshlib::FaceColorMapAggregator::aggregate | ( | elementBitSet:&meshlib::FaceBitSet | ) | -> meshlib::Owned< meshlib::FaceColors > |
get aggregated color map for active elements Generated from method MR::FaceColorMapAggregator::aggregate.
Calls MR_FaceColorMapAggregator_aggregate().
| auto meshlib::FaceColorMapAggregator::assign_from_another | ( | _other:&meshlib::FaceColorMapAggregator | ) | -> &mut meshlib::FaceColorMapAggregator |
Generated from method MR::FaceColorMapAggregator::operator=.
Calls MR_FaceColorMapAggregator_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::FaceColorMapAggregator::FaceColorMapAggregator.
Calls MR_FaceColorMapAggregator_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| void meshlib::FaceColorMapAggregator::erase | ( | i:core::ffi::c_int | , |
| n:Option< core::ffi::c_int > | ) |
erase n color map from i Generated from method MR::FaceColorMapAggregator::erase.
Calls MR_FaceColorMapAggregator_erase().
| auto meshlib::FaceColorMapAggregator::get_color_map_number | ( | ) | -> usize |
get number of accumulated color maps Generated from method MR::FaceColorMapAggregator::getColorMapNumber.
Calls MR_FaceColorMapAggregator_getColorMapNumber().
| auto meshlib::FaceColorMapAggregator::get_partial_color_map | ( | i:core::ffi::c_int | ) | -> &meshlib::ColorMapAggregator_MR_FaceTag_PartialColorMap |
get partial color map map by index Generated from method MR::FaceColorMapAggregator::getPartialColorMap.
Calls MR_FaceColorMapAggregator_getPartialColorMap().
| void meshlib::FaceColorMapAggregator::insert | ( | i:core::ffi::c_int | , |
| partitialColorMap:&meshlib::ColorMapAggregator_MR_FaceTag_PartialColorMap | ) |
insert color map before element i (0 - minimum priority) Generated from method MR::FaceColorMapAggregator::insert.
Calls MR_FaceColorMapAggregator_insert().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_FaceColorMapAggregator_DefaultConstruct().
| void meshlib::FaceColorMapAggregator::push_back | ( | partitialColorMap:&meshlib::ColorMapAggregator_MR_FaceTag_PartialColorMap | ) |
add color map after all (more priority) Generated from method MR::FaceColorMapAggregator::pushBack.
Calls MR_FaceColorMapAggregator_pushBack().
| void meshlib::FaceColorMapAggregator::replace | ( | i:core::ffi::c_int | , |
| partitialColorMap:&meshlib::ColorMapAggregator_MR_FaceTag_PartialColorMap | ) |
replace color map at position i Generated from method MR::FaceColorMapAggregator::replace.
Calls MR_FaceColorMapAggregator_replace().
| void meshlib::FaceColorMapAggregator::reset | ( | ) |
reset all accumulated color map Generated from method MR::FaceColorMapAggregator::reset.
Calls MR_FaceColorMapAggregator_reset().
| void meshlib::FaceColorMapAggregator::set_default_color | ( | color:&meshlib::Color | ) |
set default (background) color Generated from method MR::FaceColorMapAggregator::setDefaultColor.
Calls MR_FaceColorMapAggregator_setDefaultColor().
| void meshlib::FaceColorMapAggregator::set_mode | ( | mode:meshlib::ColorMapAggregator_MR_FaceTag_AggregateMode | ) |
set color map aggregating mode Generated from method MR::FaceColorMapAggregator::setMode.
Calls MR_FaceColorMapAggregator_setMode().