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

Public Member Functions

int __getitem__ (self, int e)
int __getitem__ (ConstColor self, int e)
Color __iadd__ (self, ConstColor other)
Color __imul__ (self, float m)
None __init__ (self)
None __init__ (self, int r, int g, int b, int a)
None __init__ (self, int r, int g, int b)
None __init__ (self, float r, float g, float b, float a)
None __init__ (self, float r, float g, float b)
None __init__ (self, ConstVector4i vec)
None __init__ (self, ConstVector4f vec)
None __init__ (self, Color arg0)
Color __isub__ (self, ConstColor other)
Color __itruediv__ (self, float m)
None __setitem__ (self, int arg0, int arg1)
Color assign (self, ConstColor other)
Public Member Functions inherited from mrmeshpy.ConstColor
Color __add__ (self, ConstColor b)
bool __eq__ (self, ConstColor b)
int __getitem__ (self, int e)
 __init__ (self, *args, **kwargs)
Color __mul__ (self, float a)
bool __ne__ (self, ConstColor b)
Color __rmul__ (self, float b)
Color __sub__ (self, ConstColor b)
Color __truediv__ (self, float a)
int getUInt32 (self)
bool isTranslucent (self)
Color scaledAlpha (self, float m)
int a (self)
int b (self)
int g (self)
int r (self)

Static Public Member Functions

None __init__ (*args, **kwargs)
None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstColor
Color black ()
Color blue ()
Color brown ()
Color gray ()
Color green ()
Color purple ()
Color red ()
Color transparent ()
int valToUint8 (int val)
int valToUint8 (float val)
Color white ()
Color yellow ()

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstColor
typing _offsetof_a = 3
typing _offsetof_b = 2
typing _offsetof_g = 1
typing _offsetof_r = 0

Detailed Description

Generated from:  MR::Color
Aliases:  Vector_Color_FaceId_const_pointer, Vector_Color_FaceId_const_reference, Vector_Color_FaceId_pointer, Vector_Color_FaceId_reference, Vector_Color_FaceId_value_type, Vector_Color_Id_EdgeTag_const_pointer, Vector_Color_Id_EdgeTag_const_reference, Vector_Color_Id_EdgeTag_pointer, Vector_Color_Id_EdgeTag_reference, Vector_Color_Id_EdgeTag_value_type, Vector_Color_UndirectedEdgeId_const_pointer, Vector_Color_UndirectedEdgeId_const_reference, Vector_Color_UndirectedEdgeId_pointer, Vector_Color_UndirectedEdgeId_reference, Vector_Color_UndirectedEdgeId_value_type, Vector_Color_VertId_const_pointer, Vector_Color_VertId_const_reference, Vector_Color_VertId_pointer, Vector_Color_VertId_reference, Vector_Color_VertId_value_type, std_vector_Color_Allocator_Color_const_pointer, std_vector_Color_Allocator_Color_const_reference, std_vector_Color_Allocator_Color_pointer, std_vector_Color_Allocator_Color_reference, std_vector_Color_Allocator_Color_value_type

Constructor & Destructor Documentation

◆ __init__() [1/10]

None mrmeshpy.Color.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/10]

None mrmeshpy.Color.__init__ ( * args,
** kwargs )
static

◆ __init__() [3/10]

None mrmeshpy.Color.__init__ ( self)

◆ __init__() [4/10]

None mrmeshpy.Color.__init__ ( self,
int r,
int g,
int b,
int a )

◆ __init__() [5/10]

None mrmeshpy.Color.__init__ ( self,
int r,
int g,
int b )

◆ __init__() [6/10]

None mrmeshpy.Color.__init__ ( self,
float r,
float g,
float b,
float a )

◆ __init__() [7/10]

None mrmeshpy.Color.__init__ ( self,
float r,
float g,
float b )

◆ __init__() [8/10]

None mrmeshpy.Color.__init__ ( self,
ConstVector4i vec )

◆ __init__() [9/10]

None mrmeshpy.Color.__init__ ( self,
ConstVector4f vec )

◆ __init__() [10/10]

None mrmeshpy.Color.__init__ ( self,
Color arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

int mrmeshpy.Color.__getitem__ ( ConstColor self,
int e )

◆ __getitem__() [2/2]

int mrmeshpy.Color.__getitem__ ( self,
int e )

◆ __iadd__()

Color mrmeshpy.Color.__iadd__ ( self,
ConstColor other )

◆ __imul__()

Color mrmeshpy.Color.__imul__ ( self,
float m )

◆ __isub__()

Color mrmeshpy.Color.__isub__ ( self,
ConstColor other )

◆ __itruediv__()

Color mrmeshpy.Color.__itruediv__ ( self,
float m )

◆ __setitem__()

None mrmeshpy.Color.__setitem__ ( self,
int arg0,
int arg1 )

◆ assign()

Color mrmeshpy.Color.assign ( self,
ConstColor other )

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