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

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

Inheritance diagram for meshlib::FaceColorMapAggregator:

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

Detailed Description

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

Member Function Documentation

◆ aggregate()

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

◆ assign_from_another()

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.

◆ construct_from_another()

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

◆ erase()

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

◆ get_color_map_number()

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

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

Calls MR_FaceColorMapAggregator_getColorMapNumber().

◆ get_partial_color_map()

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

◆ insert()

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FaceColorMapAggregator_DefaultConstruct().

◆ push_back()

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

◆ replace()

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

◆ reset()

void meshlib::FaceColorMapAggregator::reset ( )

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

Calls MR_FaceColorMapAggregator_reset().

◆ set_default_color()

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

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

Calls MR_FaceColorMapAggregator_setDefaultColor().

◆ set_mode()

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


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