#include <normal_compression_utils.h>
|
| | OctahedronToolBox () |
| bool | SetQuantizationBits (int32_t q) |
| bool | IsInitialized () const |
| void | CanonicalizeOctahedralCoords (int32_t s, int32_t t, int32_t *out_s, int32_t *out_t) const |
| void | IntegerVectorToQuantizedOctahedralCoords (const int32_t *int_vec, int32_t *out_s, int32_t *out_t) const |
| template<class T> |
| void | FloatVectorToQuantizedOctahedralCoords (const T *vector, int32_t *out_s, int32_t *out_t) const |
| template<class T> |
| void | CanonicalizeIntegerVector (T *vec) const |
| void | QuantizedOctahedralCoordsToUnitVector (int32_t in_s, int32_t in_t, float *out_vector) const |
| bool | IsInDiamond (const int32_t &s, const int32_t &t) const |
| void | InvertDiamond (int32_t *s, int32_t *t) const |
| void | InvertDirection (int32_t *s, int32_t *t) const |
| int32_t | ModMax (int32_t x) const |
| int32_t | MakePositive (int32_t x) const |
| int32_t | quantization_bits () const |
| int32_t | max_quantized_value () const |
| int32_t | max_value () const |
| int32_t | center_value () const |
◆ OctahedronToolBox()
| draco::OctahedronToolBox::OctahedronToolBox |
( |
| ) |
|
|
inline |
◆ CanonicalizeIntegerVector()
| void draco::OctahedronToolBox::CanonicalizeIntegerVector |
( |
T * | vec | ) |
const |
|
inline |
◆ CanonicalizeOctahedralCoords()
| void draco::OctahedronToolBox::CanonicalizeOctahedralCoords |
( |
int32_t | s, |
|
|
int32_t | t, |
|
|
int32_t * | out_s, |
|
|
int32_t * | out_t ) const |
|
inline |
◆ center_value()
| int32_t draco::OctahedronToolBox::center_value |
( |
| ) |
const |
|
inline |
◆ FloatVectorToQuantizedOctahedralCoords()
| void draco::OctahedronToolBox::FloatVectorToQuantizedOctahedralCoords |
( |
const T * | vector, |
|
|
int32_t * | out_s, |
|
|
int32_t * | out_t ) const |
|
inline |
◆ IntegerVectorToQuantizedOctahedralCoords()
| void draco::OctahedronToolBox::IntegerVectorToQuantizedOctahedralCoords |
( |
const int32_t * | int_vec, |
|
|
int32_t * | out_s, |
|
|
int32_t * | out_t ) const |
|
inline |
◆ InvertDiamond()
| void draco::OctahedronToolBox::InvertDiamond |
( |
int32_t * | s, |
|
|
int32_t * | t ) const |
|
inline |
◆ InvertDirection()
| void draco::OctahedronToolBox::InvertDirection |
( |
int32_t * | s, |
|
|
int32_t * | t ) const |
|
inline |
◆ IsInDiamond()
| bool draco::OctahedronToolBox::IsInDiamond |
( |
const int32_t & | s, |
|
|
const int32_t & | t ) const |
|
inline |
◆ IsInitialized()
| bool draco::OctahedronToolBox::IsInitialized |
( |
| ) |
const |
|
inline |
◆ MakePositive()
| int32_t draco::OctahedronToolBox::MakePositive |
( |
int32_t | x | ) |
const |
|
inline |
◆ max_quantized_value()
| int32_t draco::OctahedronToolBox::max_quantized_value |
( |
| ) |
const |
|
inline |
◆ max_value()
| int32_t draco::OctahedronToolBox::max_value |
( |
| ) |
const |
|
inline |
◆ ModMax()
| int32_t draco::OctahedronToolBox::ModMax |
( |
int32_t | x | ) |
const |
|
inline |
◆ quantization_bits()
| int32_t draco::OctahedronToolBox::quantization_bits |
( |
| ) |
const |
|
inline |
◆ QuantizedOctahedralCoordsToUnitVector()
| void draco::OctahedronToolBox::QuantizedOctahedralCoordsToUnitVector |
( |
int32_t | in_s, |
|
|
int32_t | in_t, |
|
|
float * | out_vector ) const |
|
inline |
◆ SetQuantizationBits()
| bool draco::OctahedronToolBox::SetQuantizationBits |
( |
int32_t | q | ) |
|
|
inline |
The documentation for this class was generated from the following file: