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

Public Member Functions

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

Static Public Attributes

typing Count .ClassVar[ScalarType]
typing Float32 .ClassVar[ScalarType]
typing Float32_4 .ClassVar[ScalarType]
typing Float64 .ClassVar[ScalarType]
typing Int16 .ClassVar[ScalarType]
typing Int32 .ClassVar[ScalarType]
typing Int64 .ClassVar[ScalarType]
typing Int8 .ClassVar[ScalarType]
typing UInt16 .ClassVar[ScalarType]
typing UInt32 .ClassVar[ScalarType]
typing UInt64 .ClassVar[ScalarType]
typing UInt8 .ClassVar[ScalarType]
typing Unknown .ClassVar[ScalarType]

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_ = ['UInt8', 'Int8', 'UInt16', 'Int16', 'UInt32', 'Int32', 'UInt64', 'Int64', 'Float32', 'Float64', 'Float32_4', 'Unknown', 'Count']
typing _unhashable_values_ = list()
typing _use_args_ = True
typing _value2member_map_ .ClassVar[dict]
 _member_type_ = builtins.int

Detailed Description

Members:

  UInt8

  Int8

  UInt16

  Int16

  UInt32

  Int32

  UInt64

  Int64

  Float32

  Float64

  Float32_4 : the last value from float[4]

  Unknown

  Count

Member Function Documentation

◆ __format__()

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

◆ __new__()

mrmeshpy.ScalarType.__new__ ( cls,
value )

◆ __str__()

mrmeshpy.ScalarType.__str__ ( self)

◆ _generate_next_value_()

mrmeshpy.ScalarType._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.ScalarType._missing_ ( cls,
value )
protected

◆ _new_member_()

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

◆ _value_repr_()

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

Member Data Documentation

◆ _member_map_

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

◆ _member_names_

list mrmeshpy.ScalarType._member_names_ = ['UInt8', 'Int8', 'UInt16', 'Int16', 'UInt32', 'Int32', 'UInt64', 'Int64', 'Float32', 'Float64', 'Float32_4', 'Unknown', 'Count']
staticprotected

◆ _member_type_

mrmeshpy.ScalarType._member_type_ = builtins.int
staticprotected

◆ _unhashable_values_

typing mrmeshpy.ScalarType._unhashable_values_ = list()
staticprotected

◆ _use_args_

typing mrmeshpy.ScalarType._use_args_ = True
staticprotected

◆ _value2member_map_

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

◆ Count

typing mrmeshpy.ScalarType.Count .ClassVar[ScalarType]
static

◆ Float32

typing mrmeshpy.ScalarType.Float32 .ClassVar[ScalarType]
static

◆ Float32_4

typing mrmeshpy.ScalarType.Float32_4 .ClassVar[ScalarType]
static

◆ Float64

typing mrmeshpy.ScalarType.Float64 .ClassVar[ScalarType]
static

◆ Int16

typing mrmeshpy.ScalarType.Int16 .ClassVar[ScalarType]
static

◆ Int32

typing mrmeshpy.ScalarType.Int32 .ClassVar[ScalarType]
static

◆ Int64

typing mrmeshpy.ScalarType.Int64 .ClassVar[ScalarType]
static

◆ Int8

typing mrmeshpy.ScalarType.Int8 .ClassVar[ScalarType]
static

◆ UInt16

typing mrmeshpy.ScalarType.UInt16 .ClassVar[ScalarType]
static

◆ UInt32

typing mrmeshpy.ScalarType.UInt32 .ClassVar[ScalarType]
static

◆ UInt64

typing mrmeshpy.ScalarType.UInt64 .ClassVar[ScalarType]
static

◆ UInt8

typing mrmeshpy.ScalarType.UInt8 .ClassVar[ScalarType]
static

◆ Unknown

typing mrmeshpy.ScalarType.Unknown .ClassVar[ScalarType]
static

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