MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::UndirEdgeColorMapAggregator Struct Reference

Class for aggregate several color map in one Color maps are aggregated according order. More...

Inheritance diagram for meshlib::UndirEdgeColorMapAggregator:

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

Detailed Description

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>.

Member Function Documentation

◆ aggregate()

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().

◆ assign_from_another()

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.

◆ construct_from_another()

auto meshlib::UndirEdgeColorMapAggregator::construct_from_another ( _other:&meshlib::UndirEdgeColorMapAggregator ) -> meshlib::Owned< meshlib::UndirEdgeColorMapAggregator >
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.

◆ erase()

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().

◆ get_color_map_number()

auto meshlib::UndirEdgeColorMapAggregator::get_color_map_number ( ) -> usize

get number of accumulated color maps Generated from method MR::UndirEdgeColorMapAggregator::getColorMapNumber.

Calls MR_UndirEdgeColorMapAggregator_getColorMapNumber().

◆ get_partial_color_map()

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().

◆ insert()

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().

◆ new()

auto meshlib::UndirEdgeColorMapAggregator::new ( ) -> meshlib::Owned< meshlib::UndirEdgeColorMapAggregator >
static

Constructs an empty (default-constructed) instance.

Calls MR_UndirEdgeColorMapAggregator_DefaultConstruct().

◆ push_back()

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().

◆ replace()

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().

◆ reset()

void meshlib::UndirEdgeColorMapAggregator::reset ( )

reset all accumulated color map Generated from method MR::UndirEdgeColorMapAggregator::reset.

Calls MR_UndirEdgeColorMapAggregator_reset().

◆ set_default_color()

void meshlib::UndirEdgeColorMapAggregator::set_default_color ( color:&meshlib::Color )

set default (background) color Generated from method MR::UndirEdgeColorMapAggregator::setDefaultColor.

Calls MR_UndirEdgeColorMapAggregator_setDefaultColor().

◆ set_mode()

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().


The documentation for this struct was generated from the following file: