qbruntime.type.Scale Class Reference#
|
SDK qb Runtime Library v1.2
MCS001-EN
|
qbruntime.type.Scale Class Reference
Struct for scale values. More...
Public Member Functions | |
| __init__ (self, float scale, bool is_uniform, List[float] scale_list) | |
| from_cpp (cls, _cQbRuntime.Scale _scale) | |
| List[float] | scale_list (self) |
| float | scale (self) |
| bool | is_uniform (self) |
| scale_list (self, List[float] value) | |
| scale (self, float value) | |
| is_uniform (self, bool value) | |
| float | __getitem__ (self, int i) |
| Returns the scale value at the specified index. | |
| __repr__ (self) | |
Protected Attributes | |
| _scale = _cQbRuntime.Scale() | |
Detailed Description
Constructor & Destructor Documentation
◆ __init__()
| qbruntime.type.Scale.__init__ | ( | self, | |
| float | scale, | ||
| bool | is_uniform, | ||
| List[float] | scale_list ) |
Member Function Documentation
◆ from_cpp()
| qbruntime.type.Scale.from_cpp | ( | cls, | |
| _cQbRuntime.Scale | _scale ) |
◆ scale_list() [1/2]
◆ scale() [1/2]
◆ is_uniform() [1/2]
◆ scale_list() [2/2]
◆ scale() [2/2]
◆ is_uniform() [2/2]
◆ __getitem__()
| float qbruntime.type.Scale.__getitem__ | ( | self, | |
| int | i ) |
◆ __repr__()
Member Data Documentation
◆ _scale
The documentation for this class was generated from the following file:
Generated by