MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ViewportProperty_unsigned_char Class Reference
Inheritance diagram for mrmeshpy.ViewportProperty_unsigned_char:

Public Member Functions

int __getitem__ (self, ConstViewportId id)
None __init__ (self)
None __init__ (self, int def_)
None __init__ (self, ConstViewportProperty_unsigned_char arg0)
None __setitem__ (self, ConstViewportId arg0, int arg1)
ViewportProperty_unsigned_char assign (self, ConstViewportProperty_unsigned_char other)
int get (self)
int get (ConstViewportProperty_unsigned_char self)
int get (ConstViewportProperty_unsigned_char self, ConstViewportId id, bool_output isDef=None)
bool reset (self, ConstViewportId id)
bool reset (self)
None set (self, int def_)
None set (self, int v, ConstViewportId id)
Public Member Functions inherited from mrmeshpy.ConstViewportProperty_unsigned_char
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstViewportProperty_unsigned_char
bool __eq__ (*args, **kwargs)
bool __ne__ (*args, **kwargs)

Detailed Description

Generated from:  MR::ViewportProperty<unsigned char>
Aliases:  ViewportProperty_uint8_t, ViewportProperty_uint8_t

storage of some viewport-dependent property,
which has some default value for all viewports and special values for some specific viewports

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.ViewportProperty_unsigned_char.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.ViewportProperty_unsigned_char.__init__ ( self,
int def_ )

◆ __init__() [4/4]

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

Member Function Documentation

◆ __getitem__()

int mrmeshpy.ViewportProperty_unsigned_char.__getitem__ ( self,
ConstViewportId id )
returns direct access to value associated with given viewport (or default value if !id)

◆ __setitem__()

None mrmeshpy.ViewportProperty_unsigned_char.__setitem__ ( self,
ConstViewportId arg0,
int arg1 )

◆ assign()

ViewportProperty_unsigned_char mrmeshpy.ViewportProperty_unsigned_char.assign ( self,
ConstViewportProperty_unsigned_char other )

◆ get() [1/3]

int mrmeshpy.ViewportProperty_unsigned_char.get ( ConstViewportProperty_unsigned_char self)
gets default property value

Reimplemented from mrmeshpy.ConstViewportProperty_unsigned_char.

◆ get() [2/3]

int mrmeshpy.ViewportProperty_unsigned_char.get ( ConstViewportProperty_unsigned_char self,
ConstViewportId id,
bool_output isDef = None )
gets property value for given viewport: specific if available otherwise default one;
\\param isDef receives true if this viewport does not have specific value and default one is returned

Reimplemented from mrmeshpy.ConstViewportProperty_unsigned_char.

◆ get() [3/3]

int mrmeshpy.ViewportProperty_unsigned_char.get ( self)
gets default property value

Reimplemented from mrmeshpy.ConstViewportProperty_unsigned_char.

◆ reset() [1/2]

bool mrmeshpy.ViewportProperty_unsigned_char.reset ( self)
forgets specific property value for all viewports;
returns true if any specific value was removed

◆ reset() [2/2]

bool mrmeshpy.ViewportProperty_unsigned_char.reset ( self,
ConstViewportId id )
forgets specific property value for given viewport (or all viewports if !id);
returns true if any specific value was removed

◆ set() [1/2]

None mrmeshpy.ViewportProperty_unsigned_char.set ( self,
int def_ )
sets default property value

◆ set() [2/2]

None mrmeshpy.ViewportProperty_unsigned_char.set ( self,
int v,
ConstViewportId id )
sets specific property value for given viewport (or default value if !id)

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