scenepic 1.1.0
3D Visualization Made Easy
Public Member Functions | Public Attributes | List of all members
scenepic::QuantizationInfo Struct Reference

Information about the results of quantization. More...

#include <scene.h>

Public Member Functions

 QuantizationInfo ()=default
 
 QuantizationInfo (std::uint32_t keyframe_count, float estimated_size_ratio, float mean_error, float max_error)
 Constructor. More...
 
std::string to_string () const
 

Public Attributes

std::uint32_t keyframe_count
 The number of keyframes used. More...
 
float estimated_size_ratio
 The estimated size ratio after compression. More...
 
float mean_error
 The mean per-frame error. More...
 
float max_error
 The maximum per-frame error. More...
 

Detailed Description

Information about the results of quantization.

Constructor & Destructor Documentation

◆ QuantizationInfo() [1/2]

scenepic::QuantizationInfo::QuantizationInfo ( )
default

◆ QuantizationInfo() [2/2]

scenepic::QuantizationInfo::QuantizationInfo ( std::uint32_t  keyframe_count,
float  estimated_size_ratio,
float  mean_error,
float  max_error 
)

Constructor.

Member Function Documentation

◆ to_string()

std::string scenepic::QuantizationInfo::to_string ( ) const

Member Data Documentation

◆ estimated_size_ratio

float scenepic::QuantizationInfo::estimated_size_ratio

The estimated size ratio after compression.

◆ keyframe_count

std::uint32_t scenepic::QuantizationInfo::keyframe_count

The number of keyframes used.

◆ max_error

float scenepic::QuantizationInfo::max_error

The maximum per-frame error.

◆ mean_error

float scenepic::QuantizationInfo::mean_error

The mean per-frame error.


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