Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::LinearInterpolatorFloat Class Reference

Interpolates float values using a LinearInterpolator. More...

#include <LinearInterpolator.hpp>

Inheritance diagram for vl::LinearInterpolatorFloat:
vl::InterpolatorFloat vl::Interpolator vl::Object

List of all members.

Public Member Functions

 LinearInterpolatorFloat ()
 LinearInterpolatorFloat (const std::vector< float > &path)
float computePoint (float t) const
 Samples the interpolator at the given point.
LinearInterpolatorFloat_Tinterpolator ()
const LinearInterpolatorFloat_Tinterpolator () const
void setInterpolator (LinearInterpolatorFloat_T *interpolator)

Protected Attributes

ref< LinearInterpolatorFloat_TmInterpolator

Detailed Description

Interpolates float values using a LinearInterpolator.

Definition at line 138 of file LinearInterpolator.hpp.


Constructor & Destructor Documentation

vl::LinearInterpolatorFloat::LinearInterpolatorFloat (  ) [inline]

Definition at line 142 of file LinearInterpolator.hpp.

vl::LinearInterpolatorFloat::LinearInterpolatorFloat ( const std::vector< float > &  path ) [inline]

Definition at line 143 of file LinearInterpolator.hpp.


Member Function Documentation

float vl::LinearInterpolatorFloat::computePoint ( float  t ) const [inline, virtual]

Samples the interpolator at the given point.

Implements vl::InterpolatorFloat.

Definition at line 144 of file LinearInterpolator.hpp.

References vl::LinearInterpolator< T >::computePoint(), and interpolator().

LinearInterpolatorFloat_T* vl::LinearInterpolatorFloat::interpolator (  ) [inline]

Definition at line 145 of file LinearInterpolator.hpp.

References vl::ref< T >::get(), and mInterpolator.

Referenced by computePoint(), and setInterpolator().

const LinearInterpolatorFloat_T* vl::LinearInterpolatorFloat::interpolator (  ) const [inline]

Definition at line 146 of file LinearInterpolator.hpp.

References vl::ref< T >::get(), and mInterpolator.

void vl::LinearInterpolatorFloat::setInterpolator ( LinearInterpolatorFloat_T interpolator ) [inline]

Definition at line 147 of file LinearInterpolator.hpp.

References interpolator(), and mInterpolator.


Member Data Documentation

Definition at line 149 of file LinearInterpolator.hpp.

Referenced by interpolator(), and setInterpolator().


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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:06.
Permission is granted to use this page to write and publish articles regarding Visualization Library.