MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.DecimatePartsMode:

Public Member Functions

 __new__ (cls, value)
 __format__ (self, format_spec)
 __str__ (self)

Static Public Attributes

typing AABBTree .ClassVar[DecimatePartsMode]
typing PackedMesh .ClassVar[DecimatePartsMode]

Protected Member Functions

 _missing_ (cls, value)
 _value_repr_ (self)

Static Protected Member Functions

 _generate_next_value_ (name, start, count, last_values)
 _new_member_ (type, *args, **kwargs)

Static Protected Attributes

typing _member_map_ .ClassVar[dict]
list _member_names_ = ['PackedMesh', 'AABBTree']
typing _unhashable_values_ = list()
typing _use_args_ = True
typing _value2member_map_ .ClassVar[dict]
 _member_type_ = builtins.int

Detailed Description

Members:

  PackedMesh : the mesh is already packed optimally (e.g. by mesh.packOptimally()), and the parts are ranges of face ids

  AABBTree : the parts are subtrees of mesh's AABB tree (taken from the mesh if present, otherwise constructed), no packing is needed;
the number of parts is rounded up to a power of two

Member Function Documentation

◆ __format__()

mrmeshpy.DecimatePartsMode.__format__ ( self,
format_spec )
Convert to a string according to format_spec.

◆ __new__()

mrmeshpy.DecimatePartsMode.__new__ ( cls,
value )

◆ __str__()

mrmeshpy.DecimatePartsMode.__str__ ( self)

◆ _generate_next_value_()

mrmeshpy.DecimatePartsMode._generate_next_value_ ( name,
start,
count,
last_values )
staticprotected
        Generate the next value when not given.

        name: the name of the member
        start: the initial start value or None
        count: the number of existing members
        last_values: the list of values assigned

◆ _missing_()

mrmeshpy.DecimatePartsMode._missing_ ( cls,
value )
protected

◆ _new_member_()

mrmeshpy.DecimatePartsMode._new_member_ ( type,
* args,
** kwargs )
staticprotected
Create and return a new object.  See help(type) for accurate signature.

◆ _value_repr_()

mrmeshpy.DecimatePartsMode._value_repr_ ( self)
protected
Return repr(self).

Member Data Documentation

◆ _member_map_

typing mrmeshpy.DecimatePartsMode._member_map_ .ClassVar[dict]
staticprotected

◆ _member_names_

list mrmeshpy.DecimatePartsMode._member_names_ = ['PackedMesh', 'AABBTree']
staticprotected

◆ _member_type_

mrmeshpy.DecimatePartsMode._member_type_ = builtins.int
staticprotected

◆ _unhashable_values_

typing mrmeshpy.DecimatePartsMode._unhashable_values_ = list()
staticprotected

◆ _use_args_

typing mrmeshpy.DecimatePartsMode._use_args_ = True
staticprotected

◆ _value2member_map_

typing mrmeshpy.DecimatePartsMode._value2member_map_ .ClassVar[dict]
staticprotected

◆ AABBTree

typing mrmeshpy.DecimatePartsMode.AABBTree .ClassVar[DecimatePartsMode]
static

◆ PackedMesh

typing mrmeshpy.DecimatePartsMode.PackedMesh .ClassVar[DecimatePartsMode]
static

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