MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.MeshLoad.NamedMesh Class Reference
Inheritance diagram for mrmeshpy.MeshLoad.NamedMesh:

Public Member Functions

None __init__ (self)
None __init__ (self, MeshLoad.ConstNamedMesh arg0)
None __init__ (self, str name, ConstMesh mesh, ConstVertCoords2 uvCoords, ConstVertColors colors, ConstVector_std_filesystem_path_TextureId textureFiles, ConstTexturePerFace texturePerFace, Const_std_optional_Color diffuseColor, ConstAffineXf3f xf, int skippedFaceCount, int duplicatedVertexCount)
MeshLoad.NamedMesh assign (self, MeshLoad.ConstNamedMesh other)
VertColors colors (self)
None colors (self, ConstVertColors arg1)
std_optional_Color diffuseColor (self)
None diffuseColor (self, Const_std_optional_Color arg1)
int duplicatedVertexCount (self)
None duplicatedVertexCount (self, int arg1)
Mesh mesh (self)
None mesh (self, ConstMesh arg1)
str name (self)
None name (self, str arg1)
int skippedFaceCount (self)
None skippedFaceCount (self, int arg1)
Vector_std_filesystem_path_TextureId textureFiles (self)
None textureFiles (self, ConstVector_std_filesystem_path_TextureId arg1)
TexturePerFace texturePerFace (self)
None texturePerFace (self, ConstTexturePerFace arg1)
VertCoords2 uvCoords (self)
None uvCoords (self, ConstVertCoords2 arg1)
AffineXf3f xf (self)
None xf (self, ConstAffineXf3f arg1)
Public Member Functions inherited from mrmeshpy.MeshLoad.ConstNamedMesh
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.MeshLoad.ConstNamedMesh
typing _offsetof_colors = 328
typing _offsetof_diffuseColor = 400
typing _offsetof_duplicatedVertexCount = 460
typing _offsetof_mesh = 32
typing _offsetof_name = 0
typing _offsetof_skippedFaceCount = 456
typing _offsetof_textureFiles = 352
typing _offsetof_texturePerFace = 376
typing _offsetof_uvCoords = 304
typing _offsetof_xf = 408

Detailed Description

Generated from:  MR::MeshLoad::NamedMesh

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.MeshLoad.NamedMesh.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.MeshLoad.NamedMesh.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.MeshLoad.NamedMesh.__init__ ( self,
MeshLoad.ConstNamedMesh arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.MeshLoad.NamedMesh.__init__ ( self,
str name,
ConstMesh mesh,
ConstVertCoords2 uvCoords,
ConstVertColors colors,
ConstVector_std_filesystem_path_TextureId textureFiles,
ConstTexturePerFace texturePerFace,
Const_std_optional_Color diffuseColor,
ConstAffineXf3f xf,
int skippedFaceCount,
int duplicatedVertexCount )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

MeshLoad.NamedMesh mrmeshpy.MeshLoad.NamedMesh.assign ( self,
MeshLoad.ConstNamedMesh other )

◆ colors() [1/2]

VertColors mrmeshpy.MeshLoad.NamedMesh.colors ( self)

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ colors() [2/2]

None mrmeshpy.MeshLoad.NamedMesh.colors ( self,
ConstVertColors arg1 )

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ diffuseColor() [1/2]

std_optional_Color mrmeshpy.MeshLoad.NamedMesh.diffuseColor ( self)

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ diffuseColor() [2/2]

None mrmeshpy.MeshLoad.NamedMesh.diffuseColor ( self,
Const_std_optional_Color arg1 )

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ duplicatedVertexCount() [1/2]

int mrmeshpy.MeshLoad.NamedMesh.duplicatedVertexCount ( self)
counter of duplicated vertices (that created for resolve non-manifold geometry)

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ duplicatedVertexCount() [2/2]

None mrmeshpy.MeshLoad.NamedMesh.duplicatedVertexCount ( self,
int arg1 )
counter of duplicated vertices (that created for resolve non-manifold geometry)

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ mesh() [1/2]

Mesh mrmeshpy.MeshLoad.NamedMesh.mesh ( self)

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ mesh() [2/2]

None mrmeshpy.MeshLoad.NamedMesh.mesh ( self,
ConstMesh arg1 )

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ name() [1/2]

str mrmeshpy.MeshLoad.NamedMesh.name ( self)
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

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ name() [2/2]

None mrmeshpy.MeshLoad.NamedMesh.name ( self,
str arg1 )
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

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ skippedFaceCount() [1/2]

int mrmeshpy.MeshLoad.NamedMesh.skippedFaceCount ( self)
counter of skipped faces (faces than can't be created), not zero only if ObjLoadSettings.countSkippedFaces

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ skippedFaceCount() [2/2]

None mrmeshpy.MeshLoad.NamedMesh.skippedFaceCount ( self,
int arg1 )
counter of skipped faces (faces than can't be created), not zero only if ObjLoadSettings.countSkippedFaces

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ textureFiles() [1/2]

Vector_std_filesystem_path_TextureId mrmeshpy.MeshLoad.NamedMesh.textureFiles ( self)
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

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ textureFiles() [2/2]

None mrmeshpy.MeshLoad.NamedMesh.textureFiles ( self,
ConstVector_std_filesystem_path_TextureId arg1 )
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

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ texturePerFace() [1/2]

TexturePerFace mrmeshpy.MeshLoad.NamedMesh.texturePerFace ( self)

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ texturePerFace() [2/2]

None mrmeshpy.MeshLoad.NamedMesh.texturePerFace ( self,
ConstTexturePerFace arg1 )

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ uvCoords() [1/2]

VertCoords2 mrmeshpy.MeshLoad.NamedMesh.uvCoords ( self)

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ uvCoords() [2/2]

None mrmeshpy.MeshLoad.NamedMesh.uvCoords ( self,
ConstVertCoords2 arg1 )

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ xf() [1/2]

AffineXf3f mrmeshpy.MeshLoad.NamedMesh.xf ( self)
transform of the loaded mesh, not identity only if ObjLoadSettings.customXf

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.

◆ xf() [2/2]

None mrmeshpy.MeshLoad.NamedMesh.xf ( self,
ConstAffineXf3f arg1 )
transform of the loaded mesh, not identity only if ObjLoadSettings.customXf

Reimplemented from mrmeshpy.MeshLoad.ConstNamedMesh.


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