![]() |
VISR
0.11.6
Versatile Interactive Scene Renderer
|
#include <interpolation_parameter.hpp>
Public Types | |
using | IdType = std::size_t |
using | IndexType = std::size_t |
using | WeightType = float |
using | IndexContainer = std::vector< IndexType > |
using | WeightContainer = std::vector< WeightType > |
Public Member Functions | |
InterpolationParameter (InterpolationParameter const &rhs) | |
InterpolationParameter (IdType id, std::size_t numberOfInterpolants) | |
InterpolationParameter (IdType id, IndexContainer const &indices, WeightContainer const &weights) | |
InterpolationParameter (IdType id, std::initializer_list< IndexType > const &indices, std::initializer_list< WeightType > const &weights) | |
~InterpolationParameter () | |
IdType | id () const |
void | setId (IdType newId) |
std::size_t | numberOfInterpolants () const |
IndexType | index (std::size_t idx) const |
IndexContainer const & | indices () const |
WeightContainer const & | weights () const |
WeightType | weight (std::size_t idx) const |
void | setIndex (std::size_t idx, IndexType newIndex) |
void | setIndices (IndexContainer const &newIndices) |
void | setIndices (std::initializer_list< IndexType > const &newWeights) |
void | setWeight (std::size_t idx, WeightType weight) |
void | setWeights (WeightContainer const &newWeights) |
void | setWeights (std::initializer_list< WeightType > const &newWeights) |
Static Public Attributes | |
static IdType constexpr | cInvalidId = std::numeric_limits<IdType>::max() |
static IndexType constexpr | cInvalidIndex = std::numeric_limits<IndexType>::max() |
A data structure for interpolation .
using visr::rbbl::InterpolationParameter::IdType = std::size_t |
using visr::rbbl::InterpolationParameter::IndexContainer = std::vector<IndexType> |
using visr::rbbl::InterpolationParameter::IndexType = std::size_t |
using visr::rbbl::InterpolationParameter::WeightContainer = std::vector<WeightType> |
using visr::rbbl::InterpolationParameter::WeightType = float |
|
default |
|
explicit |
|
explicit |
|
explicit |
|
default |
InterpolationParameter::IdType visr::rbbl::InterpolationParameter::id | ( | ) | const |
InterpolationParameter::IndexType visr::rbbl::InterpolationParameter::index | ( | std::size_t | idx | ) | const |
InterpolationParameter::IndexContainer const & visr::rbbl::InterpolationParameter::indices | ( | ) | const |
std::size_t visr::rbbl::InterpolationParameter::numberOfInterpolants | ( | ) | const |
void visr::rbbl::InterpolationParameter::setId | ( | IdType | newId | ) |
void visr::rbbl::InterpolationParameter::setIndex | ( | std::size_t | idx, |
IndexType | newIndex | ||
) |
void visr::rbbl::InterpolationParameter::setIndices | ( | IndexContainer const & | newIndices | ) |
void visr::rbbl::InterpolationParameter::setIndices | ( | std::initializer_list< IndexType > const & | newWeights | ) |
void visr::rbbl::InterpolationParameter::setWeight | ( | std::size_t | idx, |
WeightType | weight | ||
) |
void visr::rbbl::InterpolationParameter::setWeights | ( | WeightContainer const & | newWeights | ) |
void visr::rbbl::InterpolationParameter::setWeights | ( | std::initializer_list< WeightType > const & | newWeights | ) |
InterpolationParameter::WeightType visr::rbbl::InterpolationParameter::weight | ( | std::size_t | idx | ) | const |
InterpolationParameter::WeightContainer const & visr::rbbl::InterpolationParameter::weights | ( | ) | const |
|
static |
Provide definitions for static constepr members.
|
static |