Scale Struct Reference

Scale Struct Reference#

Runtime Library: mobilint::Scale Struct Reference
Runtime Library v0.30
Mobilint SDK qb

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 120 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 131 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 121 of file type.h.

◆ scale

float mobilint::Scale::scale = 0.0F

Uniform scale value

Definition at line 122 of file type.h.

◆ is_uniform

bool mobilint::Scale::is_uniform = false

Indicates whether uniform scaling is used.

Definition at line 123 of file type.h.


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