Scale Struct Reference

Scale Struct Reference#

SDK qb Runtime Library: mobilint::Scale Struct Reference
SDK qb Runtime Library v1.0
MCS001-

Struct for scale values. More...

#include <type.h>

Public Member Functions

float operator[] (int i) const
 Returns the scale value at the specified index.

Public Attributes

std::vector< float > scale_list
float scale = 0.0F
bool is_uniform = false

Detailed Description

Struct for scale values.

Definition at line 98 of file type.h.

Member Function Documentation

◆ operator[]()

float mobilint::Scale::operator[] ( int i) const
inline

Returns the scale value at the specified index.

Parameters
[in]iIndex.
Returns
Scale value.

Definition at line 109 of file type.h.

Member Data Documentation

◆ scale_list

std::vector<float> mobilint::Scale::scale_list

List of scale values for non-uniform scaling.

Definition at line 99 of file type.h.

◆ scale

float mobilint::Scale::scale = 0.0F

Uniform scale value

Definition at line 100 of file type.h.

◆ is_uniform

bool mobilint::Scale::is_uniform = false

Indicates whether uniform scaling is used.

Definition at line 101 of file type.h.


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