MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.SeparationPointStorage Class Reference

Classes

class  Block
 

Public Member Functions

None __init__ (self)
 
None __init__ (self, SeparationPointStorage arg0)
 
std_array_Id_VertTag_3 findSeparationPointSet (self, int voxelId)
 
SeparationPointStorage.Block getBlock (self, int blockIndex)
 
None getPoints (self, VertCoords points)
 
Triangulation getTriangulation (self, Vector_Id_VoxelTag_FaceId outVoxelPerFaceMap=None)
 
int makeUniqueVids (self)
 
None resize (self, int blockCount, int blockSize)
 

Detailed Description

Generated from:  MR::SeparationPointStorage

storage for points on voxel edges used in Marching Cubes algorithms

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.SeparationPointStorage.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/2]

None meshlib.mrmeshpy.SeparationPointStorage.__init__ ( self,
SeparationPointStorage arg0 )
Implicit copy constructor.

Member Function Documentation

◆ findSeparationPointSet()

std_array_Id_VertTag_3 meshlib.mrmeshpy.SeparationPointStorage.findSeparationPointSet ( self,
int voxelId )
finds the set (locating the block) by voxel id

◆ getBlock()

SeparationPointStorage.Block meshlib.mrmeshpy.SeparationPointStorage.getBlock ( self,
int blockIndex )
get block for filling in the thread responsible for it

◆ getPoints()

None meshlib.mrmeshpy.SeparationPointStorage.getPoints ( self,
VertCoords points )
obtains coordinates of all stored points

◆ getTriangulation()

Triangulation meshlib.mrmeshpy.SeparationPointStorage.getTriangulation ( self,
Vector_Id_VoxelTag_FaceId outVoxelPerFaceMap = None )
combines triangulations from every block into one and returns it

◆ makeUniqueVids()

int meshlib.mrmeshpy.SeparationPointStorage.makeUniqueVids ( self)
shifts vertex ids in each block (after they are filled) to make them unique;
returns the total number of valid points in the storage

◆ resize()

None meshlib.mrmeshpy.SeparationPointStorage.resize ( self,
int blockCount,
int blockSize )
prepares storage for given number of blocks, each containing given size of voxels

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