Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::ObjectMeshData > |
| static auto | construct_from (mesh:&meshlib::std_shared_ptr_MR_Mesh, selectedFaces:&meshlib::FaceBitSet, selectedEdges:&meshlib::UndirectedEdgeBitSet, creases:&meshlib::UndirectedEdgeBitSet, vertColors:&meshlib::VertColors, faceColors:&meshlib::FaceColors, uvCoordinates:&meshlib::VertCoords2, texturePerFace:&meshlib::TexturePerFace) -> meshlib::Owned< meshlib::ObjectMeshData > |
| static auto | construct_from_another (_other:&meshlib::ObjectMeshData) -> meshlib::Owned< meshlib::ObjectMeshData > |
| 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 |
mesh and its per-element attributes for ObjectMeshHolder Generated from class MR::ObjectMeshData. Derived classes: Direct: (non-virtual) MR::LoadedMeshData
Generated from class MR::ObjectMeshData. Heap-allocated instances are held in Owned<ObjectMeshData>.
| auto meshlib::ObjectMeshData::assign_from_another | ( | _other:&meshlib::ObjectMeshData | ) | -> &mut meshlib::ObjectMeshData |
Generated from method MR::ObjectMeshData::operator=.
Calls MR_ObjectMeshData_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::ObjectMeshData::clone | ( | ) | const -> meshlib::Owned< meshlib::ObjectMeshData > |
returns copy of this object with mesh cloned Generated from method MR::ObjectMeshData::clone.
Calls MR_ObjectMeshData_clone().
|
static |
Constructs MR::ObjectMeshData elementwise.
Calls MR_ObjectMeshData_ConstructFrom(). The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter selectedFaces might be preserved in the constructed object. The reference to the parameter selectedEdges might be preserved in the constructed object. The reference to the parameter creases might be preserved in the constructed object. The reference to the parameter vertColors might be preserved in the constructed object. The reference to the parameter faceColors might be preserved in the constructed object. The reference to the parameter uvCoordinates might be preserved in the constructed object. The reference to the parameter texturePerFace might be preserved in the constructed object.
|
static |
Generated from constructor MR::ObjectMeshData::ObjectMeshData.
Calls MR_ObjectMeshData_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ObjectMeshData::creases | ( | ) | const -> &meshlib::UndirectedEdgeBitSet |
Returns a pointer to a member variable of class MR::ObjectMeshData named creases.
Calls MR_ObjectMeshData_Get_creases(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::creases_mut | ( | ) | -> &mut meshlib::UndirectedEdgeBitSet |
Returns a mutable pointer to a member variable of class MR::ObjectMeshData named creases.
Calls MR_ObjectMeshData_GetMutable_creases(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::face_colors | ( | ) | const -> &meshlib::FaceColors |
Returns a pointer to a member variable of class MR::ObjectMeshData named faceColors.
Calls MR_ObjectMeshData_Get_faceColors(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::face_colors_mut | ( | ) | -> &mut meshlib::FaceColors |
Returns a mutable pointer to a member variable of class MR::ObjectMeshData named faceColors.
Calls MR_ObjectMeshData_GetMutable_faceColors(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectMeshData::heapBytes.
Calls MR_ObjectMeshData_heapBytes().
| auto meshlib::ObjectMeshData::mesh | ( | ) | const -> &meshlib::std_shared_ptr_MR_Mesh |
Returns a pointer to a member variable of class MR::ObjectMeshData named mesh.
Calls MR_ObjectMeshData_Get_mesh(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::mesh_mut | ( | ) | -> &mut meshlib::std_shared_ptr_MR_Mesh |
Returns a mutable pointer to a member variable of class MR::ObjectMeshData named mesh.
Calls MR_ObjectMeshData_GetMutable_mesh(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectMeshData_DefaultConstruct().
| auto meshlib::ObjectMeshData::selected_edges | ( | ) | const -> &meshlib::UndirectedEdgeBitSet |
Returns a pointer to a member variable of class MR::ObjectMeshData named selectedEdges.
Calls MR_ObjectMeshData_Get_selectedEdges(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::selected_edges_mut | ( | ) | -> &mut meshlib::UndirectedEdgeBitSet |
Returns a mutable pointer to a member variable of class MR::ObjectMeshData named selectedEdges.
Calls MR_ObjectMeshData_GetMutable_selectedEdges(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::selected_faces | ( | ) | const -> &meshlib::FaceBitSet |
selection Returns a pointer to a member variable of class MR::ObjectMeshData named selectedFaces.
Calls MR_ObjectMeshData_Get_selectedFaces(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::selected_faces_mut | ( | ) | -> &mut meshlib::FaceBitSet |
selection Returns a mutable pointer to a member variable of class MR::ObjectMeshData named selectedFaces.
Calls MR_ObjectMeshData_GetMutable_selectedFaces(). The reference to this object might be preserved as the return value.
| void meshlib::ObjectMeshData::set_creases | ( | value:&meshlib::UndirectedEdgeBitSet | ) |
Modifies a member variable of class MR::ObjectMeshData named creases.
Calls MR_ObjectMeshData_Set_creases(). The reference to the parameter value might be preserved in this object in element creases.
| void meshlib::ObjectMeshData::set_face_colors | ( | value:&meshlib::FaceColors | ) |
Modifies a member variable of class MR::ObjectMeshData named faceColors.
Calls MR_ObjectMeshData_Set_faceColors(). The reference to the parameter value might be preserved in this object in element faceColors.
| void meshlib::ObjectMeshData::set_mesh | ( | value:&meshlib::std_shared_ptr_MR_Mesh | ) |
Modifies a member variable of class MR::ObjectMeshData named mesh.
Calls MR_ObjectMeshData_Set_mesh(). The reference to the parameter value might be preserved in this object in element mesh.
| void meshlib::ObjectMeshData::set_selected_edges | ( | value:&meshlib::UndirectedEdgeBitSet | ) |
Modifies a member variable of class MR::ObjectMeshData named selectedEdges.
Calls MR_ObjectMeshData_Set_selectedEdges(). The reference to the parameter value might be preserved in this object in element selectedEdges.
| void meshlib::ObjectMeshData::set_selected_faces | ( | value:&meshlib::FaceBitSet | ) |
selection Modifies a member variable of class MR::ObjectMeshData named selectedFaces.
Calls MR_ObjectMeshData_Set_selectedFaces(). The reference to the parameter value might be preserved in this object in element selectedFaces.
| void meshlib::ObjectMeshData::set_texture_per_face | ( | value:&meshlib::TexturePerFace | ) |
Modifies a member variable of class MR::ObjectMeshData named texturePerFace.
Calls MR_ObjectMeshData_Set_texturePerFace(). The reference to the parameter value might be preserved in this object in element texturePerFace.
| void meshlib::ObjectMeshData::set_uv_coordinates | ( | value:&meshlib::VertCoords2 | ) |
< vertices coordinates in texture Modifies a member variable of class MR::ObjectMeshData named uvCoordinates.
Calls MR_ObjectMeshData_Set_uvCoordinates(). The reference to the parameter value might be preserved in this object in element uvCoordinates.
| void meshlib::ObjectMeshData::set_vert_colors | ( | value:&meshlib::VertColors | ) |
colors Modifies a member variable of class MR::ObjectMeshData named vertColors.
Calls MR_ObjectMeshData_Set_vertColors(). The reference to the parameter value might be preserved in this object in element vertColors.
| auto meshlib::ObjectMeshData::texture_per_face | ( | ) | const -> &meshlib::TexturePerFace |
Returns a pointer to a member variable of class MR::ObjectMeshData named texturePerFace.
Calls MR_ObjectMeshData_Get_texturePerFace(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::texture_per_face_mut | ( | ) | -> &mut meshlib::TexturePerFace |
Returns a mutable pointer to a member variable of class MR::ObjectMeshData named texturePerFace.
Calls MR_ObjectMeshData_GetMutable_texturePerFace(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::uv_coordinates | ( | ) | const -> &meshlib::VertCoords2 |
< vertices coordinates in texture Returns a pointer to a member variable of class MR::ObjectMeshData named uvCoordinates.
Calls MR_ObjectMeshData_Get_uvCoordinates(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::uv_coordinates_mut | ( | ) | -> &mut meshlib::VertCoords2 |
< vertices coordinates in texture Returns a mutable pointer to a member variable of class MR::ObjectMeshData named uvCoordinates.
Calls MR_ObjectMeshData_GetMutable_uvCoordinates(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::vert_colors | ( | ) | const -> &meshlib::VertColors |
colors Returns a pointer to a member variable of class MR::ObjectMeshData named vertColors.
Calls MR_ObjectMeshData_Get_vertColors(). The reference to this object might be preserved as the return value.
| auto meshlib::ObjectMeshData::vert_colors_mut | ( | ) | -> &mut meshlib::VertColors |
colors Returns a mutable pointer to a member variable of class MR::ObjectMeshData named vertColors.
Calls MR_ObjectMeshData_GetMutable_vertColors(). The reference to this object might be preserved as the return value.