Public Member Functions | |
| auto | mesh () const -> &mut meshlib::Mesh |
| auto | volume () const -> &meshlib::FunctionVolume |
| auto | num_verts () const -> core::ffi::c_int |
| auto | voxel_size () const -> f32 |
| auto | xf_0 () const -> meshlib::AffineXf3f |
| auto | xf_1 (pt:&meshlib::Vector3f) const -> meshlib::Vector3f |
| auto | xf_inv_0 () const -> meshlib::AffineXf3f |
| auto | xf_inv_1 (pt:&meshlib::Vector3f) const -> meshlib::Vector3f |
| auto | point (v:meshlib::VertId) const -> meshlib::Vector3f |
| auto | get_value (pos:&meshlib::Vector3f) const -> f32 |
| auto | get_offset_vector (v:meshlib::VertId) const -> meshlib::Vector3f |
| void | get_points (result:&mut meshlib::VertCoords, pos:&meshlib::Vector3f, offset:&meshlib::Vector3f) const |
| void | get_values (result:&mut meshlib::std_vector_float, pos:&meshlib::Vector3f, offset:&meshlib::Vector3f) const |
Static Public Member Functions | |
| static auto | construct_from_another (other:&meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume) -> meshlib::Owned< meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume > |
| static auto | construct (mesh:&mut meshlib::Mesh, meshXf:&meshlib::AffineXf3f, volume:&meshlib::FunctionVolume, volumeXf:&meshlib::AffineXf3f) -> meshlib::Owned< meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume > |
| static auto | pseudo_index_float (index:f32, count:core::ffi::c_int) -> f32 |
| static auto | pseudo_index_int (index:core::ffi::c_int, count:core::ffi::c_int) -> f32 |
| static auto | index_from_pseudo_index (pseudoIndex:f32, count:core::ffi::c_int) -> f32 |
| static void | get_derivatives (result:&mut meshlib::std_vector_float, values:&meshlib::std_vector_float) |
| static auto | get_best_polynomial (values:&meshlib::std_vector_float, degree:usize) -> meshlib::Owned< meshlib::PolynomialWrapper_float > |
| 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 |
Helper class to organize mesh and voxels volume access and build point sequences
Generated from class MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>. Heap-allocated instances are held in Owned<MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume>.
|
static |
Generated from constructor MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::MeshOnVoxelsT.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_Construct(). The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter meshXf might be preserved in the constructed object. The reference to the parameter volume might be preserved in the constructed object. The reference to the parameter volumeXf might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::MeshOnVoxelsT.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_ConstructFromAnother(). The reference to things referred to by the parameter other (if any) might be preserved in the constructed object.
|
static |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::getBestPolynomial.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_getBestPolynomial().
|
static |
Get derivatives from result of getValues Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::getDerivatives.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_getDerivatives().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::get_offset_vector | ( | v:meshlib::VertId | ) | const -> meshlib::Vector3f |
Get offset vector (mesh normal for a vertex with voxelSize length) Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::getOffsetVector.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_getOffsetVector().
| void meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::get_points | ( | result:&mut meshlib::VertCoords | , |
| pos:&meshlib::Vector3f | , | ||
| offset:&meshlib::Vector3f | ) const |
Get row of points with offset stride Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::getPoints.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_getPoints().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::get_value | ( | pos:&meshlib::Vector3f | ) | const -> f32 |
Volume value Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::getValue.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_getValue().
| void meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::get_values | ( | result:&mut meshlib::std_vector_float | , |
| pos:&meshlib::Vector3f | , | ||
| offset:&meshlib::Vector3f | ) const |
Get volume values for a row of points Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::getValues.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_getValues().
|
static |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::indexFromPseudoIndex.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_indexFromPseudoIndex().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::mesh | ( | ) | const -> &mut meshlib::Mesh |
Access to base data Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::mesh.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_mesh().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::num_verts | ( | ) | const -> core::ffi::c_int |
Cached number of valid vertices Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::numVerts.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_numVerts().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::point | ( | v:meshlib::VertId | ) | const -> meshlib::Vector3f |
Vertex position Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::point.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_point().
|
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 Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::pseudoIndex.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_pseudoIndex_float().
|
static |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::pseudoIndex.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_pseudoIndex_int().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::volume | ( | ) | const -> &meshlib::FunctionVolume |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::volume.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_volume().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::voxel_size | ( | ) | const -> f32 |
Voxel size as scalar Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::voxelSize.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_voxelSize().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::xf_0 | ( | ) | const -> meshlib::AffineXf3f |
Transformation mesh to volume All points are in voxels volume space, unless otherwise is implied Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::xf.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_xf_0().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::xf_1 | ( | pt:&meshlib::Vector3f | ) | const -> meshlib::Vector3f |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::xf.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_xf_1().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::xf_inv_0 | ( | ) | const -> meshlib::AffineXf3f |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::xfInv.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_xfInv_0().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume::xf_inv_1 | ( | pt:&meshlib::Vector3f | ) | const -> meshlib::Vector3f |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::FunctionVolume>::xfInv.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_FunctionVolume_xfInv_1().