MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::SeparationPointStorage_Block Struct Reference
Inheritance diagram for meshlib::SeparationPointStorage_Block:

Public Member Functions

auto assign_from_another (_other:&meshlib::SeparationPointStorage_Block) -> &mut meshlib::SeparationPointStorage_Block
auto next_vid () const -> meshlib::VertId
auto smap () const -> &meshlib::phmap::phmap_flat_hash_map_size_t_std_array_MR_VertId_3_phmap_Hash_size_t_phmap_EqualTo_size_t_MR_Allocator_std_pair_const_size_t_std_array_MR_VertId_3
auto smap_mut () -> &mut meshlib::phmap::phmap_flat_hash_map_size_t_std_array_MR_VertId_3_phmap_Hash_size_t_phmap_EqualTo_size_t_MR_Allocator_std_pair_const_size_t_std_array_MR_VertId_3
void set_smap (value:&meshlib::phmap::phmap_flat_hash_map_size_t_std_array_MR_VertId_3_phmap_Hash_size_t_phmap_EqualTo_size_t_MR_Allocator_std_pair_const_size_t_std_array_MR_VertId_3)
auto coords () const -> &meshlib::std_vector_MR_Vector3f
auto coords_mut () -> &mut meshlib::std_vector_MR_Vector3f
void set_coords (value:&meshlib::std_vector_MR_Vector3f)
auto shift () const -> &meshlib::VertId
auto shift_mut () -> &mut meshlib::VertId
void set_shift (value:meshlib::VertId)
auto tris () const -> &meshlib::Triangulation
auto tris_mut () -> &mut meshlib::Triangulation
void set_tris (value:&meshlib::Triangulation)
auto face_map () const -> &meshlib::Vector_MR_VoxelId_MR_FaceId
auto face_map_mut () -> &mut meshlib::Vector_MR_VoxelId_MR_FaceId
void set_face_map (value:&meshlib::Vector_MR_VoxelId_MR_FaceId)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SeparationPointStorage_Block >
static auto construct_from (smap:&meshlib::phmap::phmap_flat_hash_map_size_t_std_array_MR_VertId_3_phmap_Hash_size_t_phmap_EqualTo_size_t_MR_Allocator_std_pair_const_size_t_std_array_MR_VertId_3, coords:&meshlib::std_vector_MR_Vector3f, shift:meshlib::VertId, tris:&meshlib::Triangulation, faceMap:&meshlib::Vector_MR_VoxelId_MR_FaceId) -> meshlib::Owned< meshlib::SeparationPointStorage_Block >
static auto construct_from_another (_other:&meshlib::SeparationPointStorage_Block) -> meshlib::Owned< meshlib::SeparationPointStorage_Block >
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

Generated from class MR::SeparationPointStorage::Block.

Generated from class MR::SeparationPointStorage::Block. Heap-allocated instances are held in Owned<SeparationPointStorage_Block>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::SeparationPointStorage_Block::assign_from_another ( _other:&meshlib::SeparationPointStorage_Block ) -> &mut meshlib::SeparationPointStorage_Block

Generated from method MR::SeparationPointStorage::Block::operator=.

Calls MR_SeparationPointStorage_Block_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

Constructs MR::SeparationPointStorage::Block elementwise.

Calls MR_SeparationPointStorage_Block_ConstructFrom(). The reference to the parameter smap might be preserved in the constructed object. The reference to the parameter coords might be preserved in the constructed object. The reference to the parameter shift might be preserved in the constructed object. The reference to the parameter tris might be preserved in the constructed object. The reference to the parameter faceMap might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::SeparationPointStorage_Block::construct_from_another ( _other:&meshlib::SeparationPointStorage_Block ) -> meshlib::Owned< meshlib::SeparationPointStorage_Block >
static

Generated from constructor MR::SeparationPointStorage::Block::Block.

Calls MR_SeparationPointStorage_Block_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ coords()

auto meshlib::SeparationPointStorage_Block::coords ( ) const -> &meshlib::std_vector_MR_Vector3f

Returns a pointer to a member variable of class MR::SeparationPointStorage::Block named coords.

Calls MR_SeparationPointStorage_Block_Get_coords(). The reference to this object might be preserved as the return value.

◆ coords_mut()

auto meshlib::SeparationPointStorage_Block::coords_mut ( ) -> &mut meshlib::std_vector_MR_Vector3f

Returns a mutable pointer to a member variable of class MR::SeparationPointStorage::Block named coords.

Calls MR_SeparationPointStorage_Block_GetMutable_coords(). The reference to this object might be preserved as the return value.

◆ face_map()

auto meshlib::SeparationPointStorage_Block::face_map ( ) const -> &meshlib::Vector_MR_VoxelId_MR_FaceId

Returns a pointer to a member variable of class MR::SeparationPointStorage::Block named faceMap.

Calls MR_SeparationPointStorage_Block_Get_faceMap(). The reference to this object might be preserved as the return value.

◆ face_map_mut()

auto meshlib::SeparationPointStorage_Block::face_map_mut ( ) -> &mut meshlib::Vector_MR_VoxelId_MR_FaceId

Returns a mutable pointer to a member variable of class MR::SeparationPointStorage::Block named faceMap.

Calls MR_SeparationPointStorage_Block_GetMutable_faceMap(). The reference to this object might be preserved as the return value.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SeparationPointStorage_Block_DefaultConstruct().

◆ next_vid()

auto meshlib::SeparationPointStorage_Block::next_vid ( ) const -> meshlib::VertId

during filling, it is the id of next valid point; Generated from method MR::SeparationPointStorage::Block::nextVid.

Calls MR_SeparationPointStorage_Block_nextVid().

◆ set_coords()

void meshlib::SeparationPointStorage_Block::set_coords ( value:&meshlib::std_vector_MR_Vector3f )

Modifies a member variable of class MR::SeparationPointStorage::Block named coords.

Calls MR_SeparationPointStorage_Block_Set_coords(). The reference to the parameter value might be preserved in this object in element coords.

◆ set_face_map()

void meshlib::SeparationPointStorage_Block::set_face_map ( value:&meshlib::Vector_MR_VoxelId_MR_FaceId )

Modifies a member variable of class MR::SeparationPointStorage::Block named faceMap.

Calls MR_SeparationPointStorage_Block_Set_faceMap(). The reference to the parameter value might be preserved in this object in element faceMap.

◆ set_shift()

void meshlib::SeparationPointStorage_Block::set_shift ( value:meshlib::VertId )

after makeUniqueVids(), it is the unique id of first point in coords Modifies a member variable of class MR::SeparationPointStorage::Block named shift.

Calls MR_SeparationPointStorage_Block_Set_shift(). The reference to the parameter value might be preserved in this object in element shift.

◆ set_smap()

Modifies a member variable of class MR::SeparationPointStorage::Block named smap.

Calls MR_SeparationPointStorage_Block_Set_smap(). The reference to the parameter value might be preserved in this object in element smap.

◆ set_tris()

void meshlib::SeparationPointStorage_Block::set_tris ( value:&meshlib::Triangulation )

Modifies a member variable of class MR::SeparationPointStorage::Block named tris.

Calls MR_SeparationPointStorage_Block_Set_tris(). The reference to the parameter value might be preserved in this object in element tris.

◆ shift()

auto meshlib::SeparationPointStorage_Block::shift ( ) const -> &meshlib::VertId

after makeUniqueVids(), it is the unique id of first point in coords Returns a pointer to a member variable of class MR::SeparationPointStorage::Block named shift.

Calls MR_SeparationPointStorage_Block_Get_shift(). The reference to this object might be preserved as the return value.

◆ shift_mut()

auto meshlib::SeparationPointStorage_Block::shift_mut ( ) -> &mut meshlib::VertId

after makeUniqueVids(), it is the unique id of first point in coords Returns a mutable pointer to a member variable of class MR::SeparationPointStorage::Block named shift.

Calls MR_SeparationPointStorage_Block_GetMutable_shift(). The reference to this object might be preserved as the return value.

◆ smap()

Returns a pointer to a member variable of class MR::SeparationPointStorage::Block named smap.

Calls MR_SeparationPointStorage_Block_Get_smap(). The reference to this object might be preserved as the return value.

◆ smap_mut()

Returns a mutable pointer to a member variable of class MR::SeparationPointStorage::Block named smap.

Calls MR_SeparationPointStorage_Block_GetMutable_smap(). The reference to this object might be preserved as the return value.

◆ tris()

auto meshlib::SeparationPointStorage_Block::tris ( ) const -> &meshlib::Triangulation

Returns a pointer to a member variable of class MR::SeparationPointStorage::Block named tris.

Calls MR_SeparationPointStorage_Block_Get_tris(). The reference to this object might be preserved as the return value.

◆ tris_mut()

auto meshlib::SeparationPointStorage_Block::tris_mut ( ) -> &mut meshlib::Triangulation

Returns a mutable pointer to a member variable of class MR::SeparationPointStorage::Block named tris.

Calls MR_SeparationPointStorage_Block_GetMutable_tris(). The reference to this object might be preserved as the return value.


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