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) |
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
|
static |
| None mrmeshpy.ViewportProperty_unsigned_char.__init__ | ( | self | ) |
| None mrmeshpy.ViewportProperty_unsigned_char.__init__ | ( | self, | |
| int | def_ ) |
| None mrmeshpy.ViewportProperty_unsigned_char.__init__ | ( | self, | |
| ConstViewportProperty_unsigned_char | arg0 ) |
Implicit copy constructor.
| int mrmeshpy.ViewportProperty_unsigned_char.__getitem__ | ( | self, | |
| ConstViewportId | id ) |
returns direct access to value associated with given viewport (or default value if !id)
| None mrmeshpy.ViewportProperty_unsigned_char.__setitem__ | ( | self, | |
| ConstViewportId | arg0, | ||
| int | arg1 ) |
| ViewportProperty_unsigned_char mrmeshpy.ViewportProperty_unsigned_char.assign | ( | self, | |
| ConstViewportProperty_unsigned_char | other ) |
| int mrmeshpy.ViewportProperty_unsigned_char.get | ( | ConstViewportProperty_unsigned_char | self | ) |
gets default property value
Reimplemented from mrmeshpy.ConstViewportProperty_unsigned_char.
| 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.
| int mrmeshpy.ViewportProperty_unsigned_char.get | ( | self | ) |
gets default property value
Reimplemented from mrmeshpy.ConstViewportProperty_unsigned_char.
| bool mrmeshpy.ViewportProperty_unsigned_char.reset | ( | self | ) |
forgets specific property value for all viewports; returns true if any specific value was removed
| 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
| None mrmeshpy.ViewportProperty_unsigned_char.set | ( | self, | |
| int | def_ ) |
sets default property value
| None mrmeshpy.ViewportProperty_unsigned_char.set | ( | self, | |
| int | v, | ||
| ConstViewportId | id ) |
sets specific property value for given viewport (or default value if !id)