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

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

Inheritance diagram for meshlib::VertColorMapAggregator:

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

Detailed Description

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

Member Function Documentation

◆ aggregate()

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

◆ assign_from_another()

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.

◆ construct_from_another()

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

◆ erase()

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

◆ get_color_map_number()

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

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

Calls MR_VertColorMapAggregator_getColorMapNumber().

◆ get_partial_color_map()

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

◆ insert()

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_VertColorMapAggregator_DefaultConstruct().

◆ push_back()

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

◆ replace()

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

◆ reset()

void meshlib::VertColorMapAggregator::reset ( )

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

Calls MR_VertColorMapAggregator_reset().

◆ set_default_color()

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

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

Calls MR_VertColorMapAggregator_setDefaultColor().

◆ set_mode()

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


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