Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::SeparationPointStorage) -> &mut meshlib::SeparationPointStorage |
| void | resize (blockCount:usize, blockSize:usize) |
| auto | get_block (blockIndex:usize) -> &mut meshlib::SeparationPointStorage_Block |
| auto | make_unique_vids () -> core::ffi::c_int |
| auto | find_separation_point_set (voxelId:usize) const -> Option<&meshlib::std_array_MR_VertId_3 > |
| auto | get_triangulation (outVoxelPerFaceMap:Option<&mut meshlib::Vector_MR_VoxelId_MR_FaceId >) const -> meshlib::Owned< meshlib::Triangulation > |
| void | get_points (points:&mut meshlib::VertCoords) const |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::SeparationPointStorage > |
| static auto | construct_from_another (_other:&meshlib::SeparationPointStorage) -> meshlib::Owned< meshlib::SeparationPointStorage > |
| 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 |
storage for points on voxel edges used in Marching Cubes algorithms Generated from class MR::SeparationPointStorage.
Generated from class MR::SeparationPointStorage. Heap-allocated instances are held in Owned<SeparationPointStorage>.
| auto meshlib::SeparationPointStorage::assign_from_another | ( | _other:&meshlib::SeparationPointStorage | ) | -> &mut meshlib::SeparationPointStorage |
Generated from method MR::SeparationPointStorage::operator=.
Calls MR_SeparationPointStorage_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::SeparationPointStorage::SeparationPointStorage.
Calls MR_SeparationPointStorage_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::SeparationPointStorage::find_separation_point_set | ( | voxelId:usize | ) | const -> Option<&meshlib::std_array_MR_VertId_3 > |
finds the set (locating the block) by voxel id Generated from method MR::SeparationPointStorage::findSeparationPointSet.
Calls MR_SeparationPointStorage_findSeparationPointSet().
| auto meshlib::SeparationPointStorage::get_block | ( | blockIndex:usize | ) | -> &mut meshlib::SeparationPointStorage_Block |
get block for filling in the thread responsible for it Generated from method MR::SeparationPointStorage::getBlock.
Calls MR_SeparationPointStorage_getBlock().
| void meshlib::SeparationPointStorage::get_points | ( | points:&mut meshlib::VertCoords | ) | const |
obtains coordinates of all stored points Generated from method MR::SeparationPointStorage::getPoints.
Calls MR_SeparationPointStorage_getPoints().
| auto meshlib::SeparationPointStorage::get_triangulation | ( | outVoxelPerFaceMap:Option<&mut meshlib::Vector_MR_VoxelId_MR_FaceId > | ) | const -> meshlib::Owned< meshlib::Triangulation > |
combines triangulations from every block into one and returns it Generated from method MR::SeparationPointStorage::getTriangulation.
Calls MR_SeparationPointStorage_getTriangulation().
| auto meshlib::SeparationPointStorage::make_unique_vids | ( | ) | -> core::ffi::c_int |
shifts vertex ids in each block (after they are filled) to make them unique; returns the total number of valid points in the storage Generated from method MR::SeparationPointStorage::makeUniqueVids.
Calls MR_SeparationPointStorage_makeUniqueVids().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_SeparationPointStorage_DefaultConstruct().
| void meshlib::SeparationPointStorage::resize | ( | blockCount:usize | , |
| blockSize:usize | ) |
prepares storage for given number of blocks, each containing given size of voxels Generated from method MR::SeparationPointStorage::resize.
Calls MR_SeparationPointStorage_resize().