MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.meshload.NamedMesh Class Reference
Inheritance diagram for meshlib.meshload.NamedMesh:

Public Member Functions

 NamedMesh (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 NamedMesh ()
 NamedMesh (java.lang.String name, meshlib.Mesh mesh, meshlib.VertCoords2 uvCoords, meshlib.VertColors colors, meshlib.Vector_std_filesystem_path_MR_TextureId textureFiles, meshlib.TexturePerFace texturePerFace, meshlib.Color diffuseColor, meshlib.AffineXf3f xf, int skippedFaceCount, int duplicatedVertexCount)
 NamedMesh (meshlib.meshload.NamedMesh _other)
meshlib.meshload.NamedMesh assignFromAnother (meshlib.meshload.NamedMesh _other)
meshlib.std_string name ()
void setName (java.lang.String value)
meshlib.Mesh mesh ()
void setMesh (meshlib.Mesh value)
meshlib.VertCoords2 uvCoords ()
void setUvCoords (meshlib.VertCoords2 value)
meshlib.VertColors colors ()
void setColors (meshlib.VertColors value)
meshlib.Vector_std_filesystem_path_MR_TextureId textureFiles ()
void setTextureFiles (meshlib.Vector_std_filesystem_path_MR_TextureId value)
meshlib.TexturePerFace texturePerFace ()
void setTexturePerFace (meshlib.TexturePerFace value)
meshlib.std_optional_MR_Color diffuseColor ()
void setDiffuseColor (meshlib.Color value)
meshlib.AffineXf3f xf ()
void setXf (meshlib.AffineXf3f value)
int skippedFaceCount ()
void setSkippedFaceCount (int value)
int duplicatedVertexCount ()
void setDuplicatedVertexCount (int value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

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)

Detailed Description

Generated from class MR::MeshLoad::NamedMesh.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ NamedMesh() [1/4]

meshlib.meshload.NamedMesh.NamedMesh ( 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.

◆ NamedMesh() [2/4]

meshlib.meshload.NamedMesh.NamedMesh ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshLoad_NamedMesh_DefaultConstruct().

◆ NamedMesh() [3/4]

meshlib.meshload.NamedMesh.NamedMesh ( java.lang.String name,
meshlib.Mesh mesh,
meshlib.VertCoords2 uvCoords,
meshlib.VertColors colors,
meshlib.Vector_std_filesystem_path_MR_TextureId textureFiles,
meshlib.TexturePerFace texturePerFace,
meshlib.Color diffuseColor,
meshlib.AffineXf3f xf,
int skippedFaceCount,
int duplicatedVertexCount )

Constructs MR::MeshLoad::NamedMesh elementwise. 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.

Calls MR_MeshLoad_NamedMesh_ConstructFrom().

◆ NamedMesh() [4/4]

meshlib.meshload.NamedMesh.NamedMesh ( meshlib.meshload.NamedMesh _other)

Generated from constructor MR::MeshLoad::NamedMesh::NamedMesh. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_MeshLoad_NamedMesh_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.meshload.NamedMesh meshlib.meshload.NamedMesh.assignFromAnother ( meshlib.meshload.NamedMesh _other)

Generated from method MR::MeshLoad::NamedMesh::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_MeshLoad_NamedMesh_AssignFromAnother().

◆ colors()

meshlib.VertColors meshlib.meshload.NamedMesh.colors ( )

Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named colors. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_NamedMesh_Get_colors().

◆ diffuseColor()

meshlib.std_optional_MR_Color meshlib.meshload.NamedMesh.diffuseColor ( )

Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named diffuseColor. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_NamedMesh_Get_diffuseColor().

◆ duplicatedVertexCount()

int meshlib.meshload.NamedMesh.duplicatedVertexCount ( )

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. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_NamedMesh_Get_duplicatedVertexCount().

◆ mesh()

meshlib.Mesh meshlib.meshload.NamedMesh.mesh ( )

Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named mesh. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_NamedMesh_Get_mesh().

◆ name()

meshlib.std_string meshlib.meshload.NamedMesh.name ( )

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. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_NamedMesh_Get_name().

◆ setColors()

void meshlib.meshload.NamedMesh.setColors ( meshlib.VertColors value)

Modifies a member variable of class MR::MeshLoad::NamedMesh named colors. The reference to the parameter value might be preserved in this object in element colors.

Calls MR_MeshLoad_NamedMesh_Set_colors().

◆ setDiffuseColor()

void meshlib.meshload.NamedMesh.setDiffuseColor ( meshlib.Color value)

Modifies a member variable of class MR::MeshLoad::NamedMesh named diffuseColor. The reference to the parameter value might be preserved in this object in element diffuseColor.

Calls MR_MeshLoad_NamedMesh_Set_diffuseColor().

◆ setDuplicatedVertexCount()

void meshlib.meshload.NamedMesh.setDuplicatedVertexCount ( int value)

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().

◆ setMesh()

void meshlib.meshload.NamedMesh.setMesh ( meshlib.Mesh value)

Modifies a member variable of class MR::MeshLoad::NamedMesh named mesh. The reference to the parameter value might be preserved in this object in element mesh.

Calls MR_MeshLoad_NamedMesh_Set_mesh().

◆ setName()

void meshlib.meshload.NamedMesh.setName ( java.lang.String value)

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. The reference to the parameter value might be preserved in this object in element name.

Calls MR_MeshLoad_NamedMesh_Set_name().

◆ setSkippedFaceCount()

void meshlib.meshload.NamedMesh.setSkippedFaceCount ( int value)

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().

◆ setTextureFiles()

void meshlib.meshload.NamedMesh.setTextureFiles ( meshlib.Vector_std_filesystem_path_MR_TextureId value)

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. The reference to the parameter value might be preserved in this object in element textureFiles.

Calls MR_MeshLoad_NamedMesh_Set_textureFiles().

◆ setTexturePerFace()

void meshlib.meshload.NamedMesh.setTexturePerFace ( meshlib.TexturePerFace value)

Modifies a member variable of class MR::MeshLoad::NamedMesh named texturePerFace. The reference to the parameter value might be preserved in this object in element texturePerFace.

Calls MR_MeshLoad_NamedMesh_Set_texturePerFace().

◆ setUvCoords()

void meshlib.meshload.NamedMesh.setUvCoords ( meshlib.VertCoords2 value)

Modifies a member variable of class MR::MeshLoad::NamedMesh named uvCoords. The reference to the parameter value might be preserved in this object in element uvCoords.

Calls MR_MeshLoad_NamedMesh_Set_uvCoords().

◆ setXf()

void meshlib.meshload.NamedMesh.setXf ( meshlib.AffineXf3f value)

transform of the loaded mesh, not identity only if ObjLoadSettings.customXf Modifies a member variable of class MR::MeshLoad::NamedMesh named xf. The reference to the parameter value might be preserved in this object in element xf.

Calls MR_MeshLoad_NamedMesh_Set_xf().

◆ skippedFaceCount()

int meshlib.meshload.NamedMesh.skippedFaceCount ( )

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. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_NamedMesh_Get_skippedFaceCount().

◆ textureFiles()

meshlib.Vector_std_filesystem_path_MR_TextureId meshlib.meshload.NamedMesh.textureFiles ( )

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. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_NamedMesh_Get_textureFiles().

◆ texturePerFace()

meshlib.TexturePerFace meshlib.meshload.NamedMesh.texturePerFace ( )

Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named texturePerFace. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_NamedMesh_Get_texturePerFace().

◆ uvCoords()

meshlib.VertCoords2 meshlib.meshload.NamedMesh.uvCoords ( )

Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named uvCoords. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_NamedMesh_Get_uvCoords().

◆ xf()

meshlib.AffineXf3f meshlib.meshload.NamedMesh.xf ( )

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. The reference to this object might be preserved as the return value.

Calls MR_MeshLoad_NamedMesh_Get_xf().


The documentation for this class was generated from the following file: