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

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstVertColors colors (self)
Const_std_optional_Color diffuseColor (self)
int duplicatedVertexCount (self)
ConstMesh mesh (self)
str name (self)
int skippedFaceCount (self)
ConstVector_std_filesystem_path_TextureId textureFiles (self)
ConstTexturePerFace texturePerFace (self)
ConstVertCoords2 uvCoords (self)
ConstAffineXf3f xf (self)

Static Protected Attributes

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

mrmeshpy.MeshLoad.ConstNamedMesh.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.MeshLoad.ConstNamedMesh) -> None

2. __init__(self: meshlib.mrmeshpy.MeshLoad.ConstNamedMesh, arg0: meshlib.mrmeshpy.MeshLoad.ConstNamedMesh) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.MeshLoad.ConstNamedMesh, name: str, mesh: meshlib.mrmeshpy.ConstMesh, uvCoords: meshlib.mrmeshpy.ConstVertCoords2, colors: meshlib.mrmeshpy.ConstVertColors, textureFiles: meshlib.mrmeshpy.ConstVector_std_filesystem_path_TextureId, texturePerFace: meshlib.mrmeshpy.ConstTexturePerFace, diffuseColor: meshlib.mrmeshpy.Const_std_optional_Color, xf: meshlib.mrmeshpy.ConstAffineXf3f, skippedFaceCount: int, duplicatedVertexCount: int) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.MeshLoad.ConstNamedMesh, : meshlib.mrmeshpy.MeshLoad.ConstNamedMesh) -> None

Member Function Documentation

◆ colors()

ConstVertColors mrmeshpy.MeshLoad.ConstNamedMesh.colors ( self)

◆ diffuseColor()

Const_std_optional_Color mrmeshpy.MeshLoad.ConstNamedMesh.diffuseColor ( self)

◆ duplicatedVertexCount()

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

Reimplemented in mrmeshpy.MeshLoad.NamedMesh, and mrmeshpy.MeshLoad.NamedMesh.

◆ mesh()

ConstMesh mrmeshpy.MeshLoad.ConstNamedMesh.mesh ( self)

◆ name()

str mrmeshpy.MeshLoad.ConstNamedMesh.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 in mrmeshpy.MeshLoad.NamedMesh, and mrmeshpy.MeshLoad.NamedMesh.

◆ skippedFaceCount()

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

Reimplemented in mrmeshpy.MeshLoad.NamedMesh, and mrmeshpy.MeshLoad.NamedMesh.

◆ textureFiles()

ConstVector_std_filesystem_path_TextureId mrmeshpy.MeshLoad.ConstNamedMesh.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 in mrmeshpy.MeshLoad.NamedMesh, and mrmeshpy.MeshLoad.NamedMesh.

◆ texturePerFace()

ConstTexturePerFace mrmeshpy.MeshLoad.ConstNamedMesh.texturePerFace ( self)

◆ uvCoords()

ConstVertCoords2 mrmeshpy.MeshLoad.ConstNamedMesh.uvCoords ( self)

◆ xf()

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

Reimplemented in mrmeshpy.MeshLoad.NamedMesh, and mrmeshpy.MeshLoad.NamedMesh.

Member Data Documentation

◆ _offsetof_colors

typing mrmeshpy.MeshLoad.ConstNamedMesh._offsetof_colors = 328
staticprotected

◆ _offsetof_diffuseColor

typing mrmeshpy.MeshLoad.ConstNamedMesh._offsetof_diffuseColor = 400
staticprotected

◆ _offsetof_duplicatedVertexCount

typing mrmeshpy.MeshLoad.ConstNamedMesh._offsetof_duplicatedVertexCount = 460
staticprotected

◆ _offsetof_mesh

typing mrmeshpy.MeshLoad.ConstNamedMesh._offsetof_mesh = 32
staticprotected

◆ _offsetof_name

typing mrmeshpy.MeshLoad.ConstNamedMesh._offsetof_name = 0
staticprotected

◆ _offsetof_skippedFaceCount

typing mrmeshpy.MeshLoad.ConstNamedMesh._offsetof_skippedFaceCount = 456
staticprotected

◆ _offsetof_textureFiles

typing mrmeshpy.MeshLoad.ConstNamedMesh._offsetof_textureFiles = 352
staticprotected

◆ _offsetof_texturePerFace

typing mrmeshpy.MeshLoad.ConstNamedMesh._offsetof_texturePerFace = 376
staticprotected

◆ _offsetof_uvCoords

typing mrmeshpy.MeshLoad.ConstNamedMesh._offsetof_uvCoords = 304
staticprotected

◆ _offsetof_xf

typing mrmeshpy.MeshLoad.ConstNamedMesh._offsetof_xf = 408
staticprotected

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