GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT > Class Template Reference

#include <mesh_prediction_scheme_tex_coords_portable_predictor.h>

Public Member Functions

 MeshPredictionSchemeTexCoordsPortablePredictor (const MeshDataT &md)
void SetPositionAttribute (const PointAttribute &position_attribute)
void SetEntryToPointIdMap (const PointIndex *map)
bool IsInitialized () const
VectorD< int64_t, 3 > GetPositionForEntryId (int entry_id) const
VectorD< int64_t, 2 > GetTexCoordForEntryId (int entry_id, const DataTypeT *data) const
template<bool is_encoder_t>
bool ComputePredictedValue (CornerIndex corner_id, const DataTypeT *data, int data_id)
const DataTypeT * predicted_value () const
bool orientation (int i) const
void set_orientation (int i, bool v)
size_t num_orientations () const
void ResizeOrientations (int num_orientations)

Static Public Attributes

static constexpr int kNumComponents = 2

Constructor & Destructor Documentation

◆ MeshPredictionSchemeTexCoordsPortablePredictor()

template<typename DataTypeT, class MeshDataT>
draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::MeshPredictionSchemeTexCoordsPortablePredictor ( const MeshDataT & md)
inlineexplicit

Member Function Documentation

◆ ComputePredictedValue()

template<typename DataTypeT, class MeshDataT>
template<bool is_encoder_t>
bool draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::ComputePredictedValue ( CornerIndex corner_id,
const DataTypeT * data,
int data_id )
Here is the caller graph for this function:

◆ GetPositionForEntryId()

template<typename DataTypeT, class MeshDataT>
VectorD< int64_t, 3 > draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::GetPositionForEntryId ( int entry_id) const
inline
Here is the caller graph for this function:

◆ GetTexCoordForEntryId()

template<typename DataTypeT, class MeshDataT>
VectorD< int64_t, 2 > draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::GetTexCoordForEntryId ( int entry_id,
const DataTypeT * data ) const
inline
Here is the caller graph for this function:

◆ IsInitialized()

template<typename DataTypeT, class MeshDataT>
bool draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::IsInitialized ( ) const
inline

◆ num_orientations()

template<typename DataTypeT, class MeshDataT>
size_t draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::num_orientations ( ) const
inline
Here is the caller graph for this function:

◆ orientation()

template<typename DataTypeT, class MeshDataT>
bool draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::orientation ( int i) const
inline
Here is the caller graph for this function:

◆ predicted_value()

template<typename DataTypeT, class MeshDataT>
const DataTypeT * draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::predicted_value ( ) const
inline

◆ ResizeOrientations()

template<typename DataTypeT, class MeshDataT>
void draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::ResizeOrientations ( int num_orientations)
inline

◆ set_orientation()

template<typename DataTypeT, class MeshDataT>
void draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::set_orientation ( int i,
bool v )
inline

◆ SetEntryToPointIdMap()

template<typename DataTypeT, class MeshDataT>
void draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::SetEntryToPointIdMap ( const PointIndex * map)
inline
Here is the caller graph for this function:

◆ SetPositionAttribute()

template<typename DataTypeT, class MeshDataT>
void draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::SetPositionAttribute ( const PointAttribute & position_attribute)
inline

Member Data Documentation

◆ kNumComponents

template<typename DataTypeT, class MeshDataT>
int draco::MeshPredictionSchemeTexCoordsPortablePredictor< DataTypeT, MeshDataT >::kNumComponents = 2
staticconstexpr

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