Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::mesh_load::NamedMesh > |
| static auto | construct_from (name:&str, mesh:&meshlib::Mesh, uvCoords:&meshlib::VertCoords2, colors:&meshlib::VertColors, textureFiles:&meshlib::Vector_std_filesystem_path_MR_TextureId, texturePerFace:&meshlib::TexturePerFace, diffuseColor:Option<&meshlib::Color >, xf:meshlib::AffineXf3f, skippedFaceCount:core::ffi::c_int, duplicatedVertexCount:core::ffi::c_int) -> meshlib::Owned< meshlib::mesh_load::NamedMesh > |
| static auto | construct_from_another (_other:&meshlib::mesh_load::NamedMesh) -> meshlib::Owned< meshlib::mesh_load::NamedMesh > |
| 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::MeshLoad::NamedMesh.
Generated from class MR::MeshLoad::NamedMesh. Heap-allocated instances are held in Owned<NamedMesh>.
| auto meshlib::mesh_load::NamedMesh::assign_from_another | ( | _other:&meshlib::mesh_load::NamedMesh | ) | -> &mut meshlib::mesh_load::NamedMesh |
Generated from method MR::MeshLoad::NamedMesh::operator=.
Calls MR_MeshLoad_NamedMesh_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::mesh_load::NamedMesh::colors | ( | ) | const -> &meshlib::VertColors |
Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named colors.
Calls MR_MeshLoad_NamedMesh_Get_colors(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::colors_mut | ( | ) | -> &mut meshlib::VertColors |
Returns a mutable pointer to a member variable of class MR::MeshLoad::NamedMesh named colors.
Calls MR_MeshLoad_NamedMesh_GetMutable_colors(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::MeshLoad::NamedMesh elementwise.
Calls MR_MeshLoad_NamedMesh_ConstructFrom(). The reference to the parameter name might be preserved in the constructed object. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter uvCoords might be preserved in the constructed object. The reference to the parameter colors might be preserved in the constructed object. The reference to the parameter textureFiles might be preserved in the constructed object. The reference to the parameter texturePerFace might be preserved in the constructed object. The reference to the parameter diffuseColor might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshLoad::NamedMesh::NamedMesh.
Calls MR_MeshLoad_NamedMesh_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::mesh_load::NamedMesh::diffuse_color | ( | ) | const -> &meshlib::std_optional_MR_Color |
Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named diffuseColor.
Calls MR_MeshLoad_NamedMesh_Get_diffuseColor(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::diffuse_color_mut | ( | ) | -> &mut meshlib::std_optional_MR_Color |
Returns a mutable pointer to a member variable of class MR::MeshLoad::NamedMesh named diffuseColor.
Calls MR_MeshLoad_NamedMesh_GetMutable_diffuseColor(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::duplicated_vertex_count | ( | ) | const -> &core::ffi::c_int |
counter of duplicated vertices (that created for resolve non-manifold geometry) Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named duplicatedVertexCount.
Calls MR_MeshLoad_NamedMesh_Get_duplicatedVertexCount(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::duplicated_vertex_count_mut | ( | ) | -> &mut core::ffi::c_int |
counter of duplicated vertices (that created for resolve non-manifold geometry) Returns a mutable pointer to a member variable of class MR::MeshLoad::NamedMesh named duplicatedVertexCount.
Calls MR_MeshLoad_NamedMesh_GetMutable_duplicatedVertexCount(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::mesh | ( | ) | const -> &meshlib::Mesh |
Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named mesh.
Calls MR_MeshLoad_NamedMesh_Get_mesh(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::mesh_mut | ( | ) | -> &mut meshlib::Mesh |
Returns a mutable pointer to a member variable of class MR::MeshLoad::NamedMesh named mesh.
Calls MR_MeshLoad_NamedMesh_GetMutable_mesh(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::name | ( | ) | const -> &meshlib::std_string |
the name from the o line of the object; empty for the faces before the first o line, as for an o line without a name Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named name.
Calls MR_MeshLoad_NamedMesh_Get_name(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::name_mut | ( | ) | -> &mut meshlib::std_string |
the name from the o line of the object; empty for the faces before the first o line, as for an o line without a name Returns a mutable pointer to a member variable of class MR::MeshLoad::NamedMesh named name.
Calls MR_MeshLoad_NamedMesh_GetMutable_name(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshLoad_NamedMesh_DefaultConstruct().
| void meshlib::mesh_load::NamedMesh::set_colors | ( | value:&meshlib::VertColors | ) |
Modifies a member variable of class MR::MeshLoad::NamedMesh named colors.
Calls MR_MeshLoad_NamedMesh_Set_colors(). The reference to the parameter value might be preserved in this object in element colors.
| void meshlib::mesh_load::NamedMesh::set_diffuse_color | ( | value:Option<&meshlib::Color > | ) |
Modifies a member variable of class MR::MeshLoad::NamedMesh named diffuseColor.
Calls MR_MeshLoad_NamedMesh_Set_diffuseColor(). The reference to the parameter value might be preserved in this object in element diffuseColor.
| void meshlib::mesh_load::NamedMesh::set_duplicated_vertex_count | ( | value:core::ffi::c_int | ) |
counter of duplicated vertices (that created for resolve non-manifold geometry) Modifies a member variable of class MR::MeshLoad::NamedMesh named duplicatedVertexCount.
Calls MR_MeshLoad_NamedMesh_Set_duplicatedVertexCount().
| void meshlib::mesh_load::NamedMesh::set_mesh | ( | value:&meshlib::Mesh | ) |
Modifies a member variable of class MR::MeshLoad::NamedMesh named mesh.
Calls MR_MeshLoad_NamedMesh_Set_mesh(). The reference to the parameter value might be preserved in this object in element mesh.
| void meshlib::mesh_load::NamedMesh::set_name | ( | value:& | str | ) |
the name from the o line of the object; empty for the faces before the first o line, as for an o line without a name Modifies a member variable of class MR::MeshLoad::NamedMesh named name.
Calls MR_MeshLoad_NamedMesh_Set_name(). The reference to the parameter value might be preserved in this object in element name.
| void meshlib::mesh_load::NamedMesh::set_skipped_face_count | ( | value:core::ffi::c_int | ) |
counter of skipped faces (faces than can't be created), not zero only if ObjLoadSettings.countSkippedFaces Modifies a member variable of class MR::MeshLoad::NamedMesh named skippedFaceCount.
Calls MR_MeshLoad_NamedMesh_Set_skippedFaceCount().
| void meshlib::mesh_load::NamedMesh::set_texture_files | ( | value:&meshlib::Vector_std_filesystem_path_MR_TextureId | ) |
texture files of the materials; an empty path stands for the faces without a texture (their material has no texture file or was not found), if other faces of the mesh have one Modifies a member variable of class MR::MeshLoad::NamedMesh named textureFiles.
Calls MR_MeshLoad_NamedMesh_Set_textureFiles(). The reference to the parameter value might be preserved in this object in element textureFiles.
| void meshlib::mesh_load::NamedMesh::set_texture_per_face | ( | value:&meshlib::TexturePerFace | ) |
Modifies a member variable of class MR::MeshLoad::NamedMesh named texturePerFace.
Calls MR_MeshLoad_NamedMesh_Set_texturePerFace(). The reference to the parameter value might be preserved in this object in element texturePerFace.
| void meshlib::mesh_load::NamedMesh::set_uv_coords | ( | value:&meshlib::VertCoords2 | ) |
Modifies a member variable of class MR::MeshLoad::NamedMesh named uvCoords.
Calls MR_MeshLoad_NamedMesh_Set_uvCoords(). The reference to the parameter value might be preserved in this object in element uvCoords.
| void meshlib::mesh_load::NamedMesh::set_xf | ( | value:meshlib::AffineXf3f | ) |
transform of the loaded mesh, not identity only if ObjLoadSettings.customXf Modifies a member variable of class MR::MeshLoad::NamedMesh named xf.
Calls MR_MeshLoad_NamedMesh_Set_xf(). The reference to the parameter value might be preserved in this object in element xf.
| auto meshlib::mesh_load::NamedMesh::skipped_face_count | ( | ) | const -> &core::ffi::c_int |
counter of skipped faces (faces than can't be created), not zero only if ObjLoadSettings.countSkippedFaces Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named skippedFaceCount.
Calls MR_MeshLoad_NamedMesh_Get_skippedFaceCount(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::skipped_face_count_mut | ( | ) | -> &mut core::ffi::c_int |
counter of skipped faces (faces than can't be created), not zero only if ObjLoadSettings.countSkippedFaces Returns a mutable pointer to a member variable of class MR::MeshLoad::NamedMesh named skippedFaceCount.
Calls MR_MeshLoad_NamedMesh_GetMutable_skippedFaceCount(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::texture_files | ( | ) | const -> &meshlib::Vector_std_filesystem_path_MR_TextureId |
texture files of the materials; an empty path stands for the faces without a texture (their material has no texture file or was not found), if other faces of the mesh have one Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named textureFiles.
Calls MR_MeshLoad_NamedMesh_Get_textureFiles(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::texture_files_mut | ( | ) | -> &mut meshlib::Vector_std_filesystem_path_MR_TextureId |
texture files of the materials; an empty path stands for the faces without a texture (their material has no texture file or was not found), if other faces of the mesh have one Returns a mutable pointer to a member variable of class MR::MeshLoad::NamedMesh named textureFiles.
Calls MR_MeshLoad_NamedMesh_GetMutable_textureFiles(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::texture_per_face | ( | ) | const -> &meshlib::TexturePerFace |
Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named texturePerFace.
Calls MR_MeshLoad_NamedMesh_Get_texturePerFace(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::texture_per_face_mut | ( | ) | -> &mut meshlib::TexturePerFace |
Returns a mutable pointer to a member variable of class MR::MeshLoad::NamedMesh named texturePerFace.
Calls MR_MeshLoad_NamedMesh_GetMutable_texturePerFace(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::uv_coords | ( | ) | const -> &meshlib::VertCoords2 |
Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named uvCoords.
Calls MR_MeshLoad_NamedMesh_Get_uvCoords(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::uv_coords_mut | ( | ) | -> &mut meshlib::VertCoords2 |
Returns a mutable pointer to a member variable of class MR::MeshLoad::NamedMesh named uvCoords.
Calls MR_MeshLoad_NamedMesh_GetMutable_uvCoords(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::xf | ( | ) | const -> &meshlib::AffineXf3f |
transform of the loaded mesh, not identity only if ObjLoadSettings.customXf Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named xf.
Calls MR_MeshLoad_NamedMesh_Get_xf(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_load::NamedMesh::xf_mut | ( | ) | -> &mut meshlib::AffineXf3f |
transform of the loaded mesh, not identity only if ObjLoadSettings.customXf Returns a mutable pointer to a member variable of class MR::MeshLoad::NamedMesh named xf.
Calls MR_MeshLoad_NamedMesh_GetMutable_xf(). The reference to this object might be preserved as the return value.