Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::CloseToMeshVolumeParams) -> &mut meshlib::CloseToMeshVolumeParams |
| auto | close_dist () const -> &f32 |
| auto | close_dist_mut () -> &mut f32 |
| void | set_close_dist (value:f32) |
| auto | vol () const -> &meshlib::DistanceVolumeParams |
| auto | vol_mut () -> &mut meshlib::DistanceVolumeParams |
| void | set_vol (value:&meshlib::DistanceVolumeParams) |
| auto | mesh_to_world () const -> *const *const meshlib::AffineXf3f |
| auto | mesh_to_world_mut () -> *mut *const meshlib::AffineXf3f |
| void | set_mesh_to_world (value:Option<&meshlib::AffineXf3f >) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::CloseToMeshVolumeParams > |
| static auto | construct_from (closeDist:f32, vol:&meshlib::DistanceVolumeParams, meshToWorld:Option<&meshlib::AffineXf3f >) -> meshlib::Owned< meshlib::CloseToMeshVolumeParams > |
| static auto | construct_from_another (_other:&meshlib::CloseToMeshVolumeParams) -> meshlib::Owned< meshlib::CloseToMeshVolumeParams > |
| 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 |
Generated from class MR::CloseToMeshVolumeParams.
Generated from class MR::CloseToMeshVolumeParams. Heap-allocated instances are held in Owned<CloseToMeshVolumeParams>.
| auto meshlib::CloseToMeshVolumeParams::assign_from_another | ( | _other:&meshlib::CloseToMeshVolumeParams | ) | -> &mut meshlib::CloseToMeshVolumeParams |
Generated from method MR::CloseToMeshVolumeParams::operator=.
Calls MR_CloseToMeshVolumeParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::CloseToMeshVolumeParams::close_dist | ( | ) | const -> &f32 |
a resulting voxel will get 1 if that voxel's center is not further than unsigned (closeDist) from the surface, and 0 otherwise Returns a pointer to a member variable of class MR::CloseToMeshVolumeParams named closeDist.
Calls MR_CloseToMeshVolumeParams_Get_closeDist(). The reference to this object might be preserved as the return value.
| auto meshlib::CloseToMeshVolumeParams::close_dist_mut | ( | ) | -> &mut f32 |
a resulting voxel will get 1 if that voxel's center is not further than unsigned (closeDist) from the surface, and 0 otherwise Returns a mutable pointer to a member variable of class MR::CloseToMeshVolumeParams named closeDist.
Calls MR_CloseToMeshVolumeParams_GetMutable_closeDist(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::CloseToMeshVolumeParams elementwise.
Calls MR_CloseToMeshVolumeParams_ConstructFrom(). The reference to the parameter vol might be preserved in the constructed object. The reference to the parameter meshToWorld might be preserved in the constructed object.
|
static |
Generated from constructor MR::CloseToMeshVolumeParams::CloseToMeshVolumeParams.
Calls MR_CloseToMeshVolumeParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::CloseToMeshVolumeParams::mesh_to_world | ( | ) | const -> *const *const meshlib::AffineXf3f |
optional transformation from mesh space to world space Returns a pointer to a member variable of class MR::CloseToMeshVolumeParams named meshToWorld.
Calls MR_CloseToMeshVolumeParams_Get_meshToWorld(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::CloseToMeshVolumeParams::mesh_to_world_mut | ( | ) | -> *mut *const meshlib::AffineXf3f |
optional transformation from mesh space to world space Returns a mutable pointer to a member variable of class MR::CloseToMeshVolumeParams named meshToWorld.
Calls MR_CloseToMeshVolumeParams_GetMutable_meshToWorld(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_CloseToMeshVolumeParams_DefaultConstruct().
| void meshlib::CloseToMeshVolumeParams::set_close_dist | ( | value:f32 | ) |
a resulting voxel will get 1 if that voxel's center is not further than unsigned (closeDist) from the surface, and 0 otherwise Modifies a member variable of class MR::CloseToMeshVolumeParams named closeDist.
Calls MR_CloseToMeshVolumeParams_Set_closeDist().
| void meshlib::CloseToMeshVolumeParams::set_mesh_to_world | ( | value:Option<&meshlib::AffineXf3f > | ) |
optional transformation from mesh space to world space Modifies a member variable of class MR::CloseToMeshVolumeParams named meshToWorld.
Calls MR_CloseToMeshVolumeParams_Set_meshToWorld(). The reference to the parameter value might be preserved in this object in element meshToWorld.
| void meshlib::CloseToMeshVolumeParams::set_vol | ( | value:&meshlib::DistanceVolumeParams | ) |
dimensions, location, and scaling in world space of the expected volume Modifies a member variable of class MR::CloseToMeshVolumeParams named vol.
Calls MR_CloseToMeshVolumeParams_Set_vol(). The reference to the parameter value might be preserved in this object in element vol.
| auto meshlib::CloseToMeshVolumeParams::vol | ( | ) | const -> &meshlib::DistanceVolumeParams |
dimensions, location, and scaling in world space of the expected volume Returns a pointer to a member variable of class MR::CloseToMeshVolumeParams named vol.
Calls MR_CloseToMeshVolumeParams_Get_vol(). The reference to this object might be preserved as the return value.
| auto meshlib::CloseToMeshVolumeParams::vol_mut | ( | ) | -> &mut meshlib::DistanceVolumeParams |
dimensions, location, and scaling in world space of the expected volume Returns a mutable pointer to a member variable of class MR::CloseToMeshVolumeParams named vol.
Calls MR_CloseToMeshVolumeParams_GetMutable_vol(). The reference to this object might be preserved as the return value.