Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
mesh and its per-element attributes for ObjectMeshHolder Generated from class MR::ObjectMeshData. Derived classes: Direct: (non-virtual) MR::LoadedMeshData
Instances created here own their C++ objects, see CppObject.
| meshlib.ObjectMeshData.ObjectMeshData | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.ObjectMeshData.ObjectMeshData | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectMeshData_DefaultConstruct().
| meshlib.ObjectMeshData.ObjectMeshData | ( | meshlib.std_shared_ptr_MR_Mesh | mesh, |
| meshlib.FaceBitSet | selectedFaces, | ||
| meshlib.UndirectedEdgeBitSet | selectedEdges, | ||
| meshlib.UndirectedEdgeBitSet | creases, | ||
| meshlib.VertColors | vertColors, | ||
| meshlib.FaceColors | faceColors, | ||
| meshlib.VertCoords2 | uvCoordinates, | ||
| meshlib.TexturePerFace | texturePerFace ) |
Constructs MR::ObjectMeshData elementwise. 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.
Calls MR_ObjectMeshData_ConstructFrom().
| meshlib.ObjectMeshData.ObjectMeshData | ( | meshlib.ObjectMeshData | _other | ) |
Generated from constructor MR::ObjectMeshData::ObjectMeshData. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_ObjectMeshData_ConstructFromAnother().
| meshlib.ObjectMeshData meshlib.ObjectMeshData.assignFromAnother | ( | meshlib.ObjectMeshData | _other | ) |
Generated from method MR::ObjectMeshData::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_ObjectMeshData_AssignFromAnother().
| meshlib.ObjectMeshData meshlib.ObjectMeshData.clone_2 | ( | ) |
returns copy of this object with mesh cloned Generated from method MR::ObjectMeshData::clone.
Calls MR_ObjectMeshData_clone().
| meshlib.UndirectedEdgeBitSet meshlib.ObjectMeshData.creases | ( | ) |
Returns a pointer to a member variable of class MR::ObjectMeshData named creases. The reference to this object might be preserved as the return value.
Calls MR_ObjectMeshData_Get_creases().
| meshlib.FaceColors meshlib.ObjectMeshData.faceColors | ( | ) |
Returns a pointer to a member variable of class MR::ObjectMeshData named faceColors. The reference to this object might be preserved as the return value.
Calls MR_ObjectMeshData_Get_faceColors().
| long meshlib.ObjectMeshData.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectMeshData::heapBytes.
Calls MR_ObjectMeshData_heapBytes().
| meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectMeshData.mesh | ( | ) |
Returns a pointer to a member variable of class MR::ObjectMeshData named mesh. The reference to this object might be preserved as the return value.
Calls MR_ObjectMeshData_Get_mesh().
| meshlib.UndirectedEdgeBitSet meshlib.ObjectMeshData.selectedEdges | ( | ) |
Returns a pointer to a member variable of class MR::ObjectMeshData named selectedEdges. The reference to this object might be preserved as the return value.
Calls MR_ObjectMeshData_Get_selectedEdges().
| meshlib.FaceBitSet meshlib.ObjectMeshData.selectedFaces | ( | ) |
selection Returns a pointer to a member variable of class MR::ObjectMeshData named selectedFaces. The reference to this object might be preserved as the return value.
Calls MR_ObjectMeshData_Get_selectedFaces().
| void meshlib.ObjectMeshData.setCreases | ( | meshlib.UndirectedEdgeBitSet | value | ) |
Modifies a member variable of class MR::ObjectMeshData named creases. The reference to the parameter value might be preserved in this object in element creases.
Calls MR_ObjectMeshData_Set_creases().
| void meshlib.ObjectMeshData.setFaceColors | ( | meshlib.FaceColors | value | ) |
Modifies a member variable of class MR::ObjectMeshData named faceColors. The reference to the parameter value might be preserved in this object in element faceColors.
Calls MR_ObjectMeshData_Set_faceColors().
| void meshlib.ObjectMeshData.setMesh | ( | meshlib.std_shared_ptr_MR_Mesh | value | ) |
Modifies a member variable of class MR::ObjectMeshData named mesh. The reference to the parameter value might be preserved in this object in element mesh.
Calls MR_ObjectMeshData_Set_mesh().
| void meshlib.ObjectMeshData.setSelectedEdges | ( | meshlib.UndirectedEdgeBitSet | value | ) |
Modifies a member variable of class MR::ObjectMeshData named selectedEdges. The reference to the parameter value might be preserved in this object in element selectedEdges.
Calls MR_ObjectMeshData_Set_selectedEdges().
| void meshlib.ObjectMeshData.setSelectedFaces | ( | meshlib.FaceBitSet | value | ) |
selection Modifies a member variable of class MR::ObjectMeshData named selectedFaces. The reference to the parameter value might be preserved in this object in element selectedFaces.
Calls MR_ObjectMeshData_Set_selectedFaces().
| void meshlib.ObjectMeshData.setTexturePerFace | ( | meshlib.TexturePerFace | value | ) |
Modifies a member variable of class MR::ObjectMeshData named texturePerFace. The reference to the parameter value might be preserved in this object in element texturePerFace.
Calls MR_ObjectMeshData_Set_texturePerFace().
| void meshlib.ObjectMeshData.setUvCoordinates | ( | meshlib.VertCoords2 | value | ) |
< vertices coordinates in texture Modifies a member variable of class MR::ObjectMeshData named uvCoordinates. The reference to the parameter value might be preserved in this object in element uvCoordinates.
Calls MR_ObjectMeshData_Set_uvCoordinates().
| void meshlib.ObjectMeshData.setVertColors | ( | meshlib.VertColors | value | ) |
colors Modifies a member variable of class MR::ObjectMeshData named vertColors. The reference to the parameter value might be preserved in this object in element vertColors.
Calls MR_ObjectMeshData_Set_vertColors().
| meshlib.TexturePerFace meshlib.ObjectMeshData.texturePerFace | ( | ) |
Returns a pointer to a member variable of class MR::ObjectMeshData named texturePerFace. The reference to this object might be preserved as the return value.
Calls MR_ObjectMeshData_Get_texturePerFace().
| meshlib.VertCoords2 meshlib.ObjectMeshData.uvCoordinates | ( | ) |
< vertices coordinates in texture Returns a pointer to a member variable of class MR::ObjectMeshData named uvCoordinates. The reference to this object might be preserved as the return value.
Calls MR_ObjectMeshData_Get_uvCoordinates().
| meshlib.VertColors meshlib.ObjectMeshData.vertColors | ( | ) |
colors Returns a pointer to a member variable of class MR::ObjectMeshData named vertColors. The reference to this object might be preserved as the return value.
Calls MR_ObjectMeshData_Get_vertColors().