Public Member Functions | |
| auto | mesh () const -> &mut meshlib::Mesh |
| auto | volume () const -> &meshlib::SimpleVolumeMinMax |
| 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_SimpleVolumeMinMax) -> meshlib::Owned< meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax > |
| static auto | construct (mesh:&mut meshlib::Mesh, meshXf:&meshlib::AffineXf3f, volume:&meshlib::SimpleVolumeMinMax, volumeXf:&meshlib::AffineXf3f) -> meshlib::Owned< meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax > |
| 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::SimpleVolumeMinMax>. Heap-allocated instances are held in Owned<MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax>.
|
static |
Generated from constructor MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::MeshOnVoxelsT.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_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::SimpleVolumeMinMax>::MeshOnVoxelsT.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_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::SimpleVolumeMinMax>::getBestPolynomial.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_getBestPolynomial().
|
static |
Get derivatives from result of getValues Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::getDerivatives.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_getDerivatives().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::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::SimpleVolumeMinMax>::getOffsetVector.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_getOffsetVector().
| void meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::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::SimpleVolumeMinMax>::getPoints.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_getPoints().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::get_value | ( | pos:&meshlib::Vector3f | ) | const -> f32 |
Volume value Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::getValue.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_getValue().
| void meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::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::SimpleVolumeMinMax>::getValues.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_getValues().
|
static |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::indexFromPseudoIndex.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_indexFromPseudoIndex().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::mesh | ( | ) | const -> &mut meshlib::Mesh |
Access to base data Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::mesh.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_mesh().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::num_verts | ( | ) | const -> core::ffi::c_int |
Cached number of valid vertices Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::numVerts.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_numVerts().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::point | ( | v:meshlib::VertId | ) | const -> meshlib::Vector3f |
Vertex position Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::point.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_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::SimpleVolumeMinMax>::pseudoIndex.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_pseudoIndex_float().
|
static |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::pseudoIndex.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_pseudoIndex_int().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::volume | ( | ) | const -> &meshlib::SimpleVolumeMinMax |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::volume.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_volume().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::voxel_size | ( | ) | const -> f32 |
Voxel size as scalar Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::voxelSize.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_voxelSize().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::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::SimpleVolumeMinMax>::xf.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_xf_0().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::xf_1 | ( | pt:&meshlib::Vector3f | ) | const -> meshlib::Vector3f |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::xf.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_xf_1().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::xf_inv_0 | ( | ) | const -> meshlib::AffineXf3f |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::xfInv.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_xfInv_0().
| auto meshlib::MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax::xf_inv_1 | ( | pt:&meshlib::Vector3f | ) | const -> meshlib::Vector3f |
Generated from method MR::MeshOnVoxelsT<MR::Mesh, MR::SimpleVolumeMinMax>::xfInv.
Calls MR_MeshOnVoxelsT_MR_Mesh_MR_SimpleVolumeMinMax_xfInv_1().