VISR  0.11.8
Versatile Interactive Scene Renderer
visr::pml::InterpolationParameter Class Reference

#include <interpolation_parameter.hpp>

Inheritance diagram for visr::pml::InterpolationParameter:
visr::TypedParameterBase< InterpolationParameter, InterpolationParameterConfig, detail::compileTimeHashFNV1("InterpolationParameter") > visr::rbbl::InterpolationParameter visr::ParameterBase

Public Member Functions

 InterpolationParameter (ParameterConfigBase const &config)
 
 InterpolationParameter (InterpolationParameterConfig const &config)
 
- Public Member Functions inherited from visr::TypedParameterBase< InterpolationParameter, InterpolationParameterConfig, detail::compileTimeHashFNV1("InterpolationParameter") >
 TypedParameterBase ()=default
 
virtual ~TypedParameterBase ()=default
 
ParameterType type () final
 
std::unique_ptr< ParameterBaseclone () const final
 
void assign (ParameterBase const &rhs) override
 
- Public Member Functions inherited from visr::ParameterBase
 ParameterBase ()
 
 ParameterBase (const ParameterBase &)
 
ParameterBaseoperator= (const ParameterBase &)
 
virtual ~ParameterBase ()
 
- Public Member Functions inherited from visr::rbbl::InterpolationParameter
 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)
 

Additional Inherited Members

- Public Types inherited from visr::TypedParameterBase< InterpolationParameter, InterpolationParameterConfig, detail::compileTimeHashFNV1("InterpolationParameter") >
using ParameterConfigType = InterpolationParameterConfig
 
- Public Types inherited from visr::rbbl::InterpolationParameter
using IdType = std::size_t
 
using IndexType = std::size_t
 
using WeightType = float
 
using IndexContainer = std::vector< IndexType >
 
using WeightContainer = std::vector< WeightType >
 
- Static Public Member Functions inherited from visr::TypedParameterBase< InterpolationParameter, InterpolationParameterConfig, detail::compileTimeHashFNV1("InterpolationParameter") >
static const constexpr ParameterType staticType ()
 
- Static Public Attributes inherited from visr::rbbl::InterpolationParameter
static IdType constexpr cInvalidId = std::numeric_limits<IdType>::max()
 
static IndexType constexpr cInvalidIndex = std::numeric_limits<IndexType>::max()
 

Detailed Description

A type for passing vectors between processing components. The template class is explicitly instantiated for the element types float and double.

Template Parameters
ElementTypeThe data type of the elements of the matrix.

Constructor & Destructor Documentation

◆ InterpolationParameter() [1/2]

visr::pml::InterpolationParameter::InterpolationParameter ( ParameterConfigBase const &  config)
explicit

◆ InterpolationParameter() [2/2]

visr::pml::InterpolationParameter::InterpolationParameter ( InterpolationParameterConfig const &  config)
explicit

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