MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.AnyVisualizeMaskEnum Class Reference

Public Member Functions

None __init__ (self, VisualizeMaskType value)
 
None __init__ (self, MeshVisualizePropertyType value)
 
None __init__ (self, AnyVisualizeMaskEnum value)
 
None __init__ (self, DimensionsVisualizePropertyType value)
 
None __init__ (self, AnyVisualizeMaskEnum arg0)
 
DimensionsVisualizePropertyType tryGet (self)
 

Detailed Description

Generated from:  MR::AnyVisualizeMaskEnum

Stores a `VisualizeMaskType` or any other enum that extends it (i.e. which specializes `IsVisualizeMaskEnum`).
To extract the value, do this:
    if ( auto value = x.tryGet<MyEnum>() )
    {
        switch ( *value )
        {
            case MyEnum::foo: ...
            case MyEnum::bar: ...
        }
    }
    else // forward to the parent class

Constructor & Destructor Documentation

◆ __init__() [1/5]

None meshlib.mrmeshpy.AnyVisualizeMaskEnum.__init__ ( self,
VisualizeMaskType value )

◆ __init__() [2/5]

None meshlib.mrmeshpy.AnyVisualizeMaskEnum.__init__ ( self,
MeshVisualizePropertyType value )

◆ __init__() [3/5]

None meshlib.mrmeshpy.AnyVisualizeMaskEnum.__init__ ( self,
AnyVisualizeMaskEnum value )

◆ __init__() [4/5]

None meshlib.mrmeshpy.AnyVisualizeMaskEnum.__init__ ( self,
DimensionsVisualizePropertyType value )

◆ __init__() [5/5]

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

Member Function Documentation

◆ tryGet()

DimensionsVisualizePropertyType meshlib.mrmeshpy.AnyVisualizeMaskEnum.tryGet ( self)

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