Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Vector3f | getOffsetVector (self, ConstVertId v) |
| None | getPoints (self, VertCoords result, ConstVector3f pos, ConstVector3f offset) |
| float | getValue (self, ConstVector3f pos) |
| None | getValues (self, std_vector_float result, ConstVector3f pos, ConstVector3f offset) |
| Mesh | mesh (self) |
| int | numVerts (self) |
| Vector3f | point (self, ConstVertId v) |
| ConstFunctionVolume | volume (self) |
| float | voxelSize (self) |
| AffineXf3f | xf (self) |
| Vector3f | xf (self, ConstVector3f pt) |
| AffineXf3f | xfInv (self) |
| Vector3f | xfInv (self, ConstVector3f pt) |
Static Public Member Functions | |
| PolynomialWrapper_float | getBestPolynomial (Const_std_vector_float values, int degree) |
| None | getDerivatives (std_vector_float result, Const_std_vector_float values) |
| float | indexFromPseudoIndex (float pseudoIndex, int count) |
| float | pseudoIndex (float index, int count) |
| float | pseudoIndex (int index, int count) |
Generated from: MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume> Aliases: MeshOnVoxelsFunction Helper class to organize mesh and voxels volume access and build point sequences \\note this class is not thread-safe but accessing same volume from different instances is ok
| mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume, mesh: meshlib.mrmeshpy.Mesh, meshXf: meshlib.mrmeshpy.ConstAffineXf3f, volume: meshlib.mrmeshpy.ConstFunctionVolume, volumeXf: meshlib.mrmeshpy.ConstAffineXf3f) -> None 2. __init__(self: meshlib.mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume, arg0: meshlib.mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume, other: meshlib.mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume) -> None
|
static |
|
static |
Get derivatives from result of `getValues`
| Vector3f mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.getOffsetVector | ( | self, | |
| ConstVertId | v ) |
Get offset vector (mesh normal for a vertex with `voxelSize` length)
| None mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.getPoints | ( | self, | |
| VertCoords | result, | ||
| ConstVector3f | pos, | ||
| ConstVector3f | offset ) |
Get row of points with `offset` stride
| float mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.getValue | ( | self, | |
| ConstVector3f | pos ) |
Volume value
| None mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.getValues | ( | self, | |
| std_vector_float | result, | ||
| ConstVector3f | pos, | ||
| ConstVector3f | offset ) |
Get volume values for a row of points
|
static |
| Mesh mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.mesh | ( | self | ) |
Access to base data
| int mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.numVerts | ( | self | ) |
Cached number of valid vertices
| Vector3f mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.point | ( | self, | |
| ConstVertId | v ) |
Vertex position
|
static |
Get a pseudo-index for a zero-based point index in a zero-centered row of `count` points Pseudo-index is a signed number; for whole index, is is whole or half-whole
|
static |
| ConstFunctionVolume mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.volume | ( | self | ) |
| float mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.voxelSize | ( | self | ) |
Voxel size as scalar
| AffineXf3f mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.xf | ( | self | ) |
Transformation mesh to volume All points are in voxels volume space, unless otherwise is implied
| Vector3f mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.xf | ( | self, | |
| ConstVector3f | pt ) |
| AffineXf3f mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.xfInv | ( | self | ) |
| Vector3f mrmeshpy.ConstMeshOnVoxelsT_Mesh_FunctionVolume.xfInv | ( | self, | |
| ConstVector3f | pt ) |