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

Public Member Functions

None __init__ (self)
 
None __init__ (self, int def_)
 
None __init__ (self, ViewportProperty_unsigned_char arg0)
 
int get (self)
 
int get (self)
 
int get (self, ViewportId id, bool_output isDef=None)
 
int operator (self, ViewportId id)
 
bool reset (self, ViewportId id)
 
bool reset (self)
 
None set (self, int def_)
 
None set (self, int v, ViewportId id)
 

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/3]

None meshlib.mrmeshpy.ViewportProperty_unsigned_char.__init__ ( self)

◆ __init__() [2/3]

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

◆ __init__() [3/3]

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

Member Function Documentation

◆ get() [1/3]

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

◆ get() [2/3]

int meshlib.mrmeshpy.ViewportProperty_unsigned_char.get ( self)

◆ get() [3/3]

int meshlib.mrmeshpy.ViewportProperty_unsigned_char.get ( self,
ViewportId 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

◆ operator()

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

◆ reset() [1/2]

bool meshlib.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 meshlib.mrmeshpy.ViewportProperty_unsigned_char.reset ( self,
ViewportId 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 meshlib.mrmeshpy.ViewportProperty_unsigned_char.set ( self,
int def_ )
sets default property value

◆ set() [2/2]

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

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