MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ViewportMask Class Reference

Public Member Functions

ViewportMask __and__ (self, ViewportMask b)
 
bool __eq__ (self, ViewportMask b)
 
ViewportMask __iand__ (self, ViewportMask b)
 
None __init__ (self)
 
None __init__ (self, int i)
 
None __init__ (self, ViewportId i)
 
ViewportMask __invert__ (self)
 
ViewportMask __ior__ (self, ViewportMask b)
 
typing.Iterator[ViewportId__iter__ (self)
 
ViewportMask __ixor__ (self, ViewportMask b)
 
bool __ne__ (self, ViewportMask b)
 
ViewportMask __or__ (self, ViewportMask b)
 
ViewportMask __xor__ (self, ViewportMask b)
 
bool contains (self, ViewportId id)
 
bool empty (self)
 
bool operator (self, ViewportMask b)
 
None set (self, ViewportId id, bool on=True)
 
int value (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
ViewportMask all ()
 
ViewportMask any ()
 
ViewportMask operator (*args, **kwargs)
 
ViewportMask operator (*args, **kwargs)
 

Detailed Description

Generated from:  MR::ViewportMask

stores mask of viewport unique identifiers

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.ViewportMask.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.ViewportMask.__init__ ( self,
int i )

◆ __init__() [4/4]

None mrmeshpy.ViewportMask.__init__ ( self,
ViewportId i )

Member Function Documentation

◆ __and__()

ViewportMask mrmeshpy.ViewportMask.__and__ ( self,
ViewportMask b )

◆ __eq__()

bool mrmeshpy.ViewportMask.__eq__ ( self,
ViewportMask b )

◆ __iand__()

ViewportMask mrmeshpy.ViewportMask.__iand__ ( self,
ViewportMask b )

◆ __invert__()

ViewportMask mrmeshpy.ViewportMask.__invert__ ( self)

◆ __ior__()

ViewportMask mrmeshpy.ViewportMask.__ior__ ( self,
ViewportMask b )

◆ __iter__()

typing.Iterator[ViewportId] mrmeshpy.ViewportMask.__iter__ ( self)

◆ __ixor__()

ViewportMask mrmeshpy.ViewportMask.__ixor__ ( self,
ViewportMask b )

◆ __ne__()

bool mrmeshpy.ViewportMask.__ne__ ( self,
ViewportMask b )

◆ __or__()

ViewportMask mrmeshpy.ViewportMask.__or__ ( self,
ViewportMask b )

◆ __xor__()

ViewportMask mrmeshpy.ViewportMask.__xor__ ( self,
ViewportMask b )

◆ all()

ViewportMask mrmeshpy.ViewportMask.all ( )
static
mask meaning all or any viewports

◆ any()

ViewportMask mrmeshpy.ViewportMask.any ( )
static

◆ contains()

bool mrmeshpy.ViewportMask.contains ( self,
ViewportId id )

◆ empty()

bool mrmeshpy.ViewportMask.empty ( self)

◆ operator() [1/3]

ViewportMask mrmeshpy.ViewportMask.operator ( * args,
** kwargs )
static

◆ operator() [2/3]

ViewportMask mrmeshpy.ViewportMask.operator ( * args,
** kwargs )
static

◆ operator() [3/3]

bool mrmeshpy.ViewportMask.operator ( self,
ViewportMask b )

◆ set()

None mrmeshpy.ViewportMask.set ( self,
ViewportId id,
bool on = True )

◆ value()

int mrmeshpy.ViewportMask.value ( self)

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