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

Public Member Functions

 __init__ (self, *args, **kwargs)
ObjectMeshData clone (self)
int heapBytes (self)
ConstUndirectedEdgeBitSet creases (self)
ConstFaceColors faceColors (self)
Mesh mesh (self)
ConstUndirectedEdgeBitSet selectedEdges (self)
ConstFaceBitSet selectedFaces (self)
ConstTexturePerFace texturePerFace (self)
ConstVertCoords2 uvCoordinates (self)
ConstVertColors vertColors (self)

Static Protected Attributes

typing _offsetof_creases = 80
typing _offsetof_faceColors = 136
typing _offsetof_mesh = 0
typing _offsetof_selectedEdges = 48
typing _offsetof_selectedFaces = 16
typing _offsetof_texturePerFace = 184
typing _offsetof_uvCoordinates = 160
typing _offsetof_vertColors = 112

Detailed Description

Generated from:  MR::ObjectMeshData

mesh and its per-element attributes for ObjectMeshHolder

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstObjectMeshData, mesh: meshlib.mrmeshpy.Mesh, selectedFaces: meshlib.mrmeshpy.ConstFaceBitSet, selectedEdges: meshlib.mrmeshpy.ConstUndirectedEdgeBitSet, creases: meshlib.mrmeshpy.ConstUndirectedEdgeBitSet, vertColors: meshlib.mrmeshpy.ConstVertColors, faceColors: meshlib.mrmeshpy.ConstFaceColors, uvCoordinates: meshlib.mrmeshpy.ConstVertCoords2, texturePerFace: meshlib.mrmeshpy.ConstTexturePerFace) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ clone()

ObjectMeshData mrmeshpy.ConstObjectMeshData.clone ( self)
returns copy of this object with mesh cloned

◆ creases()

ConstUndirectedEdgeBitSet mrmeshpy.ConstObjectMeshData.creases ( self)

◆ faceColors()

ConstFaceColors mrmeshpy.ConstObjectMeshData.faceColors ( self)

◆ heapBytes()

int mrmeshpy.ConstObjectMeshData.heapBytes ( self)
returns the amount of memory this object occupies on heap

◆ mesh()

Mesh mrmeshpy.ConstObjectMeshData.mesh ( self)

◆ selectedEdges()

ConstUndirectedEdgeBitSet mrmeshpy.ConstObjectMeshData.selectedEdges ( self)

◆ selectedFaces()

ConstFaceBitSet mrmeshpy.ConstObjectMeshData.selectedFaces ( self)
selection

Reimplemented in mrmeshpy.ObjectMeshData, and mrmeshpy.ObjectMeshData.

◆ texturePerFace()

ConstTexturePerFace mrmeshpy.ConstObjectMeshData.texturePerFace ( self)

◆ uvCoordinates()

ConstVertCoords2 mrmeshpy.ConstObjectMeshData.uvCoordinates ( self)
vertices coordinates in texture

Reimplemented in mrmeshpy.ObjectMeshData, and mrmeshpy.ObjectMeshData.

◆ vertColors()

ConstVertColors mrmeshpy.ConstObjectMeshData.vertColors ( self)
colors

Reimplemented in mrmeshpy.ObjectMeshData, and mrmeshpy.ObjectMeshData.

Member Data Documentation

◆ _offsetof_creases

typing mrmeshpy.ConstObjectMeshData._offsetof_creases = 80
staticprotected

◆ _offsetof_faceColors

typing mrmeshpy.ConstObjectMeshData._offsetof_faceColors = 136
staticprotected

◆ _offsetof_mesh

typing mrmeshpy.ConstObjectMeshData._offsetof_mesh = 0
staticprotected

◆ _offsetof_selectedEdges

typing mrmeshpy.ConstObjectMeshData._offsetof_selectedEdges = 48
staticprotected

◆ _offsetof_selectedFaces

typing mrmeshpy.ConstObjectMeshData._offsetof_selectedFaces = 16
staticprotected

◆ _offsetof_texturePerFace

typing mrmeshpy.ConstObjectMeshData._offsetof_texturePerFace = 184
staticprotected

◆ _offsetof_uvCoordinates

typing mrmeshpy.ConstObjectMeshData._offsetof_uvCoordinates = 160
staticprotected

◆ _offsetof_vertColors

typing mrmeshpy.ConstObjectMeshData._offsetof_vertColors = 112
staticprotected

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