Public Member Functions | |
None | __init__ (self, Mesh mesh, AffineXf3f meshXf, VdbVolume volume, AffineXf3f volumeXf) |
None | __init__ (self, MeshOnVoxelsT_const_Mesh_VdbVolume other) |
Vector3f | getOffsetVector (self, VertId v) |
None | getPoints (self, std_vector_Vector3_float result, Vector3f pos, Vector3f offset) |
float | getValue (self, Vector3f pos) |
None | getValues (self, std_vector_float result, Vector3f pos, Vector3f offset) |
Mesh | mesh (self) |
int | numVerts (self) |
Vector3f | point (self, VertId v) |
VdbVolume | volume (self) |
float | voxelSize (self) |
AffineXf3f | xf (self) |
Vector3f | xf (self, Vector3f pt) |
AffineXf3f | xfInv (self) |
Vector3f | xfInv (self, Vector3f pt) |
Static Public Member Functions | |
PolynomialWrapper_float | getBestPolynomial (std_vector_float values, int degree) |
None | getDerivatives (std_vector_float result, std_vector_float values) |
float | indexFromPseudoIndex (float pseudoIndex, int count) |
float | pseudoIndex (float index, int count) |
float | pseudoIndex (int index, int count) |
Static Protected Member Functions | |
_pybind11_conduit_v1_ (*args, **kwargs) | |
Generated from: MR::MeshOnVoxelsT<const MR::Mesh, MR::VdbVolume> Aliases: MeshOnVoxelsVdbC 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 \\ingroup SubvoxelMeshCorrection
None mrmeshpy.MeshOnVoxelsT_const_Mesh_VdbVolume.__init__ | ( | self, | |
Mesh | mesh, | ||
AffineXf3f | meshXf, | ||
VdbVolume | volume, | ||
AffineXf3f | volumeXf ) |
None mrmeshpy.MeshOnVoxelsT_const_Mesh_VdbVolume.__init__ | ( | self, | |
MeshOnVoxelsT_const_Mesh_VdbVolume | other ) |
|
staticprotected |
|
static |
|
static |
Get derivatives from result of `getValues`
Get offset vector (mesh normal for a vertex with `voxelSize` length)
None mrmeshpy.MeshOnVoxelsT_const_Mesh_VdbVolume.getPoints | ( | self, | |
std_vector_Vector3_float | result, | ||
Vector3f | pos, | ||
Vector3f | offset ) |
Get row of points with `offset` stride
float mrmeshpy.MeshOnVoxelsT_const_Mesh_VdbVolume.getValue | ( | self, | |
Vector3f | pos ) |
Volume value
None mrmeshpy.MeshOnVoxelsT_const_Mesh_VdbVolume.getValues | ( | self, | |
std_vector_float | result, | ||
Vector3f | pos, | ||
Vector3f | offset ) |
Get volume values for a row of points
|
static |
Mesh mrmeshpy.MeshOnVoxelsT_const_Mesh_VdbVolume.mesh | ( | self | ) |
Access to base data
int mrmeshpy.MeshOnVoxelsT_const_Mesh_VdbVolume.numVerts | ( | self | ) |
Cached number of valid vertices
|
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 |
VdbVolume mrmeshpy.MeshOnVoxelsT_const_Mesh_VdbVolume.volume | ( | self | ) |
float mrmeshpy.MeshOnVoxelsT_const_Mesh_VdbVolume.voxelSize | ( | self | ) |
Voxel size as scalar
AffineXf3f mrmeshpy.MeshOnVoxelsT_const_Mesh_VdbVolume.xf | ( | self | ) |
Transformation mesh to volume All points are in voxels volume space, unless otherwise is implied
AffineXf3f mrmeshpy.MeshOnVoxelsT_const_Mesh_VdbVolume.xfInv | ( | self | ) |